1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![no_std]

//! # JH71xx-HAL
//!
//! `jh71xx-hal` is a HAL (hardware abstraction layer) crate for `JH71xx`-based SoCs from StarFive.
//!
//! Currently, only the `JH7110` SoC is supported. `JH7100` appears to be discontinued, and the next SoC line from StarFive will be the `JH81xx` series.
//!
//! Please submit changes if you would like to add support for the `JH7100` SoC!
//!
//! See individual module documentation for more information and examples.

#[macro_use]
extern crate bitflags;

extern crate embedded_io as io;

pub extern crate jh71xx_pac as pac;

#[cfg(feature = "rt")]
pub mod critical_section;
pub mod delay;
pub mod gpio;
pub mod i2c;
#[cfg(feature = "rt")]
pub mod interrupt;
mod macros;
pub mod pwm;
pub mod spi;
pub mod uart;