nanospin_calibrate()
QNX SDP8.0C Library ReferenceAPIDeveloper
Calibrate before calling nanospin*()
Synopsis:
#include <time.h>
int nanospin_calibrate( int disable );
Arguments:
- disable
- 1 to disable interrupts during the call to nanospin_calibrate(), or 0 to enable them.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
Note:
The nanospin_*() functions have been reimplemented in terms of
ClockCycles(), and consequently
nanospin_calibrate() is no longer required. All it does now is return
EOK.
Returns:
This function always returns EOK.
Classification:
Safety: | |
---|---|
Cancellation point | No |
Signal handler | Yes |
Thread | Yes |
Page updated: