Struct stm32f1xx_hal::afio::MAPR

source ·
pub struct MAPR { /* private fields */ }
Expand description

AF remap and debug I/O configuration register (MAPR)

Aquired through the Parts struct.

let dp = pac::Peripherals::take().unwrap();
let mut rcc = dp.RCC.constrain();
let mut afio = dp.AFIO.constrain();
function_using_mapr(&mut afio.mapr);

Implementations§

Disables the JTAG to free up pa15, pb3 and pb4 for normal use

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.