mbed(SerialHalfDuplex入り)
Fork of mbed by
TARGET_RBLAB_NRF51822/TARGET_NORDIC/TARGET_NRF51822/Lib/s110_nrf51822_7_0_0/s110_nrf51822_7.0.0_API/include/nrf_error_soc.h@87:6213f644d804, 2014-07-25 (annotated)
- Committer:
- bogdanm
- Date:
- Fri Jul 25 09:46:51 2014 +0100
- Revision:
- 87:6213f644d804
- Parent:
- TARGET_NRF51822/TARGET_NORDIC/TARGET_NRF51822/Lib/s110_nrf51822_6_0_0/s110_nrf51822_6.0.0_API/include/nrf_error_soc.h@82:6473597d706e
Release 87 of the mbed library
Main changes:
- error.h renamed to mbed_error.h to avoid name clashes
- upgraded to V7 of the nRF51822 soft-device 110
- New targets: HRM107
- Improved test infrastructure
- Bug fixes on various targets
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 82:6473597d706e | 1 | /* |
bogdanm | 82:6473597d706e | 2 | * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. |
bogdanm | 82:6473597d706e | 3 | * |
bogdanm | 82:6473597d706e | 4 | * The information contained herein is confidential property of Nordic Semiconductor. The use, |
bogdanm | 82:6473597d706e | 5 | * copying, transfer or disclosure of such information is prohibited except by express written |
bogdanm | 82:6473597d706e | 6 | * agreement with Nordic Semiconductor. |
bogdanm | 82:6473597d706e | 7 | * |
bogdanm | 82:6473597d706e | 8 | */ |
bogdanm | 82:6473597d706e | 9 | /** |
bogdanm | 82:6473597d706e | 10 | @addtogroup nrf_soc_api |
bogdanm | 82:6473597d706e | 11 | @{ |
bogdanm | 82:6473597d706e | 12 | @defgroup nrf_soc_error SoC Library Error Codes |
bogdanm | 82:6473597d706e | 13 | @{ |
bogdanm | 82:6473597d706e | 14 | |
bogdanm | 82:6473597d706e | 15 | @brief Error definitions for the SoC library |
bogdanm | 82:6473597d706e | 16 | |
bogdanm | 82:6473597d706e | 17 | */ |
bogdanm | 82:6473597d706e | 18 | |
bogdanm | 82:6473597d706e | 19 | /* Header guard */ |
bogdanm | 82:6473597d706e | 20 | #ifndef NRF_ERROR_SOC_H__ |
bogdanm | 82:6473597d706e | 21 | #define NRF_ERROR_SOC_H__ |
bogdanm | 82:6473597d706e | 22 | |
bogdanm | 82:6473597d706e | 23 | #include "nrf_error.h" |
bogdanm | 82:6473597d706e | 24 | |
bogdanm | 82:6473597d706e | 25 | /* Mutex Errors */ |
bogdanm | 82:6473597d706e | 26 | #define NRF_ERROR_SOC_MUTEX_ALREADY_TAKEN (NRF_ERROR_SOC_BASE_NUM + 0) ///< Mutex already taken |
bogdanm | 82:6473597d706e | 27 | |
bogdanm | 82:6473597d706e | 28 | /* NVIC errors */ |
bogdanm | 82:6473597d706e | 29 | #define NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE (NRF_ERROR_SOC_BASE_NUM + 1) ///< NVIC interrupt not available |
bogdanm | 82:6473597d706e | 30 | #define NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED (NRF_ERROR_SOC_BASE_NUM + 2) ///< NVIC interrupt priority not allowed |
bogdanm | 82:6473597d706e | 31 | #define NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 3) ///< NVIC should not return |
bogdanm | 82:6473597d706e | 32 | |
bogdanm | 82:6473597d706e | 33 | /* Power errors */ |
bogdanm | 82:6473597d706e | 34 | #define NRF_ERROR_SOC_POWER_MODE_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 4) ///< Power mode unknown |
bogdanm | 82:6473597d706e | 35 | #define NRF_ERROR_SOC_POWER_POF_THRESHOLD_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 5) ///< Power POF threshold unknown |
bogdanm | 82:6473597d706e | 36 | #define NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 6) ///< Power off should not return |
bogdanm | 82:6473597d706e | 37 | |
bogdanm | 82:6473597d706e | 38 | /* Rand errors */ |
bogdanm | 82:6473597d706e | 39 | #define NRF_ERROR_SOC_RAND_NOT_ENOUGH_VALUES (NRF_ERROR_SOC_BASE_NUM + 7) ///< RAND not enough values |
bogdanm | 82:6473597d706e | 40 | |
bogdanm | 82:6473597d706e | 41 | /* PPI errors */ |
bogdanm | 82:6473597d706e | 42 | #define NRF_ERROR_SOC_PPI_INVALID_CHANNEL (NRF_ERROR_SOC_BASE_NUM + 8) ///< Invalid PPI Channel |
bogdanm | 82:6473597d706e | 43 | #define NRF_ERROR_SOC_PPI_INVALID_GROUP (NRF_ERROR_SOC_BASE_NUM + 9) ///< Invalid PPI Group |
bogdanm | 82:6473597d706e | 44 | |
bogdanm | 82:6473597d706e | 45 | #endif // NRF_ERROR_SOC_H__ |
bogdanm | 82:6473597d706e | 46 | /** |
bogdanm | 82:6473597d706e | 47 | @} |
bogdanm | 82:6473597d706e | 48 | @} |
bogdanm | 82:6473597d706e | 49 | */ |