BeRTOS
timer_cm3.h File Reference

Low-level timer driver (SysTick) for Cortex-M3. More...

#include "cfg/cfg_timer.h"
#include <cpu/detect.h>
#include <cpu/irq.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
 Default system timer.
#define TIMER_DEFAULT   TIMER_ON_GPTM
 Default system timer.
void timer_hw_init (void)
 HW dependent timer initialization.
void timer_hw_exit (void)
 Default system timer.

Detailed Description

Low-level timer driver (SysTick) for Cortex-M3.

Author:
Andrea Righi <arighi@develer.com>

Definition in file timer_cm3.h.