2018-08-08 20:59:10 +02:00
|
|
|
/*
|
|
|
|
* peripherals.h
|
|
|
|
*
|
|
|
|
* Created on: 29.07.2018
|
|
|
|
* Author: eyck
|
|
|
|
*/
|
|
|
|
|
2018-09-25 19:17:28 +02:00
|
|
|
#ifndef HIFIVE1_IO_H_
|
|
|
|
#define HIFIVE1_IO_H_
|
2018-08-08 20:59:10 +02:00
|
|
|
|
2018-09-25 19:17:28 +02:00
|
|
|
#include "io/gpio.h"
|
|
|
|
#include "io/spi.h"
|
|
|
|
#include "io/pwm.h"
|
|
|
|
#include "io/uart.h"
|
2018-08-08 20:59:10 +02:00
|
|
|
|
|
|
|
using gpio0=gpio_regs<0x10012000>;
|
|
|
|
using uart0=uart_regs<0x10013000>;
|
|
|
|
using uart1=uart_regs<0x10023000>;
|
|
|
|
using qspi0=spi_regs<0x10014000>;
|
|
|
|
using qspi1=spi_regs<0x10024000>;
|
|
|
|
using qspi2=spi_regs<0x10034000>;
|
|
|
|
using pwm0 =pwm_regs<0x10015000>;
|
|
|
|
using pwm1 =pwm_regs<0x10025000>;
|
|
|
|
using pwm2 =pwm_regs<0x10035000>;
|
|
|
|
|
2018-09-25 19:17:28 +02:00
|
|
|
#endif /* HIFIVE1_IO_H_ */
|