[][src]Type Definition atsame70j20b::twihs0::twihs_cr::W

type W = W<u32, TWIHS_CR>;

Writer for register TWIHS_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