#![no_std]
#[cfg(feature = "panic-handler")]
mod panic_handler;
pub struct Steal<T>(pub(crate) T);
impl<T> core::ops::Deref for Steal<T> {
type Target = T;
#[inline]
fn deref(&self) -> &T {
&self.0
}
}
impl<T> AsRef<T> for Steal<T> {
#[inline]
fn as_ref(&self) -> &T {
&self.0
}
}
pub mod accessctrl;
pub mod adc;
pub mod binary_info;
pub mod block;
pub mod bootrom;
pub mod busctrl;
pub mod clocks;
pub mod dcp;
pub mod delay;
pub mod dma;
pub mod eppb;
pub mod flash;
pub mod gpio;
pub mod gpioc;
pub mod i2c;
pub mod interp;
pub mod interrupt;
pub mod multicore;
pub mod otp;
pub mod pads_qspi;
pub mod pin;
pub mod pio;
pub mod powman;
pub mod ppb;
pub mod pwm;
pub mod qspi;
pub mod reboot;
pub mod reset;
pub mod sha256;
pub mod sio;
pub mod spi;
mod spin;
pub mod startup;
pub mod syscfg;
pub mod sysinfo;
pub mod sysinfo_rom;
pub mod systick;
pub mod ticks;
pub mod time;
pub mod timer;
pub mod trng;
pub mod uart;
pub mod watchdog;
pub mod xip;
pub mod kit;
#[cfg(feature = "critical-section-impl")]
mod critical_section_impl;
pub use rp2350_rt as rt;
pub use rp2350_rt::Peripherals as CorePeripherals;
pub use rp2350_pac as pac;
pub use rp2350_pac::__INTERRUPTS;
pub use rp2350_pac::{Interrupt, Peripherals, Vector};
pub use rp2350_macro::main;
pub use rp2350_macro::exception;
pub use rp2350_macro::pio_asm;
pub use rp2350_macro::bind;
pub use rp2350_macro::ramfunc;
pub use rp2350_rt::ExceptionFrame;
#[doc(hidden)]
pub use pastey;
pub use accessctrl::Accessctrl;
pub use adc::Adc;
pub use busctrl::Busctrl;
pub use clocks::Clocks;
pub use dcp::Dcp;
pub use dma::{Channel, Dma};
pub use eppb::Eppb;
pub use gpio::Pins;
pub use i2c::{I2c0, I2c0Slave, I2c1, I2c1Slave};
pub use multicore::{Fifo, Multicore, Stack};
pub use otp::Otp;
pub use pads_qspi::PadsQspi;
pub use powman::{AonTimer, Powman, Timespec};
pub use pwm::Pwm;
pub use reboot::RebootKind;
pub use sha256::Sha256;
pub use spi::{Spi0, Spi0Slave, Spi1, Spi1Slave};
pub use syscfg::Syscfg;
pub use sysinfo::Sysinfo;
pub use systick::{Delay, SysTick};
pub use ticks::Ticks;
pub use time::{Duration, Instant};
pub use timer::{Timer0, Timer1};
pub use trng::Trng;
pub use uart::{Uart0, Uart1};
pub use watchdog::Watchdog;
pub use xip::Xip;
#[cfg(feature = "defmt")]
pub use defmt;