| /hal_st-latest/sensor/stmemsc/ilps28qsw_STdC/driver/ |
| D | ilps28qsw_reg.c | 1128 ilps28qsw_ths_p_l_t ths_p_l; in ilps28qsw_int_on_threshold_mode_set() local 1137 bytecpy((uint8_t *)&ths_p_l, ®[1]); in ilps28qsw_int_on_threshold_mode_set() 1143 ths_p_l.ths = (uint8_t)(val->threshold - (ths_p_h.ths * 256U)); in ilps28qsw_int_on_threshold_mode_set() 1146 bytecpy(®[1], (uint8_t *)&ths_p_l); in ilps28qsw_int_on_threshold_mode_set() 1166 ilps28qsw_ths_p_l_t ths_p_l; in ilps28qsw_int_on_threshold_mode_get() local 1174 bytecpy((uint8_t *)&ths_p_l, ®[1]); in ilps28qsw_int_on_threshold_mode_get() 1180 val->threshold = (val->threshold * 256U) + ths_p_l.ths; in ilps28qsw_int_on_threshold_mode_get()
|
| D | ilps28qsw_reg.h | 441 ilps28qsw_ths_p_l_t ths_p_l; member
|
| /hal_st-latest/sensor/stmemsc/lps22df_STdC/driver/ |
| D | lps22df_reg.c | 1097 lps22df_ths_p_l_t ths_p_l; in lps22df_int_on_threshold_mode_set() local 1106 bytecpy((uint8_t *)&ths_p_l, ®[1]); in lps22df_int_on_threshold_mode_set() 1112 ths_p_l.ths = (uint8_t)(val->threshold - (ths_p_h.ths * 256U)); in lps22df_int_on_threshold_mode_set() 1115 bytecpy(®[1], (uint8_t *)&ths_p_l); in lps22df_int_on_threshold_mode_set() 1146 lps22df_ths_p_l_t ths_p_l; in lps22df_int_on_threshold_mode_get() local 1154 bytecpy((uint8_t *)&ths_p_l, ®[1]); in lps22df_int_on_threshold_mode_get() 1160 val->threshold = (val->threshold * 256U) + ths_p_l.ths; in lps22df_int_on_threshold_mode_get()
|
| D | lps22df_reg.h | 473 lps22df_ths_p_l_t ths_p_l; member
|
| /hal_st-latest/sensor/stmemsc/lps28dfw_STdC/driver/ |
| D | lps28dfw_reg.c | 1087 lps28dfw_ths_p_l_t ths_p_l; in lps28dfw_int_on_threshold_mode_set() local 1096 bytecpy((uint8_t *)&ths_p_l, ®[1]); in lps28dfw_int_on_threshold_mode_set() 1102 ths_p_l.ths = (uint8_t)(val->threshold - (ths_p_h.ths * 256U)); in lps28dfw_int_on_threshold_mode_set() 1105 bytecpy(®[1], (uint8_t *)&ths_p_l); in lps28dfw_int_on_threshold_mode_set() 1125 lps28dfw_ths_p_l_t ths_p_l; in lps28dfw_int_on_threshold_mode_get() local 1133 bytecpy((uint8_t *)&ths_p_l, ®[1]); in lps28dfw_int_on_threshold_mode_get() 1139 val->threshold = (val->threshold * 256U) + ths_p_l.ths; in lps28dfw_int_on_threshold_mode_get()
|
| D | lps28dfw_reg.h | 470 lps28dfw_ths_p_l_t ths_p_l; member
|
| /hal_st-latest/sensor/stmemsc/ilps22qs_STdC/driver/ |
| D | ilps22qs_reg.c | 1216 ilps22qs_ths_p_l_t ths_p_l; in ilps22qs_int_on_threshold_mode_set() local 1225 bytecpy((uint8_t *)&ths_p_l, ®[1]); in ilps22qs_int_on_threshold_mode_set() 1231 ths_p_l.ths = (uint8_t)(val->threshold - (ths_p_h.ths * 256U)); in ilps22qs_int_on_threshold_mode_set() 1234 bytecpy(®[1], (uint8_t *)&ths_p_l); in ilps22qs_int_on_threshold_mode_set() 1255 ilps22qs_ths_p_l_t ths_p_l; in ilps22qs_int_on_threshold_mode_get() local 1263 bytecpy((uint8_t *)&ths_p_l, ®[1]); in ilps22qs_int_on_threshold_mode_get() 1269 val->threshold = (val->threshold * 256U) + ths_p_l.ths; in ilps22qs_int_on_threshold_mode_get()
|
| D | ilps22qs_reg.h | 447 ilps22qs_ths_p_l_t ths_p_l; member
|
| /hal_st-latest/sensor/stmemsc/lps22ch_STdC/driver/ |
| D | lps22ch_reg.c | 1621 lps22ch_ths_p_l_t ths_p_l; in lps22ch_int_threshold_set() local 1624 ths_p_l.ths = (uint8_t)(buff - (ths_p_h.ths * 256U)); in lps22ch_int_threshold_set() 1626 (uint8_t *)&ths_p_l, 1); in lps22ch_int_threshold_set() 1649 lps22ch_ths_p_l_t ths_p_l; in lps22ch_int_threshold_get() local 1652 (uint8_t *)&ths_p_l, 1); in lps22ch_int_threshold_get() 1659 *buff = (*buff * 256U) + (uint16_t)ths_p_l.ths; in lps22ch_int_threshold_get()
|
| /hal_st-latest/sensor/stmemsc/lps22hh_STdC/driver/ |
| D | lps22hh_reg.c | 1640 lps22hh_ths_p_l_t ths_p_l; in lps22hh_int_threshold_set() local 1643 ths_p_l.ths = (uint8_t)(buff - (ths_p_h.ths * 256U)); in lps22hh_int_threshold_set() 1645 (uint8_t *)&ths_p_l, 1); in lps22hh_int_threshold_set() 1668 lps22hh_ths_p_l_t ths_p_l; in lps22hh_int_threshold_get() local 1671 (uint8_t *)&ths_p_l, 1); in lps22hh_int_threshold_get() 1678 *buff = (*buff * 256U) + (uint16_t)ths_p_l.ths; in lps22hh_int_threshold_get()
|
| /hal_st-latest/sensor/stmemsc/lps27hhtw_STdC/driver/ |
| D | lps27hhtw_reg.c | 1664 lps27hhtw_ths_p_l_t ths_p_l; in lps27hhtw_int_threshold_set() local 1666 ths_p_l.ths = (uint8_t)(buff & 0x00FFU); in lps27hhtw_int_threshold_set() 1669 (uint8_t *)&ths_p_l, 1); in lps27hhtw_int_threshold_set() 1692 lps27hhtw_ths_p_l_t ths_p_l; in lps27hhtw_int_threshold_get() local 1695 (uint8_t *)&ths_p_l, 1); in lps27hhtw_int_threshold_get() 1702 *buff |= (uint16_t)ths_p_l.ths; in lps27hhtw_int_threshold_get()
|
| /hal_st-latest/sensor/stmemsc/lps27hhw_STdC/driver/ |
| D | lps27hhw_reg.c | 1643 lps27hhw_ths_p_l_t ths_p_l; in lps27hhw_int_threshold_set() local 1645 ths_p_l.ths = (uint8_t)(buff & 0x00FFU); in lps27hhw_int_threshold_set() 1648 (uint8_t *)&ths_p_l, 1); in lps27hhw_int_threshold_set() 1671 lps27hhw_ths_p_l_t ths_p_l; in lps27hhw_int_threshold_get() local 1674 (uint8_t *)&ths_p_l, 1); in lps27hhw_int_threshold_get() 1681 *buff |= (uint16_t)ths_p_l.ths; in lps27hhw_int_threshold_get()
|