pub struct Peripherals {Show 118 fields
pub I2C0: I2C0,
pub SPI2: SPI2,
pub UART0: UART0,
pub UART1: UART1,
pub ADC1: ADC1,
pub AES: AES,
pub APB_SARADC: APB_SARADC,
pub ASSIST_DEBUG: ASSIST_DEBUG,
pub ATOMIC: ATOMIC,
pub BT: BT,
pub DMA: DMA,
pub DS: DS,
pub ECC: ECC,
pub EFUSE: EFUSE,
pub EXTMEM: EXTMEM,
pub GPIO: GPIO,
pub GPIO_SD: GPIO_SD,
pub HINF: HINF,
pub HMAC: HMAC,
pub HP_APM: HP_APM,
pub HP_SYS: HP_SYS,
pub I2C_ANA_MST: I2C_ANA_MST,
pub I2S0: I2S0,
pub IEEE802154: IEEE802154,
pub INTERRUPT_CORE0: INTERRUPT_CORE0,
pub INTPRI: INTPRI,
pub IO_MUX: IO_MUX,
pub LEDC: LEDC,
pub LPWR: LPWR,
pub LP_CORE: LP_CORE,
pub LP_PERI: LP_PERI,
pub LP_ANA: LP_ANA,
pub LP_AON: LP_AON,
pub LP_APM: LP_APM,
pub LP_APM0: LP_APM0,
pub LP_I2C0: LP_I2C0,
pub LP_I2C_ANA_MST: LP_I2C_ANA_MST,
pub LP_IO: LP_IO,
pub LP_TEE: LP_TEE,
pub LP_TIMER: LP_TIMER,
pub LP_UART: LP_UART,
pub LP_WDT: LP_WDT,
pub MCPWM0: MCPWM0,
pub MEM_MONITOR: MEM_MONITOR,
pub MODEM_LPCON: MODEM_LPCON,
pub MODEM_SYSCON: MODEM_SYSCON,
pub OTP_DEBUG: OTP_DEBUG,
pub PARL_IO: PARL_IO,
pub PAU: PAU,
pub PCR: PCR,
pub PCNT: PCNT,
pub PLIC_MX: PLIC_MX,
pub PMU: PMU,
pub RADIO_CLK: RADIO_CLK,
pub RMT: RMT,
pub RNG: RNG,
pub RSA: RSA,
pub SHA: SHA,
pub SLCHOST: SLCHOST,
pub SOC_ETM: SOC_ETM,
pub SPI0: SPI0,
pub SPI1: SPI1,
pub SYSTEM: SYSTEM,
pub SYSTIMER: SYSTIMER,
pub SW_INTERRUPT: SW_INTERRUPT,
pub TEE: TEE,
pub TIMG0: TIMG0,
pub TIMG1: TIMG1,
pub TRACE0: TRACE0,
pub TSENS: TSENS,
pub TWAI0: TWAI0,
pub TWAI1: TWAI1,
pub UHCI0: UHCI0,
pub USB_DEVICE: USB_DEVICE,
pub WIFI: WIFI,
pub MEM2MEM1: MEM2MEM1,
pub MEM2MEM4: MEM2MEM4,
pub MEM2MEM5: MEM2MEM5,
pub MEM2MEM10: MEM2MEM10,
pub MEM2MEM11: MEM2MEM11,
pub MEM2MEM12: MEM2MEM12,
pub MEM2MEM13: MEM2MEM13,
pub MEM2MEM14: MEM2MEM14,
pub MEM2MEM15: MEM2MEM15,
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 GPIO28: GpioPin<28>,
pub GPIO29: GpioPin<29>,
pub GPIO30: GpioPin<30>,
pub DMA_CH0: DmaChannel0,
pub DMA_CH1: DmaChannel1,
pub DMA_CH2: DmaChannel2,
}Expand description
The Peripherals struct provides access to all of the hardware peripherals on the chip.
Fields§
§I2C0: I2C0The I2C0 peripheral.
SPI2: SPI2The SPI2 peripheral.
UART0: UART0The UART0 peripheral.
UART1: UART1The UART1 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.
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_SARADC: APB_SARADCunstable 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_DEBUGunstable 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.
ATOMIC: ATOMICunstable only.The ATOMIC 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.
DMA: DMAunstable 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: DSunstable 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.
ECC: ECCunstable 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: 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.
EXTMEM: EXTMEMunstable 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: 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.
HMAC: HMACunstable 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.
HP_APM: HP_APMunstable only.The HP_APM 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.
HP_SYS: HP_SYSunstable only.The HP_SYS 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_MSTunstable 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.
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.
IEEE802154: IEEE802154unstable only.The IEEE802154 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_CORE0unstable 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.
INTPRI: INTPRIunstable only.The INTPRI 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.
LP_CORE: LP_COREunstable only.The LP_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.
LP_PERI: LP_PERIunstable only.The LP_PERI 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.
LP_ANA: LP_ANAunstable only.The LP_ANA 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.
LP_AON: LP_AONunstable only.The LP_AON 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.
LP_APM: LP_APMunstable only.The LP_APM 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.
LP_APM0: LP_APM0unstable only.The LP_APM0 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.
LP_I2C0: LP_I2C0unstable only.The LP_I2C0 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.
LP_I2C_ANA_MST: LP_I2C_ANA_MSTunstable only.The LP_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.
LP_IO: LP_IOunstable only.The LP_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.
LP_TEE: LP_TEEunstable only.The LP_TEE 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.
LP_TIMER: LP_TIMERunstable only.The LP_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.
LP_UART: LP_UARTunstable only.The LP_UART 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.
LP_WDT: LP_WDTunstable only.The LP_WDT 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.
MEM_MONITOR: MEM_MONITORunstable only.The MEM_MONITOR 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_LPCON: MODEM_LPCONunstable only.The MODEM_LPCON 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_SYSCON: MODEM_SYSCONunstable only.The MODEM_SYSCON 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.
OTP_DEBUG: OTP_DEBUGunstable only.The OTP_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.
PARL_IO: PARL_IOunstable only.The PARL_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.
PAU: PAUunstable only.The PAU 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.
PCR: PCRunstable only.The PCR 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.
PLIC_MX: PLIC_MXunstable only.The PLIC_MX 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.
PMU: PMUunstable only.The PMU 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.
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.
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.
SOC_ETM: SOC_ETMunstable only.The SOC_ETM 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.
SYSTIMER: SYSTIMERunstable 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_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.
TEE: TEEunstable only.The TEE 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.
TRACE0: TRACE0unstable only.The TRACE0 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: TSENSunstable 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.
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.
TWAI1: TWAI1unstable only.The TWAI1 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.
USB_DEVICE: USB_DEVICEunstable 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.
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.
MEM2MEM1: MEM2MEM1unstable 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.
MEM2MEM4: MEM2MEM4unstable 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: MEM2MEM5unstable 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.
MEM2MEM10: MEM2MEM10unstable only.The MEM2MEM10 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.
MEM2MEM11: MEM2MEM11unstable only.The MEM2MEM11 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.
MEM2MEM12: MEM2MEM12unstable only.The MEM2MEM12 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.
MEM2MEM13: MEM2MEM13unstable only.The MEM2MEM13 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.
MEM2MEM14: MEM2MEM14unstable only.The MEM2MEM14 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.
MEM2MEM15: MEM2MEM15unstable only.The MEM2MEM15 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
GPIO28: GpioPin<28>GPIO28
GPIO29: GpioPin<29>GPIO29
GPIO30: GpioPin<30>GPIO30
DMA_CH0: DmaChannel0DMA_CH0 DMA channel.
DMA_CH1: DmaChannel1DMA_CH1 DMA channel.
DMA_CH2: DmaChannel2DMA_CH2 DMA channel.