Crate pic32_hal

source ·
Expand description

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 MCU can be selected by means of specific features.

FeatureDevices
pic32mx1xxfxxxb28-pin PIC32MX1xx
pic32mx2xxfxxxb28-pin PIC32MX2xx
pic32mx2x4fxxxb28-pin PIC32MX2xx XLP

This documentation has been generated with --features pic32mx2xxfxxxb.

Modules§

  • 10-bit Analog-to-Digital Converter (ADC)
  • Clock helper and control functions
  • Access to the MIPS core timer and implementation of the DelayMs/DelayUs trait
  • DMA Controller
  • General Purpose Input / Output
  • I2C driver for PIC32
  • Interrupt controller
  • Output Compare
  • Peripheral access API for PIC32MX270F256B microcontrollers (generated using svd2rust v0.29.0 ( ))
  • Peripheral Pin Select (PPS)
  • SPI driver (SPI master)
  • Types for time units and frequency TODO: replace with fugit
  • Timer
  • UART driver
  • USB function driver for PIC32 devices with Full Speed USB hardware

Macros§

  • Move a virtual pin into a respective MappedPin mapped to a NoPin