Home
last modified time | relevance | path

Searched refs:dac (Results 1 – 14 of 14) sorted by relevance

/AliOS-Things-master/components/py_engine/tests/pyb/
A Ddac.py7 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 Daos_hal_dac.c9 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 Ddac.c14 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 Daos_hal_dac.h26 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 Ddac.js1 var dac = require('dac'); variable
4 var vol = dac.open({
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/
A Ddac.js1 import * as dac from 'dac'
4 var vol = dac.open({
/AliOS-Things-master/solutions/javascript_demo/board/haas600/
A Ddac.js1 import * as dac from 'dac'
4 var vol = dac.open({
/AliOS-Things-master/solutions/javascript_demo/board/haas100/
A Ddac.js1 import * as dac from 'dac'
4 var vol = dac.open({
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/dac/
A Daos.mk5 $(NAME)_SUMMARY := testcase for dac
/AliOS-Things-master/components/amp/libjs/
A Dgenerator.js19 dac: 'JSE_HW_ADDON_DAC', property in macro4libjs
/AliOS-Things-master/components/amp/engine/duktape_engine/
A DMakefile6 addons/hardware/dac/module_dac.c \
/AliOS-Things-master/components/amp/ampsim/
A DCMakeLists.txt21 aux_source_directory(../engine/quickjs_engine/addons/hardware/dac DIR_ADDON_DAC_SRCS)
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c883 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 Daos.mk30 modules/driver/dac.c \

Completed in 35 milliseconds