Searched refs:IOC_PWM_DUTY_CYCLE (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/kws/beeper/ |
A D | beeper.c | 22 ret = ioctl(fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty_cycle); in beeper_start() 48 ret = ioctl(fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty_cycle); in beeper_stop()
|
/AliOS-Things-master/components/drivers/peripheral/pwm/include/vfsdev/ |
A D | pwm_dev.h | 25 #define IOC_PWM_DUTY_CYCLE IOC_PWM_BASE + 4 /**< 设置PWM的输出占空比 */ macro
|
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/ |
A D | aos_hal_pwm.c | 48 ret = ioctl(*p_fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&pwm->config.duty_cycle); in aos_hal_pwm_init() 138 ret = ioctl(*p_fd, IOC_PWM_DUTY_CYCLE, (unsigned long)¶.duty_cycle); in aos_hal_pwm_para_chg()
|
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/musicbox/ |
A D | musicbox.c | 141 ret = ioctl(fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty_cycle); in tone() 167 ret = ioctl(fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty_cycle); in noTone()
|
/AliOS-Things-master/components/drivers/peripheral/pwm/example/ |
A D | pwm_example.c | 33 ret = ioctl(fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty_cycle); in vfs_pwm_test()
|
/AliOS-Things-master/components/drivers/peripheral/pwm/src/ |
A D | pwm_dev.c | 73 case IOC_PWM_DUTY_CYCLE: in pwm_device_ioctl()
|
Completed in 8 milliseconds