Type Alias rp2040_pac::i2c0::ic_sda_hold::R

source ·
pub type R = R<IC_SDA_HOLD_SPEC>;
Expand description

Register IC_SDA_HOLD reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn ic_sda_tx_hold(&self) -> IC_SDA_TX_HOLD_R

Bits 0:15 - Sets the required SDA hold time in units of ic_clk period, when DW_apb_i2c acts as a transmitter.

Reset value: IC_DEFAULT_SDA_HOLD[15:0].

source

pub fn ic_sda_rx_hold(&self) -> IC_SDA_RX_HOLD_R

Bits 16:23 - Sets the required SDA hold time in units of ic_clk period, when DW_apb_i2c acts as a receiver.

Reset value: IC_DEFAULT_SDA_HOLD[23:16].