mirror of https://github.com/ARMmbed/mbed-os.git
Add consistent ADuCM3029 System return codes and remove duplicate codes
parent
3413b3ee8d
commit
2ad58510e2
|
@ -40,9 +40,12 @@ extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
/*! \cond PRIVATE */
|
/*! \cond PRIVATE */
|
||||||
#define SUCCESS 0u
|
/*! System API function return codes */
|
||||||
|
typedef enum
|
||||||
#define FAILURE 1u
|
{
|
||||||
|
ADI_SYS_SUCCESS = 0, /*!< No error detected. */
|
||||||
|
ADI_SYS_FAILURE, /*!< The API call failed. */
|
||||||
|
} ADI_SYS_RESULT;
|
||||||
|
|
||||||
/* System clock constant */
|
/* System clock constant */
|
||||||
#define __HFOSC 26000000u
|
#define __HFOSC 26000000u
|
||||||
|
|
Loading…
Reference in New Issue