22#include "periph_cpu.h"
23#include "vendor/conf.h"
33#define TIMER_NUMOF (1U)
34#define TIMER_IRQ_PRIO 1
37#define TIMER_0_DEV LPC_TIM0
38#define TIMER_0_CHANNELS 4
39#define TIMER_0_FREQ (96000000ul)
40#define TIMER_0_MAX_VALUE (0xffffffff)
41#define TIMER_0_CLKEN() (LPC_SC->PCONP |= (1 << 1))
42#define TIMER_0_CLKDIS() (LPC_SC->PCONP &= ~(1 << 1))
43#define TIMER_0_PLKSEL() (LPC_SC->PCLKSEL0 |= (1 << 2))
44#define TIMER_0_ISR isr_timer0
45#define TIMER_0_IRQ TIMER0_IRQn
54 .
dev = (LPC_UART_TypeDef*)LPC_UART0,
62 .dev = (LPC_UART_TypeDef*)LPC_UART2,
71#define UART_IRQ_PRIO 1
73#define UART_0_ISR isr_uart0
74#define UART_1_ISR isr_uart2
76#define UART_NUMOF ARRAY_SIZE(uart_config)
UART device configuration.
USART_t * dev
pointer to the used UART device