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§

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

Macros§

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