#[repr(C)]
pub struct RegisterBlock {
Show 18 fields pub power: Reg<POWER_SPEC>, pub clkcr: Reg<CLKCR_SPEC>, pub arg: Reg<ARG_SPEC>, pub cmd: Reg<CMD_SPEC>, pub respcmd: Reg<RESPCMD_SPEC>, pub resp1: Reg<RESP1_SPEC>, pub resp2: Reg<RESP2_SPEC>, pub resp3: Reg<RESP3_SPEC>, pub resp4: Reg<RESP4_SPEC>, pub dtimer: Reg<DTIMER_SPEC>, pub dlen: Reg<DLEN_SPEC>, pub dctrl: Reg<DCTRL_SPEC>, pub dcount: Reg<DCOUNT_SPEC>, pub sta: Reg<STA_SPEC>, pub icr: Reg<ICR_SPEC>, pub mask: Reg<MASK_SPEC>, pub fifocnt: Reg<FIFOCNT_SPEC>, pub fifo: Reg<FIFO_SPEC>, /* private fields */
}
Expand description

Register block

Fields

power: Reg<POWER_SPEC>

0x00 - power control register

clkcr: Reg<CLKCR_SPEC>

0x04 - SDI clock control register

arg: Reg<ARG_SPEC>

0x08 - argument register

cmd: Reg<CMD_SPEC>

0x0c - command register

respcmd: Reg<RESPCMD_SPEC>

0x10 - command response register

resp1: Reg<RESP1_SPEC>

0x14 - response 1..4 register

resp2: Reg<RESP2_SPEC>

0x18 - response 1..4 register

resp3: Reg<RESP3_SPEC>

0x1c - response 1..4 register

resp4: Reg<RESP4_SPEC>

0x20 - response 1..4 register

dtimer: Reg<DTIMER_SPEC>

0x24 - data timer register

dlen: Reg<DLEN_SPEC>

0x28 - data length register

dctrl: Reg<DCTRL_SPEC>

0x2c - data control register

dcount: Reg<DCOUNT_SPEC>

0x30 - data counter register

sta: Reg<STA_SPEC>

0x34 - status register

icr: Reg<ICR_SPEC>

0x38 - interrupt clear register

mask: Reg<MASK_SPEC>

0x3c - mask register

fifocnt: Reg<FIFOCNT_SPEC>

0x48 - FIFO counter register

fifo: Reg<FIFO_SPEC>

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.

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.