[−][src]Struct esp32::Peripherals
All the peripherals
Fields
AES: AESAES
HINF: HINFHINF
SPI: SPISPI
I2C1: I2C1I2C1
I2C: I2CI2C
EFUSE: EFUSEEFUSE
I2C0: I2C0I2C0
PCNT: PCNTPCNT
RMT: RMTRMT
GPIO: GPIOGPIO
UHCI: UHCIUHCI
SLCHOST: SLCHOSTSLCHOST
SLC: SLCSLC
TIMG1: TIMG1TIMG1
PWM1: PWM1PWM1
RTCCNTL: RTCCNTLRTCCNTL
PWM2: PWM2PWM2
UHCI0: UHCI0UHCI0
SENS: SENSSENS
RTCIO: RTCIORTCIO
DPORT: DPORTDPORT
SPI3: SPI3SPI3
UART2: UART2UART2
TIMG: TIMGTIMG
PWM3: PWM3PWM3
TIMG0: TIMG0TIMG0
GPIO_SD: GPIO_SDGPIO_SD
SPI0: SPI0SPI0
PWM0: PWM0PWM0
UHCI1: UHCI1UHCI1
IO_MUX: IO_MUXIO_MUX
I2S: I2SI2S
SPI2: SPI2SPI2
APB_CTRL: APB_CTRLAPB_CTRL
SYSCON: SYSCONSYSCON
RTC_I2C: RTC_I2CRTC_I2C
UART: UARTUART
LEDC: LEDCLEDC
MCPWM: MCPWMMCPWM
UART1: UART1UART1
SPI1: SPI1SPI1
UART0: UART0UART0
Implementations
impl Peripherals[src]
pub fn take() -> Option<Self>[src]
Returns all the peripherals once
pub unsafe fn steal() -> Self[src]
Unchecked version of Peripherals::take
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,