pic32-hal

Crates.iopic32-hal
lib.rspic32-hal
version
sourcesrc
created_at2021-10-10 18:53:26.518738
updated_at2024-10-23 14:18:11.41916
descriptionHardware Abstraction Layer (HAL) for PIC32 microcontrollers
homepage
repositoryhttps://github.com/kiffie/pic32-rs/tree/master/pic32-hal
max_upload_size
id463231
Cargo.toml error:TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Stephan (kiffie)

documentation

https://docs.rs/pic32-hal

README

pic32-hal

Crates.io docs.rs

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.

Commit count: 154

cargo fmt