mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2025-01-27 19:46:37 +11:00
d941f5637b
Initial implementation of PIO Add all of the infrastructure required to include PIO programs and interact with PIO peripheral registers. This was a massive effort between @devsnek and @henkkuli. It's great that it's now ready to go. Co-authored-by: Gus Caplan <me@gus.host>
36 lines
698 B
Rust
36 lines
698 B
Rust
//! HAL for the RP2040 microcontroller
|
|
//!
|
|
//! This is an implementation of the [`embedded-hal`] traits for the RP2040 microcontroller
|
|
//! NOTE This HAL is still under active development. This API will remain volatile until 1.0.0
|
|
|
|
#![warn(missing_docs)]
|
|
#![no_std]
|
|
|
|
extern crate cortex_m;
|
|
extern crate embedded_hal as hal;
|
|
extern crate nb;
|
|
pub use paste;
|
|
|
|
pub extern crate rp2040_pac as pac;
|
|
|
|
pub mod adc;
|
|
pub mod clocks;
|
|
pub mod gpio;
|
|
pub mod i2c;
|
|
pub mod pio;
|
|
pub mod pll;
|
|
pub mod prelude;
|
|
pub mod pwm;
|
|
pub mod resets;
|
|
pub mod rom_data;
|
|
pub mod rosc;
|
|
pub mod rtc;
|
|
pub mod sio;
|
|
pub mod spi;
|
|
pub mod ssi;
|
|
pub mod timer;
|
|
pub mod typelevel;
|
|
pub mod uart;
|
|
pub mod usb;
|
|
pub mod watchdog;
|
|
pub mod xosc;
|