HALFRED
0.4.0
|
Timer API. More...
Timer API.
hal_tim library
Go to the source code of this file.
Data Structures | |
union | TIM_EventID |
struct | TIM_Time |
struct | TIM_Capabilities |
Macros | |
#define | HAL_TIM_USE_INTERRUPT_EVENTS 1 |
Enables (1) or disables (0) interrupt level events. | |
#define | HAL_TIM_USE_TASK_EVENTS 1 |
Enables (1) or disables (0) task level events. | |
#define | TIM_NO_EVENT 0xffffffff |
An identifier representing uninitialized (empty) event. | |
#define | TIM_Deinit(TIM) (TIM)->Deinit(TIM) |
#define | TIM_GetTime(TIM) (TIM)->GetTime(TIM) |
#define | TIM_ResetCounter(TIM) (TIM)->ResetCounter(TIM) |
#define | TIM_GetCapabilities(TIM, Caps) (TIM)->GetCapabilities(TIM, Caps) |
#define | TIM_GetError(TIM, TickTimeBase) (TIM)->GetError(TIM, TickTimeBase) |
Typedefs | |
typedef struct TIMDeviceDesc * | TIMDevice |
Enumerations | |
enum | TIM_EventType { TIM_EVENT_TYPE_NO_TYPE = -1, TIM_EVENT_TYPE_INTERRUPT = 0, TIM_EVENT_TYPE_TASK = 1 } |