Crate sifli_pac

Crate sifli_pac 

Source
Expand description

§SiFli PAC

Crates.io Crates.io docs.rs Support status

Rust Peripheral Access Crate (PAC) for SiFli MCUs.

§Generation

To generate the PAC, you need to install chiptool, form and rustfmt:

cargo install form
rustup component add rustfmt
cargo install --git https://github.com/embassy-rs/chiptool --branch dev --locked

If you have an older version of chiptool installed, you may need to update it (2025.2.18 and later).

Then run the following in Bash or PowerShell:

./update

This crate is inspired by the project structure of rp-pac.

§License

This project is under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Modules§

aes
atim
audcodec
audprc
btim
common
crc
dmac
efusec
epic
extdma
ezip
gpadc
gptim
hpsys_aon
hpsys_cfg
hpsys_gpio
hpsys_pinmux
hpsys_rcc
i2c
i2s
iwdt
lcdc
lptim
mpi
pdm
pmuc
ptc
sdmmc
spi
tim_common
trng
tsen
usart
wdt

Enums§

Interrupt

Constants§

AES
ATIM1
AUDCODEC
AUDPRC
BTIM1
BTIM2
CRC1
DMAC1
EFUSEC
EPIC
EXTDMA
EZIP1
GPADC
GPTIM1
GPTIM2
HPSYS_AON
HPSYS_CFG
HPSYS_GPIO
HPSYS_PINMUX
HPSYS_RCC
I2C1
I2C2
I2C3
I2C4
I2S1
IWDT
LCDC1
LPTIM1
LPTIM2
MPI1
MPI2
PDM1
PMUC
PTC1
SDMMC1
SPI1
SPI2
TRNG
TSEN
USART1
USART2
USART3
WDT1