Struct RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub cr1: Reg<CR1_SPEC>, pub cr2: Reg<CR2_SPEC>, pub oar1: Reg<OAR1_SPEC>, pub oar2: Reg<OAR2_SPEC>, pub timingr: Reg<TIMINGR_SPEC>, pub timeoutr: Reg<TIMEOUTR_SPEC>, pub isr: Reg<ISR_SPEC>, pub icr: Reg<ICR_SPEC>, pub pecr: Reg<PECR_SPEC>, pub rxdr: Reg<RXDR_SPEC>, pub txdr: Reg<TXDR_SPEC>, }
Expand description

Register block

Fields§

§cr1: Reg<CR1_SPEC>

0x00 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

§cr2: Reg<CR2_SPEC>

0x04 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

§oar1: Reg<OAR1_SPEC>

0x08 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

§oar2: Reg<OAR2_SPEC>

0x0c - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

§timingr: Reg<TIMINGR_SPEC>

0x10 - Access: No wait states

§timeoutr: Reg<TIMEOUTR_SPEC>

0x14 - Access: No wait states, except if a write access occurs while a write access to this register is ongoing. In this case, wait states are inserted in the second write access until the previous one is completed. The latency of the second write access can be up to 2 x PCLK1 + 6 x I2CCLK.

§isr: Reg<ISR_SPEC>

0x18 - Access: No wait states

§icr: Reg<ICR_SPEC>

0x1c - Access: No wait states

§pecr: Reg<PECR_SPEC>

0x20 - Access: No wait states

§rxdr: Reg<RXDR_SPEC>

0x24 - Access: No wait states

§txdr: Reg<TXDR_SPEC>

0x28 - Access: No wait states

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> 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.