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

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

Component Parameter Register 1 Note This register is not implemented and therefore reads as 0. If it was implemented it would be a constant read-only register that contains encoded information about the component’s parameter settings. Fields shown below are the settings for those parameters

Implementations

impl IcCompParam1[src]

pub const fn tx_buffer_depth(&self) -> u8[src]

TX Buffer Depth = 16

pub fn set_tx_buffer_depth(&mut self, val: u8)[src]

TX Buffer Depth = 16

pub const fn rx_buffer_depth(&self) -> u8[src]

RX Buffer Depth = 16

pub fn set_rx_buffer_depth(&mut self, val: u8)[src]

RX Buffer Depth = 16

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

Encoded parameters not visible

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

Encoded parameters not visible

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

DMA handshaking signals are enabled

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

DMA handshaking signals are enabled

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

COMBINED Interrupt outputs

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

COMBINED Interrupt outputs

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

Programmable count values for each mode.

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

Programmable count values for each mode.

pub const fn max_speed_mode(&self) -> u8[src]

MAX SPEED MODE = FAST MODE

pub fn set_max_speed_mode(&mut self, val: u8)[src]

MAX SPEED MODE = FAST MODE

pub const fn apb_data_width(&self) -> u8[src]

APB data bus width is 32 bits

pub fn set_apb_data_width(&mut self, val: u8)[src]

APB data bus width is 32 bits

Trait Implementations

impl Clone for IcCompParam1[src]

impl Copy for IcCompParam1[src]

impl Default for IcCompParam1[src]

Auto Trait Implementations

impl Send for IcCompParam1

impl Sync for IcCompParam1

impl Unpin for IcCompParam1

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.