Struct stm32l4x6::rcc::APB1SMENR2
[−]
[src]
pub struct APB1SMENR2 { /* fields omitted */ }
APB1 peripheral clocks enable in Sleep and Stop modes register 2
Methods
impl APB1SMENR2
[src]
pub fn modify<F>(&self, f: F) where
F: FnOnce(&R, &'w mut W) -> &'w mut W,
[src]
F: FnOnce(&R, &'w mut W) -> &'w mut W,
Modifies the contents of the register
pub fn read(&self) -> R
[src]
Reads the contents of the register
pub fn write<F>(&self, f: F) where
F: FnOnce(&mut W) -> &mut W,
[src]
F: FnOnce(&mut W) -> &mut W,
Writes to the register
pub fn reset(&self)
[src]
Writes the reset value to the register