pub struct SlaveTimer3 { /* private fields */ }Expand description
SHRTIMER Slave TIMER3 registers(
Implementations§
Source§impl SlaveTimer3
impl SlaveTimer3
Sourcepub const PTR: *const RegisterBlock
pub const PTR: *const RegisterBlock
Pointer to the register block
Sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn st3dmainten(&self) -> &St3dmainten
pub fn st3dmainten(&self) -> &St3dmainten
0x0c - SHRTIMER Slave_TIMERx DMA and interrupt enable register
Sourcepub fn st3cmp0cp(&self) -> &St3cmp0cp
pub fn st3cmp0cp(&self) -> &St3cmp0cp
0x20 - SHRTIMER Slave_TIMERx compare 0 composite register
Sourcepub fn st3ch0set(&self) -> &St3ch0set
pub fn st3ch0set(&self) -> &St3ch0set
0x3c - SHRTIMER Slave_TIMERx channel 0 set request register
Sourcepub fn st3ch0rst(&self) -> &St3ch0rst
pub fn st3ch0rst(&self) -> &St3ch0rst
0x40 - SHRTIMER Slave_TIMERx channel 0 reset request register
Sourcepub fn st3ch1set(&self) -> &St3ch1set
pub fn st3ch1set(&self) -> &St3ch1set
0x44 - SHRTIMER Slave_TIMERx channel 1 set request register
Sourcepub fn st3ch1rst(&self) -> &St3ch1rst
pub fn st3ch1rst(&self) -> &St3ch1rst
0x48 - SHRTIMER Slave_TIMERx channel 1 reset request register
Sourcepub fn st3exevfcfg0(&self) -> &St3exevfcfg0
pub fn st3exevfcfg0(&self) -> &St3exevfcfg0
0x4c - SHRTIMER Slave_TIMERx external event filter configuration register 0
Sourcepub fn st3exevfcfg1(&self) -> &St3exevfcfg1
pub fn st3exevfcfg1(&self) -> &St3exevfcfg1
0x50 - SHRTIMER Slave_TIMERx external event filter configuration register 1
Sourcepub fn st3csctl(&self) -> &St3csctl
pub fn st3csctl(&self) -> &St3csctl
0x58 - SHRTIMER Slave_TIMERx carrier-signal control register
Sourcepub fn st3cap0trg(&self) -> &St3cap0trg
pub fn st3cap0trg(&self) -> &St3cap0trg
0x5c - SHRTIMER Slave_TIMERx capture 0 trigger register
Sourcepub fn st3cap1trg(&self) -> &St3cap1trg
pub fn st3cap1trg(&self) -> &St3cap1trg
0x60 - SHRTIMER Slave_TIMERx capture 1 trigger register