PWR

Type Alias PWR 

Source
pub type PWR = Periph<RegisterBlock, 1073770496>;
Expand description

Power control

See peripheral structure

Aliased Type§

pub struct PWR { /* private fields */ }

Trait Implementations§

Source§

impl Enable for PWR

Source§

fn enable(rcc: &mut RCC)

Enables peripheral
Source§

fn disable(rcc: &mut RCC)

Disables peripheral
Source§

fn is_enabled() -> bool

Check if peripheral enabled
Source§

fn is_disabled() -> bool

Check if peripheral disabled
Source§

unsafe fn enable_unchecked()

Safety Read more
Source§

unsafe fn disable_unchecked()

Safety Read more
Source§

impl LPEnable for PWR

Source§

fn enable_in_low_power(rcc: &mut RCC)

Enables peripheral in low power mode
Source§

fn disable_in_low_power(rcc: &mut RCC)

Disables peripheral in low power mode
Source§

fn is_enabled_in_low_power() -> bool

Check if peripheral enabled in low power mode
Source§

fn is_disabled_in_low_power() -> bool

Check if peripheral disabled in low power mode
Source§

unsafe fn enable_in_low_power_unchecked()

Safety Read more
Source§

unsafe fn disable_in_low_power_unchecked()

Safety Read more
Source§

impl RccBus for PWR

Source§

type Bus = APB1

Bus type;
Source§

impl Reset for PWR

Source§

fn reset(rcc: &mut RCC)

Resets peripheral
Source§

unsafe fn reset_unchecked()

Safety Read more