[−][src]Struct lpc11xx::Peripherals
All the peripherals
Fields
I2C: I2C
I2C
WWDT: WWDT
WWDT
UART: UART
UART
CT16B0: CT16B0
CT16B0
CT16B1: CT16B1
CT16B1
CT32B0: CT32B0
CT32B0
CT32B1: CT32B1
CT32B1
ADC: ADC
ADC
PMU: PMU
PMU
FLASHCTRL: FLASHCTRL
FLASHCTRL
SPI0: SPI0
SPI0
IOCON: IOCON
IOCON
SYSCON: SYSCON
SYSCON
C_CAN: C_CAN
C_CAN
SPI1: SPI1
SPI1
GPIO0: GPIO0
GPIO0
GPIO1: GPIO1
GPIO1
GPIO2: GPIO2
GPIO2
GPIO3: GPIO3
GPIO3
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, 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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self