R

Type Alias R 

Source
pub type R = R<SPCR_SPEC>;
Expand description

Register SPCR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn spr(&self) -> SPR_R

Bits 0:1 - SPI Clock Rate Selects

Source

pub fn cpha(&self) -> CPHA_R

Bit 2 - Clock Phase

Source

pub fn cpol(&self) -> CPOL_R

Bit 3 - Clock polarity

Source

pub fn mstr(&self) -> MSTR_R

Bit 4 - Master/Slave Select

Source

pub fn dord(&self) -> DORD_R

Bit 5 - Data Order

Source

pub fn spe(&self) -> SPE_R

Bit 6 - SPI Enable

Source

pub fn spie(&self) -> SPIE_R

Bit 7 - SPI Interrupt Enable