2022-05-22 15:30:38 +02:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* @file stm32h7xx_nucleo_errno.h
|
|
|
|
* @author MCD Application Team
|
|
|
|
* @brief Error Code.
|
|
|
|
******************************************************************************
|
|
|
|
* @attention
|
|
|
|
*
|
|
|
|
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
|
|
|
|
* All rights reserved.</center></h2>
|
|
|
|
*
|
|
|
|
* This software component is licensed by ST under BSD 3-Clause license,
|
|
|
|
* the "License"; You may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at:
|
|
|
|
* opensource.org/licenses/BSD-3-Clause
|
|
|
|
*
|
|
|
|
******************************************************************************
|
|
|
|
*/
|
|
|
|
|
2021-07-12 23:33:05 +02:00
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
#ifndef STM32H7XX_NUCLEO_ERRNO_H
|
|
|
|
#define STM32H7XX_NUCLEO_ERRNO_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2022-05-22 15:30:38 +02:00
|
|
|
extern "C" {
|
2021-07-12 23:33:05 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Common Error codes */
|
2022-05-22 15:30:38 +02:00
|
|
|
#define BSP_ERROR_NONE 0
|
|
|
|
#define BSP_ERROR_NO_INIT -1
|
|
|
|
#define BSP_ERROR_WRONG_PARAM -2
|
|
|
|
#define BSP_ERROR_BUSY -3
|
|
|
|
#define BSP_ERROR_PERIPH_FAILURE -4
|
|
|
|
#define BSP_ERROR_COMPONENT_FAILURE -5
|
|
|
|
#define BSP_ERROR_UNKNOWN_FAILURE -6
|
|
|
|
#define BSP_ERROR_UNKNOWN_COMPONENT -7
|
|
|
|
#define BSP_ERROR_BUS_FAILURE -8
|
|
|
|
#define BSP_ERROR_CLOCK_FAILURE -9
|
|
|
|
#define BSP_ERROR_MSP_FAILURE -10
|
|
|
|
#define BSP_ERROR_FEATURE_NOT_SUPPORTED -11
|
2021-07-12 23:33:05 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2022-05-22 15:30:38 +02:00
|
|
|
|
2021-07-12 23:33:05 +02:00
|
|
|
#endif /* STM32H7XX_NUCLEO_ERRNO_H */
|
|
|
|
|
|
|
|
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|