#[repr(C)]
pub struct SPIM {
Show 13 fields pub ctrla: Reg<CTRLA_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub ctrlc: Reg<CTRLC_SPEC>, pub baud: Reg<BAUD_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub status: Reg<STATUS_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub length: Reg<LENGTH_SPEC>, pub addr: Reg<ADDR_SPEC>, pub data: Reg<DATA_SPEC>, pub dbgctrl: Reg<DBGCTRL_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - SPIM Control A

ctrlb: Reg<CTRLB_SPEC>

0x04 - SPIM Control B

ctrlc: Reg<CTRLC_SPEC>

0x08 - SPIM Control C

baud: Reg<BAUD_SPEC>

0x0c - SPIM Baud Rate

intenclr: Reg<INTENCLR_SPEC>

0x14 - SPIM Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x16 - SPIM Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x18 - SPIM Interrupt Flag Status and Clear

status: Reg<STATUS_SPEC>

0x1a - SPIM Status

syncbusy: Reg<SYNCBUSY_SPEC>

0x1c - SPIM Synchronization Busy

length: Reg<LENGTH_SPEC>

0x22 - SPIM Length

addr: Reg<ADDR_SPEC>

0x24 - SPIM Address

data: Reg<DATA_SPEC>

0x28 - SPIM Data

dbgctrl: Reg<DBGCTRL_SPEC>

0x30 - SPIM Debug Control

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.