Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn st3ctl0(&self) -> &St3ctl0

0x00 - SHRTIMER Slave_TIMERx control register 0

Source

pub const fn st4intf(&self) -> &St4intf

0x04 - SHRTIMER Slave_TIMERx interrupt flag register

Source

pub const fn st4intc(&self) -> &St4intc

0x08 - SHRTIMER Slave_TIMERx interrupt flag clear register

Source

pub const fn st4dmainten(&self) -> &St4dmainten

0x0c - SHRTIMER Slave_TIMERx DMA and interrupt enable register

Source

pub const fn st4cnt(&self) -> &St4cnt

0x10 - SHRTIMER Slave_TIMERx counter register

Source

pub const fn st4car(&self) -> &St4car

0x14 - SHRTIMER Slave_TIMER4 counter auto reload register

Source

pub const fn st4crep(&self) -> &St4crep

0x18 - SHRTIMER Slave_TIMER4 counter repetition register

Source

pub const fn st4cmp0v(&self) -> &St4cmp0v

0x1c - SHRTIMER Slave_TIMER4 compare 0 value register

Source

pub const fn st4cmp0cp(&self) -> &St4cmp0cp

0x20 - SHRTIMER Slave_TIMERx compare 0 composite register

Source

pub const fn st4cmp1v(&self) -> &St4cmp1v

0x24 - SHRTIMER Slave_TIMERx compare 1 value register

Source

pub const fn st4cmp2v(&self) -> &St4cmp2v

0x28 - SHRTIMER Slave_TIMERx compare 2 value register

Source

pub const fn st4cmp3v(&self) -> &St4cmp3v

0x2c - SHRTIMER Slave_TIMERx compare 3 value register

Source

pub const fn st4cap0v(&self) -> &St4cap0v

0x30 - SHRTIMER Slave_TIMERx capture 0 value register

Source

pub const fn st4cap1v(&self) -> &St4cap1v

0x34 - SHRTIMER Slave_TIMERx capture 1 value register

Source

pub const fn st4dtctl(&self) -> &St4dtctl

0x38 - SHRTIMER Slave_TIMERx dead-time control register

Source

pub const fn st4ch0set(&self) -> &St4ch0set

0x3c - SHRTIMER Slave_TIMERx channel 0 set request register

Source

pub const fn st4ch0rst(&self) -> &St4ch0rst

0x40 - SHRTIMER Slave_TIMERx channel 0 reset request register

Source

pub const fn st4ch1set(&self) -> &St4ch1set

0x44 - SHRTIMER Slave_TIMERx channel 1 set request register

Source

pub const fn st4ch1rst(&self) -> &St4ch1rst

0x48 - SHRTIMER Slave_TIMERx channel 1 reset request register

Source

pub const fn st4exevfcfg0(&self) -> &St4exevfcfg0

0x4c - SHRTIMER Slave_TIMERx external event filter configuration register 0

Source

pub const fn st4exevfcfg1(&self) -> &St4exevfcfg1

0x50 - SHRTIMER Slave_TIMERx external event filter configuration register 1

Source

pub const fn st4cntrst(&self) -> &St4cntrst

0x54 - SHRTIMER Slave_TIMERx counter reset register

Source

pub const fn st4csctl(&self) -> &St4csctl

0x58 - SHRTIMER Slave_TIMERx carrier-signal control register

Source

pub const fn st4cap0trg(&self) -> &St4cap0trg

0x5c - SHRTIMER Slave_TIMERx capture 0 trigger register

Source

pub const fn st4cap1trg(&self) -> &St4cap1trg

0x60 - SHRTIMER Slave_TIMERx capture 1 trigger register

Source

pub const fn st4choctl(&self) -> &St4choctl

0x64 - SHRTIMER Slave_TIMERx channel output control register

Source

pub const fn st4fltctl(&self) -> &St4fltctl

0x68 - SHRTIMER Slave_TIMERx fault control register

Source

pub const fn st4actl(&self) -> &St4actl

0x7c - SHRTIMER Slave_TIMERx additional control 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 = !

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.