Home
last modified time | relevance | path

Searched refs:bytecpy (Results 1 – 16 of 16) sorted by relevance

/hal_st-3.4.0/sensor/stmemsc/lps28dfw_STdC/driver/
Dlps28dfw_reg.c87 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
275 bytecpy((uint8_t *)&ctrl_reg2, &reg[0]); in lps28dfw_init_set()
276 bytecpy((uint8_t *)&ctrl_reg3, &reg[1]); in lps28dfw_init_set()
293 bytecpy(&reg[0], (uint8_t *)&ctrl_reg2); in lps28dfw_init_set()
294 bytecpy(&reg[1], (uint8_t *)&ctrl_reg3); in lps28dfw_init_set()
472 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in lps28dfw_mode_set()
473 bytecpy((uint8_t *)&ctrl_reg2, &reg[1]); in lps28dfw_mode_set()
481 bytecpy(&reg[0], (uint8_t *)&ctrl_reg1); in lps28dfw_mode_set()
482 bytecpy(&reg[1], (uint8_t *)&ctrl_reg2); in lps28dfw_mode_set()
508 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in lps28dfw_mode_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lps22df_STdC/driver/
Dlps22df_reg.c89 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
281 bytecpy((uint8_t *)&ctrl_reg2, &reg[0]); in lps22df_init_set()
282 bytecpy((uint8_t *)&ctrl_reg3, &reg[1]); in lps22df_init_set()
299 bytecpy(&reg[0], (uint8_t *)&ctrl_reg2); in lps22df_init_set()
300 bytecpy(&reg[1], (uint8_t *)&ctrl_reg3); in lps22df_init_set()
480 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in lps22df_mode_set()
481 bytecpy((uint8_t *)&ctrl_reg2, &reg[1]); in lps22df_mode_set()
488 bytecpy(&reg[0], (uint8_t *)&ctrl_reg1); in lps22df_mode_set()
489 bytecpy(&reg[1], (uint8_t *)&ctrl_reg2); in lps22df_mode_set()
515 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in lps22df_mode_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lis3dsh_STdC/driver/
Dlis3dsh_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
393 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in lis3dsh_pin_int1_route_set()
394 bytecpy((uint8_t *)&ctrl_reg2, &reg[1]); in lis3dsh_pin_int1_route_set()
395 bytecpy((uint8_t *)&ctrl_reg3, &reg[2]); in lis3dsh_pin_int1_route_set()
396 bytecpy((uint8_t *)&ctrl_reg6, &reg[4]); in lis3dsh_pin_int1_route_set()
416 bytecpy(&reg[0], (uint8_t *)&ctrl_reg1); in lis3dsh_pin_int1_route_set()
417 bytecpy(&reg[1], (uint8_t *)&ctrl_reg2); in lis3dsh_pin_int1_route_set()
418 bytecpy(&reg[2], (uint8_t *)&ctrl_reg3); in lis3dsh_pin_int1_route_set()
419 bytecpy(&reg[4], (uint8_t *)&ctrl_reg6); in lis3dsh_pin_int1_route_set()
448 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in lis3dsh_pin_int1_route_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/ilps28qsw_STdC/driver/
Dilps28qsw_reg.c88 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
230 bytecpy((uint8_t *)&ctrl_reg2, &reg[0]); in ilps28qsw_init_set()
231 bytecpy((uint8_t *)&ctrl_reg3, &reg[1]); in ilps28qsw_init_set()
248 bytecpy(&reg[0], (uint8_t *)&ctrl_reg2); in ilps28qsw_init_set()
249 bytecpy(&reg[1], (uint8_t *)&ctrl_reg3); in ilps28qsw_init_set()
413 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in ilps28qsw_mode_set()
414 bytecpy((uint8_t *)&ctrl_reg2, &reg[1]); in ilps28qsw_mode_set()
415 bytecpy((uint8_t *)&ctrl_reg3, &reg[2]); in ilps28qsw_mode_set()
461 bytecpy(&reg[0], (uint8_t *)&ctrl_reg1); in ilps28qsw_mode_set()
462 bytecpy(&reg[1], (uint8_t *)&ctrl_reg2); in ilps28qsw_mode_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/ilps22qs_STdC/driver/
Dilps22qs_reg.c87 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
259 bytecpy((uint8_t *)&ctrl_reg2, &reg[0]); in ilps22qs_init_set()
260 bytecpy((uint8_t *)&ctrl_reg3, &reg[1]); in ilps22qs_init_set()
277 bytecpy(&reg[0], (uint8_t *)&ctrl_reg2); in ilps22qs_init_set()
278 bytecpy(&reg[1], (uint8_t *)&ctrl_reg3); in ilps22qs_init_set()
444 bytecpy((uint8_t *)&ctrl_reg1, &reg[0]); in ilps22qs_mode_set()
445 bytecpy((uint8_t *)&ctrl_reg2, &reg[1]); in ilps22qs_mode_set()
446 bytecpy((uint8_t *)&ctrl_reg3, &reg[2]); in ilps22qs_mode_set()
492 bytecpy(&reg[0], (uint8_t *)&ctrl_reg1); in ilps22qs_mode_set()
493 bytecpy(&reg[1], (uint8_t *)&ctrl_reg2); in ilps22qs_mode_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/ais25ba_STdC/driver/
Dais25ba_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
175 bytecpy((uint8_t *)&tdm_cmax_h, &reg[0]); in ais25ba_bus_mode_set()
176 bytecpy((uint8_t *)&tdm_cmax_l, &reg[1]); in ais25ba_bus_mode_set()
193 bytecpy(&reg[0], (uint8_t *)&tdm_cmax_h); in ais25ba_bus_mode_set()
194 bytecpy(&reg[1], (uint8_t *)&tdm_cmax_l); in ais25ba_bus_mode_set()
225 bytecpy((uint8_t *)&tdm_cmax_h, &reg[0]); in ais25ba_bus_mode_get()
226 bytecpy((uint8_t *)&tdm_cmax_l, &reg[1]); in ais25ba_bus_mode_get()
262 bytecpy((uint8_t *)&tdm_ctrl_reg, &reg[0]); in ais25ba_mode_set()
263 bytecpy((uint8_t *)&axes_ctrl_reg, &reg[1]); in ais25ba_mode_set()
276 bytecpy(&reg[0], (uint8_t *)&tdm_ctrl_reg); in ais25ba_mode_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lis25ba_STdC/driver/
Dlis25ba_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
175 bytecpy((uint8_t *)&tdm_cmax_h, &reg[0]); in lis25ba_bus_mode_set()
176 bytecpy((uint8_t *)&tdm_cmax_l, &reg[1]); in lis25ba_bus_mode_set()
193 bytecpy(&reg[0], (uint8_t *)&tdm_cmax_h); in lis25ba_bus_mode_set()
194 bytecpy(&reg[1], (uint8_t *)&tdm_cmax_l); in lis25ba_bus_mode_set()
225 bytecpy((uint8_t *)&tdm_cmax_h, &reg[0]); in lis25ba_bus_mode_get()
226 bytecpy((uint8_t *)&tdm_cmax_l, &reg[1]); in lis25ba_bus_mode_get()
262 bytecpy((uint8_t *)&tdm_ctrl_reg, &reg[0]); in lis25ba_mode_set()
263 bytecpy((uint8_t *)&axes_ctrl_reg, &reg[1]); in lis25ba_mode_set()
279 bytecpy(&reg[0], (uint8_t *)&tdm_ctrl_reg); in lis25ba_mode_set()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dsox_STdC/driver/
Dlsm6dsox_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
12763 bytecpy((uint8_t *)&all_int_src, &reg[0]); in lsm6dsox_all_sources_get()
12764 bytecpy((uint8_t *)&wake_up_src, &reg[1]); in lsm6dsox_all_sources_get()
12765 bytecpy((uint8_t *)&tap_src, &reg[2]); in lsm6dsox_all_sources_get()
12766 bytecpy((uint8_t *)&d6d_src, &reg[3]); in lsm6dsox_all_sources_get()
12767 bytecpy((uint8_t *)&status_reg, &reg[4]); in lsm6dsox_all_sources_get()
12768 bytecpy((uint8_t *)&emb_func_status_mainpage, &reg[5]); in lsm6dsox_all_sources_get()
12769 bytecpy((uint8_t *)&fsm_status_a_mainpage, &reg[6]); in lsm6dsox_all_sources_get()
12770 bytecpy((uint8_t *)&fsm_status_b_mainpage, &reg[7]); in lsm6dsox_all_sources_get()
12771 bytecpy((uint8_t *)&mlc_status_mainpage, &reg[8]); in lsm6dsox_all_sources_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dso_STdC/driver/
Dlsm6dso_reg.c94 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
11681 bytecpy((uint8_t *)&all_int_src, &reg[0]); in lsm6dso_all_sources_get()
11682 bytecpy((uint8_t *)&wake_up_src, &reg[1]); in lsm6dso_all_sources_get()
11683 bytecpy((uint8_t *)&tap_src, &reg[2]); in lsm6dso_all_sources_get()
11684 bytecpy((uint8_t *)&d6d_src, &reg[3]); in lsm6dso_all_sources_get()
11685 bytecpy((uint8_t *)&status_reg, &reg[4]); in lsm6dso_all_sources_get()
11720 bytecpy((uint8_t *)&emb_func_status_mainpage, &reg[0]); in lsm6dso_all_sources_get()
11721 bytecpy((uint8_t *)&fsm_status_a_mainpage, &reg[1]); in lsm6dso_all_sources_get()
11722 bytecpy((uint8_t *)&fsm_status_b_mainpage, &reg[2]); in lsm6dso_all_sources_get()
11752 bytecpy((uint8_t *)&status_master_mainpage, &reg[0]); in lsm6dso_all_sources_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32x_STdC/driver/
Dlsm6dso32x_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
11149 bytecpy((uint8_t *)&all_int_src, &reg[0]); in lsm6dso32x_all_sources_get()
11150 bytecpy((uint8_t *)&wake_up_src, &reg[1]); in lsm6dso32x_all_sources_get()
11151 bytecpy((uint8_t *)&tap_src, &reg[2]); in lsm6dso32x_all_sources_get()
11152 bytecpy((uint8_t *)&d6d_src, &reg[3]); in lsm6dso32x_all_sources_get()
11153 bytecpy((uint8_t *)&status_reg, &reg[4]); in lsm6dso32x_all_sources_get()
11154 bytecpy((uint8_t *)&emb_func_status_mainpage, &reg[5]); in lsm6dso32x_all_sources_get()
11155 bytecpy((uint8_t *)&fsm_status_a_mainpage, &reg[6]); in lsm6dso32x_all_sources_get()
11156 bytecpy((uint8_t *)&fsm_status_b_mainpage, &reg[7]); in lsm6dso32x_all_sources_get()
11157 bytecpy((uint8_t *)&mlc_status_mainpage, &reg[8]); in lsm6dso32x_all_sources_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lis2du12_STdC/driver/
Dlis2du12_reg.c87 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
747 bytecpy(( uint8_t*)&fifo_ctrl, &reg[0]); in lis2du12_fifo_mode_set()
748 bytecpy(( uint8_t*)&fifo_wtm, &reg[1]); in lis2du12_fifo_mode_set()
762 bytecpy(&reg[0], ( uint8_t*)&fifo_ctrl); in lis2du12_fifo_mode_set()
763 bytecpy(&reg[1], ( uint8_t*)&fifo_wtm); in lis2du12_fifo_mode_set()
787 bytecpy(( uint8_t*)&fifo_ctrl, &reg[0]); in lis2du12_fifo_mode_get()
788 bytecpy(( uint8_t*)&fifo_wtm, &reg[1]); in lis2du12_fifo_mode_get()
/hal_st-3.4.0/sensor/stmemsc/ais2dw12_STdC/driver/
Dais2dw12_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
485 bytecpy((uint8_t *)&val->status_dup, &reg[0]); in ais2dw12_all_sources_get()
486 bytecpy((uint8_t *)&val->wake_up_src, &reg[1]); in ais2dw12_all_sources_get()
487 bytecpy((uint8_t *)&val->sixd_src, &reg[3]); in ais2dw12_all_sources_get()
488 bytecpy((uint8_t *)&val->all_int_src, &reg[4]); in ais2dw12_all_sources_get()
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv_STdC/driver/
Dlsm6dsv_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
1704 bytecpy((uint8_t *)&fifo_status2, &buff[1]); in lsm6dsv_all_sources_get()
1705 bytecpy((uint8_t *)&all_int_src, &buff[2]); in lsm6dsv_all_sources_get()
1706 bytecpy((uint8_t *)&status_reg, &buff[3]); in lsm6dsv_all_sources_get()
1739 bytecpy((uint8_t *)&status_reg_ois, &buff[0]); in lsm6dsv_all_sources_get()
1740 bytecpy((uint8_t *)&wake_up_src, &buff[1]); in lsm6dsv_all_sources_get()
1741 bytecpy((uint8_t *)&tap_src, &buff[2]); in lsm6dsv_all_sources_get()
1742 bytecpy((uint8_t *)&d6d_src, &buff[3]); in lsm6dsv_all_sources_get()
1743 bytecpy((uint8_t *)&emb_func_status_mainpage, &buff[4]); in lsm6dsv_all_sources_get()
1744 bytecpy((uint8_t *)&fsm_status_mainpage, &buff[5]); in lsm6dsv_all_sources_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv16bx_STdC/driver/
Dlsm6dsv16bx_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
1166 bytecpy((uint8_t *)&fifo_status2, &buff[1]); in lsm6dsv16bx_all_sources_get()
1167 bytecpy((uint8_t *)&all_int_src, &buff[2]); in lsm6dsv16bx_all_sources_get()
1168 bytecpy((uint8_t *)&status_reg, &buff[3]); in lsm6dsv16bx_all_sources_get()
1202 bytecpy((uint8_t *)&wake_up_src, &buff[0]); in lsm6dsv16bx_all_sources_get()
1203 bytecpy((uint8_t *)&tap_src, &buff[1]); in lsm6dsv16bx_all_sources_get()
1204 bytecpy((uint8_t *)&d6d_src, &buff[2]); in lsm6dsv16bx_all_sources_get()
1205 bytecpy((uint8_t *)&emb_func_status_mainpage, &buff[4]); in lsm6dsv16bx_all_sources_get()
1206 bytecpy((uint8_t *)&fsm_status_mainpage, &buff[5]); in lsm6dsv16bx_all_sources_get()
1207 bytecpy((uint8_t *)&mlc_status_mainpage, &buff[6]); in lsm6dsv16bx_all_sources_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv16x_STdC/driver/
Dlsm6dsv16x_reg.c93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function
2018 bytecpy((uint8_t *)&fifo_status2, &buff[1]); in lsm6dsv16x_all_sources_get()
2019 bytecpy((uint8_t *)&all_int_src, &buff[2]); in lsm6dsv16x_all_sources_get()
2020 bytecpy((uint8_t *)&status_reg, &buff[3]); in lsm6dsv16x_all_sources_get()
2054 bytecpy((uint8_t *)&status_reg_ois, &buff[0]); in lsm6dsv16x_all_sources_get()
2055 bytecpy((uint8_t *)&wake_up_src, &buff[1]); in lsm6dsv16x_all_sources_get()
2056 bytecpy((uint8_t *)&tap_src, &buff[2]); in lsm6dsv16x_all_sources_get()
2057 bytecpy((uint8_t *)&d6d_src, &buff[3]); in lsm6dsv16x_all_sources_get()
2058 bytecpy((uint8_t *)&emb_func_status_mainpage, &buff[5]); in lsm6dsv16x_all_sources_get()
2059 bytecpy((uint8_t *)&fsm_status_mainpage, &buff[6]); in lsm6dsv16x_all_sources_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/iis3dwb_STdC/driver/
Diis3dwb_reg.c86 static void bytecpy(uint8_t *target, const uint8_t *source) in bytecpy() function
2995 bytecpy((uint8_t *)&status, &buff[1]); in iis3dwb_fifo_status_get()