pub struct Peripherals {Show 95 fields
pub I2C0: I2C0,
pub I2C1: I2C1,
pub SPI2: SPI2,
pub SPI3: SPI3,
pub UART0: UART0,
pub UART1: UART1,
pub UART2: UART2,
pub ADC1: ADC1,
pub ADC2: ADC2,
pub AES: AES,
pub APB_CTRL: APB_CTRL,
pub BB: BB,
pub BT: BT,
pub CPU_CTRL: CPU_CTRL,
pub DAC1: DAC1,
pub DAC2: DAC2,
pub DPORT: DPORT,
pub EFUSE: EFUSE,
pub FLASH_ENCRYPTION: FLASH_ENCRYPTION,
pub FRC_TIMER: FRC_TIMER,
pub GPIO: GPIO,
pub GPIO_SD: GPIO_SD,
pub HINF: HINF,
pub I2S0: I2S0,
pub I2S1: I2S1,
pub IO_MUX: IO_MUX,
pub LEDC: LEDC,
pub LPWR: LPWR,
pub MCPWM0: MCPWM0,
pub MCPWM1: MCPWM1,
pub NRX: NRX,
pub PCNT: PCNT,
pub PSRAM: PSRAM,
pub RADIO_CLK: RADIO_CLK,
pub RMT: RMT,
pub RNG: RNG,
pub RSA: RSA,
pub RTC_I2C: RTC_I2C,
pub RTC_IO: RTC_IO,
pub SDHOST: SDHOST,
pub SENS: SENS,
pub SHA: SHA,
pub SLC: SLC,
pub SLCHOST: SLCHOST,
pub SPI0: SPI0,
pub SPI1: SPI1,
pub SYSTEM: SYSTEM,
pub SW_INTERRUPT: SW_INTERRUPT,
pub TIMG0: TIMG0,
pub TIMG1: TIMG1,
pub TOUCH: TOUCH,
pub TWAI0: TWAI0,
pub UHCI0: UHCI0,
pub UHCI1: UHCI1,
pub WIFI: WIFI,
pub GPIO0: GpioPin<0>,
pub GPIO1: GpioPin<1>,
pub GPIO2: GpioPin<2>,
pub GPIO3: GpioPin<3>,
pub GPIO4: GpioPin<4>,
pub GPIO5: GpioPin<5>,
pub GPIO6: GpioPin<6>,
pub GPIO7: GpioPin<7>,
pub GPIO8: GpioPin<8>,
pub GPIO9: GpioPin<9>,
pub GPIO10: GpioPin<10>,
pub GPIO11: GpioPin<11>,
pub GPIO12: GpioPin<12>,
pub GPIO13: GpioPin<13>,
pub GPIO14: GpioPin<14>,
pub GPIO15: GpioPin<15>,
pub GPIO16: GpioPin<16>,
pub GPIO17: GpioPin<17>,
pub GPIO18: GpioPin<18>,
pub GPIO19: GpioPin<19>,
pub GPIO20: GpioPin<20>,
pub GPIO21: GpioPin<21>,
pub GPIO22: GpioPin<22>,
pub GPIO23: GpioPin<23>,
pub GPIO24: GpioPin<24>,
pub GPIO25: GpioPin<25>,
pub GPIO26: GpioPin<26>,
pub GPIO27: GpioPin<27>,
pub GPIO32: GpioPin<32>,
pub GPIO33: GpioPin<33>,
pub GPIO34: GpioPin<34>,
pub GPIO35: GpioPin<35>,
pub GPIO36: GpioPin<36>,
pub GPIO37: GpioPin<37>,
pub GPIO38: GpioPin<38>,
pub GPIO39: GpioPin<39>,
pub DMA_SPI2: Spi2DmaChannel,
pub DMA_SPI3: Spi3DmaChannel,
pub DMA_I2S0: I2s0DmaChannel,
pub DMA_I2S1: I2s1DmaChannel,
}Expand description
The Peripherals struct provides access to all of the hardware peripherals on the chip.
Fields§
§I2C0: I2C0The I2C0 peripheral.
I2C1: I2C1The I2C1 peripheral.
SPI2: SPI2The SPI2 peripheral.
SPI3: SPI3The SPI3 peripheral.
UART0: UART0The UART0 peripheral.
UART1: UART1The UART1 peripheral.
UART2: UART2The UART2 peripheral.
ADC1: ADC1unstable 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: ADC2unstable 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: AESunstable 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_CTRLunstable 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: BBunstable 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.
BT: BTunstable 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_CTRLunstable 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: DAC1unstable 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: DAC2unstable 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.
DPORT: DPORTunstable 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.
EFUSE: EFUSEunstable 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.
FLASH_ENCRYPTION: FLASH_ENCRYPTIONunstable 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_TIMERunstable 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: GPIOunstable 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_SDunstable 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: HINFunstable 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.
I2S0: I2S0unstable 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: I2S1unstable 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_MUXunstable 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: LEDCunstable 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: LPWRunstable 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.
MCPWM0: MCPWM0unstable 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: MCPWM1unstable 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: NRXunstable 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: PCNTunstable 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.
PSRAM: PSRAMunstable 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.
RADIO_CLK: RADIO_CLKunstable 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: RMTunstable 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: RNGunstable 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: RSAunstable 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_I2Cunstable 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_IOunstable 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: SDHOSTunstable 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: SENSunstable 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: SHAunstable 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: SLCunstable 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: SLCHOSTunstable 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: SPI0unstable 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: SPI1unstable 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: SYSTEMunstable 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.
SW_INTERRUPT: SW_INTERRUPTunstable 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: TIMG0unstable 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: TIMG1unstable 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.
TOUCH: TOUCHunstable 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.
TWAI0: TWAI0unstable 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: UHCI0unstable 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: UHCI1unstable 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: WIFIunstable 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.
GPIO0: GpioPin<0>GPIO0
GPIO1: GpioPin<1>GPIO1
GPIO2: GpioPin<2>GPIO2
GPIO3: GpioPin<3>GPIO3
GPIO4: GpioPin<4>GPIO4
GPIO5: GpioPin<5>GPIO5
GPIO6: GpioPin<6>GPIO6
GPIO7: GpioPin<7>GPIO7
GPIO8: GpioPin<8>GPIO8
GPIO9: GpioPin<9>GPIO9
GPIO10: GpioPin<10>GPIO10
GPIO11: GpioPin<11>GPIO11
GPIO12: GpioPin<12>GPIO12
GPIO13: GpioPin<13>GPIO13
GPIO14: GpioPin<14>GPIO14
GPIO15: GpioPin<15>GPIO15
GPIO16: GpioPin<16>GPIO16
GPIO17: GpioPin<17>GPIO17
GPIO18: GpioPin<18>GPIO18
GPIO19: GpioPin<19>GPIO19
GPIO20: GpioPin<20>GPIO20
GPIO21: GpioPin<21>GPIO21
GPIO22: GpioPin<22>GPIO22
GPIO23: GpioPin<23>GPIO23
GPIO24: GpioPin<24>GPIO24
GPIO25: GpioPin<25>GPIO25
GPIO26: GpioPin<26>GPIO26
GPIO27: GpioPin<27>GPIO27
GPIO32: GpioPin<32>GPIO32
GPIO33: GpioPin<33>GPIO33
GPIO34: GpioPin<34>GPIO34
GPIO35: GpioPin<35>GPIO35
GPIO36: GpioPin<36>GPIO36
GPIO37: GpioPin<37>GPIO37
GPIO38: GpioPin<38>GPIO38
GPIO39: GpioPin<39>GPIO39
DMA_SPI2: Spi2DmaChannelDMA_SPI2 DMA channel.
DMA_SPI3: Spi3DmaChannelDMA_SPI3 DMA channel.
DMA_I2S0: I2s0DmaChannelDMA_I2S0 DMA channel.
DMA_I2S1: I2s1DmaChannelDMA_I2S1 DMA channel.