pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn pwm_startclrcnt_en0(&self) -> &PwmStartclrcntEn0
pub const fn pwm_startclrcnt_en0(&self) -> &PwmStartclrcntEn0
0x04 - PWM group 0 start clear counter enable
Sourcepub const fn pwm_start0(&self) -> &PwmStart0
pub const fn pwm_start0(&self) -> &PwmStart0
0x08 - PWM group 0 start
Sourcepub const fn pwm_startclrcnt_en1(&self) -> &PwmStartclrcntEn1
pub const fn pwm_startclrcnt_en1(&self) -> &PwmStartclrcntEn1
0x14 - PWM group 1 start clear counter enable
Sourcepub const fn pwm_start1(&self) -> &PwmStart1
pub const fn pwm_start1(&self) -> &PwmStart1
0x18 - PWM group 1 start
Sourcepub const fn pwm_startclrcnt_en2(&self) -> &PwmStartclrcntEn2
pub const fn pwm_startclrcnt_en2(&self) -> &PwmStartclrcntEn2
0x24 - PWM group 2 start clear counter enable
Sourcepub const fn pwm_start2(&self) -> &PwmStart2
pub const fn pwm_start2(&self) -> &PwmStart2
0x28 - PWM group 2 start
Sourcepub const fn pwm_startclrcnt_en3(&self) -> &PwmStartclrcntEn3
pub const fn pwm_startclrcnt_en3(&self) -> &PwmStartclrcntEn3
0x34 - PWM group 3 start clear counter enable
Sourcepub const fn pwm_start3(&self) -> &PwmStart3
pub const fn pwm_start3(&self) -> &PwmStart3
0x38 - PWM group 3 start
Sourcepub const fn pwm_portity0(&self) -> &PwmPortity0
pub const fn pwm_portity0(&self) -> &PwmPortity0
0x104 - PWM0 polarity
Sourcepub const fn pwm_oen_cfg0(&self) -> &PwmOenCfg0
pub const fn pwm_oen_cfg0(&self) -> &PwmOenCfg0
0x108 - PWM0 high-impedance config
Sourcepub const fn pwm_offset_l0(&self) -> &PwmOffsetL0
pub const fn pwm_offset_l0(&self) -> &PwmOffsetL0
0x10c - PWM0 phase offset low 16 bits
Sourcepub const fn pwm_offset_h0(&self) -> &PwmOffsetH0
pub const fn pwm_offset_h0(&self) -> &PwmOffsetH0
0x110 - PWM0 phase offset high 16 bits
Sourcepub const fn pwm_freq_l0(&self) -> &PwmFreqL0
pub const fn pwm_freq_l0(&self) -> &PwmFreqL0
0x114 - PWM0 frequency low 16 bits
Sourcepub const fn pwm_freq_h0(&self) -> &PwmFreqH0
pub const fn pwm_freq_h0(&self) -> &PwmFreqH0
0x118 - PWM0 frequency high 16 bits
Sourcepub const fn pwm_duty_l0(&self) -> &PwmDutyL0
pub const fn pwm_duty_l0(&self) -> &PwmDutyL0
0x11c - PWM0 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h0(&self) -> &PwmDutyH0
pub const fn pwm_duty_h0(&self) -> &PwmDutyH0
0x120 - PWM0 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag0(&self) -> &PwmPeriodloadFlag0
pub const fn pwm_periodload_flag0(&self) -> &PwmPeriodloadFlag0
0x124 - PWM0 period load flag
Sourcepub const fn pwm_period_val0(&self) -> &PwmPeriodVal0
pub const fn pwm_period_val0(&self) -> &PwmPeriodVal0
0x128 - PWM0 pulse count value
Sourcepub const fn pwm_periodcnt0(&self) -> &PwmPeriodcnt0
pub const fn pwm_periodcnt0(&self) -> &PwmPeriodcnt0
0x12c - PWM0 pulse count current value
Sourcepub const fn pwm_portity1(&self) -> &PwmPortity1
pub const fn pwm_portity1(&self) -> &PwmPortity1
0x144 - PWM1 polarity
Sourcepub const fn pwm_oen_cfg1(&self) -> &PwmOenCfg1
pub const fn pwm_oen_cfg1(&self) -> &PwmOenCfg1
0x148 - PWM1 high-impedance config
Sourcepub const fn pwm_offset_l1(&self) -> &PwmOffsetL1
pub const fn pwm_offset_l1(&self) -> &PwmOffsetL1
0x14c - PWM1 phase offset low
Sourcepub const fn pwm_offset_h1(&self) -> &PwmOffsetH1
pub const fn pwm_offset_h1(&self) -> &PwmOffsetH1
0x150 - PWM1 phase offset high
Sourcepub const fn pwm_freq_l1(&self) -> &PwmFreqL1
pub const fn pwm_freq_l1(&self) -> &PwmFreqL1
0x154 - PWM1 frequency low
Sourcepub const fn pwm_freq_h1(&self) -> &PwmFreqH1
pub const fn pwm_freq_h1(&self) -> &PwmFreqH1
0x158 - PWM1 frequency high
Sourcepub const fn pwm_duty_l1(&self) -> &PwmDutyL1
pub const fn pwm_duty_l1(&self) -> &PwmDutyL1
0x15c - PWM1 duty cycle low
Sourcepub const fn pwm_duty_h1(&self) -> &PwmDutyH1
pub const fn pwm_duty_h1(&self) -> &PwmDutyH1
0x160 - PWM1 duty cycle high
Sourcepub const fn pwm_periodload_flag1(&self) -> &PwmPeriodloadFlag1
pub const fn pwm_periodload_flag1(&self) -> &PwmPeriodloadFlag1
0x164 - PWM1 period load flag
Sourcepub const fn pwm_period_val1(&self) -> &PwmPeriodVal1
pub const fn pwm_period_val1(&self) -> &PwmPeriodVal1
0x168 - PWM1 pulse count
Sourcepub const fn pwm_periodcnt1(&self) -> &PwmPeriodcnt1
pub const fn pwm_periodcnt1(&self) -> &PwmPeriodcnt1
0x16c - PWM1 pulse count current
Sourcepub const fn pwm_portity2(&self) -> &PwmPortity2
pub const fn pwm_portity2(&self) -> &PwmPortity2
0x184 - PWM2 polarity
Sourcepub const fn pwm_oen_cfg2(&self) -> &PwmOenCfg2
pub const fn pwm_oen_cfg2(&self) -> &PwmOenCfg2
0x188 - PWM2 high-impedance config
Sourcepub const fn pwm_offset_l2(&self) -> &PwmOffsetL2
pub const fn pwm_offset_l2(&self) -> &PwmOffsetL2
0x18c - PWM2 phase offset low 16 bits
Sourcepub const fn pwm_offset_h2(&self) -> &PwmOffsetH2
pub const fn pwm_offset_h2(&self) -> &PwmOffsetH2
0x190 - PWM2 phase offset high 16 bits
Sourcepub const fn pwm_freq_l2(&self) -> &PwmFreqL2
pub const fn pwm_freq_l2(&self) -> &PwmFreqL2
0x194 - PWM2 frequency low 16 bits
Sourcepub const fn pwm_freq_h2(&self) -> &PwmFreqH2
pub const fn pwm_freq_h2(&self) -> &PwmFreqH2
0x198 - PWM2 frequency high 16 bits
Sourcepub const fn pwm_duty_l2(&self) -> &PwmDutyL2
pub const fn pwm_duty_l2(&self) -> &PwmDutyL2
0x19c - PWM2 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h2(&self) -> &PwmDutyH2
pub const fn pwm_duty_h2(&self) -> &PwmDutyH2
0x1a0 - PWM2 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag2(&self) -> &PwmPeriodloadFlag2
pub const fn pwm_periodload_flag2(&self) -> &PwmPeriodloadFlag2
0x1a4 - PWM2 period load flag
Sourcepub const fn pwm_period_val2(&self) -> &PwmPeriodVal2
pub const fn pwm_period_val2(&self) -> &PwmPeriodVal2
0x1a8 - PWM2 pulse count value
Sourcepub const fn pwm_periodcnt2(&self) -> &PwmPeriodcnt2
pub const fn pwm_periodcnt2(&self) -> &PwmPeriodcnt2
0x1ac - PWM2 pulse count current value
Sourcepub const fn pwm_portity3(&self) -> &PwmPortity3
pub const fn pwm_portity3(&self) -> &PwmPortity3
0x1c4 - PWM3 polarity
Sourcepub const fn pwm_oen_cfg3(&self) -> &PwmOenCfg3
pub const fn pwm_oen_cfg3(&self) -> &PwmOenCfg3
0x1c8 - PWM3 high-impedance config
Sourcepub const fn pwm_offset_l3(&self) -> &PwmOffsetL3
pub const fn pwm_offset_l3(&self) -> &PwmOffsetL3
0x1cc - PWM3 phase offset low 16 bits
Sourcepub const fn pwm_offset_h3(&self) -> &PwmOffsetH3
pub const fn pwm_offset_h3(&self) -> &PwmOffsetH3
0x1d0 - PWM3 phase offset high 16 bits
Sourcepub const fn pwm_freq_l3(&self) -> &PwmFreqL3
pub const fn pwm_freq_l3(&self) -> &PwmFreqL3
0x1d4 - PWM3 frequency low 16 bits
Sourcepub const fn pwm_freq_h3(&self) -> &PwmFreqH3
pub const fn pwm_freq_h3(&self) -> &PwmFreqH3
0x1d8 - PWM3 frequency high 16 bits
Sourcepub const fn pwm_duty_l3(&self) -> &PwmDutyL3
pub const fn pwm_duty_l3(&self) -> &PwmDutyL3
0x1dc - PWM3 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h3(&self) -> &PwmDutyH3
pub const fn pwm_duty_h3(&self) -> &PwmDutyH3
0x1e0 - PWM3 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag3(&self) -> &PwmPeriodloadFlag3
pub const fn pwm_periodload_flag3(&self) -> &PwmPeriodloadFlag3
0x1e4 - PWM3 period load flag
Sourcepub const fn pwm_period_val3(&self) -> &PwmPeriodVal3
pub const fn pwm_period_val3(&self) -> &PwmPeriodVal3
0x1e8 - PWM3 pulse count value
Sourcepub const fn pwm_periodcnt3(&self) -> &PwmPeriodcnt3
pub const fn pwm_periodcnt3(&self) -> &PwmPeriodcnt3
0x1ec - PWM3 pulse count current value
Sourcepub const fn pwm_portity4(&self) -> &PwmPortity4
pub const fn pwm_portity4(&self) -> &PwmPortity4
0x204 - PWM4 polarity
Sourcepub const fn pwm_oen_cfg4(&self) -> &PwmOenCfg4
pub const fn pwm_oen_cfg4(&self) -> &PwmOenCfg4
0x208 - PWM4 high-impedance config
Sourcepub const fn pwm_offset_l4(&self) -> &PwmOffsetL4
pub const fn pwm_offset_l4(&self) -> &PwmOffsetL4
0x20c - PWM4 phase offset low 16 bits
Sourcepub const fn pwm_offset_h4(&self) -> &PwmOffsetH4
pub const fn pwm_offset_h4(&self) -> &PwmOffsetH4
0x210 - PWM4 phase offset high 16 bits
Sourcepub const fn pwm_freq_l4(&self) -> &PwmFreqL4
pub const fn pwm_freq_l4(&self) -> &PwmFreqL4
0x214 - PWM4 frequency low 16 bits
Sourcepub const fn pwm_freq_h4(&self) -> &PwmFreqH4
pub const fn pwm_freq_h4(&self) -> &PwmFreqH4
0x218 - PWM4 frequency high 16 bits
Sourcepub const fn pwm_duty_l4(&self) -> &PwmDutyL4
pub const fn pwm_duty_l4(&self) -> &PwmDutyL4
0x21c - PWM4 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h4(&self) -> &PwmDutyH4
pub const fn pwm_duty_h4(&self) -> &PwmDutyH4
0x220 - PWM4 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag4(&self) -> &PwmPeriodloadFlag4
pub const fn pwm_periodload_flag4(&self) -> &PwmPeriodloadFlag4
0x224 - PWM4 period load flag
Sourcepub const fn pwm_period_val4(&self) -> &PwmPeriodVal4
pub const fn pwm_period_val4(&self) -> &PwmPeriodVal4
0x228 - PWM4 pulse count value
Sourcepub const fn pwm_periodcnt4(&self) -> &PwmPeriodcnt4
pub const fn pwm_periodcnt4(&self) -> &PwmPeriodcnt4
0x22c - PWM4 pulse count current value
Sourcepub const fn pwm_portity5(&self) -> &PwmPortity5
pub const fn pwm_portity5(&self) -> &PwmPortity5
0x244 - PWM5 polarity
Sourcepub const fn pwm_oen_cfg5(&self) -> &PwmOenCfg5
pub const fn pwm_oen_cfg5(&self) -> &PwmOenCfg5
0x248 - PWM5 high-impedance config
Sourcepub const fn pwm_offset_l5(&self) -> &PwmOffsetL5
pub const fn pwm_offset_l5(&self) -> &PwmOffsetL5
0x24c - PWM5 phase offset low 16 bits
Sourcepub const fn pwm_offset_h5(&self) -> &PwmOffsetH5
pub const fn pwm_offset_h5(&self) -> &PwmOffsetH5
0x250 - PWM5 phase offset high 16 bits
Sourcepub const fn pwm_freq_l5(&self) -> &PwmFreqL5
pub const fn pwm_freq_l5(&self) -> &PwmFreqL5
0x254 - PWM5 frequency low 16 bits
Sourcepub const fn pwm_freq_h5(&self) -> &PwmFreqH5
pub const fn pwm_freq_h5(&self) -> &PwmFreqH5
0x258 - PWM5 frequency high 16 bits
Sourcepub const fn pwm_duty_l5(&self) -> &PwmDutyL5
pub const fn pwm_duty_l5(&self) -> &PwmDutyL5
0x25c - PWM5 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h5(&self) -> &PwmDutyH5
pub const fn pwm_duty_h5(&self) -> &PwmDutyH5
0x260 - PWM5 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag5(&self) -> &PwmPeriodloadFlag5
pub const fn pwm_periodload_flag5(&self) -> &PwmPeriodloadFlag5
0x264 - PWM5 period load flag
Sourcepub const fn pwm_period_val5(&self) -> &PwmPeriodVal5
pub const fn pwm_period_val5(&self) -> &PwmPeriodVal5
0x268 - PWM5 pulse count value
Sourcepub const fn pwm_periodcnt5(&self) -> &PwmPeriodcnt5
pub const fn pwm_periodcnt5(&self) -> &PwmPeriodcnt5
0x26c - PWM5 pulse count current value
Sourcepub const fn pwm_portity6(&self) -> &PwmPortity6
pub const fn pwm_portity6(&self) -> &PwmPortity6
0x284 - PWM6 polarity
Sourcepub const fn pwm_oen_cfg6(&self) -> &PwmOenCfg6
pub const fn pwm_oen_cfg6(&self) -> &PwmOenCfg6
0x288 - PWM6 high-impedance config
Sourcepub const fn pwm_offset_l6(&self) -> &PwmOffsetL6
pub const fn pwm_offset_l6(&self) -> &PwmOffsetL6
0x28c - PWM6 phase offset low 16 bits
Sourcepub const fn pwm_offset_h6(&self) -> &PwmOffsetH6
pub const fn pwm_offset_h6(&self) -> &PwmOffsetH6
0x290 - PWM6 phase offset high 16 bits
Sourcepub const fn pwm_freq_l6(&self) -> &PwmFreqL6
pub const fn pwm_freq_l6(&self) -> &PwmFreqL6
0x294 - PWM6 frequency low 16 bits
Sourcepub const fn pwm_freq_h6(&self) -> &PwmFreqH6
pub const fn pwm_freq_h6(&self) -> &PwmFreqH6
0x298 - PWM6 frequency high 16 bits
Sourcepub const fn pwm_duty_l6(&self) -> &PwmDutyL6
pub const fn pwm_duty_l6(&self) -> &PwmDutyL6
0x29c - PWM6 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h6(&self) -> &PwmDutyH6
pub const fn pwm_duty_h6(&self) -> &PwmDutyH6
0x2a0 - PWM6 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag6(&self) -> &PwmPeriodloadFlag6
pub const fn pwm_periodload_flag6(&self) -> &PwmPeriodloadFlag6
0x2a4 - PWM6 period load flag
Sourcepub const fn pwm_period_val6(&self) -> &PwmPeriodVal6
pub const fn pwm_period_val6(&self) -> &PwmPeriodVal6
0x2a8 - PWM6 pulse count value
Sourcepub const fn pwm_periodcnt6(&self) -> &PwmPeriodcnt6
pub const fn pwm_periodcnt6(&self) -> &PwmPeriodcnt6
0x2ac - PWM6 pulse count current value
Sourcepub const fn pwm_portity7(&self) -> &PwmPortity7
pub const fn pwm_portity7(&self) -> &PwmPortity7
0x2c4 - PWM7 polarity
Sourcepub const fn pwm_oen_cfg7(&self) -> &PwmOenCfg7
pub const fn pwm_oen_cfg7(&self) -> &PwmOenCfg7
0x2c8 - PWM7 high-impedance config
Sourcepub const fn pwm_offset_l7(&self) -> &PwmOffsetL7
pub const fn pwm_offset_l7(&self) -> &PwmOffsetL7
0x2cc - PWM7 phase offset low 16 bits
Sourcepub const fn pwm_offset_h7(&self) -> &PwmOffsetH7
pub const fn pwm_offset_h7(&self) -> &PwmOffsetH7
0x2d0 - PWM7 phase offset high 16 bits
Sourcepub const fn pwm_freq_l7(&self) -> &PwmFreqL7
pub const fn pwm_freq_l7(&self) -> &PwmFreqL7
0x2d4 - PWM7 frequency low 16 bits
Sourcepub const fn pwm_freq_h7(&self) -> &PwmFreqH7
pub const fn pwm_freq_h7(&self) -> &PwmFreqH7
0x2d8 - PWM7 frequency high 16 bits
Sourcepub const fn pwm_duty_l7(&self) -> &PwmDutyL7
pub const fn pwm_duty_l7(&self) -> &PwmDutyL7
0x2dc - PWM7 duty cycle low 16 bits
Sourcepub const fn pwm_duty_h7(&self) -> &PwmDutyH7
pub const fn pwm_duty_h7(&self) -> &PwmDutyH7
0x2e0 - PWM7 duty cycle high 16 bits
Sourcepub const fn pwm_periodload_flag7(&self) -> &PwmPeriodloadFlag7
pub const fn pwm_periodload_flag7(&self) -> &PwmPeriodloadFlag7
0x2e4 - PWM7 period load flag
Sourcepub const fn pwm_period_val7(&self) -> &PwmPeriodVal7
pub const fn pwm_period_val7(&self) -> &PwmPeriodVal7
0x2e8 - PWM7 pulse count value
Sourcepub const fn pwm_periodcnt7(&self) -> &PwmPeriodcnt7
pub const fn pwm_periodcnt7(&self) -> &PwmPeriodcnt7
0x2ec - PWM7 pulse count current value
Sourcepub const fn pwm_abnor_state0(&self) -> &PwmAbnorState0
pub const fn pwm_abnor_state0(&self) -> &PwmAbnorState0
0x500 - PWM abnormal state register 0
Sourcepub const fn pwm_abnor_state1(&self) -> &PwmAbnorState1
pub const fn pwm_abnor_state1(&self) -> &PwmAbnorState1
0x504 - PWM abnormal state register 1
Sourcepub const fn pwm_abnor_state_clr0(&self) -> &PwmAbnorStateClr0
pub const fn pwm_abnor_state_clr0(&self) -> &PwmAbnorStateClr0
0x508 - PWM abnormal state clear 0
Sourcepub const fn pwm_abnor_state_clr1(&self) -> &PwmAbnorStateClr1
pub const fn pwm_abnor_state_clr1(&self) -> &PwmAbnorStateClr1
0x50c - PWM abnormal state clear 1
Sourcepub const fn pwm_int_mask(&self) -> &PwmIntMask
pub const fn pwm_int_mask(&self) -> &PwmIntMask
0x510 - PWM interrupt mask
Sourcepub const fn pwm_dma_en(&self) -> &PwmDmaEn
pub const fn pwm_dma_en(&self) -> &PwmDmaEn
0x514 - PWM DMA enable
Sourcepub const fn pwm_cfg_int_clr0(&self) -> &PwmCfgIntClr0
pub const fn pwm_cfg_int_clr0(&self) -> &PwmCfgIntClr0
0x518 - PWM stepping cycle end interrupt clear