nxp-pac

Crates

git

Versions

mcxa256

Flavors

Lpi2c

Struct Lpi2c 

Source
pub struct Lpi2c { /* private fields */ }
Expand description

Low-Power Inter-Integrated Circuit

Implementations§

Source§

impl Lpi2c

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn verid(self) -> Reg<Verid, R>

Version ID

Source

pub const fn param(self) -> Reg<Param, R>

Parameter

Source

pub const fn mcr(self) -> Reg<Mcr, RW>

Controller Control

Source

pub const fn msr(self) -> Reg<Msr, RW>

Controller Status

Source

pub const fn mier(self) -> Reg<Mier, RW>

Controller Interrupt Enable

Source

pub const fn mder(self) -> Reg<Mder, RW>

Controller DMA Enable

Source

pub const fn mcfgr0(self) -> Reg<Mcfgr0, RW>

Controller Configuration 0

Source

pub const fn mcfgr1(self) -> Reg<Mcfgr1, RW>

Controller Configuration 1

Source

pub const fn mcfgr2(self) -> Reg<Mcfgr2, RW>

Controller Configuration 2

Source

pub const fn mcfgr3(self) -> Reg<Mcfgr3, RW>

Controller Configuration 3

Source

pub const fn mdmr(self) -> Reg<Mdmr, RW>

Controller Data Match

Source

pub const fn mccr0(self) -> Reg<Mccr0, RW>

Controller Clock Configuration 0

Source

pub const fn mccr1(self) -> Reg<Mccr1, RW>

Controller Clock Configuration 1

Source

pub const fn mfcr(self) -> Reg<Mfcr, RW>

Controller FIFO Control

Source

pub const fn mfsr(self) -> Reg<Mfsr, R>

Controller FIFO Status

Source

pub const fn mtdr(self) -> Reg<Mtdr, W>

Controller Transmit Data

Source

pub const fn mrdr(self) -> Reg<Mrdr, R>

Controller Receive Data

Source

pub const fn mrdror(self) -> Reg<Mrdror, R>

Controller Receive Data Read Only

Source

pub const fn scr(self) -> Reg<Scr, RW>

Target Control

Source

pub const fn ssr(self) -> Reg<Ssr, RW>

Target Status

Source

pub const fn sier(self) -> Reg<Sier, RW>

Target Interrupt Enable

Source

pub const fn sder(self) -> Reg<Sder, RW>

Target DMA Enable

Source

pub const fn scfgr0(self) -> Reg<Scfgr0, RW>

Target Configuration 0

Source

pub const fn scfgr1(self) -> Reg<Scfgr1, RW>

Target Configuration 1

Source

pub const fn scfgr2(self) -> Reg<Scfgr2, RW>

Target Configuration 2

Source

pub const fn samr(self) -> Reg<Samr, RW>

Target Address Match

Source

pub const fn sasr(self) -> Reg<Sasr, R>

Target Address Status

Source

pub const fn star(self) -> Reg<Star, RW>

Target Transmit ACK

Source

pub const fn stdr(self) -> Reg<Stdr, W>

Target Transmit Data

Source

pub const fn srdr(self) -> Reg<Srdr, R>

Target Receive Data

Source

pub const fn srdror(self) -> Reg<Srdror, R>

Target Receive Data Read Only

Trait Implementations§

Source§

impl Clone for Lpi2c

Source§

fn clone(&self) -> Lpi2c

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Lpi2c

Source§

fn eq(&self, other: &Lpi2c) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Lpi2c

Source§

impl Eq for Lpi2c

Source§

impl Send for Lpi2c

Source§

impl StructuralPartialEq for Lpi2c

Source§

impl Sync for Lpi2c

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.