/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_i2c.c | 1155 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1160 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1164 if (hi2c->XferSize > 0U) in HAL_I2C_Master_Transmit() 1174 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1178 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)(hi2c->XferSize + 1U), xfermode, in HAL_I2C_Master_Transmit() 1185 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, xfermode, in HAL_I2C_Master_Transmit() 1203 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1205 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1215 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1216 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_i2c.c | 1155 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1160 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1164 if (hi2c->XferSize > 0U) in HAL_I2C_Master_Transmit() 1174 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1178 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)(hi2c->XferSize + 1U), xfermode, in HAL_I2C_Master_Transmit() 1185 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, xfermode, in HAL_I2C_Master_Transmit() 1203 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1205 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1215 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1216 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_i2c.c | 1156 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1157 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1162 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1163 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1183 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1193 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1194 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1199 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1200 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32wbaxx_hal_smbus.c | 945 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 949 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 954 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 959 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 965 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 981 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 994 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 1000 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 1010 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1072 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_i2c.c | 1156 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1157 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1162 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1163 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1183 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1193 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1194 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1199 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1200 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32u5xx_hal_smbus.c | 945 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 949 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 954 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 959 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 965 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 981 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 994 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 1000 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 1010 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1072 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_i2c.c | 1165 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1166 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1171 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1172 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1190 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1192 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1202 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1203 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1208 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1209 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32mp1xx_hal_smbus.c | 967 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 971 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 976 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 978 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 993 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 1003 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 1012 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1074 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() 1078 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Receive_IT() 1083 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_i2c.c | 1150 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1151 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1156 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1157 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1175 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1177 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1187 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1188 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1193 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1194 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32h5xx_hal_smbus.c | 945 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 949 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 954 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 956 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 971 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 981 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 990 if (hsmbus->XferSize > 0U) in HAL_SMBUS_Master_Transmit_IT() 992 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1059 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() 1063 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_i2c.c | 1138 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1139 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1144 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1145 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1163 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1165 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1175 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1176 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1182 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_i2c.c | 1145 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1146 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1151 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1152 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1170 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1172 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1182 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1183 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1188 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1189 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_i2c.c | 1145 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1146 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1151 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1152 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1170 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1172 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1182 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1183 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1188 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1189 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_i2c.c | 1145 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1146 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1151 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1152 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1170 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1172 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1182 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1183 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1188 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1189 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32l0xx_hal_smbus.c | 954 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 958 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 963 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 965 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 980 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 990 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 999 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1061 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() 1065 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Receive_IT() 1070 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_i2c.c | 1138 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1139 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1144 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1145 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1163 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1165 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1175 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1176 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1182 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_i2c.c | 1138 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1139 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1144 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1145 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1163 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1165 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1175 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1176 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1182 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32f7xx_hal_smbus.c | 954 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 958 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 963 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 965 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 980 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 990 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 999 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1061 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() 1065 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Receive_IT() 1070 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_i2c.c | 1152 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1153 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1158 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1159 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1177 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1179 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1189 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1190 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1195 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1196 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_i2c.c | 1138 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1139 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1144 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1145 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1163 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1165 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1175 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1176 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1182 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32wlxx_hal_smbus.c | 954 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 958 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 963 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 965 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 980 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 990 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 999 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1061 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() 1065 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Receive_IT() 1070 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_i2c.c | 1138 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1139 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1144 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1145 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1163 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1165 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1175 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1176 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1181 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1182 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
D | stm32g0xx_hal_smbus.c | 954 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT() 958 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Transmit_IT() 963 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT() 965 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 980 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT() 990 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, in HAL_SMBUS_Master_Transmit_IT() 999 hsmbus->XferSize--; in HAL_SMBUS_Master_Transmit_IT() 1061 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT() 1065 hsmbus->XferSize = Size; in HAL_SMBUS_Master_Receive_IT() 1070 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Receive_IT() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_i2c.c | 1148 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1149 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1154 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1155 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() 1173 hi2c->XferSize--; in HAL_I2C_Master_Transmit() 1175 if ((hi2c->XferCount != 0U) && (hi2c->XferSize == 0U)) in HAL_I2C_Master_Transmit() 1185 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit() 1186 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_RELOAD_MODE, in HAL_I2C_Master_Transmit() 1191 hi2c->XferSize = hi2c->XferCount; in HAL_I2C_Master_Transmit() 1192 I2C_TransferConfig(hi2c, DevAddress, (uint8_t)hi2c->XferSize, I2C_AUTOEND_MODE, in HAL_I2C_Master_Transmit() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_fmpi2c.c | 1146 hfmpi2c->XferSize = MAX_NBYTE_SIZE; in HAL_FMPI2C_Master_Transmit() 1147 FMPI2C_TransferConfig(hfmpi2c, DevAddress, (uint8_t)hfmpi2c->XferSize, FMPI2C_RELOAD_MODE, in HAL_FMPI2C_Master_Transmit() 1152 hfmpi2c->XferSize = hfmpi2c->XferCount; in HAL_FMPI2C_Master_Transmit() 1153 FMPI2C_TransferConfig(hfmpi2c, DevAddress, (uint8_t)hfmpi2c->XferSize, FMPI2C_AUTOEND_MODE, in HAL_FMPI2C_Master_Transmit() 1171 hfmpi2c->XferSize--; in HAL_FMPI2C_Master_Transmit() 1173 if ((hfmpi2c->XferCount != 0U) && (hfmpi2c->XferSize == 0U)) in HAL_FMPI2C_Master_Transmit() 1183 hfmpi2c->XferSize = MAX_NBYTE_SIZE; in HAL_FMPI2C_Master_Transmit() 1184 FMPI2C_TransferConfig(hfmpi2c, DevAddress, (uint8_t)hfmpi2c->XferSize, FMPI2C_RELOAD_MODE, in HAL_FMPI2C_Master_Transmit() 1189 hfmpi2c->XferSize = hfmpi2c->XferCount; in HAL_FMPI2C_Master_Transmit() 1190 … FMPI2C_TransferConfig(hfmpi2c, DevAddress, (uint8_t)hfmpi2c->XferSize, FMPI2C_AUTOEND_MODE, in HAL_FMPI2C_Master_Transmit() [all …]
|