Struct stm32f1::stm32f103::afio::MAPR2 [−][src]
pub struct MAPR2 { /* fields omitted */ }AF remap and debug I/O configuration register
Methods
impl MAPR2[src]
impl MAPR2pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W, [src]
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W, Modifies the contents of the register
pub fn read(&self) -> R[src]
pub fn read(&self) -> RReads the contents of the register
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W, [src]
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W, Writes to the register
pub fn reset(&self)[src]
pub fn reset(&self)Writes the reset value to the register