Expand description

Carrier enable and configuratoin

Structs§

Type Aliases§

  • Field CHOPPER1_DUTY reader - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8
  • Field CHOPPER1_DUTY writer - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8
  • Field CHOPPER1_EN reader - When set, carrier1 function is enabled. When cleared, carrier1 is bypassed
  • Field CHOPPER1_EN writer - When set, carrier1 function is enabled. When cleared, carrier1 is bypassed
  • Field CHOPPER1_IN_INVERT reader - when set, invert the input of PWM1A and PWM1B for this submodule
  • Field CHOPPER1_IN_INVERT writer - when set, invert the input of PWM1A and PWM1B for this submodule
  • Field CHOPPER1_OSHTWTH reader - width of the first pulse in number of periods of the carrier
  • Field CHOPPER1_OSHTWTH writer - width of the first pulse in number of periods of the carrier
  • Field CHOPPER1_OUT_INVERT reader - when set, invert the output of PWM1A and PWM1B for this submodule
  • Field CHOPPER1_OUT_INVERT writer - when set, invert the output of PWM1A and PWM1B for this submodule
  • Field CHOPPER1_PRESCALE reader - PWM carrier1 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)
  • Field CHOPPER1_PRESCALE writer - PWM carrier1 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)
  • Register CARRIER1_CFG reader
  • Register CARRIER1_CFG writer