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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn ins(&self) -> &Ins

0x00 - Input Selector Configuration

source

pub const fn cmc(&self) -> &Cmc

0x04 - Connection Matrix Control

source

pub const fn tcst(&self) -> &Tcst

0x08 - Slice Timer Status

source

pub const fn tcset(&self) -> &Tcset

0x0c - Slice Timer Run Set

source

pub const fn tcclr(&self) -> &Tcclr

0x10 - Slice Timer Clear

source

pub const fn tc(&self) -> &Tc

0x14 - Slice Timer Control

source

pub const fn psl(&self) -> &Psl

0x18 - Passive Level Config

source

pub const fn dit(&self) -> &Dit

0x1c - Dither Config

source

pub const fn dits(&self) -> &Dits

0x20 - Dither Shadow Register

source

pub const fn psc(&self) -> &Psc

0x24 - Prescaler Control

source

pub const fn fpc(&self) -> &Fpc

0x28 - Floating Prescaler Control

source

pub const fn fpcs(&self) -> &Fpcs

0x2c - Floating Prescaler Shadow

source

pub const fn pr(&self) -> &Pr

0x30 - Timer Period Value

source

pub const fn prs(&self) -> &Prs

0x34 - Timer Shadow Period Value

source

pub const fn cr(&self) -> &Cr

0x38 - Timer Compare Value

source

pub const fn crs(&self) -> &Crs

0x3c - Timer Shadow Compare Value

source

pub const fn timer(&self) -> &Timer

0x70 - Timer Value

source

pub const fn c0v(&self) -> &C0v

0x74 - Capture Register 0

source

pub const fn c1v(&self) -> &C1v

0x78 - Capture Register 1

source

pub const fn c2v(&self) -> &C2v

0x7c - Capture Register 2

source

pub const fn c3v(&self) -> &C3v

0x80 - Capture Register 3

source

pub const fn ints(&self) -> &Ints

0xa0 - Interrupt Status

source

pub const fn inte(&self) -> &Inte

0xa4 - Interrupt Enable Control

source

pub const fn srs(&self) -> &Srs

0xa8 - Service Request Selector

source

pub const fn sws(&self) -> &Sws

0xac - Interrupt Status Set

source

pub const fn swr(&self) -> &Swr

0xb0 - Interrupt Status Clear

source

pub const fn ecrd0(&self) -> &Ecrd0

0xb8 - Extended Read Back 0

source

pub const fn ecrd1(&self) -> &Ecrd1

0xbc - Extended Read Back 1

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.