nanospin_calibrate()

Updated: April 19, 2023

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: (QNX Neutrino 7.1 or later) 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:

QNX Neutrino

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes