Struct stm32f1xx_hal::pac::afio::mapr::R

source ·
pub struct R(_);
Expand description

Register MAPR reader

Implementations§

Bit 0 - SPI1 remapping

Bit 1 - I2C1 remapping

Bit 2 - USART1 remapping

Bit 3 - USART2 remapping

Bits 4:5 - USART3 remapping

Bits 6:7 - TIM1 remapping

Bits 8:9 - TIM2 remapping

Bits 10:11 - TIM3 remapping

Bit 12 - TIM4 remapping

Bits 13:14 - CAN1 remapping

Bit 15 - Port D0/Port D1 mapping on OSCIN/OSCOUT

Bit 16 - Set and cleared by software

Bit 17 - ADC 1 External trigger injected conversion remapping

Bit 18 - ADC 1 external trigger regular conversion remapping

Bit 19 - ADC 2 external trigger injected conversion remapping

Bit 20 - ADC 2 external trigger regular conversion remapping

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

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.