Module esp32c6::mcpwm0::carrier0_cfg
source · Expand description
Carrier enable and configuratoin
Structs
- Carrier enable and configuratoin
Type Aliases
- Field
CHOPPER0_DUTYreader - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8 - Field
CHOPPER0_DUTYwriter - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8 - Field
CHOPPER0_ENreader - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed - Field
CHOPPER0_ENwriter - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed - Field
CHOPPER0_IN_INVERTreader - when set, invert the input of PWM0A and PWM0B for this submodule - Field
CHOPPER0_IN_INVERTwriter - when set, invert the input of PWM0A and PWM0B for this submodule - Field
CHOPPER0_OSHTWTHreader - width of the first pulse in number of periods of the carrier - Field
CHOPPER0_OSHTWTHwriter - width of the first pulse in number of periods of the carrier - Field
CHOPPER0_OUT_INVERTreader - when set, invert the output of PWM0A and PWM0B for this submodule - Field
CHOPPER0_OUT_INVERTwriter - when set, invert the output of PWM0A and PWM0B for this submodule - Field
CHOPPER0_PRESCALEreader - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1) - Field
CHOPPER0_PRESCALEwriter - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1) - Register
CARRIER0_CFGreader - Register
CARRIER0_CFGwriter