#[repr(C)]
pub struct RegisterBlock {
Show 29 fields pub ctrl: Reg<CTRL_SPEC>, pub dispctrl: Reg<DISPCTRL_SPEC>, pub segen: Reg<SEGEN_SPEC>, pub bactrl: Reg<BACTRL_SPEC>, pub status: Reg<STATUS_SPEC>, pub arega: Reg<AREGA_SPEC>, pub aregb: Reg<AREGB_SPEC>, pub if_: Reg<IF_SPEC>, pub ifs: Reg<IFS_SPEC>, pub ifc: Reg<IFC_SPEC>, pub ien: Reg<IEN_SPEC>, pub segd0l: Reg<SEGD0L_SPEC>, pub segd1l: Reg<SEGD1L_SPEC>, pub segd2l: Reg<SEGD2L_SPEC>, pub segd3l: Reg<SEGD3L_SPEC>, pub segd0h: Reg<SEGD0H_SPEC>, pub segd1h: Reg<SEGD1H_SPEC>, pub segd2h: Reg<SEGD2H_SPEC>, pub segd3h: Reg<SEGD3H_SPEC>, pub freeze: Reg<FREEZE_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub segd4h: Reg<SEGD4H_SPEC>, pub segd5h: Reg<SEGD5H_SPEC>, pub segd6h: Reg<SEGD6H_SPEC>, pub segd7h: Reg<SEGD7H_SPEC>, pub segd4l: Reg<SEGD4L_SPEC>, pub segd5l: Reg<SEGD5L_SPEC>, pub segd6l: Reg<SEGD6L_SPEC>, pub segd7l: Reg<SEGD7L_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - Control Register

dispctrl: Reg<DISPCTRL_SPEC>

0x04 - Display Control Register

segen: Reg<SEGEN_SPEC>

0x08 - Segment Enable Register

bactrl: Reg<BACTRL_SPEC>

0x0c - Blink and Animation Control Register

status: Reg<STATUS_SPEC>

0x10 - Status Register

arega: Reg<AREGA_SPEC>

0x14 - Animation Register A

aregb: Reg<AREGB_SPEC>

0x18 - Animation Register B

if_: Reg<IF_SPEC>

0x1c - Interrupt Flag Register

ifs: Reg<IFS_SPEC>

0x20 - Interrupt Flag Set Register

ifc: Reg<IFC_SPEC>

0x24 - Interrupt Flag Clear Register

ien: Reg<IEN_SPEC>

0x28 - Interrupt Enable Register

segd0l: Reg<SEGD0L_SPEC>

0x40 - Segment Data Low Register 0

segd1l: Reg<SEGD1L_SPEC>

0x44 - Segment Data Low Register 1

segd2l: Reg<SEGD2L_SPEC>

0x48 - Segment Data Low Register 2

segd3l: Reg<SEGD3L_SPEC>

0x4c - Segment Data Low Register 3

segd0h: Reg<SEGD0H_SPEC>

0x50 - Segment Data High Register 0

segd1h: Reg<SEGD1H_SPEC>

0x54 - Segment Data High Register 1

segd2h: Reg<SEGD2H_SPEC>

0x58 - Segment Data High Register 2

segd3h: Reg<SEGD3H_SPEC>

0x5c - Segment Data High Register 3

freeze: Reg<FREEZE_SPEC>

0x60 - Freeze Register

syncbusy: Reg<SYNCBUSY_SPEC>

0x64 - Synchronization Busy Register

segd4h: Reg<SEGD4H_SPEC>

0xb4 - Segment Data High Register 4

segd5h: Reg<SEGD5H_SPEC>

0xb8 - Segment Data High Register 5

segd6h: Reg<SEGD6H_SPEC>

0xbc - Segment Data High Register 6

segd7h: Reg<SEGD7H_SPEC>

0xc0 - Segment Data High Register 7

segd4l: Reg<SEGD4L_SPEC>

0xcc - Segment Data Low Register 4

segd5l: Reg<SEGD5L_SPEC>

0xd0 - Segment Data Low Register 5

segd6l: Reg<SEGD6L_SPEC>

0xd4 - Segment Data Low Register 6

segd7l: Reg<SEGD7L_SPEC>

0xd8 - Segment Data Low Register 7

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.