nsdsp_session_short_delay
nsdsp_session_delay_us nsdsp_session_delay_msnsdsp_session_short_delay
This function produces the shortest possible delay.
Syntax
int nsdsp_session_short_delay(
nsdsp_session_t session
);
Parameters
session - a reference to the Session Object
Return
The function returns non-zero if the delay command has been successfully queued, or zero otherwise
Notes
The duration of the delay depends on the session data rate:
Frequency | Interval |
---|---|
50 kHz | 161.3 μs |
100 kHz | 80.7 μs |
250 kHz | 32.7 μs |
500 kHz | 16.7 μs |
1 MHz | 8.7 μs |
1.5 MHz | 6 μs |
2 MHz | 4.7 μs |
2.4 MHz | 4 μs |
3 MHz | 3.3 μs |
4 MHz | 2.7 μs |
6 MHz | 2 μs |
This instruction only queues a command. The command will be sent to NSDSP when you queue enough commands to fill the buffer or when you call nsdsp_session_flush.
Supported session types: SPI
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.