void TIMER_UnsetMatch(TIMER timer, TIMER_MatchRegister match_reg)
Unsets a match register of a TIMER peripheral.
void TIMER_Reset(TIMER timer)
Resets a TIMER peripheral without deconfiguring it.
u32 TIMER_ReadValue(TIMER timer)
Reads the current value of a TIMER peripheral.
void TIMER_Init(TIMER *timer, u8 which, u32 prescaler, u8 int_priority)
Initializes a TIMER peripheral.
void TIMER_Disable(TIMER timer)
Disables a TIMER peripheral.
void TIMER_Enable(TIMER timer)
Enables a TIMER peripheral.
bool TIMER_IsEnabled(TIMER timer)
Checks if a TIMER peripheral is enabled.
void TIMER_UnsetInterruptHandler(TIMER timer, u8 source)
Unsets the interrupt handler for a TIMER peripheral, on a specific source between the 4 match registe...
void TIMER_Deinit(TIMER timer)
Deconfigures a TIMER peripheral (also match registers).
void TIMER_SetMatch(TIMER timer, TIMER_MatchRegister match_reg)
Sets the match value for a match register of a TIMER peripheral.
void TIMER_SetInterruptHandler(TIMER timer, u8 source, TIMER_InterruptHandler handler)
Sets the interrupt handler for a TIMER peripheral, on a specific source between the 4 match registers...
void(* TIMER_InterruptHandler)(void)