Struct atsam4lc4c::spi::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub cr: CR, pub mr: MR, pub rdr: RDR, pub tdr: TDR, pub sr: SR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub csr: [CSR; 4], pub wpcr: WPCR, pub wpsr: WPSR, pub features: FEATURES, pub version: VERSION, // some fields omitted }

Register block

Fields

0x00 - Control Register

0x04 - Mode Register

0x08 - Receive Data Register

0x0c - Transmit Data Register

0x10 - Status Register

0x14 - Interrupt Enable Register

0x18 - Interrupt Disable Register

0x1c - Interrupt Mask Register

0x30 - Chip Select Register

0xe4 - Write Protection control Register

0xe8 - Write Protection status Register

0xf8 - Features Register

0xfc - Version Register

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock