/hal_st-3.4.0/sensor/stmemsc/lps28dfw_STdC/driver/ |
D | lps28dfw_reg.c | 87 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 275 bytecpy((uint8_t *)&ctrl_reg2, ®[0]); in lps28dfw_init_set() 276 bytecpy((uint8_t *)&ctrl_reg3, ®[1]); in lps28dfw_init_set() 293 bytecpy(®[0], (uint8_t *)&ctrl_reg2); in lps28dfw_init_set() 294 bytecpy(®[1], (uint8_t *)&ctrl_reg3); in lps28dfw_init_set() 472 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in lps28dfw_mode_set() 473 bytecpy((uint8_t *)&ctrl_reg2, ®[1]); in lps28dfw_mode_set() 481 bytecpy(®[0], (uint8_t *)&ctrl_reg1); in lps28dfw_mode_set() 482 bytecpy(®[1], (uint8_t *)&ctrl_reg2); in lps28dfw_mode_set() 508 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in lps28dfw_mode_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lps22df_STdC/driver/ |
D | lps22df_reg.c | 89 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 281 bytecpy((uint8_t *)&ctrl_reg2, ®[0]); in lps22df_init_set() 282 bytecpy((uint8_t *)&ctrl_reg3, ®[1]); in lps22df_init_set() 299 bytecpy(®[0], (uint8_t *)&ctrl_reg2); in lps22df_init_set() 300 bytecpy(®[1], (uint8_t *)&ctrl_reg3); in lps22df_init_set() 480 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in lps22df_mode_set() 481 bytecpy((uint8_t *)&ctrl_reg2, ®[1]); in lps22df_mode_set() 488 bytecpy(®[0], (uint8_t *)&ctrl_reg1); in lps22df_mode_set() 489 bytecpy(®[1], (uint8_t *)&ctrl_reg2); in lps22df_mode_set() 515 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in lps22df_mode_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lis3dsh_STdC/driver/ |
D | lis3dsh_reg.c | 93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 393 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in lis3dsh_pin_int1_route_set() 394 bytecpy((uint8_t *)&ctrl_reg2, ®[1]); in lis3dsh_pin_int1_route_set() 395 bytecpy((uint8_t *)&ctrl_reg3, ®[2]); in lis3dsh_pin_int1_route_set() 396 bytecpy((uint8_t *)&ctrl_reg6, ®[4]); in lis3dsh_pin_int1_route_set() 416 bytecpy(®[0], (uint8_t *)&ctrl_reg1); in lis3dsh_pin_int1_route_set() 417 bytecpy(®[1], (uint8_t *)&ctrl_reg2); in lis3dsh_pin_int1_route_set() 418 bytecpy(®[2], (uint8_t *)&ctrl_reg3); in lis3dsh_pin_int1_route_set() 419 bytecpy(®[4], (uint8_t *)&ctrl_reg6); in lis3dsh_pin_int1_route_set() 448 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in lis3dsh_pin_int1_route_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/ilps28qsw_STdC/driver/ |
D | ilps28qsw_reg.c | 88 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 230 bytecpy((uint8_t *)&ctrl_reg2, ®[0]); in ilps28qsw_init_set() 231 bytecpy((uint8_t *)&ctrl_reg3, ®[1]); in ilps28qsw_init_set() 248 bytecpy(®[0], (uint8_t *)&ctrl_reg2); in ilps28qsw_init_set() 249 bytecpy(®[1], (uint8_t *)&ctrl_reg3); in ilps28qsw_init_set() 413 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in ilps28qsw_mode_set() 414 bytecpy((uint8_t *)&ctrl_reg2, ®[1]); in ilps28qsw_mode_set() 415 bytecpy((uint8_t *)&ctrl_reg3, ®[2]); in ilps28qsw_mode_set() 461 bytecpy(®[0], (uint8_t *)&ctrl_reg1); in ilps28qsw_mode_set() 462 bytecpy(®[1], (uint8_t *)&ctrl_reg2); in ilps28qsw_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/ilps22qs_STdC/driver/ |
D | ilps22qs_reg.c | 87 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 259 bytecpy((uint8_t *)&ctrl_reg2, ®[0]); in ilps22qs_init_set() 260 bytecpy((uint8_t *)&ctrl_reg3, ®[1]); in ilps22qs_init_set() 277 bytecpy(®[0], (uint8_t *)&ctrl_reg2); in ilps22qs_init_set() 278 bytecpy(®[1], (uint8_t *)&ctrl_reg3); in ilps22qs_init_set() 444 bytecpy((uint8_t *)&ctrl_reg1, ®[0]); in ilps22qs_mode_set() 445 bytecpy((uint8_t *)&ctrl_reg2, ®[1]); in ilps22qs_mode_set() 446 bytecpy((uint8_t *)&ctrl_reg3, ®[2]); in ilps22qs_mode_set() 492 bytecpy(®[0], (uint8_t *)&ctrl_reg1); in ilps22qs_mode_set() 493 bytecpy(®[1], (uint8_t *)&ctrl_reg2); in ilps22qs_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/ais25ba_STdC/driver/ |
D | ais25ba_reg.c | 93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 175 bytecpy((uint8_t *)&tdm_cmax_h, ®[0]); in ais25ba_bus_mode_set() 176 bytecpy((uint8_t *)&tdm_cmax_l, ®[1]); in ais25ba_bus_mode_set() 193 bytecpy(®[0], (uint8_t *)&tdm_cmax_h); in ais25ba_bus_mode_set() 194 bytecpy(®[1], (uint8_t *)&tdm_cmax_l); in ais25ba_bus_mode_set() 225 bytecpy((uint8_t *)&tdm_cmax_h, ®[0]); in ais25ba_bus_mode_get() 226 bytecpy((uint8_t *)&tdm_cmax_l, ®[1]); in ais25ba_bus_mode_get() 262 bytecpy((uint8_t *)&tdm_ctrl_reg, ®[0]); in ais25ba_mode_set() 263 bytecpy((uint8_t *)&axes_ctrl_reg, ®[1]); in ais25ba_mode_set() 276 bytecpy(®[0], (uint8_t *)&tdm_ctrl_reg); in ais25ba_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lis25ba_STdC/driver/ |
D | lis25ba_reg.c | 93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 175 bytecpy((uint8_t *)&tdm_cmax_h, ®[0]); in lis25ba_bus_mode_set() 176 bytecpy((uint8_t *)&tdm_cmax_l, ®[1]); in lis25ba_bus_mode_set() 193 bytecpy(®[0], (uint8_t *)&tdm_cmax_h); in lis25ba_bus_mode_set() 194 bytecpy(®[1], (uint8_t *)&tdm_cmax_l); in lis25ba_bus_mode_set() 225 bytecpy((uint8_t *)&tdm_cmax_h, ®[0]); in lis25ba_bus_mode_get() 226 bytecpy((uint8_t *)&tdm_cmax_l, ®[1]); in lis25ba_bus_mode_get() 262 bytecpy((uint8_t *)&tdm_ctrl_reg, ®[0]); in lis25ba_mode_set() 263 bytecpy((uint8_t *)&axes_ctrl_reg, ®[1]); in lis25ba_mode_set() 279 bytecpy(®[0], (uint8_t *)&tdm_ctrl_reg); in lis25ba_mode_set() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsox_STdC/driver/ |
D | lsm6dsox_reg.c | 93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 12763 bytecpy((uint8_t *)&all_int_src, ®[0]); in lsm6dsox_all_sources_get() 12764 bytecpy((uint8_t *)&wake_up_src, ®[1]); in lsm6dsox_all_sources_get() 12765 bytecpy((uint8_t *)&tap_src, ®[2]); in lsm6dsox_all_sources_get() 12766 bytecpy((uint8_t *)&d6d_src, ®[3]); in lsm6dsox_all_sources_get() 12767 bytecpy((uint8_t *)&status_reg, ®[4]); in lsm6dsox_all_sources_get() 12768 bytecpy((uint8_t *)&emb_func_status_mainpage, ®[5]); in lsm6dsox_all_sources_get() 12769 bytecpy((uint8_t *)&fsm_status_a_mainpage, ®[6]); in lsm6dsox_all_sources_get() 12770 bytecpy((uint8_t *)&fsm_status_b_mainpage, ®[7]); in lsm6dsox_all_sources_get() 12771 bytecpy((uint8_t *)&mlc_status_mainpage, ®[8]); in lsm6dsox_all_sources_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso_STdC/driver/ |
D | lsm6dso_reg.c | 94 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 11681 bytecpy((uint8_t *)&all_int_src, ®[0]); in lsm6dso_all_sources_get() 11682 bytecpy((uint8_t *)&wake_up_src, ®[1]); in lsm6dso_all_sources_get() 11683 bytecpy((uint8_t *)&tap_src, ®[2]); in lsm6dso_all_sources_get() 11684 bytecpy((uint8_t *)&d6d_src, ®[3]); in lsm6dso_all_sources_get() 11685 bytecpy((uint8_t *)&status_reg, ®[4]); in lsm6dso_all_sources_get() 11720 bytecpy((uint8_t *)&emb_func_status_mainpage, ®[0]); in lsm6dso_all_sources_get() 11721 bytecpy((uint8_t *)&fsm_status_a_mainpage, ®[1]); in lsm6dso_all_sources_get() 11722 bytecpy((uint8_t *)&fsm_status_b_mainpage, ®[2]); in lsm6dso_all_sources_get() 11752 bytecpy((uint8_t *)&status_master_mainpage, ®[0]); in lsm6dso_all_sources_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dso32x_STdC/driver/ |
D | lsm6dso32x_reg.c | 93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 11149 bytecpy((uint8_t *)&all_int_src, ®[0]); in lsm6dso32x_all_sources_get() 11150 bytecpy((uint8_t *)&wake_up_src, ®[1]); in lsm6dso32x_all_sources_get() 11151 bytecpy((uint8_t *)&tap_src, ®[2]); in lsm6dso32x_all_sources_get() 11152 bytecpy((uint8_t *)&d6d_src, ®[3]); in lsm6dso32x_all_sources_get() 11153 bytecpy((uint8_t *)&status_reg, ®[4]); in lsm6dso32x_all_sources_get() 11154 bytecpy((uint8_t *)&emb_func_status_mainpage, ®[5]); in lsm6dso32x_all_sources_get() 11155 bytecpy((uint8_t *)&fsm_status_a_mainpage, ®[6]); in lsm6dso32x_all_sources_get() 11156 bytecpy((uint8_t *)&fsm_status_b_mainpage, ®[7]); in lsm6dso32x_all_sources_get() 11157 bytecpy((uint8_t *)&mlc_status_mainpage, ®[8]); in lsm6dso32x_all_sources_get() [all …]
|
/hal_st-3.4.0/sensor/stmemsc/lis2du12_STdC/driver/ |
D | lis2du12_reg.c | 87 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 747 bytecpy(( uint8_t*)&fifo_ctrl, ®[0]); in lis2du12_fifo_mode_set() 748 bytecpy(( uint8_t*)&fifo_wtm, ®[1]); in lis2du12_fifo_mode_set() 762 bytecpy(®[0], ( uint8_t*)&fifo_ctrl); in lis2du12_fifo_mode_set() 763 bytecpy(®[1], ( uint8_t*)&fifo_wtm); in lis2du12_fifo_mode_set() 787 bytecpy(( uint8_t*)&fifo_ctrl, ®[0]); in lis2du12_fifo_mode_get() 788 bytecpy(( uint8_t*)&fifo_wtm, ®[1]); in lis2du12_fifo_mode_get()
|
/hal_st-3.4.0/sensor/stmemsc/ais2dw12_STdC/driver/ |
D | ais2dw12_reg.c | 93 static void bytecpy(uint8_t *target, uint8_t *source) in bytecpy() function 485 bytecpy((uint8_t *)&val->status_dup, ®[0]); in ais2dw12_all_sources_get() 486 bytecpy((uint8_t *)&val->wake_up_src, ®[1]); in ais2dw12_all_sources_get() 487 bytecpy((uint8_t *)&val->sixd_src, ®[3]); in ais2dw12_all_sources_get() 488 bytecpy((uint8_t *)&val->all_int_src, ®[4]); in ais2dw12_all_sources_get()
|
/hal_st-3.4.0/sensor/stmemsc/lsm6dsv_STdC/driver/ |
D | lsm6dsv_reg.c | 93 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/ |
D | lsm6dsv16bx_reg.c | 93 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/ |
D | lsm6dsv16x_reg.c | 93 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/ |
D | iis3dwb_reg.c | 86 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()
|