#[repr(C)]
pub struct RegisterBlock { pub p5in: Reg<P5IN_SPEC>, pub p6in: Reg<P6IN_SPEC>, pub p5out: Reg<P5OUT_SPEC>, pub p6out: Reg<P6OUT_SPEC>, pub p5dir: Reg<P5DIR_SPEC>, pub p6dir: Reg<P6DIR_SPEC>, pub p5ren: Reg<P5REN_SPEC>, pub p6ren: Reg<P6REN_SPEC>, pub p5ds: Reg<P5DS_SPEC>, pub p6ds: Reg<P6DS_SPEC>, pub p5sel: Reg<P5SEL_SPEC>, pub p6sel: Reg<P6SEL_SPEC>, }
Expand description

Register block

Fields

p5in: Reg<P5IN_SPEC>

0x00 - Port 5 Input

p6in: Reg<P6IN_SPEC>

0x01 - Port 6 Input

p5out: Reg<P5OUT_SPEC>

0x02 - Port 5 Output

p6out: Reg<P6OUT_SPEC>

0x03 - Port 6 Output

p5dir: Reg<P5DIR_SPEC>

0x04 - Port 5 Direction

p6dir: Reg<P6DIR_SPEC>

0x05 - Port 6 Direction

p5ren: Reg<P5REN_SPEC>

0x06 - Port 5 Resistor Enable

p6ren: Reg<P6REN_SPEC>

0x07 - Port 6 Resistor Enable

p5ds: Reg<P5DS_SPEC>

0x08 - Port 5 Drive Strenght

p6ds: Reg<P6DS_SPEC>

0x09 - Port 6 Drive Strenght

p5sel: Reg<P5SEL_SPEC>

0x0a - Port 5 Selection

p6sel: Reg<P6SEL_SPEC>

0x0b - Port 6 Selection

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

Performs the conversion.

Performs the conversion.

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.