Struct Sr
stm32f303x_memory_map::tim2
pub struct Sr { /* fields omitted */ }
status register
impl Sr
fn modify<F>(&self, f: F) where F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
fn read(&self) -> R
Reads the contents of the register
fn write<F>(&self, f: F) where F: FnOnce(&mut W) -> &mut W,
Writes to the register