Struct e310x::Peripherals [−][src]
pub struct Peripherals { pub CLINT: CLINT, pub PLIC: PLIC, pub WDOG: WDOG, pub RTC: RTC, pub AONCLK: AONCLK, pub BACKUP: BACKUP, pub PMU: PMU, pub PRCI: PRCI, pub OTP: OTP, pub GPIO0: GPIO0, pub UART0: UART0, pub QSPI0: QSPI0, pub PWM0: PWM0, pub UART1: UART1, pub QSPI1: QSPI1, pub PWM1: PWM1, pub QSPI2: QSPI2, pub PWM2: PWM2, }
All the peripherals
Fields
CLINT: CLINT
CLINT
PLIC: PLIC
PLIC
WDOG: WDOG
WDOG
RTC: RTC
RTC
AONCLK: AONCLK
AONCLK
BACKUP: BACKUP
BACKUP
PMU: PMU
PMU
PRCI: PRCI
PRCI
OTP: OTP
OTP
GPIO0: GPIO0
GPIO0
UART0: UART0
UART0
QSPI0: QSPI0
QSPI0
PWM0: PWM0
PWM0
UART1: UART1
UART1
QSPI1: QSPI1
QSPI1
PWM1: PWM1
PWM1
QSPI2: QSPI2
QSPI2
PWM2: PWM2
PWM2
Methods
impl Peripherals
[src]
impl Peripherals
pub fn take() -> Option<Self>
[src]
pub fn take() -> Option<Self>
Returns all the peripherals once
pub unsafe fn steal() -> Self
[src]
pub unsafe fn steal() -> Self
Unchecked version of Peripherals::take
Auto Trait Implementations
impl Send for Peripherals
impl Send for Peripherals
impl !Sync for Peripherals
impl !Sync for Peripherals