24 #include "periph_cpu_common.h"
42 #define CPUID_LEN (12U)
47 #define GPIO_UNDEF (0xff)
52 #define GPIO_PIN(x, y) (x | y)
57 #define GPIO_INTR_PRIORITY (3)
72 #define UART_ISR_PRIO (2)
78 #define PERIPH_SPI_NEEDS_TRANSFER_BYTE 1
79 #define PERIPH_SPI_NEEDS_TRANSFER_REG 1
80 #define PERIPH_SPI_NEEDS_TRANSFER_REGS 1
96 #define PERIPH_TIMER_PROVIDES_SET
103 #define PERIPH_I2C_NEED_READ_REG
105 #define PERIPH_I2C_NEED_WRITE_REG
107 #define PERIPH_I2C_NEED_READ_REGS
109 #define PERIPH_I2C_NEED_WRITE_REGS
117 #define HAVE_I2C_SPEED_T
139 #define NWDT_TIME_LOWER_LIMIT (1)
144 #define NWDT_TIME_UPPER_LIMIT ((UINT32_MAX >> 15) * MS_PER_SEC + 1)
150 #define WDT_INTR_PRIORITY (PLIC_NUM_PRIORITIES)
155 #define WDT_HAS_STOP (1)
162 #define RTT_INTR_PRIORITY (2)
164 #define RTT_MAX_VALUE (0xffffffff)
165 #define RTT_CLOCK_FREQUENCY (32768U)
166 #define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY)
167 #define RTT_MIN_FREQUENCY (1U)
169 #ifndef RTT_FREQUENCY
170 #define RTT_FREQUENCY (RTT_MAX_FREQUENCY)
void fe310_clock_init(void)
Initialization of the clock.
unsigned int gpio_t
GPIO type identifier.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
Adds include for missing inttype definitions.
unsigned irqn_t
Convenience typedef for interrupt lines.
I2C configuration structure.
uint32_t addr
device base address
SPI device configuration.
uint32_t addr
SPI control register address.
UART device configuration.
uint32_t addr
UART control register address.
irqn_t isr_num
ISR source number.