Home
last modified time | relevance | path

Searched refs:ErrorCode (Results 1 – 25 of 127) sorted by relevance

123456

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_sd.c446 hsd->ErrorCode = HAL_SD_ERROR_NONE; in HAL_SD_Init()
520 hsd->ErrorCode |= errorstate; in HAL_SD_InitCard()
529 hsd->ErrorCode |= errorstate; in HAL_SD_InitCard()
570 hsd->ErrorCode = HAL_SD_ERROR_NONE; in HAL_SD_DeInit()
649 hsd->ErrorCode |= HAL_SD_ERROR_PARAM; in HAL_SD_ReadBlocks()
655 hsd->ErrorCode = HAL_SD_ERROR_NONE; in HAL_SD_ReadBlocks()
659 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SD_ReadBlocks()
679 hsd->ErrorCode |= errorstate; in HAL_SD_ReadBlocks()
719 hsd->ErrorCode |= errorstate; in HAL_SD_ReadBlocks()
749 hsd->ErrorCode |= HAL_SD_ERROR_TIMEOUT; in HAL_SD_ReadBlocks()
[all …]
Dstm32l4xx_hal_spi.c462 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Init()
503 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_DeInit()
561 hspi->ErrorCode |= HAL_SPI_ERROR_INVALID_CALLBACK; in HAL_SPI_RegisterCallback()
614 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK); in HAL_SPI_RegisterCallback()
635 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK); in HAL_SPI_RegisterCallback()
645 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK); in HAL_SPI_RegisterCallback()
717 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK); in HAL_SPI_UnRegisterCallback()
738 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK); in HAL_SPI_UnRegisterCallback()
748 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK); in HAL_SPI_UnRegisterCallback()
835 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Transmit()
[all …]
Dstm32l4xx_hal_rng.c226 hrng->ErrorCode = HAL_RNG_ERROR_NONE; in HAL_RNG_Init()
273 hrng->ErrorCode = HAL_RNG_ERROR_NONE; in HAL_RNG_DeInit()
332 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_RegisterCallback()
356 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_RegisterCallback()
376 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_RegisterCallback()
385 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_RegisterCallback()
431 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_UnRegisterCallback()
451 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_UnRegisterCallback()
460 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_UnRegisterCallback()
484 hrng->ErrorCode |= HAL_RNG_ERROR_INVALID_CALLBACK; in HAL_RNG_RegisterReadyDataCallback()
[all …]
Dstm32l4xx_hal_i2c.c406 static void I2C_ITError(I2C_HandleTypeDef *hi2c, uint32_t ErrorCode);
580 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Init()
623 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_DeInit()
695 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_RegisterCallback()
752 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_RegisterCallback()
773 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_RegisterCallback()
783 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_RegisterCallback()
872 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_UnRegisterCallback()
893 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_UnRegisterCallback()
903 hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK; in HAL_I2C_UnRegisterCallback()
[all …]
Dstm32l4xx_hal_sd_ex.c162 hsd->ErrorCode = HAL_SD_ERROR_TIMEOUT; in HAL_SDEx_HighSpeed()
220 hsd->ErrorCode |= errorstate; in HAL_SDEx_HighSpeed()
305 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
313 hsd->ErrorCode = HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
320 hsd->ErrorCode = HAL_SD_ERROR_NONE; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
344 hsd->ErrorCode |= errorstate; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
362 hsd->ErrorCode |= errorstate; in HAL_SDEx_ReadBlocksDMAMultiBuffer()
394 hsd->ErrorCode |= HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_WriteBlocksDMAMultiBuffer()
402 hsd->ErrorCode = HAL_SD_ERROR_ADDR_OUT_OF_RANGE; in HAL_SDEx_WriteBlocksDMAMultiBuffer()
409 hsd->ErrorCode = HAL_SD_ERROR_NONE; in HAL_SDEx_WriteBlocksDMAMultiBuffer()
[all …]
Dstm32l4xx_hal_can.c361 hcan->ErrorCode |= HAL_CAN_ERROR_TIMEOUT; in HAL_CAN_Init()
382 hcan->ErrorCode |= HAL_CAN_ERROR_TIMEOUT; in HAL_CAN_Init()
459 hcan->ErrorCode = HAL_CAN_ERROR_NONE; in HAL_CAN_Init()
507 hcan->ErrorCode = HAL_CAN_ERROR_NONE; in HAL_CAN_DeInit()
581 hcan->ErrorCode |= HAL_CAN_ERROR_INVALID_CALLBACK; in HAL_CAN_RegisterCallback()
652 hcan->ErrorCode |= HAL_CAN_ERROR_INVALID_CALLBACK; in HAL_CAN_RegisterCallback()
673 hcan->ErrorCode |= HAL_CAN_ERROR_INVALID_CALLBACK; in HAL_CAN_RegisterCallback()
683 hcan->ErrorCode |= HAL_CAN_ERROR_INVALID_CALLBACK; in HAL_CAN_RegisterCallback()
786 hcan->ErrorCode |= HAL_CAN_ERROR_INVALID_CALLBACK; in HAL_CAN_UnRegisterCallback()
807 hcan->ErrorCode |= HAL_CAN_ERROR_INVALID_CALLBACK; in HAL_CAN_UnRegisterCallback()
[all …]
Dstm32l4xx_hal_dcmi.c346 hdcmi->ErrorCode = HAL_DCMI_ERROR_NONE; in HAL_DCMI_Init()
390 hdcmi->ErrorCode = HAL_DCMI_ERROR_NONE; in HAL_DCMI_DeInit()
516 hdcmi->ErrorCode |= HAL_DCMI_ERROR_DMA; in HAL_DCMI_Start_DMA()
571 hdcmi->ErrorCode |= HAL_DCMI_ERROR_DMA; in HAL_DCMI_Start_DMA()
622 hdcmi->ErrorCode |= HAL_DCMI_ERROR_TIMEOUT; in HAL_DCMI_Stop()
678 hdcmi->ErrorCode |= HAL_DCMI_ERROR_TIMEOUT; in HAL_DCMI_Suspend()
741 hdcmi->ErrorCode |= HAL_DCMI_ERROR_SYNC; in HAL_DCMI_IRQHandler()
751 hdcmi->ErrorCode |= HAL_DCMI_ERROR_OVR; in HAL_DCMI_IRQHandler()
754 if (hdcmi->ErrorCode != HAL_DCMI_ERROR_NONE) in HAL_DCMI_IRQHandler()
1073 return hdcmi->ErrorCode; in HAL_DCMI_GetError()
[all …]
Dstm32l4xx_hal_lcd.c244 hlcd->ErrorCode = HAL_LCD_ERROR_ENS; in HAL_LCD_Init()
257 hlcd->ErrorCode = HAL_LCD_ERROR_RDY; in HAL_LCD_Init()
263 hlcd->ErrorCode = HAL_LCD_ERROR_NONE; in HAL_LCD_Init()
290 hlcd->ErrorCode = HAL_LCD_ERROR_NONE; in HAL_LCD_DeInit()
410 hlcd->ErrorCode = HAL_LCD_ERROR_UDR; in HAL_LCD_Write()
456 hlcd->ErrorCode = HAL_LCD_ERROR_UDR; in HAL_LCD_Clear()
513 hlcd->ErrorCode = HAL_LCD_ERROR_UDD; in HAL_LCD_UpdateDisplayRequest()
567 return hlcd->ErrorCode; in HAL_LCD_GetError()
599 hlcd->ErrorCode = HAL_LCD_ERROR_FCRSF; in LCD_WaitForSynchro()
Dstm32l4xx_hal_dma2d.c323 hdma2d->ErrorCode = HAL_DMA2D_ERROR_NONE; in HAL_DMA2D_Init()
412 hdma2d->ErrorCode = HAL_DMA2D_ERROR_NONE; in HAL_DMA2D_DeInit()
479 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_RegisterCallback()
515 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_RegisterCallback()
535 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_RegisterCallback()
544 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_RegisterCallback()
606 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_UnRegisterCallback()
626 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_UnRegisterCallback()
635 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_INVALID_CALLBACK; in HAL_DMA2D_UnRegisterCallback()
855 hdma2d->ErrorCode |= HAL_DMA2D_ERROR_TIMEOUT; in HAL_DMA2D_Abort()
[all …]
Dstm32l4xx_hal_sai.c685 hsai->ErrorCode = HAL_SAI_ERROR_NONE; in HAL_SAI_Init()
755 hsai->ErrorCode = HAL_SAI_ERROR_NONE; in HAL_SAI_DeInit()
824 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_RegisterCallback()
857 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_RegisterCallback()
875 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_RegisterCallback()
884 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_RegisterCallback()
939 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_UnRegisterCallback()
957 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_UnRegisterCallback()
966 hsai->ErrorCode |= HAL_SAI_ERROR_INVALID_CALLBACK; in HAL_SAI_UnRegisterCallback()
1048 hsai->ErrorCode = HAL_SAI_ERROR_NONE; in HAL_SAI_Transmit()
[all …]
Dstm32l4xx_hal_gfxmmu.c232 hgfxmmu->ErrorCode = GFXMMU_ERROR_NONE; in HAL_GFXMMU_Init()
334 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_RegisterCallback()
355 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_RegisterCallback()
373 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_RegisterCallback()
382 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_RegisterCallback()
421 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_UnRegisterCallback()
439 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_UnRegisterCallback()
448 hgfxmmu->ErrorCode |= GFXMMU_ERROR_INVALID_CALLBACK; in HAL_GFXMMU_UnRegisterCallback()
681 hgfxmmu->ErrorCode |= error; in HAL_GFXMMU_IRQHandler()
749 error_code = hgfxmmu->ErrorCode; in HAL_GFXMMU_GetError()
[all …]
Dstm32l4xx_hal_smbus.c397 hsmbus->ErrorCode = HAL_SMBUS_ERROR_NONE; in HAL_SMBUS_Init()
439 hsmbus->ErrorCode = HAL_SMBUS_ERROR_NONE; in HAL_SMBUS_DeInit()
605 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_RegisterCallback()
651 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_RegisterCallback()
672 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_RegisterCallback()
682 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_RegisterCallback()
756 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_UnRegisterCallback()
777 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_UnRegisterCallback()
787 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_UnRegisterCallback()
813 hsmbus->ErrorCode |= HAL_SMBUS_ERROR_INVALID_CALLBACK; in HAL_SMBUS_RegisterAddrCallback()
[all …]
Dstm32l4xx_hal_ospi.c341 hospi->ErrorCode = HAL_OSPI_ERROR_NONE; in HAL_OSPI_Init()
636 if (hospi->ErrorCode == HAL_OSPI_ERROR_NONE) in HAL_OSPI_IRQHandler()
696 hospi->ErrorCode = HAL_OSPI_ERROR_TRANSFER; in HAL_OSPI_IRQHandler()
819 hospi->ErrorCode = HAL_OSPI_ERROR_NONE; in HAL_OSPI_Command()
870 hospi->ErrorCode = HAL_OSPI_ERROR_INVALID_SEQUENCE; in HAL_OSPI_Command()
939 hospi->ErrorCode = HAL_OSPI_ERROR_NONE; in HAL_OSPI_Command_IT()
960 hospi->ErrorCode = HAL_OSPI_ERROR_INVALID_SEQUENCE; in HAL_OSPI_Command_IT()
1007 hospi->ErrorCode = HAL_OSPI_ERROR_INVALID_SEQUENCE; in HAL_OSPI_HyperbusCfg()
1068 hospi->ErrorCode = HAL_OSPI_ERROR_INVALID_SEQUENCE; in HAL_OSPI_HyperbusCmd()
1093 hospi->ErrorCode = HAL_OSPI_ERROR_INVALID_PARAM; in HAL_OSPI_Transmit()
[all …]
Dstm32l4xx_hal_irda.c443 hirda->ErrorCode = HAL_IRDA_ERROR_NONE; in HAL_IRDA_DeInit()
512 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_RegisterCallback()
565 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_RegisterCallback()
586 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_RegisterCallback()
596 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_RegisterCallback()
679 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_UnRegisterCallback()
700 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_UnRegisterCallback()
710 hirda->ErrorCode |= HAL_IRDA_ERROR_INVALID_CALLBACK; in HAL_IRDA_UnRegisterCallback()
834 hirda->ErrorCode = HAL_IRDA_ERROR_NONE; in HAL_IRDA_Transmit()
921 hirda->ErrorCode = HAL_IRDA_ERROR_NONE; in HAL_IRDA_Receive()
[all …]
Dstm32l4xx_hal_qspi.c401 hqspi->ErrorCode = HAL_QSPI_ERROR_NONE; in HAL_QSPI_Init()
447 hqspi->ErrorCode = HAL_QSPI_ERROR_NONE; in HAL_QSPI_DeInit()
684 if (hqspi->ErrorCode == HAL_QSPI_ERROR_NONE) in HAL_QSPI_IRQHandler()
747 hqspi->ErrorCode |= HAL_QSPI_ERROR_TRANSFER; in HAL_QSPI_IRQHandler()
759 hqspi->ErrorCode |= HAL_QSPI_ERROR_DMA; in HAL_QSPI_IRQHandler()
850 hqspi->ErrorCode = HAL_QSPI_ERROR_NONE; in HAL_QSPI_Command()
939 hqspi->ErrorCode = HAL_QSPI_ERROR_NONE; in HAL_QSPI_Command_IT()
1014 hqspi->ErrorCode = HAL_QSPI_ERROR_NONE; in HAL_QSPI_Transmit()
1066 hqspi->ErrorCode |= HAL_QSPI_ERROR_INVALID_PARAM; in HAL_QSPI_Transmit()
1102 hqspi->ErrorCode = HAL_QSPI_ERROR_NONE; in HAL_QSPI_Receive()
[all …]
Dstm32l4xx_hal_swpmi.c329 hswpmi->ErrorCode = HAL_SWPMI_ERROR_NONE; in HAL_SWPMI_Init()
378 hswpmi->ErrorCode = HAL_SWPMI_ERROR_NONE; in HAL_SWPMI_DeInit()
444 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_RegisterCallback()
477 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_RegisterCallback()
495 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_RegisterCallback()
504 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_RegisterCallback()
559 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_UnRegisterCallback()
577 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_UnRegisterCallback()
586 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_INVALID_CALLBACK; in HAL_SWPMI_UnRegisterCallback()
730 hswpmi->ErrorCode |= HAL_SWPMI_ERROR_TXBEF_TIMEOUT; in HAL_SWPMI_Transmit()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_spi.c209 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_DeInit()
313 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Transmit()
399 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG); in HAL_SPI_Transmit()
406 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG); in HAL_SPI_Transmit()
454 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Receive()
561 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC); in HAL_SPI_Receive()
581 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC); in HAL_SPI_Receive()
637 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_TransmitReceive()
809 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC); in HAL_SPI_TransmitReceive()
820 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG); in HAL_SPI_TransmitReceive()
[all …]
Dstm32l1xx_hal_lcd.c176 hlcd->ErrorCode = HAL_LCD_ERROR_NONE; in HAL_LCD_DeInit()
282 hlcd->ErrorCode = HAL_LCD_ERROR_ENS; in HAL_LCD_Init()
295 hlcd->ErrorCode = HAL_LCD_ERROR_RDY; in HAL_LCD_Init()
301 hlcd->ErrorCode = HAL_LCD_ERROR_NONE; in HAL_LCD_Init()
418 hlcd->ErrorCode = HAL_LCD_ERROR_UDR; in HAL_LCD_Write()
464 hlcd->ErrorCode = HAL_LCD_ERROR_UDR; in HAL_LCD_Clear()
521 hlcd->ErrorCode = HAL_LCD_ERROR_UDD; in HAL_LCD_UpdateDisplayRequest()
574 return hlcd->ErrorCode; in HAL_LCD_GetError()
606 hlcd->ErrorCode = HAL_LCD_ERROR_FCRSF; in LCD_WaitForSynchro()
Dstm32l1xx_hal_flash.c264 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program()
306 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT()
599 return pFlash.ErrorCode; in HAL_FLASH_GetError()
675 pFlash.ErrorCode |= HAL_FLASH_ERROR_WRP; in FLASH_SetErrorCode()
680 pFlash.ErrorCode |= HAL_FLASH_ERROR_PGA; in FLASH_SetErrorCode()
685 pFlash.ErrorCode |= HAL_FLASH_ERROR_OPTV; in FLASH_SetErrorCode()
692 pFlash.ErrorCode |= HAL_FLASH_ERROR_RD; in FLASH_SetErrorCode()
699 pFlash.ErrorCode |= HAL_FLASH_ERROR_OPTVUSR; in FLASH_SetErrorCode()
Dstm32l1xx_hal_i2c.c440 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Init()
473 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_DeInit()
625 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Master_Transmit()
636 if(hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Transmit()
658 if(hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Transmit()
686 if(hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Transmit()
757 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Master_Receive()
768 if(hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Receive()
831 if(hi2c->ErrorCode == HAL_I2C_ERROR_TIMEOUT) in HAL_I2C_Master_Receive()
910 if(hi2c->ErrorCode == HAL_I2C_ERROR_TIMEOUT) in HAL_I2C_Master_Receive()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_spi.c293 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Init()
321 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_DeInit()
447 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Transmit()
535 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG); in HAL_SPI_Transmit()
542 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG); in HAL_SPI_Transmit()
590 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_Receive()
698 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC); in HAL_SPI_Receive()
718 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC); in HAL_SPI_Receive()
774 hspi->ErrorCode = HAL_SPI_ERROR_NONE; in HAL_SPI_TransmitReceive()
946 SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC); in HAL_SPI_TransmitReceive()
[all …]
Dstm32l0xx_hal_flash.c264 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program()
306 pFlash.ErrorCode = HAL_FLASH_ERROR_NONE; in HAL_FLASH_Program_IT()
608 return pFlash.ErrorCode; in HAL_FLASH_GetError()
691 pFlash.ErrorCode |= HAL_FLASH_ERROR_WRP; in FLASH_SetErrorCode()
696 pFlash.ErrorCode |= HAL_FLASH_ERROR_PGA; in FLASH_SetErrorCode()
701 pFlash.ErrorCode |= HAL_FLASH_ERROR_SIZE; in FLASH_SetErrorCode()
714 pFlash.ErrorCode |= HAL_FLASH_ERROR_OPTV; in FLASH_SetErrorCode()
720 pFlash.ErrorCode |= HAL_FLASH_ERROR_RD; in FLASH_SetErrorCode()
725 pFlash.ErrorCode |= HAL_FLASH_ERROR_FWWERR; in FLASH_SetErrorCode()
730 pFlash.ErrorCode |= HAL_FLASH_ERROR_NOTZERO; in FLASH_SetErrorCode()
Dstm32l0xx_hal_flash_ramfunc.c394 *Error = pFlash.ErrorCode; in HAL_FLASHEx_GetError()
420 pFlash.ErrorCode |= HAL_FLASH_ERROR_WRP; in FLASHRAM_SetErrorCode()
425 pFlash.ErrorCode |= HAL_FLASH_ERROR_PGA; in FLASHRAM_SetErrorCode()
430 pFlash.ErrorCode |= HAL_FLASH_ERROR_SIZE; in FLASHRAM_SetErrorCode()
443 pFlash.ErrorCode |= HAL_FLASH_ERROR_OPTV; in FLASHRAM_SetErrorCode()
449 pFlash.ErrorCode |= HAL_FLASH_ERROR_RD; in FLASHRAM_SetErrorCode()
454 pFlash.ErrorCode |= HAL_FLASH_ERROR_FWWERR; in FLASHRAM_SetErrorCode()
459 pFlash.ErrorCode |= HAL_FLASH_ERROR_NOTZERO; in FLASHRAM_SetErrorCode()
Dstm32l0xx_hal_i2c.c328 static void I2C_ITError(I2C_HandleTypeDef *hi2c, uint32_t ErrorCode);
477 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Init()
510 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_DeInit()
646 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Master_Transmit()
671 if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Transmit()
710 if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Transmit()
770 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Master_Receive()
795 if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Receive()
835 if (hi2c->ErrorCode == HAL_I2C_ERROR_AF) in HAL_I2C_Master_Receive()
892 hi2c->ErrorCode = HAL_I2C_ERROR_NONE; in HAL_I2C_Slave_Transmit()
[all …]
Dstm32l0xx_hal_lcd.c168 hlcd->ErrorCode = HAL_LCD_ERROR_NONE; in HAL_LCD_DeInit()
275 hlcd->ErrorCode = HAL_LCD_ERROR_ENS; in HAL_LCD_Init()
288 hlcd->ErrorCode = HAL_LCD_ERROR_RDY; in HAL_LCD_Init()
294 hlcd->ErrorCode = HAL_LCD_ERROR_NONE; in HAL_LCD_Init()
416 hlcd->ErrorCode = HAL_LCD_ERROR_UDR; in HAL_LCD_Write()
459 hlcd->ErrorCode = HAL_LCD_ERROR_UDR; in HAL_LCD_Clear()
516 hlcd->ErrorCode = HAL_LCD_ERROR_UDD; in HAL_LCD_UpdateDisplayRequest()
569 return hlcd->ErrorCode; in HAL_LCD_GetError()
602 hlcd->ErrorCode = HAL_LCD_ERROR_FCRSF; in LCD_WaitForSynchro()

123456