Buy Contact NSDSP Home

nsdsp_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

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.