23 #include "periph_cpu_common.h"
41 #define CPUID_LEN (12U)
46 #define GPIO_UNDEF (0xff)
51 #define GPIO_PIN(x, y) (x | y)
56 #define GPIO_INTR_PRIORITY (3)
71 #define UART_ISR_PRIO (2)
77 #define PERIPH_SPI_NEEDS_TRANSFER_BYTE 1
78 #define PERIPH_SPI_NEEDS_TRANSFER_REG 1
79 #define PERIPH_SPI_NEEDS_TRANSFER_REGS 1
95 #define PERIPH_TIMER_PROVIDES_SET
102 #define PERIPH_I2C_NEED_READ_REG
104 #define PERIPH_I2C_NEED_WRITE_REG
106 #define PERIPH_I2C_NEED_READ_REGS
108 #define PERIPH_I2C_NEED_WRITE_REGS
116 #define HAVE_I2C_SPEED_T
138 #define NWDT_TIME_LOWER_LIMIT (1)
143 #define NWDT_TIME_UPPER_LIMIT ((UINT32_MAX >> 15) * MS_PER_SEC + 1)
149 #define WDT_INTR_PRIORITY (PLIC_NUM_PRIORITIES)
154 #define WDT_HAS_STOP (1)
161 #define RTT_INTR_PRIORITY (2)
163 #define RTT_MAX_VALUE (0xffffffff)
164 #define RTT_CLOCK_FREQUENCY (32768U)
165 #define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY)
166 #define RTT_MIN_FREQUENCY (1U)
168 #ifndef RTT_FREQUENCY
169 #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.