Go to the documentation of this file.
24 #include "eagle_soc.h"
33 #define CPUID_LEN (4U)
47 typedef unsigned int gpio_t;
53 #define GPIO_UNDEF ((gpio_t)(UINT_MAX))
58 #define GPIO_PIN(x, y) ((x & 0) | y)
68 #define GPIO_PIN_NUMOF (17)
75 #define HAVE_GPIO_FLANK_T
92 #define GPIO0 (GPIO_PIN(PORT_GPIO,0))
93 #define GPIO1 (GPIO_PIN(PORT_GPIO,1))
94 #define GPIO2 (GPIO_PIN(PORT_GPIO,2))
95 #define GPIO3 (GPIO_PIN(PORT_GPIO,3))
96 #define GPIO4 (GPIO_PIN(PORT_GPIO,4))
97 #define GPIO5 (GPIO_PIN(PORT_GPIO,5))
98 #define GPIO6 (GPIO_PIN(PORT_GPIO,6))
99 #define GPIO7 (GPIO_PIN(PORT_GPIO,7))
100 #define GPIO8 (GPIO_PIN(PORT_GPIO,8))
101 #define GPIO9 (GPIO_PIN(PORT_GPIO,9))
102 #define GPIO10 (GPIO_PIN(PORT_GPIO,10))
103 #define GPIO11 (GPIO_PIN(PORT_GPIO,11))
104 #define GPIO12 (GPIO_PIN(PORT_GPIO,12))
105 #define GPIO13 (GPIO_PIN(PORT_GPIO,13))
106 #define GPIO14 (GPIO_PIN(PORT_GPIO,14))
107 #define GPIO15 (GPIO_PIN(PORT_GPIO,15))
108 #define GPIO16 (GPIO_PIN(PORT_GPIO,16))
141 #define HAVE_I2C_SPEED_T
163 #define I2C_NUMOF_MAX (2)
165 #define PERIPH_I2C_NEED_READ_REG
166 #define PERIPH_I2C_NEED_READ_REGS
167 #define PERIPH_I2C_NEED_WRITE_REG
168 #define PERIPH_I2C_NEED_WRITE_REGS
175 #define PROVIDES_PM_SET_LOWEST
176 #define PROVIDES_PM_RESTART
177 #define PROVIDES_PM_OFF
200 #define PWM_NUMOF_MAX (1)
205 #define PWM_CHANNEL_NUM_MAX (8)
217 #define RNG_DATA_REG_ADDR (0x3ff20e44)
224 #define RTT_FREQUENCY (312500UL)
225 #define RTT_MAX_VALUE (0xFFFFFFFFUL)
274 #define SPI_NUMOF_MAX (1)
276 #define PERIPH_SPI_NEEDS_TRANSFER_BYTE
277 #define PERIPH_SPI_NEEDS_TRANSFER_REG
278 #define PERIPH_SPI_NEEDS_TRANSFER_REGS
284 #define PERIPH_TIMER_PROVIDES_SET
305 #define UART_NUMOF_MAX (1)
@ I2C_SPEED_LOW
low speed mode: ~10 kbit/s
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
spi_ctrl_t
SPI controllers that can be used for peripheral interfaces.
@ HSPI
HSPI interface controller.
i2c_speed_t
Default mapping of I2C bus speed values.
@ GPIO_FALLING
emit interrupt on falling flank
@ GPIO_RISING
emit interrupt on rising flank
UART device configuration.
@ GPIO_BOTH
emit interrupt on both flanks
unsigned int gpio_t
GPIO type identifier.
I2C configuration options.
@ I2C_SPEED_FAST_PLUS
fast plus mode: ~1000 kbit/s
@ I2C_SPEED_FAST
fast mode: ~400 kbit/s
@ I2C_SPEED_HIGH
high speed mode: ~3400 kbit/s
SPI configuration structure type.