19#ifndef PERIPH_CPU_COMMON_H
20#define PERIPH_CPU_COMMON_H
31#define CPUID_ADDR (&FCFG->MAC_BLE_0)
35#define CPUID_LEN (16U)
41#define PROVIDES_PM_SET_LOWEST_CORTEXM
48#define HAVE_GPIO_MODE_T
61#define HAVE_GPIO_FLANK_T
71#define GPIO_PIN(x, y) (((x) & 0) | (y))
79#define UART_INVALID_MODE (0x8000000)
85#define HAVE_UART_PARITY_T
99#define HAVE_UART_DATA_BITS_T
112#define HAVE_UART_STOP_BITS_T
127#ifdef MODULE_PERIPH_UART_HW_FC
156#define TIMER_CHANNEL_NUMOF 2
158#define PERIPH_I2C_NEED_READ_REG
159#define PERIPH_I2C_NEED_READ_REGS
160#define PERIPH_I2C_NEED_WRITE_REG
161#define PERIPH_I2C_NEED_WRITE_REGS
@ GPIO_OUT
select GPIO MASK as output
@ GPIO_IN
select GPIO MASK as input
#define IOCFG_EDGEDET_BOTH
edge detection on both edges
#define IOCFG_IOMODE_OPEN_DRAIN
open drain
#define IOCFG_PULLCTL_DOWN
pull down
#define IOCFG_EDGEDET_RISING
edge detection on rising edge
#define IOCFG_PULLCTL_UP
pull up
#define IOCFG_PULLCTL_OFF
no IO pull
#define IOCFG_EDGEDET_FALLING
edge detection on falling edge
gpio_mode_t
Available pin modes.
uart_parity_t
Definition of possible parity modes.
@ UART_PARITY_SPACE
space parity
@ UART_PARITY_NONE
no parity
@ UART_PARITY_EVEN
even parity
@ UART_PARITY_ODD
odd parity
@ UART_PARITY_MARK
mark parity
uart_stop_bits_t
Definition of possible stop bits lengths.
@ UART_STOP_BITS_2
2 stop bits
@ UART_STOP_BITS_1
1 stop bit
#define UART_INVALID_MODE
Invalid UART mode mask.
uart_data_bits_t
Definition of possible data bits lengths in a UART frame.
@ UART_DATA_BITS_6
6 data bits
@ UART_DATA_BITS_5
5 data bits
@ UART_DATA_BITS_7
7 data bits
@ UART_DATA_BITS_8
8 data bits
Timer device configuration.
UART device configuration.
UART component registers.