#[repr(C)]pub struct CH { /* private fields */ }
Expand description
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
Implementations§
Source§impl CH
impl CH
Sourcepub const fn gen_stmp_cfg(&self) -> &GEN_STMP_CFG
pub const fn gen_stmp_cfg(&self) -> &GEN_STMP_CFG
0x00 - Generator0 time stamp registers A and B transfer status and update method register
Sourcepub const fn gen_tstmp_a(&self) -> &GEN_TSTMP_A
pub const fn gen_tstmp_a(&self) -> &GEN_TSTMP_A
0x04 - Generator0 time stamp A’s shadow register
Sourcepub const fn gen_tstmp_b(&self) -> &GEN_TSTMP_B
pub const fn gen_tstmp_b(&self) -> &GEN_TSTMP_B
0x08 - Generator0 time stamp B’s shadow register
Sourcepub const fn gen_cfg0(&self) -> &GEN_CFG0
pub const fn gen_cfg0(&self) -> &GEN_CFG0
0x0c - Generator0 fault event T0 and T1 configuration register
Sourcepub const fn gen_force(&self) -> &GEN_FORCE
pub const fn gen_force(&self) -> &GEN_FORCE
0x10 - Generator0 output signal force mode register.
Sourcepub fn gen_iter(&self) -> impl Iterator<Item = &GEN>
pub fn gen_iter(&self) -> impl Iterator<Item = &GEN>
Iterator for array of: 0x14..0x1c - Actions triggered by events on PWMx%s
Sourcepub const fn dt_fed_cfg(&self) -> &DT_FED_CFG
pub const fn dt_fed_cfg(&self) -> &DT_FED_CFG
0x20 - Falling edge delay (FED) shadow register
Sourcepub const fn dt_red_cfg(&self) -> &DT_RED_CFG
pub const fn dt_red_cfg(&self) -> &DT_RED_CFG
0x24 - Rising edge delay (RED) shadow register
Sourcepub const fn carrier_cfg(&self) -> &CARRIER_CFG
pub const fn carrier_cfg(&self) -> &CARRIER_CFG
0x28 - Carrier0 configuration register
Sourcepub const fn fh_cfg0(&self) -> &FH_CFG0
pub const fn fh_cfg0(&self) -> &FH_CFG0
0x2c - PWM0 A and PWM0 B trip events actions configuration register