nxp-pac

Crates

git

Versions

mimxrt1011

Flavors

Lpi2c

Struct Lpi2c 

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

LPI2C

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>

Master Control

Source

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

Master Status

Source

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

Master Interrupt Enable

Source

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

Master DMA Enable

Source

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

Master Configuration 0

Source

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

Master Configuration 1

Source

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

Master Configuration 2

Source

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

Master Configuration 3

Source

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

Master Data Match

Source

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

Master Clock Configuration 0

Source

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

Master Clock Configuration 1

Source

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

Master FIFO Control

Source

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

Master FIFO Status

Source

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

Master Transmit Data

Source

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

Master Receive Data

Source

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

Slave Control

Source

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

Slave Status

Source

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

Slave Interrupt Enable

Source

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

Slave DMA Enable

Source

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

Slave Configuration 1

Source

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

Slave Configuration 2

Source

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

Slave Address Match

Source

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

Slave Address Status

Source

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

Slave Transmit ACK

Source

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

Slave Transmit Data

Source

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

Slave Receive Data

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.