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

Register block

Fields§

§out: OUT

0x00 - Port 15 Output Register

§omr: OMR

0x04 - Port 15 Output Modification Register

§iocr0: IOCR0

0x10 - Port 15 Input/Output Control Register 0

§iocr4: IOCR4

0x14 - Port 15 Input/Output Control Register 4

§iocr8: IOCR8

0x18 - Port 15 Input/Output Control Register 8

§in_: IN

0x24 - Port 15 Input Register

§pdisc: PDISC

0x60 - Port 15 Pin Function Decision Control Register

§pps: PPS

0x70 - Port 15 Pin Power Save Register

§hwsel: HWSEL

0x74 - Port 15 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.