@CHIP-RTOS C Library V2.06 - BIOS API
BIOS_Set_Timer_0x1C
Set timer 0x1C interval. void BIOS_Set_Timer_0x1C ( unsigned int interval_ms ); Parameters
interval_ms
- Timer interval in milliseconds.
Return Value
- -- none --
Comments
- This function defines the interval in milliseconds that timer
interrupt 0x1C will use..
Use setvect(0x1c,your_routine)
to change the interrupt
vector. Define your routine as:
void interrupt my_function(void)
You must restore the old timer interrupt vector before ending
the program.
Your interrupt routine must be as short as possible without
any waiting or endless loops. Avoid the usage of large CLib
functions like printf
.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
V1.00 | V1.00 | V1.00 | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|