[][src]Struct lpc55s6x_pac::i2c0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub cfg: CFG, pub stat: STAT, pub intenset: INTENSET, pub intenclr: INTENCLR, pub timeout: TIMEOUT, pub clkdiv: CLKDIV, pub intstat: INTSTAT, pub mstctl: MSTCTL, pub msttime: MSTTIME, pub mstdat: MSTDAT, pub slvctl: SLVCTL, pub slvdat: SLVDAT, pub slvadr: [SLVADR; 4], pub slvqual0: SLVQUAL0, pub monrxdat: MONRXDAT, pub id: ID, // some fields omitted }

Register block

Fields

cfg: CFG

0x800 - Configuration for shared functions.

stat: STAT

0x804 - Status register for Master, Slave, and Monitor functions.

intenset: INTENSET

0x808 - Interrupt Enable Set and read register.

intenclr: INTENCLR

0x80c - Interrupt Enable Clear register.

timeout: TIMEOUT

0x810 - Time-out value register.

clkdiv: CLKDIV

0x814 - Clock pre-divider for the entire I2C interface. This determines what time increments are used for the MSTTIME register, and controls some timing of the Slave function.

intstat: INTSTAT

0x818 - Interrupt Status register for Master, Slave, and Monitor functions.

mstctl: MSTCTL

0x820 - Master control register.

msttime: MSTTIME

0x824 - Master timing configuration.

mstdat: MSTDAT

0x828 - Combined Master receiver and transmitter data register.

slvctl: SLVCTL

0x840 - Slave control register.

slvdat: SLVDAT

0x844 - Combined Slave receiver and transmitter data register.

slvadr: [SLVADR; 4]

0x848 - Slave address register.

slvqual0: SLVQUAL0

0x858 - Slave Qualification for address 0.

monrxdat: MONRXDAT

0x880 - Monitor receiver data register.

id: ID

0xffc - Peripheral identification register.

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Output = T

Should always be Self