stm32-metapac

Crates

git

Versions

stm32u375ce

Flavors

Ahb2slpenr1

Struct Ahb2slpenr1 

#[repr(transparent)]
pub struct Ahb2slpenr1(pub u32);
Expand description

RCC AHB2 peripheral clock enable in Sleep mode register 1.

Tuple Fields§

§0: u32

Implementations§

§

impl Ahb2slpenr1

pub const fn gpioaslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = E to A).

pub fn set_gpioaslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = E to A).

pub const fn gpiobslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = E to A).

pub fn set_gpiobslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = E to A).

pub const fn gpiocslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = E to A).

pub fn set_gpiocslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = E to A).

pub const fn gpiodslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = E to A).

pub fn set_gpiodslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = E to A).

pub const fn gpioeslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = E to A).

pub fn set_gpioeslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = E to A).

pub const fn gpiogslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = H to G).

pub fn set_gpiogslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = H to G).

pub const fn gpiohslpen(&self) -> bool

I/O port i clock enable during Sleep mode (i = H to G).

pub fn set_gpiohslpen(&mut self, val: bool)

I/O port i clock enable during Sleep mode (i = H to G).

pub const fn adc12slpen(&self) -> bool

ADC12 clock enable during Sleep mode.

pub fn set_adc12slpen(&mut self, val: bool)

ADC12 clock enable during Sleep mode.

pub const fn dac1slpen(&self) -> bool

DAC1 clock enable during Sleep mode.

pub fn set_dac1slpen(&mut self, val: bool)

DAC1 clock enable during Sleep mode.

pub const fn aesslpen(&self) -> bool

AES clock enable during Sleep mode.

pub fn set_aesslpen(&mut self, val: bool)

AES clock enable during Sleep mode.

pub const fn hashslpen(&self) -> bool

HASH clock enable during Sleep mode.

pub fn set_hashslpen(&mut self, val: bool)

HASH clock enable during Sleep mode.

pub const fn rngslpen(&self) -> bool

RNG clock enable during Sleep mode.

pub fn set_rngslpen(&mut self, val: bool)

RNG clock enable during Sleep mode.

pub const fn pkaslpen(&self) -> bool

PKA clock enable during Sleep mode.

pub fn set_pkaslpen(&mut self, val: bool)

PKA clock enable during Sleep mode.

pub const fn saesslpen(&self) -> bool

SAES accelerator clock enable during Sleep mode.

pub fn set_saesslpen(&mut self, val: bool)

SAES accelerator clock enable during Sleep mode.

pub const fn ccbslpen(&self) -> bool

CCB accelerator clock enable during Sleep mode.

pub fn set_ccbslpen(&mut self, val: bool)

CCB accelerator clock enable during Sleep mode.

pub const fn sdmmc1slpen(&self) -> bool

SDMMC1 clock enable during Sleep mode.

pub fn set_sdmmc1slpen(&mut self, val: bool)

SDMMC1 clock enable during Sleep mode.

pub const fn sram2slpen(&self) -> bool

SRAM2 clock enable during Sleep mode.

pub fn set_sram2slpen(&mut self, val: bool)

SRAM2 clock enable during Sleep mode.

Trait Implementations§

§

impl Clone for Ahb2slpenr1

§

fn clone(&self) -> Ahb2slpenr1

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Ahb2slpenr1

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for Ahb2slpenr1

§

fn default() -> Ahb2slpenr1

Returns the “default value” for a type. Read more
§

impl PartialEq for Ahb2slpenr1

§

fn eq(&self, other: &Ahb2slpenr1) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Ahb2slpenr1

§

impl Eq for Ahb2slpenr1

§

impl StructuralPartialEq for Ahb2slpenr1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.