pub struct Peripherals {Show 55 fields
pub I2C0: I2C0,
pub SPI2: SPI2,
pub UART0: UART0,
pub UART1: UART1,
pub ADC1: ADC1,
pub APB_CTRL: APB_CTRL,
pub APB_SARADC: APB_SARADC,
pub ASSIST_DEBUG: ASSIST_DEBUG,
pub BB: BB,
pub BT: BT,
pub DMA: DMA,
pub ECC: ECC,
pub EFUSE: EFUSE,
pub EXTMEM: EXTMEM,
pub GPIO: GPIO,
pub I2C_ANA_MST: I2C_ANA_MST,
pub INTERRUPT_CORE0: INTERRUPT_CORE0,
pub IO_MUX: IO_MUX,
pub LEDC: LEDC,
pub LPWR: LPWR,
pub MODEM_CLKRST: MODEM_CLKRST,
pub RADIO_CLK: RADIO_CLK,
pub RNG: RNG,
pub SENSITIVE: SENSITIVE,
pub SHA: SHA,
pub SPI0: SPI0,
pub SPI1: SPI1,
pub SYSTEM: SYSTEM,
pub SYSTIMER: SYSTIMER,
pub SW_INTERRUPT: SW_INTERRUPT,
pub TIMG0: TIMG0,
pub WIFI: WIFI,
pub XTS_AES: XTS_AES,
pub MEM2MEM1: MEM2MEM1,
pub MEM2MEM2: MEM2MEM2,
pub MEM2MEM3: MEM2MEM3,
pub MEM2MEM4: MEM2MEM4,
pub MEM2MEM5: MEM2MEM5,
pub MEM2MEM6: MEM2MEM6,
pub MEM2MEM8: MEM2MEM8,
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 GPIO18: GpioPin<18>,
pub GPIO19: GpioPin<19>,
pub GPIO20: GpioPin<20>,
pub DMA_CH0: DmaChannel0,
}
Expand description
The Peripherals
struct provides access to all of the hardware peripherals on the chip.
Fields§
§I2C0: I2C0
The I2C0 peripheral.
SPI2: SPI2
The SPI2 peripheral.
UART0: UART0
The UART0 peripheral.
UART1: UART1
The UART1 peripheral.
ADC1: ADC1
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.
APB_CTRL: APB_CTRL
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
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
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
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.
BT: BT
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.
DMA: DMA
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.
ECC: ECC
unstable
only.The ECC 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
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
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
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.
I2C_ANA_MST: I2C_ANA_MST
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.
INTERRUPT_CORE0: INTERRUPT_CORE0
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
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
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
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.
MODEM_CLKRST: MODEM_CLKRST
unstable
only.The MODEM_CLKRST 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
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.
RNG: RNG
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.
SENSITIVE: SENSITIVE
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
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
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
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
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
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
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
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.
WIFI: WIFI
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
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.
MEM2MEM1: MEM2MEM1
unstable
only.The MEM2MEM1 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.
MEM2MEM2: MEM2MEM2
unstable
only.The MEM2MEM2 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.
MEM2MEM3: MEM2MEM3
unstable
only.The MEM2MEM3 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.
MEM2MEM4: MEM2MEM4
unstable
only.The MEM2MEM4 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.
MEM2MEM5: MEM2MEM5
unstable
only.The MEM2MEM5 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.
MEM2MEM6: MEM2MEM6
unstable
only.The MEM2MEM6 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.
MEM2MEM8: MEM2MEM8
unstable
only.The MEM2MEM8 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
GPIO18: GpioPin<18>
GPIO18
GPIO19: GpioPin<19>
GPIO19
GPIO20: GpioPin<20>
GPIO20
DMA_CH0: DmaChannel0
DMA_CH0 DMA channel.