Expand description

Carrier enable and configuratoin

Structs

Type Aliases

  • Field CHOPPER0_DUTY reader - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8
  • Field CHOPPER0_DUTY writer - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8
  • Field CHOPPER0_EN reader - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed
  • Field CHOPPER0_EN writer - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed
  • Field CHOPPER0_IN_INVERT reader - when set, invert the input of PWM0A and PWM0B for this submodule
  • Field CHOPPER0_IN_INVERT writer - when set, invert the input of PWM0A and PWM0B for this submodule
  • Field CHOPPER0_OSHTWTH reader - width of the first pulse in number of periods of the carrier
  • Field CHOPPER0_OSHTWTH writer - width of the first pulse in number of periods of the carrier
  • Field CHOPPER0_OUT_INVERT reader - when set, invert the output of PWM0A and PWM0B for this submodule
  • Field CHOPPER0_OUT_INVERT writer - when set, invert the output of PWM0A and PWM0B for this submodule
  • Field CHOPPER0_PRESCALE reader - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)
  • Field CHOPPER0_PRESCALE writer - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)
  • Register CARRIER0_CFG reader
  • Register CARRIER0_CFG writer