Struct xmc4200::ccu80_cc80::RegisterBlock

source ·
#[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 cr1(&self) -> &CR1

0x38 - Channel 1 Compare Value

source

pub const fn cr1s(&self) -> &CR1S

0x3c - Channel 1 Compare Shadow Value

source

pub const fn cr2(&self) -> &CR2

0x40 - Channel 2 Compare Value

source

pub const fn cr2s(&self) -> &CR2S

0x44 - Channel 2 Compare Shadow Value

source

pub const fn chc(&self) -> &CHC

0x48 - Channel Control

source

pub const fn dtc(&self) -> &DTC

0x4c - Dead Time Control

source

pub const fn dc1r(&self) -> &DC1R

0x50 - Channel 1 Dead Time Values

source

pub const fn dc2r(&self) -> &DC2R

0x54 - Channel 2 Dead Time Values

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 stc(&self) -> &STC

0xb4 - Shadow transfer control

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.