pub struct Peripherals {Show 38 fields
pub dma: Dma,
pub pm: Pm,
pub epic: Epic,
pub timer32_0: Timer32_0,
pub pvd_vcc: PvdVcc,
pub pad_config: PadConfig,
pub wdt_bus: WdtBus,
pub otp: Otp,
pub wake_up: WakeUp,
pub rtc: Rtc,
pub boot_manager: BootManager,
pub spifi_config: SpifiConfig,
pub eeprom_regs: EepromRegs,
pub crypto: Crypto,
pub crc: Crc,
pub wdt: Wdt,
pub usart_0: Usart0,
pub usart_1: Usart1,
pub timer16_0: Timer16_0,
pub timer16_1: Timer16_1,
pub timer16_2: Timer16_2,
pub timer32_1: Timer32_1,
pub timer32_2: Timer32_2,
pub spi_0: Spi0,
pub spi_1: Spi1,
pub i2c_0: I2c0,
pub i2c_1: I2c1,
pub gpio16_0: Gpio16_0,
pub gpio16_1: Gpio16_1,
pub gpio8_2: Gpio8_2,
pub gpio_irq: GpioIrq,
pub dac0: Dac0,
pub dac1: Dac1,
pub pvd_avcc: PvdAvcc,
pub tsens: Tsens,
pub refv_config: RefvConfig,
pub adc: Adc,
pub scr1_timer: Scr1Timer,
}Expand description
All the peripherals.
Fields§
§dma: DmaDMA
pm: PmPM
epic: EpicEPIC
timer32_0: Timer32_0TIMER32_0
pvd_vcc: PvdVccPVD_VCC
pad_config: PadConfigPAD_CONFIG
wdt_bus: WdtBusWDT_BUS
otp: OtpOTP
wake_up: WakeUpWakeUp
rtc: RtcRTC
boot_manager: BootManagerBOOT_MANAGER
spifi_config: SpifiConfigSPIFI_CONFIG
eeprom_regs: EepromRegsEEPROM_REGS
crypto: CryptoCRYPTO
crc: CrcCRC
wdt: WdtWDT
usart_0: Usart0USART_0
usart_1: Usart1USART_1
timer16_0: Timer16_0TIMER16_0
timer16_1: Timer16_1TIMER16_1
timer16_2: Timer16_2TIMER16_2
timer32_1: Timer32_1TIMER32_1
timer32_2: Timer32_2TIMER32_2
spi_0: Spi0SPI_0
spi_1: Spi1SPI_1
i2c_0: I2c0I2C_0
i2c_1: I2c1I2C_1
gpio16_0: Gpio16_0GPIO16_0
gpio16_1: Gpio16_1GPIO16_1
gpio8_2: Gpio8_2GPIO8_2
gpio_irq: GpioIrqGPIO_IRQ
dac0: Dac0DAC0
dac1: Dac1DAC1
pvd_avcc: PvdAvccPVD_AVCC
tsens: TsensTSENS
refv_config: RefvConfigREFV_CONFIG
adc: AdcADC
scr1_timer: Scr1TimerSCR1_TIMER
Implementations§
Auto Trait Implementations§
impl !Sync for Peripherals
impl Freeze for Peripherals
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl Unpin for Peripherals
impl UnsafeUnpin for Peripherals
impl UnwindSafe for Peripherals
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more