mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/Lib/s110_nrf51822_7_0_0/s110_nrf51822_7.0.0_API/include/nrf_error_soc.h@277:0dffe5d9e928, 2014-08-08 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Aug 08 14:30:08 2014 +0100
- Revision:
- 277:0dffe5d9e928
Synchronized with git revision 6e585609af67e04984b0c09093a5790a751c6ceb
Full URL: https://github.com/mbedmicro/mbed/commit/6e585609af67e04984b0c09093a5790a751c6ceb/
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 277:0dffe5d9e928 | 1 | /* |
mbed_official | 277:0dffe5d9e928 | 2 | * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
mbed_official | 277:0dffe5d9e928 | 3 | * |
mbed_official | 277:0dffe5d9e928 | 4 | * The information contained herein is confidential property of Nordic Semiconductor. The use, |
mbed_official | 277:0dffe5d9e928 | 5 | * copying, transfer or disclosure of such information is prohibited except by express written |
mbed_official | 277:0dffe5d9e928 | 6 | * agreement with Nordic Semiconductor. |
mbed_official | 277:0dffe5d9e928 | 7 | * |
mbed_official | 277:0dffe5d9e928 | 8 | */ |
mbed_official | 277:0dffe5d9e928 | 9 | /** |
mbed_official | 277:0dffe5d9e928 | 10 | @addtogroup nrf_soc_api |
mbed_official | 277:0dffe5d9e928 | 11 | @{ |
mbed_official | 277:0dffe5d9e928 | 12 | @defgroup nrf_soc_error SoC Library Error Codes |
mbed_official | 277:0dffe5d9e928 | 13 | @{ |
mbed_official | 277:0dffe5d9e928 | 14 | |
mbed_official | 277:0dffe5d9e928 | 15 | @brief Error definitions for the SoC library |
mbed_official | 277:0dffe5d9e928 | 16 | |
mbed_official | 277:0dffe5d9e928 | 17 | */ |
mbed_official | 277:0dffe5d9e928 | 18 | |
mbed_official | 277:0dffe5d9e928 | 19 | /* Header guard */ |
mbed_official | 277:0dffe5d9e928 | 20 | #ifndef NRF_ERROR_SOC_H__ |
mbed_official | 277:0dffe5d9e928 | 21 | #define NRF_ERROR_SOC_H__ |
mbed_official | 277:0dffe5d9e928 | 22 | |
mbed_official | 277:0dffe5d9e928 | 23 | #include "nrf_error.h" |
mbed_official | 277:0dffe5d9e928 | 24 | |
mbed_official | 277:0dffe5d9e928 | 25 | /* Mutex Errors */ |
mbed_official | 277:0dffe5d9e928 | 26 | #define NRF_ERROR_SOC_MUTEX_ALREADY_TAKEN (NRF_ERROR_SOC_BASE_NUM + 0) ///< Mutex already taken |
mbed_official | 277:0dffe5d9e928 | 27 | |
mbed_official | 277:0dffe5d9e928 | 28 | /* NVIC errors */ |
mbed_official | 277:0dffe5d9e928 | 29 | #define NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE (NRF_ERROR_SOC_BASE_NUM + 1) ///< NVIC interrupt not available |
mbed_official | 277:0dffe5d9e928 | 30 | #define NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED (NRF_ERROR_SOC_BASE_NUM + 2) ///< NVIC interrupt priority not allowed |
mbed_official | 277:0dffe5d9e928 | 31 | #define NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 3) ///< NVIC should not return |
mbed_official | 277:0dffe5d9e928 | 32 | |
mbed_official | 277:0dffe5d9e928 | 33 | /* Power errors */ |
mbed_official | 277:0dffe5d9e928 | 34 | #define NRF_ERROR_SOC_POWER_MODE_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 4) ///< Power mode unknown |
mbed_official | 277:0dffe5d9e928 | 35 | #define NRF_ERROR_SOC_POWER_POF_THRESHOLD_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 5) ///< Power POF threshold unknown |
mbed_official | 277:0dffe5d9e928 | 36 | #define NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 6) ///< Power off should not return |
mbed_official | 277:0dffe5d9e928 | 37 | |
mbed_official | 277:0dffe5d9e928 | 38 | /* Rand errors */ |
mbed_official | 277:0dffe5d9e928 | 39 | #define NRF_ERROR_SOC_RAND_NOT_ENOUGH_VALUES (NRF_ERROR_SOC_BASE_NUM + 7) ///< RAND not enough values |
mbed_official | 277:0dffe5d9e928 | 40 | |
mbed_official | 277:0dffe5d9e928 | 41 | /* PPI errors */ |
mbed_official | 277:0dffe5d9e928 | 42 | #define NRF_ERROR_SOC_PPI_INVALID_CHANNEL (NRF_ERROR_SOC_BASE_NUM + 8) ///< Invalid PPI Channel |
mbed_official | 277:0dffe5d9e928 | 43 | #define NRF_ERROR_SOC_PPI_INVALID_GROUP (NRF_ERROR_SOC_BASE_NUM + 9) ///< Invalid PPI Group |
mbed_official | 277:0dffe5d9e928 | 44 | |
mbed_official | 277:0dffe5d9e928 | 45 | #endif // NRF_ERROR_SOC_H__ |
mbed_official | 277:0dffe5d9e928 | 46 | /** |
mbed_official | 277:0dffe5d9e928 | 47 | @} |
mbed_official | 277:0dffe5d9e928 | 48 | @} |
mbed_official | 277:0dffe5d9e928 | 49 | */ |