mbed library
Fork of mbed by
TARGET_NRF51822/nrf_error_sdm.h@80:8e73be2a2ac1, 2014-02-21 (annotated)
- Committer:
- emilmont
- Date:
- Fri Feb 21 12:21:39 2014 +0000
- Revision:
- 80:8e73be2a2ac1
First alpha release for the NRF51822 target (to be tested in the online IDE)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 80:8e73be2a2ac1 | 1 | /* |
emilmont | 80:8e73be2a2ac1 | 2 | * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
emilmont | 80:8e73be2a2ac1 | 3 | * |
emilmont | 80:8e73be2a2ac1 | 4 | * The information contained herein is confidential property of Nordic Semiconductor. The use, |
emilmont | 80:8e73be2a2ac1 | 5 | * copying, transfer or disclosure of such information is prohibited except by express written |
emilmont | 80:8e73be2a2ac1 | 6 | * agreement with Nordic Semiconductor. |
emilmont | 80:8e73be2a2ac1 | 7 | * |
emilmont | 80:8e73be2a2ac1 | 8 | */ |
emilmont | 80:8e73be2a2ac1 | 9 | /** |
emilmont | 80:8e73be2a2ac1 | 10 | @addtogroup nrf_sdm_api |
emilmont | 80:8e73be2a2ac1 | 11 | @{ |
emilmont | 80:8e73be2a2ac1 | 12 | @defgroup nrf_sdm_error SoftDevice Manager Error Codes |
emilmont | 80:8e73be2a2ac1 | 13 | @{ |
emilmont | 80:8e73be2a2ac1 | 14 | |
emilmont | 80:8e73be2a2ac1 | 15 | @brief Error definitions for the SDM API |
emilmont | 80:8e73be2a2ac1 | 16 | */ |
emilmont | 80:8e73be2a2ac1 | 17 | |
emilmont | 80:8e73be2a2ac1 | 18 | /* Header guard */ |
emilmont | 80:8e73be2a2ac1 | 19 | #ifndef NRF_ERROR_SDM_H__ |
emilmont | 80:8e73be2a2ac1 | 20 | #define NRF_ERROR_SDM_H__ |
emilmont | 80:8e73be2a2ac1 | 21 | |
emilmont | 80:8e73be2a2ac1 | 22 | #include "nrf_error.h" |
emilmont | 80:8e73be2a2ac1 | 23 | |
emilmont | 80:8e73be2a2ac1 | 24 | #define NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN (NRF_ERROR_SDM_BASE_NUM + 0) ///< Unknown lfclk source |
emilmont | 80:8e73be2a2ac1 | 25 | #define NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION (NRF_ERROR_SDM_BASE_NUM + 1) ///< Incorrect interrupt configuration (can be caused by using illegal priority levels, or having enabled SoftDevice interrupts) |
emilmont | 80:8e73be2a2ac1 | 26 | #define NRF_ERROR_SDM_INCORRECT_CLENR0 (NRF_ERROR_SDM_BASE_NUM + 2) ///< Incorrect CLENR0 (can be caused by erronous SoftDevice flashing) |
emilmont | 80:8e73be2a2ac1 | 27 | |
emilmont | 80:8e73be2a2ac1 | 28 | #endif // NRF_ERROR_SDM_H__ |
emilmont | 80:8e73be2a2ac1 | 29 | |
emilmont | 80:8e73be2a2ac1 | 30 | /** |
emilmont | 80:8e73be2a2ac1 | 31 | @} |
emilmont | 80:8e73be2a2ac1 | 32 | @} |
emilmont | 80:8e73be2a2ac1 | 33 | */ |