pub struct Peripherals {Show 72 fields
pub PIN_0: Peri<'static, PIN_0>,
pub PIN_1: Peri<'static, PIN_1>,
pub PIN_2: Peri<'static, PIN_2>,
pub PIN_3: Peri<'static, PIN_3>,
pub PIN_4: Peri<'static, PIN_4>,
pub PIN_5: Peri<'static, PIN_5>,
pub PIN_6: Peri<'static, PIN_6>,
pub PIN_7: Peri<'static, PIN_7>,
pub PIN_8: Peri<'static, PIN_8>,
pub PIN_9: Peri<'static, PIN_9>,
pub PIN_10: Peri<'static, PIN_10>,
pub PIN_11: Peri<'static, PIN_11>,
pub PIN_12: Peri<'static, PIN_12>,
pub PIN_13: Peri<'static, PIN_13>,
pub PIN_14: Peri<'static, PIN_14>,
pub PIN_15: Peri<'static, PIN_15>,
pub PIN_16: Peri<'static, PIN_16>,
pub PIN_17: Peri<'static, PIN_17>,
pub PIN_18: Peri<'static, PIN_18>,
pub PIN_19: Peri<'static, PIN_19>,
pub PIN_20: Peri<'static, PIN_20>,
pub PIN_21: Peri<'static, PIN_21>,
pub PIN_22: Peri<'static, PIN_22>,
pub PIN_23: Peri<'static, PIN_23>,
pub PIN_24: Peri<'static, PIN_24>,
pub PIN_25: Peri<'static, PIN_25>,
pub PIN_26: Peri<'static, PIN_26>,
pub PIN_27: Peri<'static, PIN_27>,
pub PIN_28: Peri<'static, PIN_28>,
pub PIN_29: Peri<'static, PIN_29>,
pub PIN_QSPI_SCLK: Peri<'static, PIN_QSPI_SCLK>,
pub PIN_QSPI_SS: Peri<'static, PIN_QSPI_SS>,
pub PIN_QSPI_SD0: Peri<'static, PIN_QSPI_SD0>,
pub PIN_QSPI_SD1: Peri<'static, PIN_QSPI_SD1>,
pub PIN_QSPI_SD2: Peri<'static, PIN_QSPI_SD2>,
pub PIN_QSPI_SD3: Peri<'static, PIN_QSPI_SD3>,
pub UART0: Peri<'static, UART0>,
pub UART1: Peri<'static, UART1>,
pub SPI0: Peri<'static, SPI0>,
pub SPI1: Peri<'static, SPI1>,
pub I2C0: Peri<'static, I2C0>,
pub I2C1: Peri<'static, I2C1>,
pub DMA_CH0: Peri<'static, DMA_CH0>,
pub DMA_CH1: Peri<'static, DMA_CH1>,
pub DMA_CH2: Peri<'static, DMA_CH2>,
pub DMA_CH3: Peri<'static, DMA_CH3>,
pub DMA_CH4: Peri<'static, DMA_CH4>,
pub DMA_CH5: Peri<'static, DMA_CH5>,
pub DMA_CH6: Peri<'static, DMA_CH6>,
pub DMA_CH7: Peri<'static, DMA_CH7>,
pub DMA_CH8: Peri<'static, DMA_CH8>,
pub DMA_CH9: Peri<'static, DMA_CH9>,
pub DMA_CH10: Peri<'static, DMA_CH10>,
pub DMA_CH11: Peri<'static, DMA_CH11>,
pub PWM_SLICE0: Peri<'static, PWM_SLICE0>,
pub PWM_SLICE1: Peri<'static, PWM_SLICE1>,
pub PWM_SLICE2: Peri<'static, PWM_SLICE2>,
pub PWM_SLICE3: Peri<'static, PWM_SLICE3>,
pub PWM_SLICE4: Peri<'static, PWM_SLICE4>,
pub PWM_SLICE5: Peri<'static, PWM_SLICE5>,
pub PWM_SLICE6: Peri<'static, PWM_SLICE6>,
pub PWM_SLICE7: Peri<'static, PWM_SLICE7>,
pub USB: Peri<'static, USB>,
pub RTC: Peri<'static, RTC>,
pub FLASH: Peri<'static, FLASH>,
pub ADC: Peri<'static, ADC>,
pub ADC_TEMP_SENSOR: Peri<'static, ADC_TEMP_SENSOR>,
pub CORE1: Peri<'static, CORE1>,
pub PIO0: Peri<'static, PIO0>,
pub PIO1: Peri<'static, PIO1>,
pub WATCHDOG: Peri<'static, WATCHDOG>,
pub BOOTSEL: Peri<'static, BOOTSEL>,
}
Expand description
Struct containing all the peripheral singletons.
To obtain the peripherals, you must initialize the HAL, by calling crate::init
.
Fields§
§PIN_0: Peri<'static, PIN_0>
PIN_0 peripheral
PIN_1: Peri<'static, PIN_1>
PIN_1 peripheral
PIN_2: Peri<'static, PIN_2>
PIN_2 peripheral
PIN_3: Peri<'static, PIN_3>
PIN_3 peripheral
PIN_4: Peri<'static, PIN_4>
PIN_4 peripheral
PIN_5: Peri<'static, PIN_5>
PIN_5 peripheral
PIN_6: Peri<'static, PIN_6>
PIN_6 peripheral
PIN_7: Peri<'static, PIN_7>
PIN_7 peripheral
PIN_8: Peri<'static, PIN_8>
PIN_8 peripheral
PIN_9: Peri<'static, PIN_9>
PIN_9 peripheral
PIN_10: Peri<'static, PIN_10>
PIN_10 peripheral
PIN_11: Peri<'static, PIN_11>
PIN_11 peripheral
PIN_12: Peri<'static, PIN_12>
PIN_12 peripheral
PIN_13: Peri<'static, PIN_13>
PIN_13 peripheral
PIN_14: Peri<'static, PIN_14>
PIN_14 peripheral
PIN_15: Peri<'static, PIN_15>
PIN_15 peripheral
PIN_16: Peri<'static, PIN_16>
PIN_16 peripheral
PIN_17: Peri<'static, PIN_17>
PIN_17 peripheral
PIN_18: Peri<'static, PIN_18>
PIN_18 peripheral
PIN_19: Peri<'static, PIN_19>
PIN_19 peripheral
PIN_20: Peri<'static, PIN_20>
PIN_20 peripheral
PIN_21: Peri<'static, PIN_21>
PIN_21 peripheral
PIN_22: Peri<'static, PIN_22>
PIN_22 peripheral
PIN_23: Peri<'static, PIN_23>
PIN_23 peripheral
PIN_24: Peri<'static, PIN_24>
PIN_24 peripheral
PIN_25: Peri<'static, PIN_25>
PIN_25 peripheral
PIN_26: Peri<'static, PIN_26>
PIN_26 peripheral
PIN_27: Peri<'static, PIN_27>
PIN_27 peripheral
PIN_28: Peri<'static, PIN_28>
PIN_28 peripheral
PIN_29: Peri<'static, PIN_29>
PIN_29 peripheral
PIN_QSPI_SCLK: Peri<'static, PIN_QSPI_SCLK>
PIN_QSPI_SCLK peripheral
PIN_QSPI_SS: Peri<'static, PIN_QSPI_SS>
PIN_QSPI_SS peripheral
PIN_QSPI_SD0: Peri<'static, PIN_QSPI_SD0>
PIN_QSPI_SD0 peripheral
PIN_QSPI_SD1: Peri<'static, PIN_QSPI_SD1>
PIN_QSPI_SD1 peripheral
PIN_QSPI_SD2: Peri<'static, PIN_QSPI_SD2>
PIN_QSPI_SD2 peripheral
PIN_QSPI_SD3: Peri<'static, PIN_QSPI_SD3>
PIN_QSPI_SD3 peripheral
UART0: Peri<'static, UART0>
UART0 peripheral
UART1: Peri<'static, UART1>
UART1 peripheral
SPI0: Peri<'static, SPI0>
SPI0 peripheral
SPI1: Peri<'static, SPI1>
SPI1 peripheral
I2C0: Peri<'static, I2C0>
I2C0 peripheral
I2C1: Peri<'static, I2C1>
I2C1 peripheral
DMA_CH0: Peri<'static, DMA_CH0>
DMA_CH0 peripheral
DMA_CH1: Peri<'static, DMA_CH1>
DMA_CH1 peripheral
DMA_CH2: Peri<'static, DMA_CH2>
DMA_CH2 peripheral
DMA_CH3: Peri<'static, DMA_CH3>
DMA_CH3 peripheral
DMA_CH4: Peri<'static, DMA_CH4>
DMA_CH4 peripheral
DMA_CH5: Peri<'static, DMA_CH5>
DMA_CH5 peripheral
DMA_CH6: Peri<'static, DMA_CH6>
DMA_CH6 peripheral
DMA_CH7: Peri<'static, DMA_CH7>
DMA_CH7 peripheral
DMA_CH8: Peri<'static, DMA_CH8>
DMA_CH8 peripheral
DMA_CH9: Peri<'static, DMA_CH9>
DMA_CH9 peripheral
DMA_CH10: Peri<'static, DMA_CH10>
DMA_CH10 peripheral
DMA_CH11: Peri<'static, DMA_CH11>
DMA_CH11 peripheral
PWM_SLICE0: Peri<'static, PWM_SLICE0>
PWM_SLICE0 peripheral
PWM_SLICE1: Peri<'static, PWM_SLICE1>
PWM_SLICE1 peripheral
PWM_SLICE2: Peri<'static, PWM_SLICE2>
PWM_SLICE2 peripheral
PWM_SLICE3: Peri<'static, PWM_SLICE3>
PWM_SLICE3 peripheral
PWM_SLICE4: Peri<'static, PWM_SLICE4>
PWM_SLICE4 peripheral
PWM_SLICE5: Peri<'static, PWM_SLICE5>
PWM_SLICE5 peripheral
PWM_SLICE6: Peri<'static, PWM_SLICE6>
PWM_SLICE6 peripheral
PWM_SLICE7: Peri<'static, PWM_SLICE7>
PWM_SLICE7 peripheral
USB: Peri<'static, USB>
USB peripheral
RTC: Peri<'static, RTC>
RTC peripheral
FLASH: Peri<'static, FLASH>
FLASH peripheral
ADC: Peri<'static, ADC>
ADC peripheral
ADC_TEMP_SENSOR: Peri<'static, ADC_TEMP_SENSOR>
ADC_TEMP_SENSOR peripheral
CORE1: Peri<'static, CORE1>
CORE1 peripheral
PIO0: Peri<'static, PIO0>
PIO0 peripheral
PIO1: Peri<'static, PIO1>
PIO1 peripheral
WATCHDOG: Peri<'static, WATCHDOG>
WATCHDOG peripheral
BOOTSEL: Peri<'static, BOOTSEL>
BOOTSEL peripheral