Lines Matching refs:status
506 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_RegisterCallback() local
557 status = HAL_ERROR; in HAL_SDADC_RegisterCallback()
578 status = HAL_ERROR; in HAL_SDADC_RegisterCallback()
588 status = HAL_ERROR; in HAL_SDADC_RegisterCallback()
591 return status; in HAL_SDADC_RegisterCallback()
613 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_UnRegisterCallback() local
656 status = HAL_ERROR; in HAL_SDADC_UnRegisterCallback()
677 status = HAL_ERROR; in HAL_SDADC_UnRegisterCallback()
687 status = HAL_ERROR; in HAL_SDADC_UnRegisterCallback()
690 return status; in HAL_SDADC_UnRegisterCallback()
735 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_PrepareChannelConfig() local
750 status = HAL_ERROR; in HAL_SDADC_PrepareChannelConfig()
759 status = HAL_TIMEOUT; in HAL_SDADC_PrepareChannelConfig()
776 return status; in HAL_SDADC_PrepareChannelConfig()
795 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_AssociateChannelConfig() local
806 status = HAL_ERROR; in HAL_SDADC_AssociateChannelConfig()
815 status = HAL_TIMEOUT; in HAL_SDADC_AssociateChannelConfig()
838 return status; in HAL_SDADC_AssociateChannelConfig()
855 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_ConfigChannel() local
880 status = HAL_ERROR; in HAL_SDADC_ConfigChannel()
883 return status; in HAL_SDADC_ConfigChannel()
900 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_InjectedConfigChannel() local
928 status = HAL_ERROR; in HAL_SDADC_InjectedConfigChannel()
931 return status; in HAL_SDADC_InjectedConfigChannel()
946 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_SelectRegularTrigger() local
955 status = HAL_ERROR; in HAL_SDADC_SelectRegularTrigger()
967 status = HAL_ERROR; in HAL_SDADC_SelectRegularTrigger()
970 return status; in HAL_SDADC_SelectRegularTrigger()
986 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_SelectInjectedTrigger() local
995 status = HAL_ERROR; in HAL_SDADC_SelectInjectedTrigger()
1007 status = HAL_ERROR; in HAL_SDADC_SelectInjectedTrigger()
1010 return status; in HAL_SDADC_SelectInjectedTrigger()
1028 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_SelectInjectedExtTrigger() local
1043 status = HAL_TIMEOUT; in HAL_SDADC_SelectInjectedExtTrigger()
1060 status = HAL_ERROR; in HAL_SDADC_SelectInjectedExtTrigger()
1063 return status; in HAL_SDADC_SelectInjectedExtTrigger()
1078 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_SelectInjectedDelay() local
1092 status = HAL_TIMEOUT; in HAL_SDADC_SelectInjectedDelay()
1106 status = HAL_ERROR; in HAL_SDADC_SelectInjectedDelay()
1109 return status; in HAL_SDADC_SelectInjectedDelay()
1124 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_MultiModeConfigChannel() local
1133 status = HAL_ERROR; in HAL_SDADC_MultiModeConfigChannel()
1145 status = HAL_ERROR; in HAL_SDADC_MultiModeConfigChannel()
1148 return status; in HAL_SDADC_MultiModeConfigChannel()
1163 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_InjectedMultiModeConfigChannel() local
1172 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeConfigChannel()
1184 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeConfigChannel()
1187 return status; in HAL_SDADC_InjectedMultiModeConfigChannel()
1236 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_CalibrationStart() local
1250 status = HAL_TIMEOUT; in HAL_SDADC_CalibrationStart()
1270 status = HAL_ERROR; in HAL_SDADC_CalibrationStart()
1273 return status; in HAL_SDADC_CalibrationStart()
1337 HAL_StatusTypeDef status = HAL_OK; in HAL_SDADC_CalibrationStart_IT() local
1351 status = HAL_TIMEOUT; in HAL_SDADC_CalibrationStart_IT()
1374 status = HAL_ERROR; in HAL_SDADC_CalibrationStart_IT()
1377 return status; in HAL_SDADC_CalibrationStart_IT()
1389 HAL_StatusTypeDef status; in HAL_SDADC_Start() local
1399 status = SDADC_RegConvStart(hsdadc); in HAL_SDADC_Start()
1403 status = HAL_ERROR; in HAL_SDADC_Start()
1406 return status; in HAL_SDADC_Start()
1482 HAL_StatusTypeDef status; in HAL_SDADC_Stop() local
1492 status = HAL_ERROR; in HAL_SDADC_Stop()
1497 status = SDADC_RegConvStop(hsdadc); in HAL_SDADC_Stop()
1500 return status; in HAL_SDADC_Stop()
1512 HAL_StatusTypeDef status; in HAL_SDADC_Start_IT() local
1525 status = SDADC_RegConvStart(hsdadc); in HAL_SDADC_Start_IT()
1529 status = HAL_ERROR; in HAL_SDADC_Start_IT()
1532 return status; in HAL_SDADC_Start_IT()
1543 HAL_StatusTypeDef status; in HAL_SDADC_Stop_IT() local
1553 status = HAL_ERROR; in HAL_SDADC_Stop_IT()
1561 status = SDADC_RegConvStop(hsdadc); in HAL_SDADC_Stop_IT()
1564 return status; in HAL_SDADC_Stop_IT()
1579 HAL_StatusTypeDef status; in HAL_SDADC_Start_DMA() local
1589 status = HAL_ERROR; in HAL_SDADC_Start_DMA()
1597 status = HAL_ERROR; in HAL_SDADC_Start_DMA()
1603 status = HAL_ERROR; in HAL_SDADC_Start_DMA()
1626 status = HAL_ERROR; in HAL_SDADC_Start_DMA()
1631 status = SDADC_RegConvStart(hsdadc); in HAL_SDADC_Start_DMA()
1636 status = HAL_ERROR; in HAL_SDADC_Start_DMA()
1639 return status; in HAL_SDADC_Start_DMA()
1650 HAL_StatusTypeDef status; in HAL_SDADC_Stop_DMA() local
1660 status = HAL_ERROR; in HAL_SDADC_Stop_DMA()
1672 status = HAL_ERROR; in HAL_SDADC_Stop_DMA()
1677 status = SDADC_RegConvStop(hsdadc); in HAL_SDADC_Stop_DMA()
1681 return status; in HAL_SDADC_Stop_DMA()
1707 HAL_StatusTypeDef status; in HAL_SDADC_InjectedStart() local
1717 status = SDADC_InjConvStart(hsdadc); in HAL_SDADC_InjectedStart()
1721 status = HAL_ERROR; in HAL_SDADC_InjectedStart()
1724 return status; in HAL_SDADC_InjectedStart()
1811 HAL_StatusTypeDef status; in HAL_SDADC_InjectedStop() local
1821 status = HAL_ERROR; in HAL_SDADC_InjectedStop()
1826 status = SDADC_InjConvStop(hsdadc); in HAL_SDADC_InjectedStop()
1829 return status; in HAL_SDADC_InjectedStop()
1841 HAL_StatusTypeDef status; in HAL_SDADC_InjectedStart_IT() local
1854 status = SDADC_InjConvStart(hsdadc); in HAL_SDADC_InjectedStart_IT()
1858 status = HAL_ERROR; in HAL_SDADC_InjectedStart_IT()
1861 return status; in HAL_SDADC_InjectedStart_IT()
1872 HAL_StatusTypeDef status; in HAL_SDADC_InjectedStop_IT() local
1882 status = HAL_ERROR; in HAL_SDADC_InjectedStop_IT()
1890 status = SDADC_InjConvStop(hsdadc); in HAL_SDADC_InjectedStop_IT()
1893 return status; in HAL_SDADC_InjectedStop_IT()
1908 HAL_StatusTypeDef status; in HAL_SDADC_InjectedStart_DMA() local
1918 status = HAL_ERROR; in HAL_SDADC_InjectedStart_DMA()
1926 status = HAL_ERROR; in HAL_SDADC_InjectedStart_DMA()
1932 status = HAL_ERROR; in HAL_SDADC_InjectedStart_DMA()
1955 status = HAL_ERROR; in HAL_SDADC_InjectedStart_DMA()
1960 status = SDADC_InjConvStart(hsdadc); in HAL_SDADC_InjectedStart_DMA()
1965 status = HAL_ERROR; in HAL_SDADC_InjectedStart_DMA()
1968 return status; in HAL_SDADC_InjectedStart_DMA()
1979 HAL_StatusTypeDef status; in HAL_SDADC_InjectedStop_DMA() local
1989 status = HAL_ERROR; in HAL_SDADC_InjectedStop_DMA()
2001 status = HAL_ERROR; in HAL_SDADC_InjectedStop_DMA()
2006 status = SDADC_InjConvStop(hsdadc); in HAL_SDADC_InjectedStop_DMA()
2010 return status; in HAL_SDADC_InjectedStop_DMA()
2048 HAL_StatusTypeDef status; in HAL_SDADC_MultiModeStart_DMA() local
2058 status = HAL_ERROR; in HAL_SDADC_MultiModeStart_DMA()
2063 status = HAL_ERROR; in HAL_SDADC_MultiModeStart_DMA()
2071 status = HAL_ERROR; in HAL_SDADC_MultiModeStart_DMA()
2077 status = HAL_ERROR; in HAL_SDADC_MultiModeStart_DMA()
2096 status = HAL_DMA_Start_IT(hsdadc->hdma, (uint32_t)&hsdadc->Instance->RDATA12R, \ in HAL_SDADC_MultiModeStart_DMA()
2101 status = HAL_DMA_Start_IT(hsdadc->hdma, (uint32_t)&hsdadc->Instance->RDATA13R, \ in HAL_SDADC_MultiModeStart_DMA()
2104 if(status != HAL_OK) in HAL_SDADC_MultiModeStart_DMA()
2108 status = HAL_ERROR; in HAL_SDADC_MultiModeStart_DMA()
2113 status = SDADC_RegConvStart(hsdadc); in HAL_SDADC_MultiModeStart_DMA()
2118 status = HAL_ERROR; in HAL_SDADC_MultiModeStart_DMA()
2121 return status; in HAL_SDADC_MultiModeStart_DMA()
2132 HAL_StatusTypeDef status; in HAL_SDADC_MultiModeStop_DMA() local
2140 status = HAL_ERROR; in HAL_SDADC_MultiModeStop_DMA()
2147 status = HAL_ERROR; in HAL_SDADC_MultiModeStop_DMA()
2159 status = HAL_ERROR; in HAL_SDADC_MultiModeStop_DMA()
2164 status = SDADC_RegConvStop(hsdadc); in HAL_SDADC_MultiModeStop_DMA()
2168 return status; in HAL_SDADC_MultiModeStop_DMA()
2204 HAL_StatusTypeDef status; in HAL_SDADC_InjectedMultiModeStart_DMA() local
2214 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStart_DMA()
2219 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStart_DMA()
2227 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStart_DMA()
2233 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStart_DMA()
2252 status = HAL_DMA_Start_IT(hsdadc->hdma, (uint32_t)&hsdadc->Instance->JDATA12R, \ in HAL_SDADC_InjectedMultiModeStart_DMA()
2257 status = HAL_DMA_Start_IT(hsdadc->hdma, (uint32_t)&hsdadc->Instance->JDATA13R, \ in HAL_SDADC_InjectedMultiModeStart_DMA()
2260 if(status != HAL_OK) in HAL_SDADC_InjectedMultiModeStart_DMA()
2264 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStart_DMA()
2269 status = SDADC_InjConvStart(hsdadc); in HAL_SDADC_InjectedMultiModeStart_DMA()
2274 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStart_DMA()
2277 return status; in HAL_SDADC_InjectedMultiModeStart_DMA()
2288 HAL_StatusTypeDef status; in HAL_SDADC_InjectedMultiModeStop_DMA() local
2296 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStop_DMA()
2303 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStop_DMA()
2315 status = HAL_ERROR; in HAL_SDADC_InjectedMultiModeStop_DMA()
2320 status = SDADC_InjConvStop(hsdadc); in HAL_SDADC_InjectedMultiModeStop_DMA()
2324 return status; in HAL_SDADC_InjectedMultiModeStop_DMA()
2776 HAL_StatusTypeDef status = HAL_OK; in SDADC_RegConvStart() local
2791 status = HAL_TIMEOUT; in SDADC_RegConvStart()
2803 if(status == HAL_OK) in SDADC_RegConvStart()
2809 return status; in SDADC_RegConvStart()
2890 HAL_StatusTypeDef status = HAL_OK; in SDADC_InjConvStart() local
2908 status = HAL_TIMEOUT; in SDADC_InjConvStart()
2927 if(status == HAL_OK) in SDADC_InjConvStart()
2933 return status; in SDADC_InjConvStart()