Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { pub cont: Reg<CONT_SPEC>, pub contclr: Reg<CONTCLR_SPEC>, pub contset: Reg<CONTSET_SPEC>, pub continv: Reg<CONTINV_SPEC>, pub tmr: Reg<TMR_SPEC>, pub tmrclr: Reg<TMRCLR_SPEC>, pub tmrset: Reg<TMRSET_SPEC>, pub tmrinv: Reg<TMRINV_SPEC>, pub pr: Reg<PR_SPEC>, pub prclr: Reg<PRCLR_SPEC>, pub prset: Reg<PRSET_SPEC>, pub prinv: Reg<PRINV_SPEC>, }
Expand description

Register block

Fields§

§cont: Reg<CONT_SPEC>

0x00 - T4CON register

§contclr: Reg<CONTCLR_SPEC>

0x04 - T4CONCLR register

§contset: Reg<CONTSET_SPEC>

0x08 - T4CONSET register

§continv: Reg<CONTINV_SPEC>

0x0c - T4CONINV register

§tmr: Reg<TMR_SPEC>

0x10 - TMR4 register

§tmrclr: Reg<TMRCLR_SPEC>

0x14 - TMR4CLR register

§tmrset: Reg<TMRSET_SPEC>

0x18 - TMR4SET register

§tmrinv: Reg<TMRINV_SPEC>

0x1c - TMR4INV register

§pr: Reg<PR_SPEC>

0x20 - PR4 register

§prclr: Reg<PRCLR_SPEC>

0x24 - PR4CLR register

§prset: Reg<PRSET_SPEC>

0x28 - PR4SET register

§prinv: Reg<PRINV_SPEC>

0x2c - PR4INV register

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

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.