/AliOS-Things-master/components/amp/example-js/ |
A D | gpio.js | 23 var vol = 0; variable 29 vol = 1 - vol; 30 led.writeValue(vol); 31 console.log('gpio: led set value ' + vol); 33 vol = led.readValue(); 34 console.log('gpio: led get value ' + vol);
|
A D | dac.js | 4 var vol = dac.open({ variable 14 vol.writeValue(65536 / 2) 16 var value = vol.readValue(); 20 vol.close();
|
A D | adc.js | 3 var vol = adc.open({ variable 14 console.log('adc: adc value ' + vol.readValue())
|
A D | i2c.js | 24 var vol = sensor.readMem(memaddr, 2) 25 console.log('sensor read mem vol is ' + vol)
|
/AliOS-Things-master/hardware/chip/rtl872xd/prebuild/data/jsamp/ |
A D | app.js | 13 var vol = 0; variable 15 vol = 1 - vol; 16 led.writeValue(vol); 17 console.log('gpio: led set value ' + vol);
|
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/ |
A D | dac.js | 4 var vol = dac.open({ variable 14 vol.writeValue(65536 / 2) 16 var value = vol.readValue(); 20 vol.close();
|
A D | adc.js | 3 var vol = adc.open({ variable 13 var value = vol.readValue()
|
A D | i2c.js | 24 var vol = sensor.readMem(memaddr, 2)
|
/AliOS-Things-master/solutions/javascript_demo/board/haas600/ |
A D | dac.js | 4 var vol = dac.open({ variable 14 vol.writeValue(65536 / 2) 16 var value = vol.readValue(); 20 vol.close();
|
A D | adc.js | 3 var vol = adc.open({ variable 13 var value = vol.readValue()
|
A D | i2c.js | 24 var vol = sensor.readMem(memaddr, 2)
|
/AliOS-Things-master/solutions/javascript_demo/board/haas100/ |
A D | dac.js | 4 var vol = dac.open({ variable 14 vol.writeValue(65536 / 2) 16 var value = vol.readValue(); 20 vol.close();
|
A D | adc.js | 3 var vol = adc.open({ variable 13 var value = vol.readValue()
|
A D | i2c.js | 24 var vol = sensor.readMem(memaddr, 2)
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nv_section/userdata_section/ |
A D | nvrecord_bt.h | 18 void nv_record_btdevicerecord_set_a2dp_vol(nvrec_btdevicerecord* pRecord, int8_t vol); 19 void nv_record_btdevicerecord_set_hfp_vol(nvrec_btdevicerecord* pRecord, int8_t vol); 20 void nv_record_btdevicevolume_set_a2dp_vol(btdevice_volume* device_vol, int8_t vol); 21 void nv_record_btdevicevolume_set_hfp_vol(btdevice_volume* device_vol, int8_t vol);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nv_section/fpga_section/ |
A D | nvrecord_bt.h | 18 void nv_record_btdevicerecord_set_a2dp_vol(nvrec_btdevicerecord* pRecord, int8_t vol); 19 void nv_record_btdevicerecord_set_hfp_vol(nvrec_btdevicerecord* pRecord, int8_t vol); 20 void nv_record_btdevicevolume_set_a2dp_vol(btdevice_volume* device_vol, int8_t vol); 21 void nv_record_btdevicevolume_set_hfp_vol(btdevice_volume* device_vol, int8_t vol);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/fs/fat/ChaN/ |
A D | ff.h | 41 #define LD2PD(vol) (VolToPart[vol].pd) /* Get physical drive number */ argument 42 #define LD2PT(vol) (VolToPart[vol].pt) /* Get partition index */ argument 45 #define LD2PD(vol) (BYTE)(vol) /* Each logical drive is bound to the same physical drive number */ 46 #define LD2PT(vol) 0 /* Always mounts the 1st partition or in SFD */
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nvrecord/ |
A D | nvrecord.h | 132 void nv_record_btdevicerecord_set_a2dp_vol(nvrec_btdevicerecord* pRecord, int8_t vol); 133 void nv_record_btdevicerecord_set_hfp_vol(nvrec_btdevicerecord* pRecord, int8_t vol); 134 void nv_record_btdevicevolume_set_a2dp_vol(btdevice_volume* device_vol, int8_t vol); 135 void nv_record_btdevicevolume_set_hfp_vol(btdevice_volume* device_vol, int8_t vol);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_codec.h | 30 uint32_t vol:8; member 32 uint32_t vol:5; member 126 int hal_codec_set_chan_vol(enum AUD_STREAM_T stream, enum AUD_CHANNEL_MAP_T ch_map, uint8_t vol);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/audio/core/ |
A D | audio_internel.c | 502 int vol = (int)(VOLUME_MAX / 100.0 * index) ; in rl6548_volume_set() local 503 SET_VOLUME(vol, vol); in rl6548_volume_set() 510 int vol = 0; in rl6548_volume_get() local 517 vol = volume_16 & 0x00FF; in rl6548_volume_get() 518 volume_index = round(vol * 100.0 / VOLUME_MAX); in rl6548_volume_get()
|
/AliOS-Things-master/components/uvoice/tools/ |
A D | gen_voice.py | 26 vol = max_volume * math.sqrt(1 - tmp) 27 fv_float = vol * math.cos(theta)
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_app/ |
A D | app_a2dp.h | 13 int a2dp_volume_set(enum BT_DEVICE_ID_T id, uint8_t vol);
|
A D | app_bt_stream.h | 128 int app_bt_stream_volumeset(int8_t vol); 201 void app_bt_stream_volumeset_handler(int8_t vol);
|
/AliOS-Things-master/components/fatfs/src/ |
A D | ffsystem.c | 50 BYTE vol, /* Corresponding volume (logical drive number) */ in ff_cre_syncobj() argument
|
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/ |
A D | template.c | 16 int vol; member 84 int volume = mixer.vol; in codec_hw_vol_get() 106 mixer.vol = volume; in codec_hw_vol_put()
|