Expand description
Hardware Abstraction Layer wrapper for Pico Engine
This crate re-exports the rp235x-hal crate to provide a stable dependency that can be published to crates.io.
Modules§
- adc
- Analog-Digital Converter (ADC)
- arch
- Portable in-line assembly
- async_
utils - Commonly used in async implementations.
- binary_
info - Code and types for creating Picotool compatible “Binary Info” metadata
- block
- Support for the RP235x Boot ROM’s “Block” structures
- clocks
- Clocks (CLOCKS)
- dma
- Direct memory access (DMA).
- fugit
fugitprovides a comprehensive library ofDurationandInstantfor the handling of time in embedded systems. The library is specifically designed to maximize const-ification which allows for most comparisons and changes of time-base to be made at compile time, rather than run time.- gpio
- General Purpose Input and Output (GPIO)
- i2c
- Inter-Integrated Circuit (I2C) bus
- lposc
- Low Power Oscillator (ROSC)
- otp
- Interface to the RP2350’s One Time Programmable Memory
- pac
- Peripheral access API for RP2350 microcontrollers
- paste
- github crates-io docs-rs
- pio
- Programmable IO (PIO)
- pll
- Phase-Locked Loops (PLL)
- powman
- POWMAN Support
- prelude
- Prelude
- pwm
- Pulse Width Modulation (PWM)
- reboot
- Functions for rebooting the chip using the ROM.
- resets
- Subsystem Resets
- rom_
data - Functions and data from the RPI Bootrom.
- rosc
- Ring Oscillator (ROSC)
- sio
- Single Cycle Input and Output (SIO)
- spi
- Serial Peripheral Interface (SPI)
- timer
- Timer Peripheral
- typelevel
- Module supporting type-level programming
- uart
- Universal Asynchronous Receiver Transmitter (UART)
- usb
- Universal Serial Bus (USB)
- vector_
table - Interrupt vector table utilities
- watchdog
- Watchdog
- xosc
- Crystal Oscillator (XOSC)
Macros§
- bsp_
pins - Helper macro to give meaningful names to GPIO pins
- declare_
get_ sys_ info_ function - Generates a function with the following signature:
- singleton
- Create a static variable which we can grab a mutable reference to exactly once.
Structs§
- Adc
- Analog to Digital Convertor (ADC).
- I2C
- I2C peripheral
- Sio
- Struct containing ownership markers for managing ownership of the SIO registers.
- Spi
- Configured Spi bus.
- Timer
- Timer peripheral
- Watchdog
- Watchdog peripheral
Traits§
- Clock
- For clocks