Struct mk20d7::i2c1::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { pub a1: A1, pub f: F, pub c1: C1, pub s: S, pub d: D, pub c2: C2, pub flt: FLT, pub ra: RA, pub smb: SMB, pub a2: A2, pub slth: SLTH, pub sltl: SLTL, }
Expand description

Register block

Fields§

§a1: A1

0x00 - I2C Address Register 1

§f: F

0x01 - I2C Frequency Divider register

§c1: C1

0x02 - I2C Control Register 1

§s: S

0x03 - I2C Status Register

§d: D

0x04 - I2C Data I/O register

§c2: C2

0x05 - I2C Control Register 2

§flt: FLT

0x06 - I2C Programmable Input Glitch Filter register

§ra: RA

0x07 - I2C Range Address register

§smb: SMB

0x08 - I2C SMBus Control and Status register

§a2: A2

0x09 - I2C Address Register 2

§slth: SLTH

0x0a - I2C SCL Low Timeout Register High

§sltl: SLTL

0x0b - I2C SCL Low Timeout Register Low

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.