RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 74 fields pub b0_0: Reg<B0_0_SPEC>, pub b0_1: Reg<B0_1_SPEC>, pub b0_2: Reg<B0_2_SPEC>, pub b0_3: Reg<B0_3_SPEC>, pub b0_4: Reg<B0_4_SPEC>, pub b0_5: Reg<B0_5_SPEC>, pub b0_6: Reg<B0_6_SPEC>, pub b0_7: Reg<B0_7_SPEC>, pub b0_8: Reg<B0_8_SPEC>, pub b0_9: Reg<B0_9_SPEC>, pub b0_10: Reg<B0_10_SPEC>, pub b0_11: Reg<B0_11_SPEC>, pub b0_12: Reg<B0_12_SPEC>, pub b0_13: Reg<B0_13_SPEC>, pub b0_14: Reg<B0_14_SPEC>, pub b0_15: Reg<B0_15_SPEC>, pub b0_16: Reg<B0_16_SPEC>, pub b0_17: Reg<B0_17_SPEC>, pub b0_18: Reg<B0_18_SPEC>, pub b0_19: Reg<B0_19_SPEC>, pub b0_20: Reg<B0_20_SPEC>, pub b0_21: Reg<B0_21_SPEC>, pub b0_22: Reg<B0_22_SPEC>, pub b0_23: Reg<B0_23_SPEC>, pub b0_24: Reg<B0_24_SPEC>, pub b0_25: Reg<B0_25_SPEC>, pub b0_26: Reg<B0_26_SPEC>, pub b0_27: Reg<B0_27_SPEC>, pub b0_28: Reg<B0_28_SPEC>, pub b0_29: Reg<B0_29_SPEC>, pub b0_30: Reg<B0_30_SPEC>, pub b0_31: Reg<B0_31_SPEC>, pub w0_0: Reg<W0_0_SPEC>, pub w0_1: Reg<W0_1_SPEC>, pub w0_2: Reg<W0_2_SPEC>, pub w0_3: Reg<W0_3_SPEC>, pub w0_4: Reg<W0_4_SPEC>, pub w0_5: Reg<W0_5_SPEC>, pub w0_6: Reg<W0_6_SPEC>, pub w0_7: Reg<W0_7_SPEC>, pub w0_8: Reg<W0_8_SPEC>, pub w0_9: Reg<W0_9_SPEC>, pub w0_10: Reg<W0_10_SPEC>, pub w0_11: Reg<W0_11_SPEC>, pub w0_12: Reg<W0_12_SPEC>, pub w0_13: Reg<W0_13_SPEC>, pub w0_14: Reg<W0_14_SPEC>, pub w0_15: Reg<W0_15_SPEC>, pub w0_16: Reg<W0_16_SPEC>, pub w0_17: Reg<W0_17_SPEC>, pub w0_18: Reg<W0_18_SPEC>, pub w0_19: Reg<W0_19_SPEC>, pub w0_20: Reg<W0_20_SPEC>, pub w0_21: Reg<W0_21_SPEC>, pub w0_22: Reg<W0_22_SPEC>, pub w0_23: Reg<W0_23_SPEC>, pub w0_24: Reg<W0_24_SPEC>, pub w0_25: Reg<W0_25_SPEC>, pub w0_26: Reg<W0_26_SPEC>, pub w0_27: Reg<W0_27_SPEC>, pub w0_28: Reg<W0_28_SPEC>, pub w0_29: Reg<W0_29_SPEC>, pub w0_30: Reg<W0_30_SPEC>, pub w0_31: Reg<W0_31_SPEC>, pub dir0: Reg<DIR0_SPEC>, pub mask0: Reg<MASK0_SPEC>, pub pin0: Reg<PIN0_SPEC>, pub mpin0: Reg<MPIN0_SPEC>, pub set0: Reg<SET0_SPEC>, pub clr0: Reg<CLR0_SPEC>, pub not0: Reg<NOT0_SPEC>, pub dirset0: Reg<DIRSET0_SPEC>, pub dirclr0: Reg<DIRCLR0_SPEC>, pub dirnot0: Reg<DIRNOT0_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§b0_0: Reg<B0_0_SPEC>

0x00 - Byte pin registers for all port GPIO pins

§b0_1: Reg<B0_1_SPEC>

0x01 - Byte pin registers for all port GPIO pins

§b0_2: Reg<B0_2_SPEC>

0x02 - Byte pin registers for all port GPIO pins

§b0_3: Reg<B0_3_SPEC>

0x03 - Byte pin registers for all port GPIO pins

§b0_4: Reg<B0_4_SPEC>

0x04 - Byte pin registers for all port GPIO pins

§b0_5: Reg<B0_5_SPEC>

0x05 - Byte pin registers for all port GPIO pins

§b0_6: Reg<B0_6_SPEC>

0x06 - Byte pin registers for all port GPIO pins

§b0_7: Reg<B0_7_SPEC>

0x07 - Byte pin registers for all port GPIO pins

§b0_8: Reg<B0_8_SPEC>

0x08 - Byte pin registers for all port GPIO pins

§b0_9: Reg<B0_9_SPEC>

0x09 - Byte pin registers for all port GPIO pins

§b0_10: Reg<B0_10_SPEC>

0x0a - Byte pin registers for all port GPIO pins

§b0_11: Reg<B0_11_SPEC>

0x0b - Byte pin registers for all port GPIO pins

§b0_12: Reg<B0_12_SPEC>

0x0c - Byte pin registers for all port GPIO pins

§b0_13: Reg<B0_13_SPEC>

0x0d - Byte pin registers for all port GPIO pins

§b0_14: Reg<B0_14_SPEC>

0x0e - Byte pin registers for all port GPIO pins

§b0_15: Reg<B0_15_SPEC>

0x0f - Byte pin registers for all port GPIO pins

§b0_16: Reg<B0_16_SPEC>

0x10 - Byte pin registers for all port GPIO pins

§b0_17: Reg<B0_17_SPEC>

0x11 - Byte pin registers for all port GPIO pins

§b0_18: Reg<B0_18_SPEC>

0x12 - Byte pin registers for all port GPIO pins

§b0_19: Reg<B0_19_SPEC>

0x13 - Byte pin registers for all port GPIO pins

§b0_20: Reg<B0_20_SPEC>

0x14 - Byte pin registers for all port GPIO pins

§b0_21: Reg<B0_21_SPEC>

0x15 - Byte pin registers for all port GPIO pins

§b0_22: Reg<B0_22_SPEC>

0x16 - Byte pin registers for all port GPIO pins

§b0_23: Reg<B0_23_SPEC>

0x17 - Byte pin registers for all port GPIO pins

§b0_24: Reg<B0_24_SPEC>

0x18 - Byte pin registers for all port GPIO pins

§b0_25: Reg<B0_25_SPEC>

0x19 - Byte pin registers for all port GPIO pins

§b0_26: Reg<B0_26_SPEC>

0x1a - Byte pin registers for all port GPIO pins

§b0_27: Reg<B0_27_SPEC>

0x1b - Byte pin registers for all port GPIO pins

§b0_28: Reg<B0_28_SPEC>

0x1c - Byte pin registers for all port GPIO pins

§b0_29: Reg<B0_29_SPEC>

0x1d - Byte pin registers for all port GPIO pins

§b0_30: Reg<B0_30_SPEC>

0x1e - Byte pin registers for all port GPIO pins

§b0_31: Reg<B0_31_SPEC>

0x1f - Byte pin registers for all port GPIO pins

§w0_0: Reg<W0_0_SPEC>

0x1000 - Word pin registers for all port GPIO pins

§w0_1: Reg<W0_1_SPEC>

0x1004 - Word pin registers for all port GPIO pins

§w0_2: Reg<W0_2_SPEC>

0x1008 - Word pin registers for all port GPIO pins

§w0_3: Reg<W0_3_SPEC>

0x100c - Word pin registers for all port GPIO pins

§w0_4: Reg<W0_4_SPEC>

0x1010 - Word pin registers for all port GPIO pins

§w0_5: Reg<W0_5_SPEC>

0x1014 - Word pin registers for all port GPIO pins

§w0_6: Reg<W0_6_SPEC>

0x1018 - Word pin registers for all port GPIO pins

§w0_7: Reg<W0_7_SPEC>

0x101c - Word pin registers for all port GPIO pins

§w0_8: Reg<W0_8_SPEC>

0x1020 - Word pin registers for all port GPIO pins

§w0_9: Reg<W0_9_SPEC>

0x1024 - Word pin registers for all port GPIO pins

§w0_10: Reg<W0_10_SPEC>

0x1028 - Word pin registers for all port GPIO pins

§w0_11: Reg<W0_11_SPEC>

0x102c - Word pin registers for all port GPIO pins

§w0_12: Reg<W0_12_SPEC>

0x1030 - Word pin registers for all port GPIO pins

§w0_13: Reg<W0_13_SPEC>

0x1034 - Word pin registers for all port GPIO pins

§w0_14: Reg<W0_14_SPEC>

0x1038 - Word pin registers for all port GPIO pins

§w0_15: Reg<W0_15_SPEC>

0x103c - Word pin registers for all port GPIO pins

§w0_16: Reg<W0_16_SPEC>

0x1040 - Word pin registers for all port GPIO pins

§w0_17: Reg<W0_17_SPEC>

0x1044 - Word pin registers for all port GPIO pins

§w0_18: Reg<W0_18_SPEC>

0x1048 - Word pin registers for all port GPIO pins

§w0_19: Reg<W0_19_SPEC>

0x104c - Word pin registers for all port GPIO pins

§w0_20: Reg<W0_20_SPEC>

0x1050 - Word pin registers for all port GPIO pins

§w0_21: Reg<W0_21_SPEC>

0x1054 - Word pin registers for all port GPIO pins

§w0_22: Reg<W0_22_SPEC>

0x1058 - Word pin registers for all port GPIO pins

§w0_23: Reg<W0_23_SPEC>

0x105c - Word pin registers for all port GPIO pins

§w0_24: Reg<W0_24_SPEC>

0x1060 - Word pin registers for all port GPIO pins

§w0_25: Reg<W0_25_SPEC>

0x1064 - Word pin registers for all port GPIO pins

§w0_26: Reg<W0_26_SPEC>

0x1068 - Word pin registers for all port GPIO pins

§w0_27: Reg<W0_27_SPEC>

0x106c - Word pin registers for all port GPIO pins

§w0_28: Reg<W0_28_SPEC>

0x1070 - Word pin registers for all port GPIO pins

§w0_29: Reg<W0_29_SPEC>

0x1074 - Word pin registers for all port GPIO pins

§w0_30: Reg<W0_30_SPEC>

0x1078 - Word pin registers for all port GPIO pins

§w0_31: Reg<W0_31_SPEC>

0x107c - Word pin registers for all port GPIO pins

§dir0: Reg<DIR0_SPEC>

0x2000 - Direction registers for all port GPIO pins

§mask0: Reg<MASK0_SPEC>

0x2080 - Mask register for all port GPIO pins

§pin0: Reg<PIN0_SPEC>

0x2100 - Port pin register for all port GPIO pins

§mpin0: Reg<MPIN0_SPEC>

0x2180 - Masked port register for all port GPIO pins

§set0: Reg<SET0_SPEC>

0x2200 - Write: Set register for port. Read: output bits for port

§clr0: Reg<CLR0_SPEC>

0x2280 - Clear port for all port GPIO pins

§not0: Reg<NOT0_SPEC>

0x2300 - Toggle port for all port GPIO pins

§dirset0: Reg<DIRSET0_SPEC>

0x2380 - Set pin direction bits for port

§dirclr0: Reg<DIRCLR0_SPEC>

0x2400 - Clear pin direction bits for port

§dirnot0: Reg<DIRNOT0_SPEC>

0x2480 - Toggle pin direction bits for port

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.