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_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 88 of file periph_conf.h.
 
 
◆ spi_config
Initial value:= {
    {
        .addr       = SPI1_CTRL_ADDR,
    },
}
 
Definition at line 64 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 41 of file periph_conf.h.