Struct esp32c3::timg0::t::T

source ·
#[repr(C)]
pub struct T { /* private fields */ }
Expand description

Cluster T%s, containing T?CONFIG, T?LO, T?HI, T?UPDATE, T?ALARMLO, T?ALARMHI, T?LOADLO, T?LOADHI, T?LOAD

Implementations§

source§

impl T

source

pub const fn config(&self) -> &CONFIG

0x00 - TIMG_T0CONFIG_REG.

source

pub const fn lo(&self) -> &LO

0x04 - TIMG_T0LO_REG.

source

pub const fn hi(&self) -> &HI

0x08 - TIMG_T0HI_REG.

source

pub const fn update(&self) -> &UPDATE

0x0c - TIMG_T0UPDATE_REG.

source

pub const fn alarmlo(&self) -> &ALARMLO

0x10 - TIMG_T0ALARMLO_REG.

source

pub const fn alarmhi(&self) -> &ALARMHI

0x14 - TIMG_T0ALARMHI_REG.

source

pub const fn loadlo(&self) -> &LOADLO

0x18 - TIMG_T0LOADLO_REG.

source

pub const fn loadhi(&self) -> &LOADHI

0x1c - TIMG_T0LOADHI_REG.

source

pub const fn load(&self) -> &LOAD

0x20 - TIMG_T0LOAD_REG.

Auto Trait Implementations§

§

impl !Freeze for T

§

impl !RefUnwindSafe for T

§

impl Send for T

§

impl !Sync for T

§

impl Unpin for T

§

impl UnwindSafe for T

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.