timer_cm3.h File Reference
Low-level timer driver (SysTick) for Cortex-M3. More...
#include "cfg/cfg_timer.h"Go to the source code of this file.
Values for CONFIG_TIMER. | |
Select which hardware timer interrupt to use for system clock and softtimers. | |
| #define | TIMER_ON_GPTM 1 |
| #define | TIMER_DEFAULT TIMER_ON_GPTM |
| Default system timer. | |
| #define | TIMER_TICKS_PER_SEC 1000 |
| #define | TIMER_HW_HPTICKS_PER_SEC (CPU_FREQ) |
| #define | TIMER_HW_CNT (CPU_FREQ / TIMER_TICKS_PER_SEC) |
| #define | SIZEOF_HPTIME_T 4 |
| #define | DEFINE_TIMER_ISR DECLARE_ISR_CONTEXT_SWITCH(timer_handler) |
| typedef uint32_t | hptime_t |
| Type of time expressed in ticks of the hardware high-precision timer. | |
| ISR_PROTO_CONTEXT_SWITCH (timer_handler) | |
| void | timer_hw_irq (void) |
| bool | timer_hw_triggered (void) |
| hptime_t | timer_hw_hpread (void) |
| void | timer_hw_init (void) |
| HW dependent timer initialization. | |
| void | timer_hw_exit (void) |
Detailed Description
Low-level timer driver (SysTick) for Cortex-M3.
Definition in file timer_cm3.h.
