Birkbeck College Mobile and Ubiquitous Computing IoT Lab Exercise 2
Dependencies: BLE_API_Native_blog
mbed/TARGET_NRF51822/nrf_error_soc.h@0:e8fdba0ed044, 2015-03-07 (annotated)
- Committer:
- gkroussos
- Date:
- Sat Mar 07 16:34:53 2015 +0000
- Revision:
- 0:e8fdba0ed044
MUC IoT Workshop v1.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gkroussos | 0:e8fdba0ed044 | 1 | /* |
gkroussos | 0:e8fdba0ed044 | 2 | * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
gkroussos | 0:e8fdba0ed044 | 3 | * |
gkroussos | 0:e8fdba0ed044 | 4 | * The information contained herein is confidential property of Nordic Semiconductor. The use, |
gkroussos | 0:e8fdba0ed044 | 5 | * copying, transfer or disclosure of such information is prohibited except by express written |
gkroussos | 0:e8fdba0ed044 | 6 | * agreement with Nordic Semiconductor. |
gkroussos | 0:e8fdba0ed044 | 7 | * |
gkroussos | 0:e8fdba0ed044 | 8 | */ |
gkroussos | 0:e8fdba0ed044 | 9 | /** |
gkroussos | 0:e8fdba0ed044 | 10 | @addtogroup nrf_soc_api |
gkroussos | 0:e8fdba0ed044 | 11 | @{ |
gkroussos | 0:e8fdba0ed044 | 12 | @defgroup nrf_soc_error SoC Library Error Codes |
gkroussos | 0:e8fdba0ed044 | 13 | @{ |
gkroussos | 0:e8fdba0ed044 | 14 | |
gkroussos | 0:e8fdba0ed044 | 15 | @brief Error definitions for the SoC library |
gkroussos | 0:e8fdba0ed044 | 16 | |
gkroussos | 0:e8fdba0ed044 | 17 | */ |
gkroussos | 0:e8fdba0ed044 | 18 | |
gkroussos | 0:e8fdba0ed044 | 19 | /* Header guard */ |
gkroussos | 0:e8fdba0ed044 | 20 | #ifndef NRF_ERROR_SOC_H__ |
gkroussos | 0:e8fdba0ed044 | 21 | #define NRF_ERROR_SOC_H__ |
gkroussos | 0:e8fdba0ed044 | 22 | |
gkroussos | 0:e8fdba0ed044 | 23 | #include "nrf_error.h" |
gkroussos | 0:e8fdba0ed044 | 24 | |
gkroussos | 0:e8fdba0ed044 | 25 | /* Mutex Errors */ |
gkroussos | 0:e8fdba0ed044 | 26 | #define NRF_ERROR_SOC_MUTEX_ALREADY_TAKEN (NRF_ERROR_SOC_BASE_NUM + 0) ///< Mutex already taken |
gkroussos | 0:e8fdba0ed044 | 27 | |
gkroussos | 0:e8fdba0ed044 | 28 | /* NVIC errors */ |
gkroussos | 0:e8fdba0ed044 | 29 | #define NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE (NRF_ERROR_SOC_BASE_NUM + 1) ///< NVIC interrupt not available |
gkroussos | 0:e8fdba0ed044 | 30 | #define NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED (NRF_ERROR_SOC_BASE_NUM + 2) ///< NVIC interrupt priority not allowed |
gkroussos | 0:e8fdba0ed044 | 31 | #define NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 3) ///< NVIC should not return |
gkroussos | 0:e8fdba0ed044 | 32 | |
gkroussos | 0:e8fdba0ed044 | 33 | /* Power errors */ |
gkroussos | 0:e8fdba0ed044 | 34 | #define NRF_ERROR_SOC_POWER_MODE_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 4) ///< Power mode unknown |
gkroussos | 0:e8fdba0ed044 | 35 | #define NRF_ERROR_SOC_POWER_POF_THRESHOLD_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 5) ///< Power POF threshold unknown |
gkroussos | 0:e8fdba0ed044 | 36 | #define NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 6) ///< Power off should not return |
gkroussos | 0:e8fdba0ed044 | 37 | |
gkroussos | 0:e8fdba0ed044 | 38 | /* Rand errors */ |
gkroussos | 0:e8fdba0ed044 | 39 | #define NRF_ERROR_SOC_RAND_NOT_ENOUGH_VALUES (NRF_ERROR_SOC_BASE_NUM + 7) ///< RAND not enough values |
gkroussos | 0:e8fdba0ed044 | 40 | |
gkroussos | 0:e8fdba0ed044 | 41 | /* PPI errors */ |
gkroussos | 0:e8fdba0ed044 | 42 | #define NRF_ERROR_SOC_PPI_INVALID_CHANNEL (NRF_ERROR_SOC_BASE_NUM + 8) ///< Invalid PPI Channel |
gkroussos | 0:e8fdba0ed044 | 43 | #define NRF_ERROR_SOC_PPI_INVALID_GROUP (NRF_ERROR_SOC_BASE_NUM + 9) ///< Invalid PPI Group |
gkroussos | 0:e8fdba0ed044 | 44 | |
gkroussos | 0:e8fdba0ed044 | 45 | #endif // NRF_ERROR_SOC_H__ |
gkroussos | 0:e8fdba0ed044 | 46 | /** |
gkroussos | 0:e8fdba0ed044 | 47 | @} |
gkroussos | 0:e8fdba0ed044 | 48 | @} |
gkroussos | 0:e8fdba0ed044 | 49 | */ |