[−][src]Struct k210_hal::Peripherals
All the peripherals
Fields
CLINT: CLINT
CLINT
PLIC: PLIC
PLIC
UARTHS: UARTHS
UARTHS
GPIOHS: GPIOHS
GPIOHS
KPU: KPU
KPU
FFT: FFT
FFT
DMAC: DMAC
DMAC
GPIO: GPIO
GPIO
UART1: UART1
UART1
UART2: UART2
UART2
UART3: UART3
UART3
SPI0: SPI0
SPI0
SPI1: SPI1
SPI1
SPI2: SPI2
SPI2
SPI3: SPI3
SPI3
I2S0: I2S0
I2S0
APU: APU
APU
I2S1: I2S1
I2S1
I2S2: I2S2
I2S2
I2C0: I2C0
I2C0
I2C1: I2C1
I2C1
I2C2: I2C2
I2C2
SHA256: SHA256
SHA256
TIMER0: TIMER0
TIMER0
TIMER1: TIMER1
TIMER1
TIMER2: TIMER2
TIMER2
WDT0: WDT0
WDT0
WDT1: WDT1
WDT1
OTP: OTP
OTP
DVP: DVP
DVP
SYSCTL: SYSCTL
SYSCTL
AES: AES
AES
RTC: RTC
RTC
pins: ExternalPins
External pins
Methods
impl Peripherals
[src]
pub fn take() -> Option<Self>
[src]
Returns all the peripherals once
pub unsafe fn steal() -> Self
[src]
Unchecked version of Peripherals::take
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,