pub struct Peripherals {Show 35 fields
pub P0_00: P0_00,
pub P0_01: P0_01,
pub P0_02: P0_02,
pub P0_03: P0_03,
pub P0_04: P0_04,
pub P0_05: P0_05,
pub P0_06: P0_06,
pub P1_00: P1_00,
pub P1_01: P1_01,
pub P1_02: P1_02,
pub P1_03: P1_03,
pub P1_04: P1_04,
pub P1_05: P1_05,
pub P1_06: P1_06,
pub P1_07: P1_07,
pub P1_08: P1_08,
pub P1_09: P1_09,
pub P1_10: P1_10,
pub P1_11: P1_11,
pub P1_12: P1_12,
pub P1_13: P1_13,
pub P1_14: P1_14,
pub P1_15: P1_15,
pub P1_16: P1_16,
pub P2_00: P2_00,
pub P2_01: P2_01,
pub P2_02: P2_02,
pub P2_03: P2_03,
pub P2_04: P2_04,
pub P2_05: P2_05,
pub P2_06: P2_06,
pub P2_07: P2_07,
pub P2_08: P2_08,
pub P2_09: P2_09,
pub P2_10: P2_10,
}
Expand description
Struct containing all the peripheral singletons.
To obtain the peripherals, you must initialize the HAL, by calling crate::init
.
Fields§
§P0_00: P0_00
P0_00 peripheral
P0_01: P0_01
P0_01 peripheral
P0_02: P0_02
P0_02 peripheral
P0_03: P0_03
P0_03 peripheral
P0_04: P0_04
P0_04 peripheral
P0_05: P0_05
P0_05 peripheral
P0_06: P0_06
P0_06 peripheral
P1_00: P1_00
P1_00 peripheral
P1_01: P1_01
P1_01 peripheral
P1_02: P1_02
P1_02 peripheral
P1_03: P1_03
P1_03 peripheral
P1_04: P1_04
P1_04 peripheral
P1_05: P1_05
P1_05 peripheral
P1_06: P1_06
P1_06 peripheral
P1_07: P1_07
P1_07 peripheral
P1_08: P1_08
P1_08 peripheral
P1_09: P1_09
P1_09 peripheral
P1_10: P1_10
P1_10 peripheral
P1_11: P1_11
P1_11 peripheral
P1_12: P1_12
P1_12 peripheral
P1_13: P1_13
P1_13 peripheral
P1_14: P1_14
P1_14 peripheral
P1_15: P1_15
P1_15 peripheral
P1_16: P1_16
P1_16 peripheral
P2_00: P2_00
P2_00 peripheral
P2_01: P2_01
P2_01 peripheral
P2_02: P2_02
P2_02 peripheral
P2_03: P2_03
P2_03 peripheral
P2_04: P2_04
P2_04 peripheral
P2_05: P2_05
P2_05 peripheral
P2_06: P2_06
P2_06 peripheral
P2_07: P2_07
P2_07 peripheral
P2_08: P2_08
P2_08 peripheral
P2_09: P2_09
P2_09 peripheral
P2_10: P2_10
P2_10 peripheral
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