Struct atsam4lc4c::twis0::cr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn sen(&mut self) -> _SENW
[src]
Bit 0 - Slave Enable
pub fn smen(&mut self) -> _SMENW
[src]
Bit 1 - SMBus Mode Enable
pub fn smatch(&mut self) -> _SMATCHW
[src]
Bit 2 - Slave Address Match
pub fn gcmatch(&mut self) -> _GCMATCHW
[src]
Bit 3 - General Call Address Match
pub fn stren(&mut self) -> _STRENW
[src]
Bit 4 - Clock Stretch Enable
pub fn swrst(&mut self) -> _SWRSTW
[src]
Bit 7 - Software Reset
pub fn smbalert(&mut self) -> _SMBALERTW
[src]
Bit 8 - SMBus Alert
pub fn smda(&mut self) -> _SMDAW
[src]
Bit 9 - SMBus Default Address
pub fn smhh(&mut self) -> _SMHHW
[src]
Bit 10 - SMBus Host Header
pub fn pecen(&mut self) -> _PECENW
[src]
Bit 11 - Packet Error Checking Enable
pub fn ack(&mut self) -> _ACKW
[src]
Bit 12 - Slave Receiver Data Phase ACK Value
pub fn cup(&mut self) -> _CUPW
[src]
Bit 13 - NBYTES Count Up
pub fn soam(&mut self) -> _SOAMW
[src]
Bit 14 - Stretch Clock on Address Match
pub fn sodr(&mut self) -> _SODRW
[src]
Bit 15 - Stretch Clock on Data Byte Reception
pub fn adr(&mut self) -> _ADRW
[src]
Bits 16:25 - Slave Address
pub fn tenbit(&mut self) -> _TENBITW
[src]
Bit 26 - Ten Bit Address Match
pub fn bridge(&mut self) -> _BRIDGEW
[src]
Bit 27 - Bridge Control Enable