pub struct Peripherals {Show 28 fields
pub glb_ctl_m: GlbCtlM,
pub gpio0: Gpio0,
pub uart0: Uart0,
pub timer: Timer,
pub wdt: Wdt,
pub tcxo: Tcxo,
pub i2c0: I2c0,
pub spi0: Spi0,
pub pwm: Pwm,
pub dma: Dma,
pub rtc: Rtc,
pub trng: Trng,
pub gpio1: Gpio1,
pub gpio2: Gpio2,
pub gpio3: Gpio3,
pub gpio4: Gpio4,
pub ulp_gpio: UlpGpio,
pub uart1: Uart1,
pub uart2: Uart2,
pub i2c1: I2c1,
pub spi1: Spi1,
pub spi2: Spi2,
pub sdma: Sdma,
pub gadc: Gadc,
pub keyscan: Keyscan,
pub pdm: Pdm,
pub qdec: Qdec,
pub usb: Usb,
}Expand description
All the peripherals.
Fields§
§glb_ctl_m: GlbCtlMGLB_CTL_M
gpio0: Gpio0GPIO0
uart0: Uart0UART0
timer: TimerTIMER
wdt: WdtWDT
tcxo: TcxoTCXO
i2c0: I2c0I2C0
spi0: Spi0SPI0
pwm: PwmPWM
dma: DmaDMA
rtc: RtcRTC
trng: TrngTRNG
gpio1: Gpio1GPIO1
gpio2: Gpio2GPIO2
gpio3: Gpio3GPIO3
gpio4: Gpio4GPIO4
ulp_gpio: UlpGpioULP_GPIO
uart1: Uart1UART1
uart2: Uart2UART2
i2c1: I2c1I2C1
spi1: Spi1SPI1
spi2: Spi2SPI2
sdma: SdmaSDMA
gadc: GadcGADC
keyscan: KeyscanKEYSCAN
pdm: PdmPDM
qdec: QdecQDEC
usb: UsbUSB
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Peripherals
impl !Sync for Peripherals
impl Freeze for Peripherals
impl Send for Peripherals
impl Unpin for Peripherals
impl UnsafeUnpin for Peripherals
impl UnwindSafe for Peripherals
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more