#[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn trgt(&self, n: usize) -> &TRGT
pub const fn trgt(&self, n: usize) -> &TRGT
0x14..0x2c - Cluster TRGT%s, containing TARGET?_HI, TARGET?_LO
Sourcepub fn trgt_iter(&self) -> impl Iterator<Item = &TRGT>
pub fn trgt_iter(&self) -> impl Iterator<Item = &TRGT>
Iterator for array of: 0x14..0x2c - Cluster TRGT%s, containing TARGET?_HI, TARGET?_LO
Sourcepub const fn target_conf(&self, n: usize) -> &TARGET_CONF
pub const fn target_conf(&self, n: usize) -> &TARGET_CONF
0x2c..0x38 - Configure work mode for system timer target %s
Sourcepub fn target_conf_iter(&self) -> impl Iterator<Item = &TARGET_CONF>
pub fn target_conf_iter(&self) -> impl Iterator<Item = &TARGET_CONF>
Iterator for array of: 0x2c..0x38 - Configure work mode for system timer target %s
Sourcepub const fn target0_conf(&self) -> &TARGET_CONF
pub const fn target0_conf(&self) -> &TARGET_CONF
0x2c - Configure work mode for system timer target 0
Sourcepub const fn target1_conf(&self) -> &TARGET_CONF
pub const fn target1_conf(&self) -> &TARGET_CONF
0x30 - Configure work mode for system timer target 1
Sourcepub const fn target2_conf(&self) -> &TARGET_CONF
pub const fn target2_conf(&self) -> &TARGET_CONF
0x34 - Configure work mode for system timer target 2
Sourcepub fn unit_op_iter(&self) -> impl Iterator<Item = &UNIT_OP>
pub fn unit_op_iter(&self) -> impl Iterator<Item = &UNIT_OP>
Iterator for array of: 0x38 - Read out system timer value
Sourcepub const fn unit_value(&self, n: usize) -> &UNIT_VALUE
pub const fn unit_value(&self, n: usize) -> &UNIT_VALUE
0x3c..0x44 - Cluster UNIT%s_VALUE, containing UNIT?_VALUE_HI, UNIT?_VALUE_LO
Sourcepub fn unit_value_iter(&self) -> impl Iterator<Item = &UNIT_VALUE>
pub fn unit_value_iter(&self) -> impl Iterator<Item = &UNIT_VALUE>
Iterator for array of: 0x3c..0x44 - Cluster UNIT%s_VALUE, containing UNIT?_VALUE_HI, UNIT?_VALUE_LO
Sourcepub const fn unit0_value(&self) -> &UNIT_VALUE
pub const fn unit0_value(&self) -> &UNIT_VALUE
0x3c..0x44 - Cluster UNIT0_VALUE, containing UNIT?_VALUE_HI, UNIT?_VALUE_LO