# mios32/LPC17xx/mios32_timer.c File Reference

`#include <mios32.h>`

## Defines
#define | TIM_PERIPHERAL_FRQ (MIOS32_SYS_CPU_FREQUENCY/4)
#define | NUM_TIMERS 3
#define | TIMER0_BASE LPC_TIM0
#define | TIMER0_IRQ TIMER0_IRQn
#define | TIMER0_IRQ_HANDLER void TIMER0_IRQHandler(void)
#define | TIMER1_BASE LPC_TIM1
#define | TIMER1_IRQ TIMER1_IRQn
#define | TIMER1_IRQ_HANDLER void TIMER1_IRQHandler(void)
#define | TIMER2_BASE LPC_TIM2
#define | TIMER2_IRQ TIMER2_IRQn
#define | TIMER2_IRQ_HANDLER void TIMER2_IRQHandler(void)
## Functions
s32 | MIOS32_TIMER_Init (u8 timer, u32 period, void(*_irq_handler)(void), u8 irq_priority)
s32 | MIOS32_TIMER_ReInit (u8 timer, u32 period)
s32 | MIOS32_TIMER_DeInit (u8 timer)