/AliOS-Things-master/components/py_engine/tests/pyb/ |
A D | dac.py | 7 dac = pyb.DAC(1) variable 8 print(dac) 9 dac.noise(100) 10 dac.triangle(100) 11 dac.write(0) 12 dac.write_timed(bytearray(10), 100, mode=pyb.DAC.NORMAL) 14 dac.write(0) 17 dac = pyb.DAC(1, buffering=True) variable 18 dac.write(0)
|
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/ |
A D | aos_hal_dac.c | 9 int32_t aos_hal_dac_init(dac_dev_t *dac) in aos_hal_dac_init() argument 11 if(NULL == dac) { in aos_hal_dac_init() 19 int32_t aos_hal_dac_start(dac_dev_t *dac, uint32_t channel) in aos_hal_dac_start() argument 25 int32_t aos_hal_dac_stop(dac_dev_t *dac, uint32_t channel) in aos_hal_dac_stop() argument 31 int32_t aos_hal_dac_set_value(dac_dev_t *dac, uint32_t channel, uint32_t data) in aos_hal_dac_set_value() argument 37 int32_t aos_hal_dac_get_value(dac_dev_t *dac, uint32_t channel) in aos_hal_dac_get_value() argument 43 int32_t aos_hal_dac_finalize(dac_dev_t *dac) in aos_hal_dac_finalize() argument
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | dac.c | 14 int32_t hal_dac_init(dac_dev_t *dac) in hal_dac_init() argument 27 int32_t hal_dac_start(dac_dev_t *dac, uint32_t channel) in hal_dac_start() argument 40 int32_t hal_dac_stop(dac_dev_t *dac, uint32_t channel) in hal_dac_stop() argument 54 int32_t hal_dac_set_value(dac_dev_t *dac, uint32_t channel, uint32_t data) in hal_dac_set_value() argument 67 int32_t hal_dac_get_value(dac_dev_t *dac, uint32_t channel) in hal_dac_get_value() argument 79 int32_t hal_dac_finalize(dac_dev_t *dac) in hal_dac_finalize() argument
|
/AliOS-Things-master/components/amp_adapter/include/peripheral/ |
A D | aos_hal_dac.h | 26 int32_t aos_hal_dac_init(dac_dev_t *dac); 36 int32_t aos_hal_dac_start(dac_dev_t *dac, uint32_t channel); 46 int32_t aos_hal_dac_stop(dac_dev_t *dac, uint32_t channel); 57 int32_t aos_hal_dac_set_value(dac_dev_t *dac, uint32_t channel, uint32_t data); 67 int32_t aos_hal_dac_get_value(dac_dev_t *dac, uint32_t channel); 76 int32_t aos_hal_dac_finalize(dac_dev_t *dac);
|
/AliOS-Things-master/components/amp/example-js/ |
A D | dac.js | 1 var dac = require('dac'); variable 4 var vol = dac.open({
|
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/ |
A D | dac.js | 1 import * as dac from 'dac' 4 var vol = dac.open({
|
/AliOS-Things-master/solutions/javascript_demo/board/haas600/ |
A D | dac.js | 1 import * as dac from 'dac' 4 var vol = dac.open({
|
/AliOS-Things-master/solutions/javascript_demo/board/haas100/ |
A D | dac.js | 1 import * as dac from 'dac' 4 var vol = dac.open({
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/dac/ |
A D | aos.mk | 5 $(NAME)_SUMMARY := testcase for dac
|
/AliOS-Things-master/components/amp/libjs/ |
A D | generator.js | 19 dac: 'JSE_HW_ADDON_DAC', property in macro4libjs
|
/AliOS-Things-master/components/amp/engine/duktape_engine/ |
A D | Makefile | 6 addons/hardware/dac/module_dac.c \
|
/AliOS-Things-master/components/amp/ampsim/ |
A D | CMakeLists.txt | 21 aux_source_directory(../engine/quickjs_engine/addons/hardware/dac DIR_ADDON_DAC_SRCS)
|
/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_mgr.c | 883 static int8_t board_parse_dac(cJSON *dac, char *id) in board_parse_dac() argument 899 item = dac; in board_parse_dac()
|
/AliOS-Things-master/components/py_engine/ |
A D | aos.mk | 30 modules/driver/dac.c \
|