#[repr(C)]
pub struct RegisterBlock {
Show 43 fields pub b0_0: B0_0, pub b0_1: B0_1, pub b0_2: B0_2, pub b0_3: B0_3, pub b0_4: B0_4, pub b0_5: B0_5, pub b0_6: B0_6, pub b0_7: B0_7, pub b0_8: B0_8, pub b0_9: B0_9, pub b0_10: B0_10, pub b0_11: B0_11, pub b0_12: B0_12, pub b0_13: B0_13, pub b0_14: B0_14, pub b0_15: B0_15, pub b0_16: B0_16, pub b0_17: B0_17, pub w0_0: W0_0, pub w0_1: W0_1, pub w0_2: W0_2, pub w0_3: W0_3, pub w0_4: W0_4, pub w0_5: W0_5, pub w0_6: W0_6, pub w0_7: W0_7, pub w0_8: W0_8, pub w0_9: W0_9, pub w0_10: W0_10, pub w0_11: W0_11, pub w0_12: W0_12, pub w0_13: W0_13, pub w0_14: W0_14, pub w0_15: W0_15, pub w0_16: W0_16, pub w0_17: W0_17, pub dir0: DIR0, pub mask0: MASK0, pub pin0: PIN0, pub mpin0: MPIN0, pub set0: SET0, pub clr0: CLR0, pub not0: NOT0, /* private fields */
}
Expand description

Register block

Fields§

§b0_0: B0_0

0x00 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_1: B0_1

0x01 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_2: B0_2

0x02 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_3: B0_3

0x03 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_4: B0_4

0x04 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_5: B0_5

0x05 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_6: B0_6

0x06 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_7: B0_7

0x07 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_8: B0_8

0x08 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_9: B0_9

0x09 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_10: B0_10

0x0a - Byte pin registers for all port 0 and 1 GPIO pins

§b0_11: B0_11

0x0b - Byte pin registers for all port 0 and 1 GPIO pins

§b0_12: B0_12

0x0c - Byte pin registers for all port 0 and 1 GPIO pins

§b0_13: B0_13

0x0d - Byte pin registers for all port 0 and 1 GPIO pins

§b0_14: B0_14

0x0e - Byte pin registers for all port 0 and 1 GPIO pins

§b0_15: B0_15

0x0f - Byte pin registers for all port 0 and 1 GPIO pins

§b0_16: B0_16

0x10 - Byte pin registers for all port 0 and 1 GPIO pins

§b0_17: B0_17

0x11 - Byte pin registers for all port 0 and 1 GPIO pins

§w0_0: W0_0

0x1000 - Word pin registers for all port 0 and 1 GPIO pins

§w0_1: W0_1

0x1004 - Word pin registers for all port 0 and 1 GPIO pins

§w0_2: W0_2

0x1008 - Word pin registers for all port 0 and 1 GPIO pins

§w0_3: W0_3

0x100c - Word pin registers for all port 0 and 1 GPIO pins

§w0_4: W0_4

0x1010 - Word pin registers for all port 0 and 1 GPIO pins

§w0_5: W0_5

0x1014 - Word pin registers for all port 0 and 1 GPIO pins

§w0_6: W0_6

0x1018 - Word pin registers for all port 0 and 1 GPIO pins

§w0_7: W0_7

0x101c - Word pin registers for all port 0 and 1 GPIO pins

§w0_8: W0_8

0x1020 - Word pin registers for all port 0 and 1 GPIO pins

§w0_9: W0_9

0x1024 - Word pin registers for all port 0 and 1 GPIO pins

§w0_10: W0_10

0x1028 - Word pin registers for all port 0 and 1 GPIO pins

§w0_11: W0_11

0x102c - Word pin registers for all port 0 and 1 GPIO pins

§w0_12: W0_12

0x1030 - Word pin registers for all port 0 and 1 GPIO pins

§w0_13: W0_13

0x1034 - Word pin registers for all port 0 and 1 GPIO pins

§w0_14: W0_14

0x1038 - Word pin registers for all port 0 and 1 GPIO pins

§w0_15: W0_15

0x103c - Word pin registers for all port 0 and 1 GPIO pins

§w0_16: W0_16

0x1040 - Word pin registers for all port 0 and 1 GPIO pins

§w0_17: W0_17

0x1044 - Word pin registers for all port 0 and 1 GPIO pins

§dir0: DIR0

0x2000 - Direction registers

§mask0: MASK0

0x2080 - Mask register

§pin0: PIN0

0x2100 - Port pin register

§mpin0: MPIN0

0x2180 - Masked port register

§set0: SET0

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

§clr0: CLR0

0x2280 - Clear port

§not0: NOT0

0x2300 - Toggle port

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.

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.