2021-01-26 07:42:43 +11:00
|
|
|
//! 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
|
|
|
|
|
|
|
|
#![deny(missing_docs)]
|
|
|
|
#![deny(warnings)]
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
extern crate cortex_m;
|
|
|
|
extern crate embedded_hal as hal;
|
|
|
|
extern crate nb;
|
2021-04-24 21:38:17 +10:00
|
|
|
|
2021-01-26 07:42:43 +11:00
|
|
|
pub extern crate rp2040_pac as pac;
|
|
|
|
|
|
|
|
pub mod adc;
|
2021-04-18 09:18:10 +10:00
|
|
|
pub mod gpio;
|
2021-01-26 07:42:43 +11:00
|
|
|
pub mod i2c;
|
2021-04-25 18:12:38 +10:00
|
|
|
pub mod pll;
|
2021-01-26 07:42:43 +11:00
|
|
|
pub mod prelude;
|
|
|
|
pub mod pwm;
|
2021-02-02 15:57:32 +11:00
|
|
|
pub mod rom_data;
|
2021-01-26 07:42:43 +11:00
|
|
|
pub mod rtc;
|
|
|
|
pub mod spi;
|
|
|
|
pub mod ssi;
|
|
|
|
pub mod timer;
|
|
|
|
pub mod uart;
|
|
|
|
pub mod usb;
|
|
|
|
pub mod watchdog;
|
2021-04-24 21:38:17 +10:00
|
|
|
pub mod xosc;
|