Crate jh71xx_hal

Source
Expand description

§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.

Re-exports§

pub extern crate jh71xx_pac as pac;

Modules§

clocks
Clock initialization and configuration.
ddr
Functions and types for handling DDR configuration.
delay
gpio
GPIO configuration and access.
i2c
I2C configuration and access.
mmc
MMC abstraction for the DesignWare MMC controllers used in JH7110 SoCs.
pll
PLL initialization and configuration.
pwm
PWM configuration and access.
register
spi
SPI configuration and access.
uart
UART peripheral access

Macros§

bitflag_from_u32
Implements the From trait for bitflag types.
bitflag_is_set
Implements a function to determine if a bitflag has a set flag.
clear_csr
hal_enum
impl_mmc_ops
Convenience macro helper to implement the MmcOps trait.
mem_cfg_arr
Convenience macro for defining MemCfg constant arrays.
mem_set_arr
Convenience macro for defining MemSet constant arrays.
read_as_csr
set_clear_csr
set_csr
write_as_csr