Type Definition atsame70q20_pac::twihs0::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 - TWIHS Master Mode Enabled

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

Bit 3 - TWIHS Master Mode Disabled

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

Bit 4 - TWIHS Slave Mode Enabled

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

Bit 5 - TWIHS 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

pub fn hsen(&mut self) -> HSEN_W<'_>[src]

Bit 8 - TWIHS High-Speed Mode Enabled

pub fn hsdis(&mut self) -> HSDIS_W<'_>[src]

Bit 9 - TWIHS High-Speed Mode Disabled

pub fn smben(&mut self) -> SMBEN_W<'_>[src]

Bit 10 - SMBus Mode Enabled

pub fn smbdis(&mut self) -> SMBDIS_W<'_>[src]

Bit 11 - SMBus Mode Disabled

pub fn pecen(&mut self) -> PECEN_W<'_>[src]

Bit 12 - Packet Error Checking Enable

pub fn pecdis(&mut self) -> PECDIS_W<'_>[src]

Bit 13 - Packet Error Checking Disable

pub fn pecrq(&mut self) -> PECRQ_W<'_>[src]

Bit 14 - PEC Request

pub fn clear(&mut self) -> CLEAR_W<'_>[src]

Bit 15 - Bus CLEAR Command

pub fn acmen(&mut self) -> ACMEN_W<'_>[src]

Bit 16 - Alternative Command Mode Enable

pub fn acmdis(&mut self) -> ACMDIS_W<'_>[src]

Bit 17 - Alternative Command Mode Disable

pub fn thrclr(&mut self) -> THRCLR_W<'_>[src]

Bit 24 - Transmit Holding Register Clear

pub fn lockclr(&mut self) -> LOCKCLR_W<'_>[src]

Bit 26 - Lock Clear

pub fn fifoen(&mut self) -> FIFOEN_W<'_>[src]

Bit 28 - FIFO Enable

pub fn fifodis(&mut self) -> FIFODIS_W<'_>[src]

Bit 29 - FIFO Disable