[][src]Struct stm32f1xx_hal::afio::MAPR

pub struct MAPR { /* fields omitted */ }

Methods

impl MAPR[src]

pub fn modify_mapr<F>(&mut self, mod_fn: F) where
    F: for<'w> FnOnce(&R, &'w mut W) -> &'w mut W
[src]

pub fn disable_jtag(
    &mut self,
    pa15: PA15<Debugger>,
    pb3: PB3<Debugger>,
    pb4: PB4<Debugger>
) -> (PA15<Input<Floating>>, PB3<Input<Floating>>, PB4<Input<Floating>>)
[src]

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

Auto Trait Implementations

impl Send for MAPR

impl Sync for MAPR

impl Unpin for MAPR

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.