#[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn timer(&self, n: usize) -> &TIMER
pub const fn timer(&self, n: usize) -> &TIMER
0x04..0x34 - Cluster TIMER%s, containing TIMER?_CFG0, TIMER?_CFG1, TIMER?_SYNC, TIMER?_STATUS
Sourcepub fn timer_iter(&self) -> impl Iterator<Item = &TIMER>
pub fn timer_iter(&self) -> impl Iterator<Item = &TIMER>
Iterator for array of: 0x04..0x34 - Cluster TIMER%s, containing TIMER?_CFG0, TIMER?_CFG1, TIMER?_SYNC, TIMER?_STATUS
Sourcepub const fn timer_synci_cfg(&self) -> &TIMER_SYNCI_CFG
pub const fn timer_synci_cfg(&self) -> &TIMER_SYNCI_CFG
0x34 -
Sourcepub const fn operator_timersel(&self) -> &OPERATOR_TIMERSEL
pub const fn operator_timersel(&self) -> &OPERATOR_TIMERSEL
0x38 -
Sourcepub const fn ch(&self, n: usize) -> &CH
pub const fn ch(&self, n: usize) -> &CH
0x3c..0xe4 - Cluster CH%s, containing GEN?_STMP_CFG, GEN?_TSTMP_A, GEN?_TSTMP_B, GEN?_CFG0, GEN?_FORCE, GEN?_A, GEN?_B, DT?_CFG, DT?_FED_CFG, DT?_RED_CFG, CARRIER?_CFG, FH?_CFG0, FH?_CFG1, FH?_STATUS
Sourcepub fn ch_iter(&self) -> impl Iterator<Item = &CH>
pub fn ch_iter(&self) -> impl Iterator<Item = &CH>
Iterator for array of: 0x3c..0xe4 - Cluster CH%s, containing GEN?_STMP_CFG, GEN?_TSTMP_A, GEN?_TSTMP_B, GEN?_CFG0, GEN?_FORCE, GEN?_A, GEN?_B, DT?_CFG, DT?_FED_CFG, DT?_RED_CFG, CARRIER?_CFG, FH?_CFG0, FH?_CFG1, FH?_STATUS
Sourcepub const fn fault_detect(&self) -> &FAULT_DETECT
pub const fn fault_detect(&self) -> &FAULT_DETECT
0xe4 -
Sourcepub const fn cap_timer_cfg(&self) -> &CAP_TIMER_CFG
pub const fn cap_timer_cfg(&self) -> &CAP_TIMER_CFG
0xe8 -
Sourcepub const fn cap_timer_phase(&self) -> &CAP_TIMER_PHASE
pub const fn cap_timer_phase(&self) -> &CAP_TIMER_PHASE
0xec -
Sourcepub const fn cap_ch_cfg(&self, n: usize) -> &CAP_CH_CFG
pub const fn cap_ch_cfg(&self, n: usize) -> &CAP_CH_CFG
0xf0..0xfc - Capture channel %s configuration and enable
Sourcepub fn cap_ch_cfg_iter(&self) -> impl Iterator<Item = &CAP_CH_CFG>
pub fn cap_ch_cfg_iter(&self) -> impl Iterator<Item = &CAP_CH_CFG>
Iterator for array of: 0xf0..0xfc - Capture channel %s configuration and enable
Sourcepub const fn cap_ch0_cfg(&self) -> &CAP_CH_CFG
pub const fn cap_ch0_cfg(&self) -> &CAP_CH_CFG
0xf0 - Capture channel 0 configuration and enable
Sourcepub const fn cap_ch1_cfg(&self) -> &CAP_CH_CFG
pub const fn cap_ch1_cfg(&self) -> &CAP_CH_CFG
0xf4 - Capture channel 1 configuration and enable
Sourcepub const fn cap_ch2_cfg(&self) -> &CAP_CH_CFG
pub const fn cap_ch2_cfg(&self) -> &CAP_CH_CFG
0xf8 - Capture channel 2 configuration and enable
Sourcepub const fn cap_ch(&self, n: usize) -> &CAP_CH
pub const fn cap_ch(&self, n: usize) -> &CAP_CH
0xfc..0x108 - Value of last capture on channel %s
Sourcepub fn cap_ch_iter(&self) -> impl Iterator<Item = &CAP_CH>
pub fn cap_ch_iter(&self) -> impl Iterator<Item = &CAP_CH>
Iterator for array of: 0xfc..0x108 - Value of last capture on channel %s
Sourcepub const fn cap_status(&self) -> &CAP_STATUS
pub const fn cap_status(&self) -> &CAP_STATUS
0x108 -
Sourcepub const fn update_cfg(&self) -> &UPDATE_CFG
pub const fn update_cfg(&self) -> &UPDATE_CFG
0x10c -