AN706-00040-2v0-E
61
7.2.4.5 Timer Control Driver API
Function
void TIMER_Init(void)
Overview
Initialization function for timer control driver
Invoked before entering the main loop (see
”).
Parameter None
Return
value
None
Function
STATUS TIMER_Start(uint8_t IdCh)
Overview
Timer start function
Invoked before entering the main loop and after TIMER_Init invocation
(see
“7.2.8.1 Main Processing Function”).
Parameter IdCh
Control target timer ch
TIMER_CH2
Base timer ch 2
TIMER_CH3
Base timer ch 3
(*) Ch 3 is not used.
Return
value
Processing results
TIMER_RET_OK
Normal completion
TIMER_RET_INVALID_PARAMETER
Parameter error
TIMER_RET_ILLEGAL_ERROR
Timer control not initialized
Designated ch timer operation