@CHIP-RTOS C Library - RTOS API
Install a high resolution timer callback procedure
that will be periodically executed by the kernel.
int RTX_Fine_Timer (
const TimerProc_Structure far *TProcPtr );
- Input parameter, pointer to a
- 0 on success else
- For SC1x systems which always operate at 1 kHz
RTI rate, this API is mapped to the
RTX_Install_Timer API by
a macro defined in the library header file.
- A timer ID is output to the 16 bit location referenced by
of your TimerProc_Structure
Alternate method RTX_Fine_TimerP
allows the timer installation to be performed based on direct
You must call either the RTX_Start_Timer,
API function to get the kernel to start calling your new timer procedure.
Timer procedures are executed on the stack
of the kernel task at a high priority, so they should be as short as
possible. Avoid calling time consuming functions.
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document