We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e081dc commit ae492d9Copy full SHA for ae492d9
targets/TARGET_Analog_Devices/TARGET_ADUCM302X/TARGET_ADUCM3029/bsp/system_ADuCM3029.h
@@ -40,9 +40,12 @@ extern "C" {
40
#endif /* __cplusplus */
41
42
/*! \cond PRIVATE */
43
-#define SUCCESS 0u
44
-
45
-#define FAILURE 1u
+/*! System API function return codes */
+typedef enum
+{
46
+ ADI_SYS_SUCCESS = 0, /*!< No error detected. */
47
+ ADI_SYS_FAILURE, /*!< The API call failed. */
48
+} ADI_SYS_RESULT;
49
50
/* System clock constant */
51
#define __HFOSC 26000000u
0 commit comments