Type Alias R

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

Register CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn sda_force_out(&self) -> SDA_FORCE_OUT_R

Bit 0 - SDA is push-pull (1) or open-drain (0)

Source

pub fn scl_force_out(&self) -> SCL_FORCE_OUT_R

Bit 1 - SCL is push-pull (1) or open-drain (0)

Source

pub fn ms_mode(&self) -> MS_MODE_R

Bit 4 - Master (1) or slave (0)

Source

pub fn trans_start(&self) -> TRANS_START_R

Bit 5 - Force to generate start condition

Source

pub fn tx_lsb_first(&self) -> TX_LSB_FIRST_R

Bit 6 - Send LSB first

Source

pub fn rx_lsb_first(&self) -> RX_LSB_FIRST_R

Bit 7 - Receive LSB first