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: Dma
DMA
pm: Pm
PM
epic: Epic
EPIC
timer32_0: Timer32_0
TIMER32_0
pvd_vcc: PvdVcc
PVD_VCC
pad_config: PadConfig
PAD_CONFIG
wdt_bus: WdtBus
WDT_BUS
otp: Otp
OTP
wake_up: WakeUp
WakeUp
rtc: Rtc
RTC
boot_manager: BootManager
BOOT_MANAGER
spifi_config: SpifiConfig
SPIFI_CONFIG
eeprom_regs: EepromRegs
EEPROM_REGS
crypto: Crypto
CRYPTO
crc: Crc
CRC
wdt: Wdt
WDT
usart_0: Usart0
USART_0
usart_1: Usart1
USART_1
timer16_0: Timer16_0
TIMER16_0
timer16_1: Timer16_1
TIMER16_1
timer16_2: Timer16_2
TIMER16_2
timer32_1: Timer32_1
TIMER32_1
timer32_2: Timer32_2
TIMER32_2
spi_0: Spi0
SPI_0
spi_1: Spi1
SPI_1
i2c_0: I2c0
I2C_0
i2c_1: I2c1
I2C_1
gpio16_0: Gpio16_0
GPIO16_0
gpio16_1: Gpio16_1
GPIO16_1
gpio8_2: Gpio8_2
GPIO8_2
gpio_irq: GpioIrq
GPIO_IRQ
dac0: Dac0
DAC0
dac1: Dac1
DAC1
pvd_avcc: PvdAvcc
PVD_AVCC
tsens: Tsens
TSENS
refv_config: RefvConfig
REFV_CONFIG
adc: Adc
ADC
scr1_timer: Scr1Timer
SCR1_TIMER
Implementations§
Auto Trait Implementations§
impl Freeze for Peripherals
impl RefUnwindSafe for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl Unpin 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