Home
last modified time | relevance | path

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 Dbeeper.c22 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 Dpwm_dev.h25 #define IOC_PWM_DUTY_CYCLE IOC_PWM_BASE + 4 /**< 设置PWM的输出占空比 */ macro
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/
A Daos_hal_pwm.c48 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)&para.duty_cycle); in aos_hal_pwm_para_chg()
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/musicbox/
A Dmusicbox.c141 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 Dpwm_example.c33 ret = ioctl(fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty_cycle); in vfs_pwm_test()
/AliOS-Things-master/components/drivers/peripheral/pwm/src/
A Dpwm_dev.c73 case IOC_PWM_DUTY_CYCLE: in pwm_device_ioctl()

Completed in 8 milliseconds