23#include "periph_cpu.h"
24#include "vendor/conf.h"
34#define TIMER_NUMOF (1U)
35#define TIMER_IRQ_PRIO 1
38#define TIMER_0_DEV LPC_TIM0
39#define TIMER_0_CHANNELS 4
40#define TIMER_0_FREQ (96000000ul)
41#define TIMER_0_MAX_VALUE (0xffffffff)
42#define TIMER_0_CLKEN() (LPC_SC->PCONP |= (1 << 1))
43#define TIMER_0_CLKDIS() (LPC_SC->PCONP &= ~(1 << 1))
44#define TIMER_0_PLKSEL() (LPC_SC->PCLKSEL0 |= (1 << 2))
45#define TIMER_0_ISR isr_timer0
46#define TIMER_0_IRQ TIMER0_IRQn
55 .
dev = (LPC_UART_TypeDef*)LPC_UART0,
63 .dev = (LPC_UART_TypeDef*)LPC_UART3,
72#define UART_IRQ_PRIO 1
74#define UART_0_ISR isr_uart0
75#define UART_1_ISR isr_uart3
77#define UART_NUMOF ARRAY_SIZE(uart_config)
UART device configuration.
USART_t * dev
pointer to the used UART device