stm32-metapac

Crates

git

Versions

stm32h7s7l8

Flavors

๐Ÿ“ฃ We want to hear from you! Fill the Rust Embedded 2024 micro-survey.
#[repr(transparent)]
pub struct Ahb4rstr(pub u32);
Expand description

RCC AHB4 peripheral reset register.

Tuple Fieldsยง

ยง0: u32

Implementationsยง

ยง

impl Ahb4rstr

pub const fn gpioarst(&self) -> bool

GPIOA block reset Set and reset by software.

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

GPIOA block reset Set and reset by software.

pub const fn gpiobrst(&self) -> bool

GPIOB block reset Set and reset by software.

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

GPIOB block reset Set and reset by software.

pub const fn gpiocrst(&self) -> bool

GPIOC block reset Set and reset by software.

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

GPIOC block reset Set and reset by software.

pub const fn gpiodrst(&self) -> bool

GPIOD block reset Set and reset by software.

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

GPIOD block reset Set and reset by software.

pub const fn gpioerst(&self) -> bool

GPIOE block reset Set and reset by software.

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

GPIOE block reset Set and reset by software.

pub const fn gpiofrst(&self) -> bool

GPIOF block reset Set and reset by software.

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

GPIOF block reset Set and reset by software.

pub const fn gpiogrst(&self) -> bool

GPIOG block reset Set and reset by software.

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

GPIOG block reset Set and reset by software.

pub const fn gpiohrst(&self) -> bool

GPIOH block reset Set and reset by software.

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

GPIOH block reset Set and reset by software.

pub const fn gpiomrst(&self) -> bool

GPIOM block reset Set and reset by software.

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

GPIOM block reset Set and reset by software.

pub const fn gpionrst(&self) -> bool

GPION block reset Set and reset by software.

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

GPION block reset Set and reset by software.

pub const fn gpioorst(&self) -> bool

GPIOO block reset Set and reset by software.

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

GPIOO block reset Set and reset by software.

pub const fn gpioprst(&self) -> bool

GPIOP block reset Set and reset by software.

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

GPIOP block reset Set and reset by software.

pub const fn crcrst(&self) -> bool

CRC block reset Set and reset by software.

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

CRC block reset Set and reset by software.

Trait Implementationsยง

ยง

impl Clone for Ahb4rstr

ยง

fn clone(&self) -> Ahb4rstr

Returns a copy of the value. Read more
1.0.0 ยท sourceยง

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

Performs copy-assignment from source. Read more
ยง

impl Default for Ahb4rstr

ยง

fn default() -> Ahb4rstr

Returns the โ€œdefault valueโ€ for a type. Read more
ยง

impl PartialEq for Ahb4rstr

ยง

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 ยท sourceยง

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
ยง

impl Copy for Ahb4rstr

ยง

impl Eq for Ahb4rstr

ยง

impl StructuralEq for Ahb4rstr

ยง

impl StructuralPartialEq for Ahb4rstr

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> 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>,

ยง

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>,

ยง

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.