Searched refs:duty_cycle (Results 1 – 3 of 3) sorted by relevance
392 cy_rslt_t cyhal_pwm_set_duty_cycle(cyhal_pwm_t *obj, float duty_cycle, uint32_t frequencyhal_hz) in cyhal_pwm_set_duty_cycle() argument395 if (duty_cycle < 0.0f || duty_cycle > 100.0f || frequencyhal_hz < 1) in cyhal_pwm_set_duty_cycle()398 uint32_t width = (uint32_t)(duty_cycle * 0.01f * period); in cyhal_pwm_set_duty_cycle()
225 cy_rslt_t cyhal_pwm_set_duty_cycle(cyhal_pwm_t *obj, float duty_cycle, uint32_t frequencyhal_hz);
1129 uint16_t duty_cycle; /**< LE scan duty cycle */ member