Home
last modified time | relevance | path

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

/components/drivers/include/drivers/
A Ddev_pwm.h115 struct rt_device_pwm;
121 rt_err_t (*control)(struct rt_device_pwm *device, int cmd, void *arg);
127 struct rt_device_pwm struct
140 rt_err_t rt_device_pwm_register(struct rt_device_pwm *device, const char *name, const struct rt_pwm… argument
148 rt_err_t rt_pwm_enable(struct rt_device_pwm *device, int channel);
156 rt_err_t rt_pwm_disable(struct rt_device_pwm *device, int channel);
166 rt_err_t rt_pwm_set(struct rt_device_pwm *device, int channel, rt_uint32_t period, rt_uint32_t puls…
175 rt_err_t rt_pwm_set_period(struct rt_device_pwm *device, int channel, rt_uint32_t period);
184 rt_err_t rt_pwm_set_pulse(struct rt_device_pwm *device, int channel, rt_uint32_t pulse);
193 rt_err_t rt_pwm_set_dead_time(struct rt_device_pwm *device, int channel, rt_uint32_t dead_time);
[all …]
/components/drivers/misc/
A Drt_drv_pwm.c21 struct rt_device_pwm *pwm = (struct rt_device_pwm *)dev; in _pwm_control()
49 struct rt_device_pwm *pwm = (struct rt_device_pwm *)dev; in _pwm_read()
77 struct rt_device_pwm *pwm = (struct rt_device_pwm *)dev; in _pwm_write()
119 rt_memset(device, 0, sizeof(struct rt_device_pwm)); in rt_device_pwm_register()
141 rt_err_t rt_pwm_enable(struct rt_device_pwm *device, int channel) in rt_pwm_enable()
170 rt_err_t rt_pwm_disable(struct rt_device_pwm *device, int channel) in rt_pwm_disable()
217 rt_err_t rt_pwm_set_period(struct rt_device_pwm *device, int channel, rt_uint32_t period) in rt_pwm_set_period()
234 rt_err_t rt_pwm_set_pulse(struct rt_device_pwm *device, int channel, rt_uint32_t pulse) in rt_pwm_set_pulse()
269 rt_err_t rt_pwm_set_phase(struct rt_device_pwm *device, int channel, rt_uint32_t phase) in rt_pwm_set_phase()
322 static struct rt_device_pwm *pwm_device = RT_NULL; in CMD_OPTIONS_STATEMENT()
[all …]
/components/drivers/thermal/
A Dthermal-cool-pwm-fan.c29 struct rt_device_pwm *pwm_dev;

Completed in 7 milliseconds