Struct esp32s3_hal::peripherals::Peripherals
source · pub struct Peripherals {Show 56 fields
pub AES: AES,
pub APB_CTRL: APB_CTRL,
pub APB_SARADC: APB_SARADC,
pub ASSIST_DEBUG: ASSIST_DEBUG,
pub DMA: DMA,
pub DS: DS,
pub EFUSE: EFUSE,
pub EXTMEM: EXTMEM,
pub GPIO: GPIO,
pub GPIO_SD: GPIO_SD,
pub HMAC: HMAC,
pub I2C0: I2C0,
pub I2C1: I2C1,
pub I2S0: I2S0,
pub I2S1: I2S1,
pub INTERRUPT_CORE0: INTERRUPT_CORE0,
pub INTERRUPT_CORE1: INTERRUPT_CORE1,
pub IO_MUX: IO_MUX,
pub LCD_CAM: LCD_CAM,
pub LEDC: LEDC,
pub LPWR: LPWR,
pub PCNT: PCNT,
pub PERI_BACKUP: PERI_BACKUP,
pub MCPWM0: MCPWM0,
pub MCPWM1: MCPWM1,
pub RMT: RMT,
pub RNG: RNG,
pub RSA: RSA,
pub RTC_I2C: RTC_I2C,
pub RTC_IO: RTC_IO,
pub SENS: SENS,
pub SENSITIVE: SENSITIVE,
pub SHA: SHA,
pub SPI0: SPI0,
pub SPI1: SPI1,
pub SPI2: SPI2,
pub SPI3: SPI3,
pub SYSTEM: SYSTEM,
pub SYSTIMER: SYSTIMER,
pub TIMG0: TIMG0,
pub TIMG1: TIMG1,
pub TWAI0: TWAI0,
pub UART0: UART0,
pub UART1: UART1,
pub UART2: UART2,
pub UHCI0: UHCI0,
pub UHCI1: UHCI1,
pub USB0: USB0,
pub USB_DEVICE: USB_DEVICE,
pub USB_WRAP: USB_WRAP,
pub WCL: WCL,
pub XTS_AES: XTS_AES,
pub BT: BT,
pub PSRAM: PSRAM,
pub ULP_RISCV_CORE: ULP_RISCV_CORE,
pub WIFI: WIFI,
}
Fields§
§AES: AES
§APB_CTRL: APB_CTRL
§APB_SARADC: APB_SARADC
§ASSIST_DEBUG: ASSIST_DEBUG
§DMA: DMA
§DS: DS
§EFUSE: EFUSE
§EXTMEM: EXTMEM
§GPIO: GPIO
§GPIO_SD: GPIO_SD
§HMAC: HMAC
§I2C0: I2C0
§I2C1: I2C1
§I2S0: I2S0
§I2S1: I2S1
§INTERRUPT_CORE0: INTERRUPT_CORE0
§INTERRUPT_CORE1: INTERRUPT_CORE1
§IO_MUX: IO_MUX
§LCD_CAM: LCD_CAM
§LEDC: LEDC
§LPWR: LPWR
§PCNT: PCNT
§PERI_BACKUP: PERI_BACKUP
§MCPWM0: MCPWM0
§MCPWM1: MCPWM1
§RMT: RMT
§RNG: RNG
§RSA: RSA
§RTC_I2C: RTC_I2C
§RTC_IO: RTC_IO
§SENS: SENS
§SENSITIVE: SENSITIVE
§SHA: SHA
§SPI0: SPI0
§SPI1: SPI1
§SPI2: SPI2
§SPI3: SPI3
§SYSTEM: SYSTEM
§SYSTIMER: SYSTIMER
§TIMG0: TIMG0
§TIMG1: TIMG1
§TWAI0: TWAI0
§UART0: UART0
§UART1: UART1
§UART2: UART2
§UHCI0: UHCI0
§UHCI1: UHCI1
§USB0: USB0
§USB_DEVICE: USB_DEVICE
§USB_WRAP: USB_WRAP
§WCL: WCL
§XTS_AES: XTS_AES
§BT: BT
§PSRAM: PSRAM
§ULP_RISCV_CORE: ULP_RISCV_CORE
§WIFI: WIFI
Implementations§
source§impl Peripherals
impl Peripherals
sourcepub fn take() -> Peripherals
pub fn take() -> Peripherals
Returns all the peripherals once
source§impl Peripherals
impl Peripherals
sourcepub unsafe fn steal() -> Peripherals
pub unsafe fn steal() -> Peripherals
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Auto Trait Implementations§
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl Sync for Peripherals
impl Unpin 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