Module esp32s3::mcpwm0::chopper2_cfg
source · Expand description
Carrier enable and configuratoin
Structs
- Carrier enable and configuratoin
- Register
CHOPPER2_CFGreader - Register
CHOPPER2_CFGwriter
Type Definitions
- Field
CHOPPER2_DUTYreader - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8 - Field
CHOPPER2_DUTYwriter - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8 - Field
CHOPPER2_ENreader - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed - Field
CHOPPER2_ENwriter - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed - Field
CHOPPER2_IN_INVERTreader - when set, invert the input of PWM2A and PWM2B for this submodule - Field
CHOPPER2_IN_INVERTwriter - when set, invert the input of PWM2A and PWM2B for this submodule - Field
CHOPPER2_OSHTWTHreader - width of the fist pulse in number of periods of the carrier - Field
CHOPPER2_OSHTWTHwriter - width of the fist pulse in number of periods of the carrier - Field
CHOPPER2_OUT_INVERTreader - when set, invert the output of PWM2A and PWM2B for this submodule - Field
CHOPPER2_OUT_INVERTwriter - when set, invert the output of PWM2A and PWM2B for this submodule - Field
CHOPPER2_PRESCALEreader - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1) - Field
CHOPPER2_PRESCALEwriter - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)