timer_at91.h File Reference
Low-level timer module for Atmel AT91 (interface). More...
#include <hw/hw_cpufreq.h>#include "cfg/cfg_timer.h"#include <cfg/compiler.h>#include <cfg/macros.h>#include <io/arm.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_PIT 1 |
| System timer on Periodic interval timer. | |
| #define | TIMER_DEFAULT TIMER_ON_PIT |
| Default system timer. | |
| #define | DEFINE_TIMER_ISR |
| #define | TIMER_TICKS_PER_SEC 1000 |
| #define | TIMER_HW_CNT (CPU_FREQ / (16 * TIMER_TICKS_PER_SEC) - 1) |
| #define | TIMER_HW_HPTICKS_PER_SEC (CPU_FREQ / 16) |
| Frequency of the hardware high-precision timer. | |
| #define | SIZEOF_HPTIME_T 4 |
| typedef uint32_t | hptime_t |
| Type of time expressed in ticks of the hardware high-precision timer. | |
| void | timer_hw_irq (void) |
| bool | timer_hw_triggered (void) |
| hptime_t | timer_hw_hpread (void) |
| void | timer_hw_init (void) |
Detailed Description
Low-level timer module for Atmel AT91 (interface).
- Version:
- Id
- timer_at91.h 3226 2010-03-17 13:08:31Z batt
Definition in file timer_at91.h.
Define Documentation
| #define TIMER_HW_HPTICKS_PER_SEC (CPU_FREQ / 16) |
Frequency of the hardware high-precision timer.
Definition at line 78 of file timer_at91.h.
