Type Alias R

Source
pub type R = R<TIMEOUTRrs>;
Expand description

Register TIMEOUTR reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn timeouta(&self) -> TIMEOUTA_R

Bits 0:11 - Bus Timeout A This field is used to configure: The SCL low timeout condition tTIMEOUT when TIDLE=0 tTIMEOUT= (TIMEOUTA+1) x 2048 x tI2CCLK The bus idle condition (both SCL and SDA high) when TIDLE=1 tIDLE= (TIMEOUTA+1) x 4 x tI2CCLK Note: These bits can be written only when TIMOUTEN=0.

Source

pub fn tidle(&self) -> TIDLE_R

Bit 12 - Idle clock timeout detection Note: This bit can be written only when TIMOUTEN=0.

Source

pub fn timouten(&self) -> TIMOUTEN_R

Bit 15 - Clock timeout enable

Source

pub fn timeoutb(&self) -> TIMEOUTB_R

Bits 16:27 - Bus timeout B This field is used to configure the cumulative clock extension timeout: In master mode, the master cumulative clock low extend time (tLOW:MEXT) is detected In slave mode, the slave cumulative clock low extend time (tLOW:SEXT) is detected tLOW:EXT= (TIMEOUTB+1) x 2048 x tI2CCLK Note: These bits can be written only when TEXTEN=0.

Source

pub fn texten(&self) -> TEXTEN_R

Bit 31 - Extended clock timeout enable

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more