Lines Matching refs:XferOptions

926                                                uint8_t *pData, uint16_t Size, uint32_t XferOptions)  in HAL_SMBUS_Master_Transmit_IT()  argument
931 assert_param(IS_SMBUS_TRANSFER_OPTIONS_REQUEST(XferOptions)); in HAL_SMBUS_Master_Transmit_IT()
943 hsmbus->XferOptions = XferOptions; in HAL_SMBUS_Master_Transmit_IT()
949 hsmbus->XferOptions &= ~SMBUS_AUTOEND_MODE; in HAL_SMBUS_Master_Transmit_IT()
966 SMBUS_RELOAD_MODE | (hsmbus->XferOptions & SMBUS_SENDPEC_MODE), in HAL_SMBUS_Master_Transmit_IT()
975 tmp = hsmbus->XferOptions; in HAL_SMBUS_Master_Transmit_IT()
980 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT()
991 hsmbus->XferOptions, in HAL_SMBUS_Master_Transmit_IT()
1032 uint16_t Size, uint32_t XferOptions) in HAL_SMBUS_Master_Receive_IT() argument
1037 assert_param(IS_SMBUS_TRANSFER_OPTIONS_REQUEST(XferOptions)); in HAL_SMBUS_Master_Receive_IT()
1050 hsmbus->XferOptions = XferOptions; in HAL_SMBUS_Master_Receive_IT()
1056 hsmbus->XferOptions &= ~SMBUS_AUTOEND_MODE; in HAL_SMBUS_Master_Receive_IT()
1073 SMBUS_RELOAD_MODE | (hsmbus->XferOptions & SMBUS_SENDPEC_MODE), in HAL_SMBUS_Master_Receive_IT()
1082 tmp = hsmbus->XferOptions; in HAL_SMBUS_Master_Receive_IT()
1087 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Master_Receive_IT()
1098 hsmbus->XferOptions, in HAL_SMBUS_Master_Receive_IT()
1194 uint32_t XferOptions) in HAL_SMBUS_Slave_Transmit_IT() argument
1197 assert_param(IS_SMBUS_TRANSFER_OPTIONS_REQUEST(XferOptions)); in HAL_SMBUS_Slave_Transmit_IT()
1225 hsmbus->XferOptions = XferOptions; in HAL_SMBUS_Slave_Transmit_IT()
1243 SMBUS_RELOAD_MODE | (hsmbus->XferOptions & SMBUS_SENDPEC_MODE), in HAL_SMBUS_Slave_Transmit_IT()
1249 SMBUS_TransferConfig(hsmbus, 0, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Slave_Transmit_IT()
1292 uint32_t XferOptions) in HAL_SMBUS_Slave_Receive_IT() argument
1295 assert_param(IS_SMBUS_TRANSFER_OPTIONS_REQUEST(XferOptions)); in HAL_SMBUS_Slave_Receive_IT()
1324 hsmbus->XferOptions = XferOptions; in HAL_SMBUS_Slave_Receive_IT()
1336 SMBUS_TransferConfig(hsmbus, 0, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in HAL_SMBUS_Slave_Receive_IT()
1341 … SMBUS_TransferConfig(hsmbus, 0, 1, hsmbus->XferOptions | SMBUS_RELOAD_MODE, SMBUS_NO_STARTSTOP); in HAL_SMBUS_Slave_Receive_IT()
1997 (SMBUS_RELOAD_MODE | (hsmbus->XferOptions & SMBUS_SENDPEC_MODE)), in SMBUS_Master_ISR()
2004 SMBUS_TransferConfig(hsmbus, DevAddress, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in SMBUS_Master_ISR()
2238 hsmbus->XferOptions &= ~SMBUS_RELOAD_MODE; in SMBUS_Slave_ISR()
2239 SMBUS_TransferConfig(hsmbus, 0, 1, hsmbus->XferOptions, SMBUS_NO_STARTSTOP); in SMBUS_Slave_ISR()
2264 SMBUS_RELOAD_MODE | (hsmbus->XferOptions & SMBUS_SENDPEC_MODE), in SMBUS_Slave_ISR()
2278 (SMBUS_RELOAD_MODE | (hsmbus->XferOptions & SMBUS_SENDPEC_MODE)), in SMBUS_Slave_ISR()
2285 SMBUS_TransferConfig(hsmbus, 0, (uint8_t)hsmbus->XferSize, hsmbus->XferOptions, in SMBUS_Slave_ISR()
2383 hsmbus->XferOptions = 0; in SMBUS_Slave_ISR()
2732 if (hsmbus->XferOptions == SMBUS_OTHER_FRAME_NO_PEC) in SMBUS_ConvertOtherXferOptions()
2734 hsmbus->XferOptions = SMBUS_FIRST_FRAME; in SMBUS_ConvertOtherXferOptions()
2739 else if (hsmbus->XferOptions == SMBUS_OTHER_FRAME_WITH_PEC) in SMBUS_ConvertOtherXferOptions()
2741 hsmbus->XferOptions = SMBUS_FIRST_FRAME | SMBUS_SENDPEC_MODE; in SMBUS_ConvertOtherXferOptions()
2747 else if (hsmbus->XferOptions == SMBUS_OTHER_AND_LAST_FRAME_NO_PEC) in SMBUS_ConvertOtherXferOptions()
2749 hsmbus->XferOptions = SMBUS_FIRST_AND_LAST_FRAME_NO_PEC; in SMBUS_ConvertOtherXferOptions()
2755 else if (hsmbus->XferOptions == SMBUS_OTHER_AND_LAST_FRAME_WITH_PEC) in SMBUS_ConvertOtherXferOptions()
2757 hsmbus->XferOptions = SMBUS_FIRST_AND_LAST_FRAME_WITH_PEC; in SMBUS_ConvertOtherXferOptions()