Searched refs:duty (Results 1 – 5 of 5) sorted by relevance
| /hal_ti-latest/simplelink/source/ti/drivers/pwm/ |
| D | PWMTimerCC32XX.c | 174 uint32_t duty = 0; in getDutyCounts() local 181 duty = dutyValue; in getDutyCounts() 185 duty = (((uint64_t) dutyValue) * ((uint64_t) periodCounts)) / in getDutyCounts() 190 duty = (dutyValue != 0) ? (dutyValue * (freq.lo/1000000)) - 1 : 0; in getDutyCounts() 195 duty = PWM_INVALID_VALUE; in getDutyCounts() 198 return (duty); in getDutyCounts() 260 static int initHw(PWM_Handle handle, uint32_t period, uint32_t duty) in initHw() argument 306 result = PWMTimerCC32XX_setDuty(handle, duty); in initHw() 324 initHw(handle, object->period, object->duty); in postNotifyFxn() 472 object->duty = 0; in PWMTimerCC32XX_open() [all …]
|
| D | PWMTimerCC32XX.h | 305 uint32_t duty; /* Current duty cycle in Duty_Unites */ member
|
| /hal_ti-latest/simplelink/source/ti/drivers/ |
| D | PWM.c | 129 int_fast16_t PWM_setDuty(PWM_Handle handle, uint32_t duty) in PWM_setDuty() argument 131 return(handle->fxnTablePtr->setDutyFxn(handle, duty)); in PWM_setDuty() 144 int_fast16_t PWM_setDutyAndPeriod(PWM_Handle handle, uint32_t duty, uint32_t period) in PWM_setDutyAndPeriod() argument 146 return(handle->fxnTablePtr->setDutyAndPeriodFxn(handle, duty, period)); in PWM_setDutyAndPeriod()
|
| D | PWM.h | 377 uint32_t duty); 391 uint32_t duty, uint32_t period); 545 extern int_fast16_t PWM_setDuty(PWM_Handle handle, uint32_t duty); 599 extern int_fast16_t PWM_setDutyAndPeriod(PWM_Handle handle, uint32_t duty, uint32_t period);
|
| /hal_ti-latest/simplelink/source/ti/drivers/apps/ |
| D | LED.c | 267 uint32_t duty = 0; in LED_setBrightnessLevel() local 283 duty = (obj->pwmPeriod * level)/100; in LED_setBrightnessLevel() 284 if(PWM_setDuty(obj->pwmHandle, duty) == PWM_STATUS_SUCCESS) in LED_setBrightnessLevel() 294 if(duty > 0) in LED_setBrightnessLevel()
|