Struct lpc11uxx::Peripherals

source ·
pub struct Peripherals {
Show 19 fields pub I2C: I2C, pub WWDT: WWDT, pub USART: USART, pub CT16B0: CT16B0, pub CT16B1: CT16B1, pub CT32B0: CT32B0, pub CT32B1: CT32B1, pub ADC: ADC, pub PMU: PMU, pub FLASHCTRL: FLASHCTRL, pub SSP0: SSP0, pub IOCON: IOCON, pub SYSCON: SYSCON, pub GPIO_PIN_INT: GPIO_PIN_INT, pub SSP1: SSP1, pub GPIO_GROUP_INT0: GPIO_GROUP_INT0, pub GPIO_GROUP_INT1: GPIO_GROUP_INT1, pub USB: USB, pub GPIO_PORT: GPIO_PORT,
}
Expand description

All the peripherals

Fields§

§I2C: I2C

I2C

§WWDT: WWDT

WWDT

§USART: USART

USART

§CT16B0: CT16B0

CT16B0

§CT16B1: CT16B1

CT16B1

§CT32B0: CT32B0

CT32B0

§CT32B1: CT32B1

CT32B1

§ADC: ADC

ADC

§PMU: PMU

PMU

§FLASHCTRL: FLASHCTRL

FLASHCTRL

§SSP0: SSP0

SSP0

§IOCON: IOCON

IOCON

§SYSCON: SYSCON

SYSCON

§GPIO_PIN_INT: GPIO_PIN_INT

GPIO_PIN_INT

§SSP1: SSP1

SSP1

§GPIO_GROUP_INT0: GPIO_GROUP_INT0

GPIO_GROUP_INT0

§GPIO_GROUP_INT1: GPIO_GROUP_INT1

GPIO_GROUP_INT1

§USB: USB

USB

§GPIO_PORT: GPIO_PORT

GPIO_PORT

Implementations§

Returns all the peripherals once

Unchecked version of Peripherals::take

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.