37#ifndef TIMER_INTERFACE_H
38#define TIMER_INTERFACE_H
44#include "../system/interrupt_types.h"
53#define TIMER_PERIODCOUNTSET_API_SUPPORT false
74 #if TIMER_PERIODCOUNTSET_API_SUPPORT
75 void (*PeriodCountSet)(
size_t count);
Structure containing the function pointers of TIMER driver.
void(* TimeoutCallbackRegister)(void(*CallbackHandler)(void))
Pointer to MCCPx_TimeoutCallbackRegister or SCCPx_TimeoutCallbackRegister or TMRx_TimeoutCallbackRegi...
void(* Initialize)(void)
Pointer to MCCPx_Timer_Initialize or SCCPx_Timer_Initialize or TMRx_Initialize e.g....
void(* Start)(void)
Pointer to MCCPx_Timer_Start or SCCPx_Timer_Start or TMRx_Start e.g. SCCP1_Timer_Start or TMR1_Start.
void(* Deinitialize)(void)
Pointer to MCCPx_Timer_Deinitialize or SCCPx_Timer_Deinitialize or TMRx_Deinitialize e....
uint32_t(* CounterGet)(void)
Pointer to MCCPx_Timer_CounterGet or SCCPx_Timer_CounterGet or TMRx_CounterGet e.g....
void(* PeriodSet)(uint32_t count)
Pointer to MCCPx_Timer_PeriodSet or SCCPx_Timer_PeriodSet or TMRx_PeriodSet e.g. SCCP1_Timer_PeriodSe...
void(* InterruptPrioritySet)(enum INTERRUPT_PRIORITY priority)
Pointer to MCCPx_Timer_InterruptPrioritySet or SCCPx_Timer_InterruptPrioritySet or TMRx_InterruptPrio...
uint32_t(* PeriodGet)(void)
Pointer to MCCPx_Timer_PeriodGet or SCCPx_Timer_PeriodGet or TMRx_PeriodGet e.g. SCCP1_Timer_PeriodGe...
void(* Stop)(void)
Pointer to MCCPx_Timer_Stop or SCCPx_Timer_Stop or TMRx_Stop e.g. SCCP1_Timer_Stop or TMR1_Stop.
void(* Tasks)(void)
Pointer to MCCPx_Timer_Tasks or SCCPx_Timer_Tasks or TMRx_Tasks e.g. SCCP1_Timer_Tasks or TMR1_Tasks ...