pub struct Peripherals {Show 65 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 GPIO18: GPIO18<'static>,
pub GPIO19: GPIO19<'static>,
pub GPIO20: GPIO20<'static>,
pub GPIO21: GPIO21<'static>,
pub AES: AES<'static>,
pub APB_CTRL: APB_CTRL<'static>,
pub APB_SARADC: APB_SARADC<'static>,
pub ASSIST_DEBUG: ASSIST_DEBUG<'static>,
pub BB: BB<'static>,
pub DMA: DMA<'static>,
pub DS: DS<'static>,
pub EFUSE: EFUSE<'static>,
pub EXTMEM: EXTMEM<'static>,
pub FE: FE<'static>,
pub FE2: FE2<'static>,
pub GPIO: GPIO<'static>,
pub GPIO_SD: GPIO_SD<'static>,
pub HMAC: HMAC<'static>,
pub I2C_ANA_MST: I2C_ANA_MST<'static>,
pub I2C0: I2C0<'static>,
pub I2S0: I2S0<'static>,
pub INTERRUPT_CORE0: INTERRUPT_CORE0<'static>,
pub IO_MUX: IO_MUX<'static>,
pub LEDC: LEDC<'static>,
pub NRX: NRX<'static>,
pub RMT: RMT<'static>,
pub RNG: RNG<'static>,
pub RSA: RSA<'static>,
pub LPWR: LPWR<'static>,
pub SENSITIVE: SENSITIVE<'static>,
pub SHA: SHA<'static>,
pub SPI0: SPI0<'static>,
pub SPI1: SPI1<'static>,
pub SPI2: SPI2<'static>,
pub SYSTEM: SYSTEM<'static>,
pub SYSTIMER: SYSTIMER<'static>,
pub TIMG0: TIMG0<'static>,
pub TIMG1: TIMG1<'static>,
pub TWAI0: TWAI0<'static>,
pub UART0: UART0<'static>,
pub UART1: UART1<'static>,
pub UHCI0: UHCI0<'static>,
pub USB_DEVICE: USB_DEVICE<'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 ADC1: ADC1<'static>,
pub ADC2: ADC2<'static>,
pub BT: BT<'static>,
pub FLASH: FLASH<'static>,
pub SW_INTERRUPT: SW_INTERRUPT<'static>,
pub TSENS: TSENS<'static>,
pub WIFI: WIFI<'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.
GPIO18: GPIO18<'static>The GPIO18 peripheral.
GPIO19: GPIO19<'static>The GPIO19 peripheral.
GPIO20: GPIO20<'static>The GPIO20 peripheral.
GPIO21: GPIO21<'static>The GPIO21 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.
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.
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.
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.
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.
FE: FE<'static>unstable only.The FE 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.
FE2: FE2<'static>unstable only.The FE2 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.
I2C_ANA_MST: I2C_ANA_MST<'static>unstable only.The I2C_ANA_MST 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.
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.
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.
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.
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.
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.
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.
SPI2: SPI2<'static>The SPI2 peripheral.
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.
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.
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.
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.
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.
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.
FLASH: FLASH<'static>unstable only.The FLASH 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.
TSENS: TSENS<'static>unstable only.The TSENS 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.