Type Alias rp2040_pac::i2c0::ic_ack_general_call::W

source ·
pub type W = W<IC_ACK_GENERAL_CALL_SPEC>;
Expand description

Register IC_ACK_GENERAL_CALL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ack_gen_call(&mut self) -> ACK_GEN_CALL_W<'_, IC_ACK_GENERAL_CALL_SPEC>

Bit 0 - ACK General Call. When set to 1, DW_apb_i2c responds with a ACK (by asserting ic_data_oe) when it receives a General Call. Otherwise, DW_apb_i2c responds with a NACK (by negating ic_data_oe).

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual