Type Definition atsam4s2c_pac::twi1::cr::W[][src]

type W = W<u32, CR>;

Writer for register CR

Implementations

impl W[src]

pub fn start(&mut self) -> START_W<'_>[src]

Bit 0 - Send a START Condition

pub fn stop(&mut self) -> STOP_W<'_>[src]

Bit 1 - Send a STOP Condition

pub fn msen(&mut self) -> MSEN_W<'_>[src]

Bit 2 - TWI Master Mode Enabled

pub fn msdis(&mut self) -> MSDIS_W<'_>[src]

Bit 3 - TWI Master Mode Disabled

pub fn sven(&mut self) -> SVEN_W<'_>[src]

Bit 4 - TWI Slave Mode Enabled

pub fn svdis(&mut self) -> SVDIS_W<'_>[src]

Bit 5 - TWI Slave Mode Disabled

pub fn quick(&mut self) -> QUICK_W<'_>[src]

Bit 6 - SMBUS Quick Command

pub fn swrst(&mut self) -> SWRST_W<'_>[src]

Bit 7 - Software Reset