Struct atsame70n21_pac::twihs0::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub cr: Reg<CR_SPEC>, pub mmr: Reg<MMR_SPEC>, pub smr: Reg<SMR_SPEC>, pub iadr: Reg<IADR_SPEC>, pub cwgr: Reg<CWGR_SPEC>, pub sr: Reg<SR_SPEC>, pub ier: Reg<IER_SPEC>, pub idr: Reg<IDR_SPEC>, pub imr: Reg<IMR_SPEC>, pub rhr: Reg<RHR_SPEC>, pub thr: Reg<THR_SPEC>, pub smbtr: Reg<SMBTR_SPEC>, pub filtr: Reg<FILTR_SPEC>, pub swmr: Reg<SWMR_SPEC>, pub wpmr: Reg<WPMR_SPEC>, pub wpsr: Reg<WPSR_SPEC>, // some fields omitted
}
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - Control Register

mmr: Reg<MMR_SPEC>

0x04 - Master Mode Register

smr: Reg<SMR_SPEC>

0x08 - Slave Mode Register

iadr: Reg<IADR_SPEC>

0x0c - Internal Address Register

cwgr: Reg<CWGR_SPEC>

0x10 - Clock Waveform Generator Register

sr: Reg<SR_SPEC>

0x20 - Status Register

ier: Reg<IER_SPEC>

0x24 - Interrupt Enable Register

idr: Reg<IDR_SPEC>

0x28 - Interrupt Disable Register

imr: Reg<IMR_SPEC>

0x2c - Interrupt Mask Register

rhr: Reg<RHR_SPEC>

0x30 - Receive Holding Register

thr: Reg<THR_SPEC>

0x34 - Transmit Holding Register

smbtr: Reg<SMBTR_SPEC>

0x38 - SMBus Timing Register

filtr: Reg<FILTR_SPEC>

0x44 - Filter Register

swmr: Reg<SWMR_SPEC>

0x4c - SleepWalking Matching Register

wpmr: Reg<WPMR_SPEC>

0xe4 - Write Protection Mode Register

wpsr: Reg<WPSR_SPEC>

0xe8 - Write Protection Status 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

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.