Home
last modified time | relevance | path

Searched refs:ths_p_l (Results 1 – 12 of 12) sorted by relevance

/hal_st-latest/sensor/stmemsc/ilps28qsw_STdC/driver/
Dilps28qsw_reg.c1128 ilps28qsw_ths_p_l_t ths_p_l; in ilps28qsw_int_on_threshold_mode_set() local
1137 bytecpy((uint8_t *)&ths_p_l, &reg[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(&reg[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, &reg[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()
Dilps28qsw_reg.h441 ilps28qsw_ths_p_l_t ths_p_l; member
/hal_st-latest/sensor/stmemsc/lps22df_STdC/driver/
Dlps22df_reg.c1097 lps22df_ths_p_l_t ths_p_l; in lps22df_int_on_threshold_mode_set() local
1106 bytecpy((uint8_t *)&ths_p_l, &reg[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(&reg[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, &reg[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()
Dlps22df_reg.h473 lps22df_ths_p_l_t ths_p_l; member
/hal_st-latest/sensor/stmemsc/lps28dfw_STdC/driver/
Dlps28dfw_reg.c1087 lps28dfw_ths_p_l_t ths_p_l; in lps28dfw_int_on_threshold_mode_set() local
1096 bytecpy((uint8_t *)&ths_p_l, &reg[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(&reg[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, &reg[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()
Dlps28dfw_reg.h470 lps28dfw_ths_p_l_t ths_p_l; member
/hal_st-latest/sensor/stmemsc/ilps22qs_STdC/driver/
Dilps22qs_reg.c1216 ilps22qs_ths_p_l_t ths_p_l; in ilps22qs_int_on_threshold_mode_set() local
1225 bytecpy((uint8_t *)&ths_p_l, &reg[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(&reg[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, &reg[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()
Dilps22qs_reg.h447 ilps22qs_ths_p_l_t ths_p_l; member
/hal_st-latest/sensor/stmemsc/lps22ch_STdC/driver/
Dlps22ch_reg.c1621 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/
Dlps22hh_reg.c1640 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/
Dlps27hhtw_reg.c1664 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/
Dlps27hhw_reg.c1643 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()