stm32h747i_discovery_errno.h
Go to the documentation of this file.
1 
21 /* Define to prevent recursive inclusion -------------------------------------*/
22 #ifndef STM32H747I_DISCO_ERRNO_H
23 #define STM32H747I_DISCO_ERRNO_H
24 
25 #ifdef __cplusplus
26  extern "C" {
27 #endif
28 
29 /* Common Error codes */
30 #define BSP_ERROR_NONE 0
31 #define BSP_ERROR_NO_INIT -1
32 #define BSP_ERROR_WRONG_PARAM -2
33 #define BSP_ERROR_BUSY -3
34 #define BSP_ERROR_PERIPH_FAILURE -4
35 #define BSP_ERROR_COMPONENT_FAILURE -5
36 #define BSP_ERROR_UNKNOWN_FAILURE -6
37 #define BSP_ERROR_UNKNOWN_COMPONENT -7
38 #define BSP_ERROR_BUS_FAILURE -8
39 #define BSP_ERROR_CLOCK_FAILURE -9
40 #define BSP_ERROR_MSP_FAILURE -10
41 #define BSP_ERROR_FEATURE_NOT_SUPPORTED -11
42 
43 /* BSP OSPI error codes */
44 #define BSP_ERROR_QSPI_ASSIGN_FAILURE -24
45 #define BSP_ERROR_QSPI_SETUP_FAILURE -25
46 #define BSP_ERROR_QSPI_MMP_LOCK_FAILURE -26
47 #define BSP_ERROR_QSPI_MMP_UNLOCK_FAILURE -27
48 
49 /* BSP TS error code */
50 #define BSP_ERROR_TS_TOUCH_NOT_DETECTED -30
51 
52 /* BSP BUS error codes */
53 #define BSP_ERROR_BUS_TRANSACTION_FAILURE -100
54 #define BSP_ERROR_BUS_ARBITRATION_LOSS -101
55 #define BSP_ERROR_BUS_ACKNOWLEDGE_FAILURE -102
56 #define BSP_ERROR_BUS_PROTOCOL_FAILURE -103
57 
58 #define BSP_ERROR_BUS_MODE_FAULT -104
59 #define BSP_ERROR_BUS_FRAME_ERROR -105
60 #define BSP_ERROR_BUS_CRC_ERROR -106
61 #define BSP_ERROR_BUS_DMA_FAILURE -107
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif /* STM32H747I_DISCO_ERRNO_H */
68 
69 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:54