Expand description

Carrier enable and configuratoin

Structs

  • Carrier enable and configuratoin
  • Register CHOPPER2_CFG reader
  • Register CHOPPER2_CFG writer

Type Definitions

  • Field CHOPPER2_DUTY reader - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8
  • Field CHOPPER2_DUTY writer - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8
  • Field CHOPPER2_EN reader - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed
  • Field CHOPPER2_EN writer - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed
  • Field CHOPPER2_IN_INVERT reader - when set, invert the input of PWM2A and PWM2B for this submodule
  • Field CHOPPER2_IN_INVERT writer - when set, invert the input of PWM2A and PWM2B for this submodule
  • Field CHOPPER2_OSHTWTH reader - width of the fist pulse in number of periods of the carrier
  • Field CHOPPER2_OSHTWTH writer - width of the fist pulse in number of periods of the carrier
  • Field CHOPPER2_OUT_INVERT reader - when set, invert the output of PWM2A and PWM2B for this submodule
  • Field CHOPPER2_OUT_INVERT writer - when set, invert the output of PWM2A and PWM2B for this submodule
  • Field CHOPPER2_PRESCALE reader - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)
  • Field CHOPPER2_PRESCALE writer - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)