SiFive HiFive1 RISC-V board¶
Support for the SiFive HiFive1 RISC-V board.
-
LED0_PIN
¶ 1
GPIO_PIN(0, 22) /* Red */
-
LED1_PIN
¶ 1
GPIO_PIN(0, 19) /* Green */
-
LED2_PIN
¶ 1
GPIO_PIN(0, 21) /* Blue */
-
LED0_ON
¶ 1
gpio_clear(LED0_PIN)
-
LED0_OFF
¶ 1
gpio_set(LED0_PIN)
-
LED0_TOGGLE
¶ 1
gpio_toggle(LED0_PIN)
-
LED1_ON
¶ 1
gpio_clear(LED1_PIN)
-
LED1_OFF
¶ 1
gpio_set(LED1_PIN)
-
LED1_TOGGLE
¶ 1
gpio_toggle(LED1_PIN)
-
LED2_ON
¶ 1
gpio_clear(LED2_PIN)
-
LED2_OFF
¶ 1
gpio_set(LED2_PIN)
-
LED2_TOGGLE
¶ 1
gpio_toggle(LED2_PIN)
-
void
board_init
(void)¶ Initialize board specific hardware, including clock, LEDs and std-IO.
-
void
board_init_clock
(void)¶ Initialize the board clock to use PLL and faster SPI access.