Home
last modified time | relevance | path

Searched refs:data_temp (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/sensor/drv/
A Ddrv_mag_rohm_bm1422a.c373 uint16_t data_temp,diff_x=9999; in drv_mag_rohm_bm1422a_offset_adjustment() local
396 data_temp=((((uint16_t)buffer[1]) << 8) | (uint16_t)buffer[0]); in drv_mag_rohm_bm1422a_offset_adjustment()
397 if(diff_x > abs(data_temp)) in drv_mag_rohm_bm1422a_offset_adjustment()
400 diff_x = abs(data_temp); in drv_mag_rohm_bm1422a_offset_adjustment()
422 if(diff_x > abs(data_temp)) in drv_mag_rohm_bm1422a_offset_adjustment()
425 diff_x = abs(data_temp); in drv_mag_rohm_bm1422a_offset_adjustment()
447 if(diff_x > abs(data_temp)) in drv_mag_rohm_bm1422a_offset_adjustment()
450 diff_x = abs(data_temp); in drv_mag_rohm_bm1422a_offset_adjustment()
542 int16_t data_temp[3]; in drv_mag_rohm_bm1422a_read() local
580 data_temp[i]=(((buffer[2*i+1]) << 8) | buffer[2*i]); in drv_mag_rohm_bm1422a_read()
[all …]
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_storage.c24 uint8_t data_temp[16]; in _genie_storage_encrypt() local
30 memcpy(data_temp, p_buff + (i << 4), 16); in _genie_storage_encrypt()
31 BT_DBG("data: %s", bt_hex(data_temp, 16)); in _genie_storage_encrypt()
32 bt_mesh_aes_encrypt(g_enc_key, data_temp, enc_temp); in _genie_storage_encrypt()
42 uint8_t data_temp[16]; in _genie_storage_decrypt() local
48 memcpy(data_temp, p_buff + (i << 4), 16); in _genie_storage_decrypt()
49 bt_mesh_aes_decrypt(g_enc_key, data_temp, dec_temp); in _genie_storage_decrypt()

Completed in 6 milliseconds