Home
last modified time | relevance | path

Searched refs:pulc (Results 1 – 1 of 1) sorted by relevance

/hal_microchip-latest/mec5/drivers/
Dmec_pwm.c151 uint32_t perc, pulc, ps1, cnt_on, cnt_off, cfg, fin, fpwm, flags; in prog_pwm_fd() local
156 pulc = pulse_cycles; in prog_pwm_fd()
166 pulc = (uint32_t)(((uint64_t)fin * (uint64_t)pulse_cycles) / MEC5_PWM_FIN_HIGH); in prog_pwm_fd()
171 cnt_on = pulc / ps1; in prog_pwm_fd()
172 cnt_off = (perc - pulc) / ps1; in prog_pwm_fd()