/AliOS-Things-master/components/amp_adapter/include/peripheral/ |
A D | aos_hal_pwm.h | 30 } 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 D | pwm.h | 30 } 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 D | aos_hal_pwm.c | 9 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 D | hal_stub.c | 4 #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 D | pwm.c | 45 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 D | pwm_dev.c | 25 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 D | pwm.c | 49 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 D | aos_hal_pwm.c | 16 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 D | module_pwm.c | 27 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 D | pwm.c | 49 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 D | board_mgr.c | 516 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 D | module_pwm.c | 31 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 D | machine_pwm.c | 35 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 D | machine_pwm.c | 58 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 D | machine_pwm.c | 58 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 D | pwm_test.c | 16 pwm_dev_t pwm = {0, {0.0, 25}, NULL}; in pwm_test_process()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/pwm/ |
A D | pwm_test.c | 16 pwm_dev_t pwm_dev;
|
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/musicbox/ |
A D | musicbox.md | 55 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 D | board_mgr.c | 720 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()
|