pub struct RegisterBlock {
Show 18 fields pub power: POWER, pub clkcr: CLKCR, pub arg: ARG, pub cmd: CMD, pub respcmd: RESPCMD, pub resp1: RESP1, pub resp2: RESP2, pub resp3: RESP3, pub resp4: RESP4, pub dtimer: DTIMER, pub dlen: DLEN, pub dctrl: DCTRL, pub dcount: DCOUNT, pub sta: STA, pub icr: ICR, pub mask: MASK, pub fifocnt: FIFOCNT, pub fifo: FIFO, /* private fields */
}
Expand description

Register block

Fields§

§power: POWER

0x00 - power control register

§clkcr: CLKCR

0x04 - SDI clock control register

§arg: ARG

0x08 - argument register

§cmd: CMD

0x0c - command register

§respcmd: RESPCMD

0x10 - command response register

§resp1: RESP1

0x14 - response 1..4 register

§resp2: RESP2

0x18 - response 1..4 register

§resp3: RESP3

0x1c - response 1..4 register

§resp4: RESP4

0x20 - response 1..4 register

§dtimer: DTIMER

0x24 - data timer register

§dlen: DLEN

0x28 - data length register

§dctrl: DCTRL

0x2c - data control register

§dcount: DCOUNT

0x30 - data counter register

§sta: STA

0x34 - status register

§icr: ICR

0x38 - interrupt clear register

§mask: MASK

0x3c - mask register

§fifocnt: FIFOCNT

0x48 - FIFO counter register

§fifo: FIFO

0x80 - data FIFO 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.