Struct rp2040_pac2::i2c::regs::IcAckGeneralCall[][src]

#[repr(transparent)]pub struct IcAckGeneralCall(pub u32);

I2C ACK General Call Register The register controls whether DW_apb_i2c responds with a ACK or NACK when it receives an I2C General Call address. This register is applicable only when the DW_apb_i2c is in slave mode.

Implementations

impl IcAckGeneralCall[src]

pub const fn ack_gen_call(&self) -> bool[src]

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).

pub fn set_ack_gen_call(&mut self, val: bool)[src]

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).

Trait Implementations

impl Clone for IcAckGeneralCall[src]

impl Copy for IcAckGeneralCall[src]

impl Default for IcAckGeneralCall[src]

Auto Trait Implementations

impl Send for IcAckGeneralCall

impl Sync for IcAckGeneralCall

impl Unpin for IcAckGeneralCall

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.