RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
    pub agt: AGT,
    pub agtcma: AGTCMA,
    pub agtcmb: AGTCMB,
    pub agtcr: AGTCR,
    pub agtmr1: AGTMR1,
    pub agtmr2: AGTMR2,
    pub agtioc: AGTIOC,
    pub agtisr: AGTISR,
    pub agtcmsr: AGTCMSR,
    pub agtiosel: AGTIOSEL,
    /* private fields */
}
Expand description

Register block

Fields§

§agt: AGT

0x00 - AGT Counter Register

§agtcma: AGTCMA

0x02 - AGT Compare Match A Register

§agtcmb: AGTCMB

0x04 - AGT Compare Match B Register

§agtcr: AGTCR

0x08 - AGT Control Register

§agtmr1: AGTMR1

0x09 - AGT Mode Register 1

§agtmr2: AGTMR2

0x0a - AGT Mode Register 2

§agtioc: AGTIOC

0x0c - AGT I/O Control Register

§agtisr: AGTISR

0x0d - AGT Event Pin Select Register

§agtcmsr: AGTCMSR

0x0e - AGT Compare Match Function Select Register

§agtiosel: AGTIOSEL

0x0f - AGT Pin Select 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.