pub struct Peripherals {Show 96 fields
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 GPIO22: GPIO22<'static>,
pub GPIO23: GPIO23<'static>,
pub GPIO25: GPIO25<'static>,
pub GPIO26: GPIO26<'static>,
pub GPIO27: GPIO27<'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 AES: AES<'static>,
pub APB_CTRL: APB_CTRL<'static>,
pub BB: BB<'static>,
pub DPORT: DPORT<'static>,
pub SYSTEM: SYSTEM<'static>,
pub EFUSE: EFUSE<'static>,
pub EMAC_DMA: EMAC_DMA<'static>,
pub EMAC_EXT: EMAC_EXT<'static>,
pub EMAC_MAC: EMAC_MAC<'static>,
pub FLASH_ENCRYPTION: FLASH_ENCRYPTION<'static>,
pub FRC_TIMER: FRC_TIMER<'static>,
pub GPIO: GPIO<'static>,
pub GPIO_SD: GPIO_SD<'static>,
pub HINF: HINF<'static>,
pub I2C0: I2C0<'static>,
pub I2C1: I2C1<'static>,
pub I2S0: I2S0<'static>,
pub I2S1: I2S1<'static>,
pub IO_MUX: IO_MUX<'static>,
pub LEDC: LEDC<'static>,
pub MCPWM0: MCPWM0<'static>,
pub MCPWM1: MCPWM1<'static>,
pub NRX: NRX<'static>,
pub PCNT: PCNT<'static>,
pub RMT: RMT<'static>,
pub RNG: RNG<'static>,
pub RSA: RSA<'static>,
pub LPWR: LPWR<'static>,
pub RTC_I2C: RTC_I2C<'static>,
pub RTC_IO: RTC_IO<'static>,
pub SDHOST: SDHOST<'static>,
pub SENS: SENS<'static>,
pub SHA: SHA<'static>,
pub SLC: SLC<'static>,
pub SLCHOST: SLCHOST<'static>,
pub SPI0: SPI0<'static>,
pub SPI1: SPI1<'static>,
pub SPI2: SPI2<'static>,
pub SPI3: SPI3<'static>,
pub TIMG0: TIMG0<'static>,
pub TIMG1: TIMG1<'static>,
pub TWAI0: TWAI0<'static>,
pub UART0: UART0<'static>,
pub UART1: UART1<'static>,
pub UART2: UART2<'static>,
pub UHCI0: UHCI0<'static>,
pub UHCI1: UHCI1<'static>,
pub WIFI: WIFI<'static>,
pub DMA_SPI2: DMA_SPI2<'static>,
pub DMA_SPI3: DMA_SPI3<'static>,
pub DMA_I2S0: DMA_I2S0<'static>,
pub DMA_I2S1: DMA_I2S1<'static>,
pub ADC1: ADC1<'static>,
pub ADC2: ADC2<'static>,
pub BT: BT<'static>,
pub CPU_CTRL: CPU_CTRL<'static>,
pub DAC1: DAC1<'static>,
pub DAC2: DAC2<'static>,
pub PSRAM: PSRAM<'static>,
pub SW_INTERRUPT: SW_INTERRUPT<'static>,
pub TOUCH: TOUCH<'static>,
}
Expand description
The Peripherals
struct provides access to all of the hardware peripherals on the chip.
Fields§
§GPIO0: GPIO0<'static>
The GPIO0 peripheral.
GPIO1: GPIO1<'static>
The GPIO1 peripheral.
GPIO2: GPIO2<'static>
The GPIO2 peripheral.
GPIO3: GPIO3<'static>
The GPIO3 peripheral.
GPIO4: GPIO4<'static>
The GPIO4 peripheral.
GPIO5: GPIO5<'static>
The GPIO5 peripheral.
GPIO6: GPIO6<'static>
The GPIO6 peripheral.
GPIO7: GPIO7<'static>
The GPIO7 peripheral.
GPIO8: GPIO8<'static>
The GPIO8 peripheral.
GPIO9: GPIO9<'static>
The GPIO9 peripheral.
GPIO10: GPIO10<'static>
The GPIO10 peripheral.
GPIO11: GPIO11<'static>
The GPIO11 peripheral.
GPIO12: GPIO12<'static>
The GPIO12 peripheral.
GPIO13: GPIO13<'static>
The GPIO13 peripheral.
GPIO14: GPIO14<'static>
The GPIO14 peripheral.
GPIO15: GPIO15<'static>
The GPIO15 peripheral.
GPIO16: GPIO16<'static>
The GPIO16 peripheral.
GPIO17: GPIO17<'static>
The GPIO17 peripheral.
GPIO18: GPIO18<'static>
The GPIO18 peripheral.
GPIO19: GPIO19<'static>
The GPIO19 peripheral.
GPIO20: GPIO20<'static>
The GPIO20 peripheral.
GPIO21: GPIO21<'static>
The GPIO21 peripheral.
GPIO22: GPIO22<'static>
The GPIO22 peripheral.
GPIO23: GPIO23<'static>
The GPIO23 peripheral.
GPIO25: GPIO25<'static>
The GPIO25 peripheral.
GPIO26: GPIO26<'static>
The GPIO26 peripheral.
GPIO27: GPIO27<'static>
The GPIO27 peripheral.
GPIO32: GPIO32<'static>
The GPIO32 peripheral.
GPIO33: GPIO33<'static>
The GPIO33 peripheral.
GPIO34: GPIO34<'static>
The GPIO34 peripheral.
GPIO35: GPIO35<'static>
The GPIO35 peripheral.
GPIO36: GPIO36<'static>
The GPIO36 peripheral.
GPIO37: GPIO37<'static>
The GPIO37 peripheral.
GPIO38: GPIO38<'static>
The GPIO38 peripheral.
GPIO39: GPIO39<'static>
The GPIO39 peripheral.
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_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.
BB: BB<'static>
unstable
only.The BB 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.
DPORT: DPORT<'static>
unstable
only.The DPORT 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.
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.
EMAC_DMA: EMAC_DMA<'static>
unstable
only.The EMAC_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.
EMAC_EXT: EMAC_EXT<'static>
unstable
only.The EMAC_EXT 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.
EMAC_MAC: EMAC_MAC<'static>
unstable
only.The EMAC_MAC 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.
FLASH_ENCRYPTION: FLASH_ENCRYPTION<'static>
unstable
only.The FLASH_ENCRYPTION 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.
FRC_TIMER: FRC_TIMER<'static>
unstable
only.The FRC_TIMER 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.
HINF: HINF<'static>
unstable
only.The HINF 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.
I2C0: I2C0<'static>
The I2C0 peripheral.
I2C1: I2C1<'static>
The I2C1 peripheral.
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.
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.
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.
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.
NRX: NRX<'static>
unstable
only.The NRX 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.
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.
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.
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.
SDHOST: SDHOST<'static>
unstable
only.The SDHOST 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.
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.
SLC: SLC<'static>
unstable
only.The SLC 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.
SLCHOST: SLCHOST<'static>
unstable
only.The SLCHOST 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.
SPI2: SPI2<'static>
The SPI2 peripheral.
SPI3: SPI3<'static>
The SPI3 peripheral.
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.
UART0: UART0<'static>
The UART0 peripheral.
UART1: UART1<'static>
The UART1 peripheral.
UART2: UART2<'static>
The UART2 peripheral.
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.
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.
DMA_SPI2: DMA_SPI2<'static>
unstable
only.The DMA_SPI2 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_SPI3: DMA_SPI3<'static>
unstable
only.The DMA_SPI3 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_I2S0: DMA_I2S0<'static>
unstable
only.The DMA_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.
DMA_I2S1: DMA_I2S1<'static>
unstable
only.The DMA_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.
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.
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.
DAC1: DAC1<'static>
unstable
only.The DAC1 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.
DAC2: DAC2<'static>
unstable
only.The DAC2 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.
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.
TOUCH: TOUCH<'static>
unstable
only.The TOUCH 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.