# CMSIS Timer Driver

CMSIS Timer Driver Reference.

## Summary

Typedefs

- TIMER_SEL_t : Timer selection.
- TIMER_MODE_t : Timer mode selection.
- TIMER_CLKSRC_t : Timer clock source selection.
- TIMER_PRESCALE_t : Timer prescale values selection.
- TIMER_MULTI_COUNT_t : Timer multi-count values selection.
- TIMER_GPIO_STATUS_t : Timer GPIO status.
- TIMER_GPIO_INT_MODE_t : Timer GPIO capture mode.
- TIMER_GPIO_t : Timer GPIO interrupt selection.
- TIMER_SYSTICK_CLKSRC_t : Timer SysTick Clock sources.
- ADC_EVENT_t : Timer interrupt events selection.
- TIMER_SignalEvent_t : Pointer to TIMER_SignalEvent : Signal Timer event.
- TIMER_t : Timer Driver configuration.
- SYSTICK_t : SysTick Driver configuration.
- TIMER_CFG_t : Common TIMER driver configuration.
- TIMER_PRI_CFG_t : Timer interrupt priority configuration.
- DRIVER_TIMER_t : Access structure of the TIMER Driver.

Data Structures

- _TIMER_t : Timer Driver configuration.
- _SYSTICK_t : SysTick Driver configuration.
- _TIMER_PRI_CFG_t : Timer interrupt priority configuration.
- _DRIVER_TIMER_t : Access structure of the TIMER Driver.

Enumerations

- _TIMER_SEL_t : Timer selection.
- _TIMER_MODE_t : Timer mode selection.
- _TIMER_CLKSRC_t : Timer clock source selection.
- _TIMER_PRESCALE_t : Timer prescale values selection.
- _TIMER_MULTI_COUNT_t : Timer multi-count values selection.
- _TIMER_GPIO_STATUS_t : Timer GPIO status.
- _TIMER_GPIO_INT_MODE_t : Timer GPIO capture mode.
- _TIMER_GPIO_t : Timer GPIO interrupt selection.
- _TIMER_SYSTICK_CLKSRC_t : Timer SysTick Clock sources.
- _ADC_EVENT_t : Timer interrupt events selection.

Macros

- ARM_TIMER_API_VERSION : Timer API version.
- TIMER_ERROR_UNCONFIGURED : Driver has not been configured yet.

Functions

- TIMER_GetVersion : Get driver version.
- TIMER_Initialize : Initialize Timer driver with default configuration.
- TIMER_Configure : Configure particular Timer.
- TIMER_SetInterruptPriority : Configure the Timer interrupt priority.
- TIMER_Start : Starts the Timer.
- TIMER_Stop : Stops the Timer.
- TIMER_SetValue : Sets the timeout / reload value of the selected Timer.
- TIMER_GetValue : Returns the current value of Timer.
- TIMER_GetValueCapture : Returns the current value of Timer.
- TIMER_GetSysTickState : Returns 1 if SysTick has already reached 0.
- TIMER_SignalEvent : Signal Timer events.
- TIMER_SetGPIOInterrupt : Set GPIO interrupt capture status.