CMSIS Timer Driver Data Structures Type Documentation
_TIMER_t
Location: Driver_TIMER.h:212
Data Fields
Type | Name | Description |
---|---|---|
Timer mode to be used. |
||
Clock source to be used. |
||
GPIO capture mode to be used. |
||
uint32_t |
Reserved. |
|
Timer prescale value. |
||
Multi count value. |
||
uint32_t |
Reserved. |
|
GPIO value. |
||
uint32_t |
Timer timeout value. |
_SYSTICK_t
Location: Driver_TIMER.h:228
Data Fields
Type | Name | Description |
---|---|---|
Clock source to be used. |
||
uint32_t |
Reserved. |
|
uint32_t |
SysTick value. |
_TIMER_PRI_CFG_t
Location: Driver_TIMER.h:247
Data Fields
Type | Name | Description |
---|---|---|
uint32_t |
Preempt priority. |
|
uint32_t |
Reserved. |
|
uint32_t |
Subgroup priority. |
|
uint32_t |
Reserved. |
_DRIVER_TIMER_t
Location: Driver_TIMER.h:258
Data Fields
Type | Name | Description |
---|---|---|
Pointer to TIMER_GetVersion : Get driver version. |
||
int32_t(* |
Pointer to TIMER_Initialize : Initialize Timer driver. |
|
int32_t(* |
Pointer to TIMER_Configure : Configure driver. |
|
int32_t(* |
SetInterruptPriority)(TIMER_SEL_t sel, const TIMER_PRI_CFG_t *pri) |
Pointer to TIMER_SetInterruptPriority : Configure Timer interrupt priority. |
int32_t(* |
Pointer to TIMER_Start : Start particular Timer. |
|
int32_t(* |
Pointer to TIMER_Stop : Stop particular Timer. |
|
int32_t(* |
Pointer to TIMER_SetValue : Set the particular Timer value. |
|
int32_t(* |
Pointer to TIMER_SetGPIOInterrupt : Set GPIO interrupt capture status. |
|
uint32_t(* |
Pointer to TIMER_GetValue : Get the particular Timer value. |
|
uint32_t(* |
Pointer to TIMER_GetValueCapture : Get the Timer GPIO Interrupt Captured Value. |
|
uint32_t(* |
Pointer to TIMER_GetSysTickState : Returns 1 if SysTick has already reached 0. |