stm32-metapac

Crates

git

Versions

stm32u5g9nj

Flavors

Gfxtim

Struct Gfxtim 

pub struct Gfxtim { /* private fields */ }
Expand description

Graphic timer.

Implementations§

§

impl Gfxtim

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

pub const fn as_ptr(&self) -> *mut ()

pub const fn cr(self) -> Reg<Cr, RW>

GFXTIM configuration register.

pub const fn cgcr(self) -> Reg<Cgcr, RW>

GFXTIM clock generator configuration register.

pub const fn tcr(self) -> Reg<Tcr, RW>

GFXTIM timers configuration register.

pub const fn tdr(self) -> Reg<Tdr, RW>

GFXTIM timers disable register.

pub const fn evcr(self) -> Reg<Evcr, RW>

GFXTIM events control register.

pub const fn evsr(self) -> Reg<Evsr, RW>

GFXTIM events selection register.

pub const fn wdgtcr(self) -> Reg<Wdgtcr, RW>

GFXTIM watchdog timer configuration register.

pub const fn isr(self) -> Reg<Isr, RW>

GFXTIM interrupt status register.

pub const fn icr(self) -> Reg<Icr, RW>

GFXTIM interrupt clear register.

pub const fn ier(self) -> Reg<Ier, RW>

GFXTIM interrupt enable register.

pub const fn tsr(self) -> Reg<Tsr, RW>

GFXTIM timers status register.

pub const fn lccrr(self) -> Reg<Lccrr, RW>

GFXTIM line clock counter reload register.

pub const fn fccrr(self) -> Reg<Fccrr, RW>

GFXTIM frame clock counter reload register.

pub const fn atr(self) -> Reg<Atr, RW>

GFXTIM absolute time register.

pub const fn afcr(self) -> Reg<Afcr, RW>

GFXTIM absolute frame counter register.

pub const fn alcr(self) -> Reg<Alcr, RW>

GFXTIM absolute line counter register.

pub const fn afcc1r(self) -> Reg<Afcc1r, RW>

GFXTIM absolute frame counter compare 1 register.

pub const fn alcc1r(self) -> Reg<Alcc1r, RW>

GFXTIM absolute line counter compare 1 register.

pub const fn alcc2r(self) -> Reg<Alcc2r, RW>

GFXTIM absolute line counter compare 2 register.

pub const fn rfc1r(self) -> Reg<Rfc1r, RW>

GFXTIM relative frame counter 1 register.

pub const fn rfc1rr(self) -> Reg<Rfc1rr, RW>

GFXTIM relative frame counter 1 reload register.

pub const fn rfc2r(self) -> Reg<Rfc2r, RW>

GFXTIM relative frame counter 2 register.

pub const fn rfc2rr(self) -> Reg<Rfc2rr, RW>

GFXTIM relative frame counter 2 reload register.

pub const fn wdgcr(self) -> Reg<Wdgcr, RW>

GFXTIM watchdog counter register.

pub const fn wdgrr(self) -> Reg<Wdgrr, RW>

GFXTIM watchdog reload register.

pub const fn wdgpar(self) -> Reg<Wdgpar, RW>

GFXTIM watchdog pre-alarm register.

Trait Implementations§

§

impl Clone for Gfxtim

§

fn clone(&self) -> Gfxtim

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 PartialEq for Gfxtim

§

fn eq(&self, other: &Gfxtim) -> 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 Gfxtim

§

impl Eq for Gfxtim

§

impl Send for Gfxtim

§

impl StructuralPartialEq for Gfxtim

§

impl Sync for Gfxtim

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.