[][src]Type Definition avr_device::atmega1280::spi::spcr::R

type R = R<u8, SPCR>;

Reader of register SPCR

Implementations

impl R[src]

pub fn spr(&self) -> SPR_R[src]

Bits 0:1 - SPI Clock Rate Selects

pub fn cpha(&self) -> CPHA_R[src]

Bit 2 - Clock Phase

pub fn cpol(&self) -> CPOL_R[src]

Bit 3 - Clock polarity

pub fn mstr(&self) -> MSTR_R[src]

Bit 4 - Master/Slave Select

pub fn dord(&self) -> DORD_R[src]

Bit 5 - Data Order

pub fn spe(&self) -> SPE_R[src]

Bit 6 - SPI Enable

pub fn spie(&self) -> SPIE_R[src]

Bit 7 - SPI Interrupt Enable