To get started with Seeed Tiny BLE, include detecting motion, button and battery level.

Dependencies:   BLE_API eMPL_MPU6050 mbed nRF51822

Committer:
yihui
Date:
Thu Nov 05 02:46:37 2015 +0000
Revision:
2:b61ddbb8528e
Parent:
1:fc2f9d636751
able to recover from i2c bus fault

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yihui 1:fc2f9d636751 1 /*
yihui 1:fc2f9d636751 2 * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
yihui 1:fc2f9d636751 3 *
yihui 1:fc2f9d636751 4 * The information contained herein is confidential property of Nordic Semiconductor. The use,
yihui 1:fc2f9d636751 5 * copying, transfer or disclosure of such information is prohibited except by express written
yihui 1:fc2f9d636751 6 * agreement with Nordic Semiconductor.
yihui 1:fc2f9d636751 7 *
yihui 1:fc2f9d636751 8 */
yihui 1:fc2f9d636751 9 /**
yihui 1:fc2f9d636751 10 @addtogroup nrf_sdm_api
yihui 1:fc2f9d636751 11 @{
yihui 1:fc2f9d636751 12 @defgroup nrf_sdm_error SoftDevice Manager Error Codes
yihui 1:fc2f9d636751 13 @{
yihui 1:fc2f9d636751 14
yihui 1:fc2f9d636751 15 @brief Error definitions for the SDM API
yihui 1:fc2f9d636751 16 */
yihui 1:fc2f9d636751 17
yihui 1:fc2f9d636751 18 /* Header guard */
yihui 1:fc2f9d636751 19 #ifndef NRF_ERROR_SDM_H__
yihui 1:fc2f9d636751 20 #define NRF_ERROR_SDM_H__
yihui 1:fc2f9d636751 21
yihui 1:fc2f9d636751 22 #include "nrf_error.h"
yihui 1:fc2f9d636751 23
yihui 1:fc2f9d636751 24 #define NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN (NRF_ERROR_SDM_BASE_NUM + 0) ///< Unknown lfclk source
yihui 1:fc2f9d636751 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)
yihui 1:fc2f9d636751 26 #define NRF_ERROR_SDM_INCORRECT_CLENR0 (NRF_ERROR_SDM_BASE_NUM + 2) ///< Incorrect CLENR0 (can be caused by erronous SoftDevice flashing)
yihui 1:fc2f9d636751 27
yihui 1:fc2f9d636751 28 #endif // NRF_ERROR_SDM_H__
yihui 1:fc2f9d636751 29
yihui 1:fc2f9d636751 30 /**
yihui 1:fc2f9d636751 31 @}
yihui 1:fc2f9d636751 32 @}
yihui 1:fc2f9d636751 33 */