Home
last modified time | relevance | path

Searched refs:pwm_dev_t (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/components/amp_adapter/include/peripheral/
A Daos_hal_pwm.h30 } pwm_dev_t; typedef
39 int32_t aos_hal_pwm_init(pwm_dev_t *pwm);
48 int32_t aos_hal_pwm_start(pwm_dev_t *pwm);
57 int32_t aos_hal_pwm_stop(pwm_dev_t *pwm);
67 int32_t aos_hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para);
76 int32_t aos_hal_pwm_finalize(pwm_dev_t *pwm);
/AliOS-Things-master/components/drivers/peripheral/pwm/include/aos/hal/
A Dpwm.h30 } pwm_dev_t; typedef
39 int32_t hal_pwm_init(pwm_dev_t *pwm);
48 int32_t hal_pwm_start(pwm_dev_t *pwm);
57 int32_t hal_pwm_stop(pwm_dev_t *pwm);
67 int32_t hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para);
76 int32_t hal_pwm_finalize(pwm_dev_t *pwm);
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_pwm.c9 int32_t aos_hal_pwm_init(pwm_dev_t *pwm) in aos_hal_pwm_init()
18 int32_t aos_hal_pwm_start(pwm_dev_t *pwm) in aos_hal_pwm_start()
26 int32_t aos_hal_pwm_stop(pwm_dev_t *pwm) in aos_hal_pwm_stop()
33 int32_t aos_hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para) in aos_hal_pwm_para_chg()
41 int32_t aos_hal_pwm_finalize(pwm_dev_t *pwm) in aos_hal_pwm_finalize()
/AliOS-Things-master/components/libc_stub/compilers/armlibc/
A Dhal_stub.c4 #define pwm_dev_t void macro
25 WEAK int hal_pwm_finalize(pwm_dev_t *pwm) in hal_pwm_finalize()
30 WEAK int hal_pwm_init(pwm_dev_t *pwm) in hal_pwm_init()
36 WEAK int hal_pwm_start(pwm_dev_t *pwm) in hal_pwm_start()
42 WEAK int hal_pwm_stop(pwm_dev_t *pwm) in hal_pwm_stop()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dpwm.c45 int32_t hal_pwm_init(pwm_dev_t *pwm) in hal_pwm_init()
70 int32_t hal_pwm_start(pwm_dev_t *pwm) in hal_pwm_start()
83 int32_t hal_pwm_stop(pwm_dev_t *pwm) in hal_pwm_stop()
98 int32_t hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para) in hal_pwm_para_chg()
116 int32_t hal_pwm_finalize(pwm_dev_t *pwm) in hal_pwm_finalize()
/AliOS-Things-master/components/drivers/peripheral/pwm/src/
A Dpwm_dev.c25 pwm_dev_t dev;
32 pwm_dev_t *pwm_dev = &vp->dev; in pwm_device_ioctl()
94 pwm_dev_t *pwm_dev = &vp->dev; in pwm_device_open()
104 pwm_dev_t *pwm_dev = &vp->dev; in pwm_device_close()
258 __weak int32_t hal_pwm_init(pwm_dev_t *tim) { in VFS_DRIVER_ENTRY()
263 __weak int32_t hal_pwm_start(pwm_dev_t *tim) { in hal_pwm_start()
268 __weak int32_t hal_pwm_stop(pwm_dev_t *tim) { in hal_pwm_stop()
273 __weak int32_t hal_pwm_para_chg(pwm_dev_t *tim, pwm_config_t para) { in hal_pwm_para_chg()
278 __weak int32_t hal_pwm_finalize(pwm_dev_t *tim) { in hal_pwm_finalize()
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dpwm.c49 int32_t hal_pwm_init(pwm_dev_t *pwm) in hal_pwm_init()
89 int32_t hal_pwm_start(pwm_dev_t *pwm) in hal_pwm_start()
108 int32_t hal_pwm_stop(pwm_dev_t *pwm) in hal_pwm_stop()
128 int32_t hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para) in hal_pwm_para_chg()
148 int32_t hal_pwm_finalize(pwm_dev_t *pwm) in hal_pwm_finalize()
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/
A Daos_hal_pwm.c16 int32_t aos_hal_pwm_init(pwm_dev_t *pwm) in aos_hal_pwm_init()
69 int32_t aos_hal_pwm_start(pwm_dev_t *pwm) in aos_hal_pwm_start()
94 int32_t aos_hal_pwm_stop(pwm_dev_t *pwm) in aos_hal_pwm_stop()
119 int32_t aos_hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para) in aos_hal_pwm_para_chg()
149 int32_t aos_hal_pwm_finalize(pwm_dev_t *pwm) in aos_hal_pwm_finalize()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/pwm/
A Dmodule_pwm.c27 pwm_dev_t *pwm_device = NULL; in native_pwm_open()
64 pwm_dev_t *pwm_device = NULL; in native_pwm_close()
90 pwm_dev_t *pwm_device = NULL; in native_pwm_getConfig()
128 pwm_dev_t *pwm_device = NULL; in native_pwm_setConfig()
/AliOS-Things-master/components/py_engine/modules/driver/
A Dpwm.c49 pwm_dev_t *pwm_device = NULL; in obj_open()
103 pwm_dev_t *pwm_device = NULL; in obj_close()
132 pwm_dev_t *pwm_device = NULL; in obj_setOption()
192 pwm_dev_t *pwm_device = NULL; in obj_getOption()
A Dboard_mgr.c516 static void board_set_pwm_default(pwm_dev_t *pwm_device) in board_set_pwm_default()
534 pwm_dev_t device; in board_parse_pwm()
552 pwm_dev_t *new_pwm = aos_calloc(1, sizeof(*new_pwm)); in board_parse_pwm()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/pwm/
A Dmodule_pwm.c31 pwm_dev_t *pwm_device = NULL; in native_pwm_open()
83 pwm_dev_t *pwm_device = NULL; in native_pwm_close()
111 pwm_dev_t *pwm_device = NULL; in native_pwm_getConfig()
145 pwm_dev_t *pwm_device = NULL; in native_pwm_setConfig()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmachine_pwm.c35 pwm_dev_t dev;
43 pwm_dev_t *dev = &self->dev; in update_param()
91 pwm_dev_t *dev = &self->dev; in machine_pwm_init_helper()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmachine_pwm.c58 pwm_dev_t dev;
65 pwm_dev_t *dev = &self->dev; in update_param()
108 pwm_dev_t *dev = &self->dev; in machine_pwm_init_helper()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmachine_pwm.c58 pwm_dev_t dev;
65 pwm_dev_t *dev = &self->dev; in update_param()
108 pwm_dev_t *dev = &self->dev; in machine_pwm_init_helper()
/AliOS-Things-master/hardware/board/haaseduk1/board_test/
A Dpwm_test.c16 pwm_dev_t pwm = {0, {0.0, 25}, NULL}; in pwm_test_process()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/pwm/
A Dpwm_test.c16 pwm_dev_t pwm_dev;
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/musicbox/
A Dmusicbox.md55 pwm_dev_t pwm = {port, {0.5, frequency}, NULL}; // 设定pwm 频率为设定频率
74 pwm_dev_t pwm = {port, {0.5, 1}, NULL}; // 关闭对应端口的pwm输出
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c720 static void board_set_pwm_default(pwm_dev_t *pwm_device) in board_set_pwm_default()
739 pwm_dev_t device; in board_parse_pwm()
761 pwm_dev_t *new_pwm = amp_calloc(1, sizeof(*new_pwm)); in board_parse_pwm()

Completed in 21 milliseconds