Crate pico_engine_hal

Crate pico_engine_hal 

Source
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
fugit provides a comprehensive library of Duration and Instant for 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
githubcrates-iodocs-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

Functions§

halt
Halt the rp235x.
reset
Trigger full reset of the rp235x.

Attribute Macros§

entry