pub struct Peripherals {Show 111 fields
pub I2C0: I2C0<'static>,
pub I2C1: I2C1<'static>,
pub SPI2: SPI2<'static>,
pub SPI3: SPI3<'static>,
pub UART0: UART0<'static>,
pub UART1: UART1<'static>,
pub UART2: UART2<'static>,
pub ADC1: ADC1<'static>,
pub ADC2: ADC2<'static>,
pub AES: AES<'static>,
pub APB_SARADC: APB_SARADC<'static>,
pub APB_CTRL: APB_CTRL<'static>,
pub ASSIST_DEBUG: ASSIST_DEBUG<'static>,
pub BT: BT<'static>,
pub CPU_CTRL: CPU_CTRL<'static>,
pub DMA: DMA<'static>,
pub DS: DS<'static>,
pub EFUSE: EFUSE<'static>,
pub EXTMEM: EXTMEM<'static>,
pub GPIO: GPIO<'static>,
pub GPIO_SD: GPIO_SD<'static>,
pub HMAC: HMAC<'static>,
pub I2S0: I2S0<'static>,
pub I2S1: I2S1<'static>,
pub INTERRUPT_CORE0: INTERRUPT_CORE0<'static>,
pub INTERRUPT_CORE1: INTERRUPT_CORE1<'static>,
pub IO_MUX: IO_MUX<'static>,
pub LCD_CAM: LCD_CAM<'static>,
pub LEDC: LEDC<'static>,
pub LPWR: LPWR<'static>,
pub PCNT: PCNT<'static>,
pub PERI_BACKUP: PERI_BACKUP<'static>,
pub PSRAM: PSRAM<'static>,
pub MCPWM0: MCPWM0<'static>,
pub MCPWM1: MCPWM1<'static>,
pub RADIO_CLK: RADIO_CLK<'static>,
pub RMT: RMT<'static>,
pub RNG: RNG<'static>,
pub RSA: RSA<'static>,
pub RTC_I2C: RTC_I2C<'static>,
pub RTC_IO: RTC_IO<'static>,
pub SENS: SENS<'static>,
pub SENSITIVE: SENSITIVE<'static>,
pub SHA: SHA<'static>,
pub SPI0: SPI0<'static>,
pub SPI1: SPI1<'static>,
pub SYSTEM: SYSTEM<'static>,
pub SYSTIMER: SYSTIMER<'static>,
pub SW_INTERRUPT: SW_INTERRUPT<'static>,
pub TIMG0: TIMG0<'static>,
pub TIMG1: TIMG1<'static>,
pub TWAI0: TWAI0<'static>,
pub UHCI0: UHCI0<'static>,
pub UHCI1: UHCI1<'static>,
pub ULP_RISCV_CORE: ULP_RISCV_CORE<'static>,
pub USB0: USB0<'static>,
pub USB_DEVICE: USB_DEVICE<'static>,
pub USB_WRAP: USB_WRAP<'static>,
pub WCL: WCL<'static>,
pub WIFI: WIFI<'static>,
pub XTS_AES: XTS_AES<'static>,
pub DMA_CH0: DMA_CH0<'static>,
pub DMA_CH1: DMA_CH1<'static>,
pub DMA_CH2: DMA_CH2<'static>,
pub DMA_CH3: DMA_CH3<'static>,
pub DMA_CH4: DMA_CH4<'static>,
pub GPIO0: GPIO0<'static>,
pub GPIO1: GPIO1<'static>,
pub GPIO2: GPIO2<'static>,
pub GPIO3: GPIO3<'static>,
pub GPIO4: GPIO4<'static>,
pub GPIO5: GPIO5<'static>,
pub GPIO6: GPIO6<'static>,
pub GPIO7: GPIO7<'static>,
pub GPIO8: GPIO8<'static>,
pub GPIO9: GPIO9<'static>,
pub GPIO10: GPIO10<'static>,
pub GPIO11: GPIO11<'static>,
pub GPIO12: GPIO12<'static>,
pub GPIO13: GPIO13<'static>,
pub GPIO14: GPIO14<'static>,
pub GPIO15: GPIO15<'static>,
pub GPIO16: GPIO16<'static>,
pub GPIO17: GPIO17<'static>,
pub GPIO18: GPIO18<'static>,
pub GPIO19: GPIO19<'static>,
pub GPIO20: GPIO20<'static>,
pub GPIO21: GPIO21<'static>,
pub GPIO26: GPIO26<'static>,
pub GPIO27: GPIO27<'static>,
pub GPIO28: GPIO28<'static>,
pub GPIO29: GPIO29<'static>,
pub GPIO30: GPIO30<'static>,
pub GPIO31: GPIO31<'static>,
pub GPIO32: GPIO32<'static>,
pub GPIO33: GPIO33<'static>,
pub GPIO34: GPIO34<'static>,
pub GPIO35: GPIO35<'static>,
pub GPIO36: GPIO36<'static>,
pub GPIO37: GPIO37<'static>,
pub GPIO38: GPIO38<'static>,
pub GPIO39: GPIO39<'static>,
pub GPIO40: GPIO40<'static>,
pub GPIO41: GPIO41<'static>,
pub GPIO42: GPIO42<'static>,
pub GPIO43: GPIO43<'static>,
pub GPIO44: GPIO44<'static>,
pub GPIO45: GPIO45<'static>,
pub GPIO46: GPIO46<'static>,
pub GPIO47: GPIO47<'static>,
pub GPIO48: GPIO48<'static>,
}
Expand description
The Peripherals
struct provides access to all of the hardware peripherals on the chip.
Fields§
§I2C0: I2C0<'static>
The I2C0 peripheral.
I2C1: I2C1<'static>
The I2C1 peripheral.
SPI2: SPI2<'static>
The SPI2 peripheral.
SPI3: SPI3<'static>
The SPI3 peripheral.
UART0: UART0<'static>
The UART0 peripheral.
UART1: UART1<'static>
The UART1 peripheral.
UART2: UART2<'static>
The UART2 peripheral.
ADC1: ADC1<'static>
unstable
only.The ADC1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
ADC2: ADC2<'static>
unstable
only.The ADC2 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
AES: AES<'static>
unstable
only.The AES peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
APB_SARADC: APB_SARADC<'static>
unstable
only.The APB_SARADC peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
APB_CTRL: APB_CTRL<'static>
unstable
only.The APB_CTRL peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
ASSIST_DEBUG: ASSIST_DEBUG<'static>
unstable
only.The ASSIST_DEBUG peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
BT: BT<'static>
unstable
only.The BT peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
CPU_CTRL: CPU_CTRL<'static>
unstable
only.The CPU_CTRL peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DMA: DMA<'static>
unstable
only.The DMA peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DS: DS<'static>
unstable
only.The DS peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
EFUSE: EFUSE<'static>
unstable
only.The EFUSE peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
EXTMEM: EXTMEM<'static>
unstable
only.The EXTMEM peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
GPIO: GPIO<'static>
unstable
only.The GPIO peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
GPIO_SD: GPIO_SD<'static>
unstable
only.The GPIO_SD peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
HMAC: HMAC<'static>
unstable
only.The HMAC peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
I2S0: I2S0<'static>
unstable
only.The I2S0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
I2S1: I2S1<'static>
unstable
only.The I2S1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
INTERRUPT_CORE0: INTERRUPT_CORE0<'static>
unstable
only.The INTERRUPT_CORE0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
INTERRUPT_CORE1: INTERRUPT_CORE1<'static>
unstable
only.The INTERRUPT_CORE1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
IO_MUX: IO_MUX<'static>
unstable
only.The IO_MUX peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
LCD_CAM: LCD_CAM<'static>
unstable
only.The LCD_CAM peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
LEDC: LEDC<'static>
unstable
only.The LEDC peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
LPWR: LPWR<'static>
unstable
only.The LPWR peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
PCNT: PCNT<'static>
unstable
only.The PCNT peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
PERI_BACKUP: PERI_BACKUP<'static>
unstable
only.The PERI_BACKUP peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
PSRAM: PSRAM<'static>
unstable
only.The PSRAM peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
MCPWM0: MCPWM0<'static>
unstable
only.The MCPWM0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
MCPWM1: MCPWM1<'static>
unstable
only.The MCPWM1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
RADIO_CLK: RADIO_CLK<'static>
unstable
only.The RADIO_CLK peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
RMT: RMT<'static>
unstable
only.The RMT peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
RNG: RNG<'static>
unstable
only.The RNG peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
RSA: RSA<'static>
unstable
only.The RSA peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
RTC_I2C: RTC_I2C<'static>
unstable
only.The RTC_I2C peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
RTC_IO: RTC_IO<'static>
unstable
only.The RTC_IO peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SENS: SENS<'static>
unstable
only.The SENS peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SENSITIVE: SENSITIVE<'static>
unstable
only.The SENSITIVE peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SHA: SHA<'static>
unstable
only.The SHA peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SPI0: SPI0<'static>
unstable
only.The SPI0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SPI1: SPI1<'static>
unstable
only.The SPI1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SYSTEM: SYSTEM<'static>
unstable
only.The SYSTEM peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SYSTIMER: SYSTIMER<'static>
unstable
only.The SYSTIMER peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
SW_INTERRUPT: SW_INTERRUPT<'static>
unstable
only.The SW_INTERRUPT peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
TIMG0: TIMG0<'static>
unstable
only.The TIMG0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
TIMG1: TIMG1<'static>
unstable
only.The TIMG1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
TWAI0: TWAI0<'static>
unstable
only.The TWAI0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
UHCI0: UHCI0<'static>
unstable
only.The UHCI0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
UHCI1: UHCI1<'static>
unstable
only.The UHCI1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
ULP_RISCV_CORE: ULP_RISCV_CORE<'static>
unstable
only.The ULP_RISCV_CORE peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
USB0: USB0<'static>
unstable
only.The USB0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
USB_DEVICE: USB_DEVICE<'static>
unstable
only.The USB_DEVICE peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
USB_WRAP: USB_WRAP<'static>
unstable
only.The USB_WRAP peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
WCL: WCL<'static>
unstable
only.The WCL peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
WIFI: WIFI<'static>
unstable
only.The WIFI peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
XTS_AES: XTS_AES<'static>
unstable
only.The XTS_AES peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DMA_CH0: DMA_CH0<'static>
unstable
only.The DMA_CH0 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DMA_CH1: DMA_CH1<'static>
unstable
only.The DMA_CH1 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DMA_CH2: DMA_CH2<'static>
unstable
only.The DMA_CH2 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DMA_CH3: DMA_CH3<'static>
unstable
only.The DMA_CH3 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
DMA_CH4: DMA_CH4<'static>
unstable
only.The DMA_CH4 peripheral.
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
GPIO0: GPIO0<'static>
GPIO0
GPIO1: GPIO1<'static>
GPIO1
GPIO2: GPIO2<'static>
GPIO2
GPIO3: GPIO3<'static>
GPIO3
GPIO4: GPIO4<'static>
GPIO4
GPIO5: GPIO5<'static>
GPIO5
GPIO6: GPIO6<'static>
GPIO6
GPIO7: GPIO7<'static>
GPIO7
GPIO8: GPIO8<'static>
GPIO8
GPIO9: GPIO9<'static>
GPIO9
GPIO10: GPIO10<'static>
GPIO10
GPIO11: GPIO11<'static>
GPIO11
GPIO12: GPIO12<'static>
GPIO12
GPIO13: GPIO13<'static>
GPIO13
GPIO14: GPIO14<'static>
GPIO14
GPIO15: GPIO15<'static>
GPIO15
GPIO16: GPIO16<'static>
GPIO16
GPIO17: GPIO17<'static>
GPIO17
GPIO18: GPIO18<'static>
GPIO18
GPIO19: GPIO19<'static>
GPIO19
GPIO20: GPIO20<'static>
GPIO20
GPIO21: GPIO21<'static>
GPIO21
GPIO26: GPIO26<'static>
GPIO26
GPIO27: GPIO27<'static>
GPIO27
GPIO28: GPIO28<'static>
GPIO28
GPIO29: GPIO29<'static>
GPIO29
GPIO30: GPIO30<'static>
GPIO30
GPIO31: GPIO31<'static>
GPIO31
GPIO32: GPIO32<'static>
GPIO32
GPIO33: GPIO33<'static>
GPIO33
GPIO34: GPIO34<'static>
GPIO34
GPIO35: GPIO35<'static>
GPIO35
GPIO36: GPIO36<'static>
GPIO36
GPIO37: GPIO37<'static>
GPIO37
GPIO38: GPIO38<'static>
GPIO38
GPIO39: GPIO39<'static>
GPIO39
GPIO40: GPIO40<'static>
GPIO40
GPIO41: GPIO41<'static>
GPIO41
GPIO42: GPIO42<'static>
GPIO42
GPIO43: GPIO43<'static>
GPIO43
GPIO44: GPIO44<'static>
GPIO44
GPIO45: GPIO45<'static>
GPIO45
GPIO46: GPIO46<'static>
GPIO46
GPIO47: GPIO47<'static>
GPIO47
GPIO48: GPIO48<'static>
GPIO48