Peripheral specific definitions for the HiFive1b RISC-V board.
More...
Peripheral specific definitions for the HiFive1b RISC-V board.
- Author
- Ken Rabold
-
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file periph_conf.h.
#include "kernel_defines.h"
#include "macros/units.h"
#include "periph_cpu.h"
#include "clk_conf.h"
Go to the source code of this file.
◆ I2C_NUMOF
◆ PWM_NUMOF
◆ SPI_NUMOF
◆ TIMER_NUMOF
◆ UART_NUMOF
◆ i2c_config
Initial value:= {
{
.addr = I2C0_CTRL_ADDR,
},
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Definition at line 92 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.addr = SPI1_CTRL_ADDR,
},
}
Definition at line 68 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.addr = UART0_CTRL_ADDR,
.isr_num = INT_UART0_BASE,
},
{
.addr = UART1_CTRL_ADDR,
.isr_num = INT_UART1_BASE,
},
}
Definition at line 45 of file periph_conf.h.