Struct R

Source
pub struct R(/* private fields */);
Expand description

Register CFGR1 reader

Implementations§

Source§

impl R

Source

pub fn mem_mode(&self) -> MEM_MODE_R

Bits 0:1 - Memory mapping selection bits

Source

pub fn adc_dma_rmp(&self) -> ADC_DMA_RMP_R

Bit 8 - ADC DMA remapping bit

Source

pub fn usart1_tx_dma_rmp(&self) -> USART1_TX_DMA_RMP_R

Bit 9 - USART1_TX DMA remapping bit

Source

pub fn usart1_rx_dma_rmp(&self) -> USART1_RX_DMA_RMP_R

Bit 10 - USART1_RX DMA request remapping bit

Source

pub fn tim16_dma_rmp(&self) -> TIM16_DMA_RMP_R

Bit 11 - TIM16 DMA request remapping bit

Source

pub fn tim17_dma_rmp(&self) -> TIM17_DMA_RMP_R

Bit 12 - TIM17 DMA request remapping bit

Source

pub fn i2c_pb6_fmp(&self) -> I2C_PB6_FMP_R

Bit 16 - Fast Mode Plus (FM plus) driving capability activation bits.

Source

pub fn i2c_pb7_fmp(&self) -> I2C_PB7_FMP_R

Bit 17 - Fast Mode Plus (FM+) driving capability activation bits.

Source

pub fn i2c_pb8_fmp(&self) -> I2C_PB8_FMP_R

Bit 18 - Fast Mode Plus (FM+) driving capability activation bits.

Source

pub fn i2c_pb9_fmp(&self) -> I2C_PB9_FMP_R

Bit 19 - Fast Mode Plus (FM+) driving capability activation bits.

Source

pub fn i2c1_fmp(&self) -> I2C1_FMP_R

Bit 20 - FM+ driving capability activation for I2C1

Source

pub fn i2c2_fmp(&self) -> I2C2_FMP_R

Bit 21 - FM+ driving capability activation for I2C2

Source

pub fn spi2_dma_rmp(&self) -> SPI2_DMA_RMP_R

Bit 24 - SPI2 DMA request remapping bit

Source

pub fn usart2_dma_rmp(&self) -> USART2_DMA_RMP_R

Bit 25 - USART2 DMA request remapping bit

Source

pub fn usart3_dma_rmp(&self) -> USART3_DMA_RMP_R

Bit 26 - USART3 DMA request remapping bit

Source

pub fn i2c1_dma_rmp(&self) -> I2C1_DMA_RMP_R

Bit 27 - I2C1 DMA request remapping bit

Source

pub fn tim1_dma_rmp(&self) -> TIM1_DMA_RMP_R

Bit 28 - TIM1 DMA request remapping bit

Source

pub fn tim2_dma_rmp(&self) -> TIM2_DMA_RMP_R

Bit 29 - TIM2 DMA request remapping bit

Source

pub fn tim3_dma_rmp(&self) -> TIM3_DMA_RMP_R

Bit 30 - TIM3 DMA request remapping bit

Source

pub fn ir_mod(&self) -> IR_MOD_R

Bits 6:7 - IR Modulation Envelope signal selection

Source

pub fn tim16_dma_rmp2(&self) -> TIM16_DMA_RMP2_R

Bit 13 - TIM16 alternate DMA request remapping bit

Source

pub fn tim17_dma_rmp2(&self) -> TIM17_DMA_RMP2_R

Bit 14 - TIM17 alternate DMA request remapping bit

Source

pub fn pa11_pa12_rmp(&self) -> PA11_PA12_RMP_R

Bit 4 - PA11 and PA12 remapping bit for small packages (28 and 20 pins)

Source

pub fn i2c_pa9_fmp(&self) -> I2C_PA9_FMP_R

Bit 22 - Fast Mode Plus (FM+) driving capability activation bits

Source

pub fn i2c_pa10_fmp(&self) -> I2C_PA10_FMP_R

Bit 23 - Fast Mode Plus (FM+) driving capability activation bits

Methods from Deref<Target = R<CFGR1_SPEC>>§

Source

pub fn bits(&self) -> <REG as RegisterSpec>::Ux

Reads raw bits from register.

Trait Implementations§

Source§

impl Deref for R

Source§

type Target = R<CFGR1_SPEC>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<R as Deref>::Target

Dereferences the value.
Source§

impl From<R<CFGR1_SPEC>> for R

Source§

fn from(reader: R<CFGR1_SPEC>) -> R

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for R

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.