Peripheral MCU configuration for the Seeeduino Archo Pro board. More...
Peripheral MCU configuration for the Seeeduino Archo Pro board.
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "vendor/conf.h"
Go to the source code of this file.
Timer configuration | |
#define | TIMER_NUMOF (1U) |
#define | TIMER_IRQ_PRIO 1 |
#define | TIMER_0_DEV LPC_TIM0 |
#define | TIMER_0_CHANNELS 4 |
#define | TIMER_0_FREQ (96000000ul) |
#define | TIMER_0_MAX_VALUE (0xffffffff) |
#define | TIMER_0_CLKEN() (LPC_SC->PCONP |= (1 << 1)) |
#define | TIMER_0_CLKDIS() (LPC_SC->PCONP &= ~(1 << 1)) |
#define | TIMER_0_PLKSEL() (LPC_SC->PCLKSEL0 |= (1 << 2)) |
#define | TIMER_0_ISR isr_timer0 |
#define | TIMER_0_IRQ TIMER0_IRQn |
UART configuration | |
#define | UART_IRQ_PRIO 1 |
#define | UART_0_ISR isr_uart0 |
#define | UART_1_ISR isr_uart3 |
#define | UART_NUMOF ARRAY_SIZE(uart_config) |
static const uart_conf_t | uart_config [] |
#define TIMER_0_CHANNELS 4 |
Definition at line 39 of file periph_conf.h.
#define TIMER_0_CLKDIS | ( | ) | (LPC_SC->PCONP &= ~(1 << 1)) |
Definition at line 43 of file periph_conf.h.
#define TIMER_0_CLKEN | ( | ) | (LPC_SC->PCONP |= (1 << 1)) |
Definition at line 42 of file periph_conf.h.
#define TIMER_0_DEV LPC_TIM0 |
Definition at line 38 of file periph_conf.h.
#define TIMER_0_FREQ (96000000ul) |
Definition at line 40 of file periph_conf.h.
#define TIMER_0_IRQ TIMER0_IRQn |
Definition at line 46 of file periph_conf.h.
#define TIMER_0_ISR isr_timer0 |
Definition at line 45 of file periph_conf.h.
#define TIMER_0_MAX_VALUE (0xffffffff) |
Definition at line 41 of file periph_conf.h.
#define TIMER_0_PLKSEL | ( | ) | (LPC_SC->PCLKSEL0 |= (1 << 2)) |
Definition at line 44 of file periph_conf.h.
#define TIMER_IRQ_PRIO 1 |
Definition at line 35 of file periph_conf.h.
#define TIMER_NUMOF (1U) |
Definition at line 34 of file periph_conf.h.
#define UART_0_ISR isr_uart0 |
Definition at line 74 of file periph_conf.h.
#define UART_1_ISR isr_uart3 |
Definition at line 75 of file periph_conf.h.
#define UART_IRQ_PRIO 1 |
Definition at line 72 of file periph_conf.h.
#define UART_NUMOF ARRAY_SIZE(uart_config) |
Definition at line 77 of file periph_conf.h.
|
static |
Definition at line 53 of file periph_conf.h.