pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn mem_mode(&self) -> MEM_MODER

Bits 0:1 - Memory mapping selection bits

Source

pub fn adc_dma_rmp(&self) -> ADC_DMA_RMPR

Bit 8 - ADC DMA remapping bit

Source

pub fn usart1_tx_dma_rmp(&self) -> USART1_TX_DMA_RMPR

Bit 9 - USART1_TX DMA remapping bit

Source

pub fn usart1_rx_dma_rmp(&self) -> USART1_RX_DMA_RMPR

Bit 10 - USART1_RX DMA request remapping bit

Source

pub fn tim16_dma_rmp(&self) -> TIM16_DMA_RMPR

Bit 11 - TIM16 DMA request remapping bit

Source

pub fn tim17_dma_rmp(&self) -> TIM17_DMA_RMPR

Bit 12 - TIM17 DMA request remapping bit

Source

pub fn i2c_pb6_fm(&self) -> I2C_PB6_FMR

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

Source

pub fn i2c_pb7_fm(&self) -> I2C_PB7_FMR

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

Source

pub fn i2c_pb8_fm(&self) -> I2C_PB8_FMR

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

Source

pub fn i2c_pb9_fm(&self) -> I2C_PB9_FMR

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

Source

pub fn i2c1_fm_plus(&self) -> I2C1_FM_PLUSR

Bit 20 - FM+ driving capability activation for I2C1

Source

pub fn i2c2_fm_plus(&self) -> I2C2_FM_PLUSR

Bit 21 - FM+ driving capability activation for I2C2

Source

pub fn spi2_dma_rmp(&self) -> SPI2_DMA_RMPR

Bit 24 - SPI2 DMA request remapping bit

Source

pub fn usart2_dma_rmp(&self) -> USART2_DMA_RMPR

Bit 25 - USART2 DMA request remapping bit

Source

pub fn usart3_dma_rmp(&self) -> USART3_DMA_RMPR

Bit 26 - USART3 DMA request remapping bit

Source

pub fn i2c1_dma_rmp(&self) -> I2C1_DMA_RMPR

Bit 27 - I2C1 DMA request remapping bit

Source

pub fn tim1_dma_rmp(&self) -> TIM1_DMA_RMPR

Bit 28 - TIM1 DMA request remapping bit

Source

pub fn tim2_dma_rmp(&self) -> TIM2_DMA_RMPR

Bit 29 - TIM2 DMA request remapping bit

Source

pub fn tim3_dma_rmp(&self) -> TIM3_DMA_RMPR

Bit 30 - TIM3 DMA request remapping bit

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<T> Same for T

Source§

type Output = T

Should always be Self
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.