[−][src]Struct atsams70j20b::twihs0::twihs_sr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn txcomp(&self) -> TXCOMP_R
[src]
Bit 0 - Transmission Completed (cleared by writing TWIHS_THR)
pub fn rxrdy(&self) -> RXRDY_R
[src]
Bit 1 - Receive Holding Register Ready (cleared by reading TWIHS_RHR)
pub fn txrdy(&self) -> TXRDY_R
[src]
Bit 2 - Transmit Holding Register Ready (cleared by writing TWIHS_THR)
pub fn svread(&self) -> SVREAD_R
[src]
Bit 3 - Slave Read
pub fn svacc(&self) -> SVACC_R
[src]
Bit 4 - Slave Access
pub fn gacc(&self) -> GACC_R
[src]
Bit 5 - General Call Access (cleared on read)
pub fn ovre(&self) -> OVRE_R
[src]
Bit 6 - Overrun Error (cleared on read)
pub fn unre(&self) -> UNRE_R
[src]
Bit 7 - Underrun Error (cleared on read)
pub fn nack(&self) -> NACK_R
[src]
Bit 8 - Not Acknowledged (cleared on read)
pub fn arblst(&self) -> ARBLST_R
[src]
Bit 9 - Arbitration Lost (cleared on read)
pub fn sclws(&self) -> SCLWS_R
[src]
Bit 10 - Clock Wait State
pub fn eosacc(&self) -> EOSACC_R
[src]
Bit 11 - End Of Slave Access (cleared on read)
pub fn mcack(&self) -> MCACK_R
[src]
Bit 16 - Master Code Acknowledge (cleared on read)
pub fn tout(&self) -> TOUT_R
[src]
Bit 18 - Timeout Error (cleared on read)
pub fn pecerr(&self) -> PECERR_R
[src]
Bit 19 - PEC Error (cleared on read)
pub fn smbdam(&self) -> SMBDAM_R
[src]
Bit 20 - SMBus Default Address Match (cleared on read)
pub fn smbhhm(&self) -> SMBHHM_R
[src]
Bit 21 - SMBus Host Header Address Match (cleared on read)
pub fn scl(&self) -> SCL_R
[src]
Bit 24 - SCL Line Value
pub fn sda(&self) -> SDA_R
[src]
Bit 25 - SDA Line Value
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self