nsdsp_set_rate
nsdsp_set_flow_control nsdsp_use_alt_mclr nsdsp_use_method nsdsp_ignore_eeprom nsdsp_ignore_uid nsdsp_allow_otp nsdsp_config_jtag nsdsp_config_debug nsdsp_config_lvp nsdsp_config_cksw nsdsp_config_wdt nsdsp_reset_after_prog nsdsp_set_debug_magic nsdsp_set_debug_rom nsdsp_set_debug_ram nsdsp_set_debug_cores nsdsp_start_spi_session nsdsp_start_uart_session nsdsp_start_prog_session nsdsp_start_debug_session nsdsp_end_sessionnsdsp_set_rate
This function specifies data rate for communications.
Syntax
void nsdsp_set_rate(
nsdsp_t nsdsp,
unsigned int rate
);
Parameters
nsdsp - a reference to the NSDSP object returned by nsdsp_connect function
rate - the rate in Hz. Must be above 50000 Hz.
Notes
For UART sessions the baud rate must be one of the exact values specified here
For SPI sessions the data rate must be at least 50 kHz. The number does not have to be exact. The specified rate sets an upper limit for real data rate.
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.