pub struct Peripherals {Show 19 fields
pub I2C: I2C,
pub WWDT: WWDT,
pub UART: UART,
pub CT16B0: CT16B0,
pub CT16B1: CT16B1,
pub CT32B0: CT32B0,
pub CT32B1: CT32B1,
pub ADC: ADC,
pub PMU: PMU,
pub FLASHCTRL: FLASHCTRL,
pub SPI0: SPI0,
pub IOCON: IOCON,
pub SYSCON: SYSCON,
pub C_CAN: C_CAN,
pub SPI1: SPI1,
pub GPIO0: GPIO0,
pub GPIO1: GPIO1,
pub GPIO2: GPIO2,
pub GPIO3: GPIO3,
}Expand description
All the peripherals
Fields§
§I2C: I2CI2C
WWDT: WWDTWWDT
UART: UARTUART
CT16B0: CT16B0CT16B0
CT16B1: CT16B1CT16B1
CT32B0: CT32B0CT32B0
CT32B1: CT32B1CT32B1
ADC: ADCADC
PMU: PMUPMU
FLASHCTRL: FLASHCTRLFLASHCTRL
SPI0: SPI0SPI0
IOCON: IOCONIOCON
SYSCON: SYSCONSYSCON
C_CAN: C_CANC_CAN
SPI1: SPI1SPI1
GPIO0: GPIO0GPIO0
GPIO1: GPIO1GPIO1
GPIO2: GPIO2GPIO2
GPIO3: GPIO3GPIO3
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