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

type W = W<u8, SPCR>;

Writer for register SPCR

Implementations

impl W[src]

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

Bits 0:1 - SPI Clock Rate Selects

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

Bit 2 - Clock Phase

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

Bit 3 - Clock polarity

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

Bit 4 - Master/Slave Select

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

Bit 5 - Data Order

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

Bit 6 - SPI Enable

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

Bit 7 - SPI Interrupt Enable