periph_conf.h File Reference

Peripheral specific definitions for the HiFive1 RISC-V board. More...

Detailed Description

Peripheral specific definitions for the HiFive1 RISC-V board.

Author
Ken Rabold

Definition in file periph_conf.h.

Go to the source code of this file.

Core Clock configuration

#define CLOCK_CORECLOCK   (200000000ul)
 

Xtimer configuration

#define XTIMER_DEV   (0)
 
#define XTIMER_CHAN   (0)
 
#define XTIMER_WIDTH   (32)
 
#define XTIMER_HZ   (32768ul)
 

Timer configuration

#define TIMER_NUMOF   (1)
 

RTT/RTC configuration

#define RTT_NUMOF   (1)
 
#define RTT_FREQUENCY   (1) /* in Hz */
 
#define RTT_MAX_VALUE   (0xFFFFFFFF)
 
#define RTT_INTR_PRIORITY   (2)
 
#define RTC_NUMOF   (1)
 

GPIO configuration

#define GPIO_INTR_PRIORITY   (3)
 

PWM configuration

#define PWM_NUMOF   (3)
 

UART configuration

#define UART_NUMOF   (2)
 
#define UART0_RX_INTR_PRIORITY   (2)
 
#define UART1_RX_INTR_PRIORITY   (2)