www.beck-ipc.com

@CHIP-RTOS C Library - BIOS API


BIOS_Set_Timer_0xAF

Set timer 0xAF interval.

void BIOS_Set_Timer_0xAF ( 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 0xAF will use..

Use setvect(0xAF,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

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document