pub struct RegisterBlock {
    pub cr: CR,
    pub sr: SR,
    pub ris: RIS,
    pub ier: IER,
    pub mis: MIS,
    pub icr: ICR,
    pub escr: ESCR,
    pub esur: ESUR,
    pub cwstrt: CWSTRT,
    pub cwsize: CWSIZE,
    pub dr: DR,
}
Expand description

Register block

Fields

cr: CR

0x00 - control register 1

sr: SR

0x04 - status register

ris: RIS

0x08 - raw interrupt status register

ier: IER

0x0c - interrupt enable register

mis: MIS

0x10 - masked interrupt status register

icr: ICR

0x14 - interrupt clear register

escr: ESCR

0x18 - embedded synchronization code register

esur: ESUR

0x1c - embedded synchronization unmask register

cwstrt: CWSTRT

0x20 - crop window start

cwsize: CWSIZE

0x24 - crop window size

dr: DR

0x28 - data 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.