#[repr(C)]
pub struct RegisterBlock { pub out: OUT, pub omr: OMR, pub iocr0: IOCR0, pub iocr4: IOCR4, pub iocr8: IOCR8, pub iocr12: IOCR12, pub in_: IN, pub pdisc: PDISC, pub pps: PPS, pub hwsel: HWSEL, /* private fields */ }
Expand description

Register block

Fields§

§out: OUT

0x00 - Port 14 Output Register

§omr: OMR

0x04 - Port 14 Output Modification Register

§iocr0: IOCR0

0x10 - Port 14 Input/Output Control Register 0

§iocr4: IOCR4

0x14 - Port 14 Input/Output Control Register 4

§iocr8: IOCR8

0x18 - Port 14 Input/Output Control Register 8

§iocr12: IOCR12

0x1c - Port 14 Input/Output Control Register 12

§in_: IN

0x24 - Port 14 Input Register

§pdisc: PDISC

0x60 - Port 14 Pin Function Decision Control Register

§pps: PPS

0x70 - Port 14 Pin Power Save Register

§hwsel: HWSEL

0x74 - Port 14 Pin Hardware Select Register

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.