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 st2ctl0(&self) -> &St2ctl0

0x00 - SHRTIMER Slave_TIMERx control register 0

Source

pub const fn st2intf(&self) -> &St2intf

0x04 - SHRTIMER Slave_TIMERx interrupt flag register

Source

pub const fn st2intc(&self) -> &St2intc

0x08 - SHRTIMER Slave_TIMERx interrupt flag clear register

Source

pub const fn st2dmainten(&self) -> &St2dmainten

0x0c - SHRTIMER Slave_TIMERx DMA and interrupt enable register

Source

pub const fn st2cnt(&self) -> &St2cnt

0x10 - SHRTIMER Slave_TIMERx counter register

Source

pub const fn st2car(&self) -> &St2car

0x14 - SHRTIMER Slave_TIMER2 counter auto reload register

Source

pub const fn st2crep(&self) -> &St2crep

0x18 - SHRTIMER Slave_TIMER2 counter repetition register

Source

pub const fn st2cmp0v(&self) -> &St2cmp0v

0x1c - SHRTIMER Slave_TIMER2 compare 0 value register

Source

pub const fn st2cmp0cp(&self) -> &St2cmp0cp

0x20 - SHRTIMER Slave_TIMERx compare 0 composite register

Source

pub const fn st2cmp1v(&self) -> &St2cmp1v

0x24 - SHRTIMER Slave_TIMERx compare 1 value register

Source

pub const fn st2cmp2v(&self) -> &St2cmp2v

0x28 - SHRTIMER Slave_TIMERx compare 2 value register

Source

pub const fn st2cmp3v(&self) -> &St2cmp3v

0x2c - SHRTIMER Slave_TIMERx compare 3 value register

Source

pub const fn st2cap0v(&self) -> &St2cap0v

0x30 - SHRTIMER Slave_TIMERx capture 0 value register

Source

pub const fn st2cap1v(&self) -> &St2cap1v

0x34 - SHRTIMER Slave_TIMERx capture 1 value register

Source

pub const fn st2dtctl(&self) -> &St2dtctl

0x38 - SHRTIMER Slave_TIMERx dead-time control register

Source

pub const fn st2ch0set(&self) -> &St2ch0set

0x3c - SHRTIMER Slave_TIMERx channel 0 set request register

Source

pub const fn st2ch0rst(&self) -> &St2ch0rst

0x40 - SHRTIMER Slave_TIMERx channel 0 reset request register

Source

pub const fn st2ch1set(&self) -> &St2ch1set

0x44 - SHRTIMER Slave_TIMERx channel 1 set request register

Source

pub const fn st2ch1rst(&self) -> &St2ch1rst

0x48 - SHRTIMER Slave_TIMERx channel 1 reset request register

Source

pub const fn st2exevfcfg0(&self) -> &St2exevfcfg0

0x4c - SHRTIMER Slave_TIMERx external event filter configuration register 0

Source

pub const fn st2exevfcfg1(&self) -> &St2exevfcfg1

0x50 - SHRTIMER Slave_TIMERx external event filter configuration register 1

Source

pub const fn st2cntrst(&self) -> &St2cntrst

0x54 - SHRTIMER Slave_TIMERx counter reset register

Source

pub const fn st2csctl(&self) -> &St2csctl

0x58 - SHRTIMER Slave_TIMERx carrier-signal control register

Source

pub const fn st2cap0trg(&self) -> &St2cap0trg

0x5c - SHRTIMER Slave_TIMERx capture 0 trigger register

Source

pub const fn st2cap1trg(&self) -> &St2cap1trg

0x60 - SHRTIMER Slave_TIMERx capture 1 trigger register

Source

pub const fn st2choctl(&self) -> &St2choctl

0x64 - SHRTIMER Slave_TIMERx channel output control register

Source

pub const fn st2fltctl(&self) -> &St2fltctl

0x68 - SHRTIMER Slave_TIMERx fault control register

Source

pub const fn st2actl(&self) -> &St2actl

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.