テスト用です。

Dependencies:   mbed

Committer:
jksoft
Date:
Tue Oct 11 11:09:42 2016 +0000
Revision:
0:8468a4403fea
SB??ver;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jksoft 0:8468a4403fea 1 /*
jksoft 0:8468a4403fea 2 * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
jksoft 0:8468a4403fea 3 *
jksoft 0:8468a4403fea 4 * The information contained herein is confidential property of Nordic Semiconductor. The use,
jksoft 0:8468a4403fea 5 * copying, transfer or disclosure of such information is prohibited except by express written
jksoft 0:8468a4403fea 6 * agreement with Nordic Semiconductor.
jksoft 0:8468a4403fea 7 *
jksoft 0:8468a4403fea 8 */
jksoft 0:8468a4403fea 9 /**
jksoft 0:8468a4403fea 10 @addtogroup nrf_soc_api
jksoft 0:8468a4403fea 11 @{
jksoft 0:8468a4403fea 12 @defgroup nrf_soc_error SoC Library Error Codes
jksoft 0:8468a4403fea 13 @{
jksoft 0:8468a4403fea 14
jksoft 0:8468a4403fea 15 @brief Error definitions for the SoC library
jksoft 0:8468a4403fea 16
jksoft 0:8468a4403fea 17 */
jksoft 0:8468a4403fea 18
jksoft 0:8468a4403fea 19 /* Header guard */
jksoft 0:8468a4403fea 20 #ifndef NRF_ERROR_SOC_H__
jksoft 0:8468a4403fea 21 #define NRF_ERROR_SOC_H__
jksoft 0:8468a4403fea 22
jksoft 0:8468a4403fea 23 #include "nrf_error.h"
jksoft 0:8468a4403fea 24
jksoft 0:8468a4403fea 25 /* Mutex Errors */
jksoft 0:8468a4403fea 26 #define NRF_ERROR_SOC_MUTEX_ALREADY_TAKEN (NRF_ERROR_SOC_BASE_NUM + 0) ///< Mutex already taken
jksoft 0:8468a4403fea 27
jksoft 0:8468a4403fea 28 /* NVIC errors */
jksoft 0:8468a4403fea 29 #define NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE (NRF_ERROR_SOC_BASE_NUM + 1) ///< NVIC interrupt not available
jksoft 0:8468a4403fea 30 #define NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED (NRF_ERROR_SOC_BASE_NUM + 2) ///< NVIC interrupt priority not allowed
jksoft 0:8468a4403fea 31 #define NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 3) ///< NVIC should not return
jksoft 0:8468a4403fea 32
jksoft 0:8468a4403fea 33 /* Power errors */
jksoft 0:8468a4403fea 34 #define NRF_ERROR_SOC_POWER_MODE_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 4) ///< Power mode unknown
jksoft 0:8468a4403fea 35 #define NRF_ERROR_SOC_POWER_POF_THRESHOLD_UNKNOWN (NRF_ERROR_SOC_BASE_NUM + 5) ///< Power POF threshold unknown
jksoft 0:8468a4403fea 36 #define NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN (NRF_ERROR_SOC_BASE_NUM + 6) ///< Power off should not return
jksoft 0:8468a4403fea 37
jksoft 0:8468a4403fea 38 /* Rand errors */
jksoft 0:8468a4403fea 39 #define NRF_ERROR_SOC_RAND_NOT_ENOUGH_VALUES (NRF_ERROR_SOC_BASE_NUM + 7) ///< RAND not enough values
jksoft 0:8468a4403fea 40
jksoft 0:8468a4403fea 41 /* PPI errors */
jksoft 0:8468a4403fea 42 #define NRF_ERROR_SOC_PPI_INVALID_CHANNEL (NRF_ERROR_SOC_BASE_NUM + 8) ///< Invalid PPI Channel
jksoft 0:8468a4403fea 43 #define NRF_ERROR_SOC_PPI_INVALID_GROUP (NRF_ERROR_SOC_BASE_NUM + 9) ///< Invalid PPI Group
jksoft 0:8468a4403fea 44
jksoft 0:8468a4403fea 45 #endif // NRF_ERROR_SOC_H__
jksoft 0:8468a4403fea 46 /**
jksoft 0:8468a4403fea 47 @}
jksoft 0:8468a4403fea 48 @}
jksoft 0:8468a4403fea 49 */