Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 25 of 40) sorted by relevance

12

/AliOS-Things-master/components/amp/example-js/
A Dgpio.js23 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 Ddac.js4 var vol = dac.open({ variable
14 vol.writeValue(65536 / 2)
16 var value = vol.readValue();
20 vol.close();
A Dadc.js3 var vol = adc.open({ variable
14 console.log('adc: adc value ' + vol.readValue())
A Di2c.js24 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 Dapp.js13 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 Ddac.js4 var vol = dac.open({ variable
14 vol.writeValue(65536 / 2)
16 var value = vol.readValue();
20 vol.close();
A Dadc.js3 var vol = adc.open({ variable
13 var value = vol.readValue()
A Di2c.js24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/solutions/javascript_demo/board/haas600/
A Ddac.js4 var vol = dac.open({ variable
14 vol.writeValue(65536 / 2)
16 var value = vol.readValue();
20 vol.close();
A Dadc.js3 var vol = adc.open({ variable
13 var value = vol.readValue()
A Di2c.js24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/solutions/javascript_demo/board/haas100/
A Ddac.js4 var vol = dac.open({ variable
14 vol.writeValue(65536 / 2)
16 var value = vol.readValue();
20 vol.close();
A Dadc.js3 var vol = adc.open({ variable
13 var value = vol.readValue()
A Di2c.js24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/nv_section/userdata_section/
A Dnvrecord_bt.h18 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 Dnvrecord_bt.h18 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 Dff.h41 #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 Dnvrecord.h132 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 Dhal_codec.h30 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 Daudio_internel.c502 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 Dgen_voice.py26 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 Dapp_a2dp.h13 int a2dp_volume_set(enum BT_DEVICE_ID_T id, uint8_t vol);
A Dapp_bt_stream.h128 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 Dffsystem.c50 BYTE vol, /* Corresponding volume (logical drive number) */ in ff_cre_syncobj() argument
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/
A Dtemplate.c16 int vol; member
84 int volume = mixer.vol; in codec_hw_vol_get()
106 mixer.vol = volume; in codec_hw_vol_put()

Completed in 25 milliseconds

12