14 releases (8 breaking)
0.12.1 | Oct 23, 2024 |
---|---|
0.11.0 | Apr 7, 2024 |
0.10.1 | Jul 31, 2023 |
0.8.0 | Jan 1, 2023 |
0.4.1 | Oct 11, 2021 |
#112 in Hardware support
2,848 downloads per month
Used in 2 crates
315KB
7.5K
SLoC
pic32-hal
A hardware abstraction layer for some PIC32 microcontrollers.
This crate provides a thin low-level API on top of the register access API implemented by the PAC crate. The following HAL functionality is available
- basic clock control, including reference clock generator
- GPIO
- UART
- USB
- access to the MIPS core timer
- DMA channels
- I2C peripheral
- SPI peripheral
- interrupt controller
- Peripheral Pin Select (PPS)
- 10-bit analog-to-digital converter (ADC)
- Timer
- Output Compare
Some of the modules implement the embedded-hal API so that device drivers (e. g. for displays) using this API can access PIC32 peripherals.
Everything here is work in progress. Examples can be found in the git repository.
Dependencies
~0.4–14MB
~436K SLoC