SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Committer:
soumi_ghsoh
Date:
Wed Apr 01 22:06:35 2015 +0000
Revision:
100:030804500597
Parent:
37:c29c330d942c
TAG read with multiple instances of RX complete IRQ; Imp changes: reduced RX wait time, Vin=3V/AGC ON, RX_IN2(main) , RX_IN1(aux)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 0:eff01767de02 1 /*
bogdanm 0:eff01767de02 2 Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
bogdanm 0:eff01767de02 3
bogdanm 0:eff01767de02 4 The information contained herein is confidential property of Nordic Semiconductor. The use,
bogdanm 0:eff01767de02 5 copying, transfer or disclosure of such information is prohibited except by express written
bogdanm 0:eff01767de02 6 agreement with Nordic Semiconductor.
bogdanm 0:eff01767de02 7 */
bogdanm 0:eff01767de02 8 /**
bogdanm 0:eff01767de02 9 @addtogroup BLE_COMMON
bogdanm 0:eff01767de02 10 @{
bogdanm 0:eff01767de02 11 @defgroup ble_ranges Module specific SVC and event number subranges
bogdanm 0:eff01767de02 12 @{
bogdanm 0:eff01767de02 13
bogdanm 0:eff01767de02 14 @brief Definition of SVC and event number subranges for each API module.
bogdanm 0:eff01767de02 15
bogdanm 0:eff01767de02 16 @note
bogdanm 0:eff01767de02 17 SVCs and event numbers are split into subranges for each API module.
bogdanm 0:eff01767de02 18 Each module receives its entire allocated range of SVC calls, whether implemented or not,
bogdanm 0:eff01767de02 19 but return BLE_ERROR_NOT_SUPPORTED for unimplemented or undefined calls in its range.
bogdanm 0:eff01767de02 20
bogdanm 0:eff01767de02 21 Note that the symbols BLE_<module>_SVC_LAST is the end of the allocated SVC range,
bogdanm 0:eff01767de02 22 rather than the last SVC function call actually defined and implemented.
bogdanm 0:eff01767de02 23
bogdanm 0:eff01767de02 24 Specific SVC and event values are defined in each module's ble_<module>.h file,
bogdanm 0:eff01767de02 25 which defines names of each individual SVC code based on the range start value.
bogdanm 0:eff01767de02 26 */
bogdanm 0:eff01767de02 27
bogdanm 0:eff01767de02 28 #ifndef BLE_RANGES_H__
bogdanm 0:eff01767de02 29 #define BLE_RANGES_H__
bogdanm 0:eff01767de02 30
bogdanm 0:eff01767de02 31 #define BLE_SVC_BASE 0x60
bogdanm 0:eff01767de02 32 #define BLE_SVC_LAST 0x6B /* Total: 12. */
bogdanm 0:eff01767de02 33
bogdanm 0:eff01767de02 34 #define BLE_RESERVED_SVC_BASE 0x6C
bogdanm 0:eff01767de02 35 #define BLE_RESERVED_SVC_LAST 0x6F /* Total: 4. */
bogdanm 0:eff01767de02 36
bogdanm 0:eff01767de02 37 #define BLE_GAP_SVC_BASE 0x70
bogdanm 0:eff01767de02 38 #define BLE_GAP_SVC_LAST 0x8F /* Total: 32. */
bogdanm 0:eff01767de02 39
bogdanm 0:eff01767de02 40 #define BLE_GATTC_SVC_BASE 0x90
bogdanm 0:eff01767de02 41 #define BLE_GATTC_SVC_LAST 0x9F /* Total: 16. */
bogdanm 0:eff01767de02 42
bogdanm 0:eff01767de02 43 #define BLE_GATTS_SVC_BASE 0xA0
bogdanm 0:eff01767de02 44 #define BLE_GATTS_SVC_LAST 0xAF /* Total: 16. */
bogdanm 0:eff01767de02 45
bogdanm 0:eff01767de02 46 #define BLE_L2CAP_SVC_BASE 0xB0
bogdanm 0:eff01767de02 47 #define BLE_L2CAP_SVC_LAST 0xBF /* Total: 16. */
bogdanm 0:eff01767de02 48
bogdanm 0:eff01767de02 49
bogdanm 0:eff01767de02 50 #define BLE_EVT_INVALID 0x00
bogdanm 0:eff01767de02 51
bogdanm 0:eff01767de02 52 #define BLE_EVT_BASE 0x01
bogdanm 0:eff01767de02 53 #define BLE_EVT_LAST 0x0F /* Total: 15. */
bogdanm 0:eff01767de02 54
bogdanm 0:eff01767de02 55 #define BLE_GAP_EVT_BASE 0x10
bogdanm 0:eff01767de02 56 #define BLE_GAP_EVT_LAST 0x2F /* Total: 32. */
bogdanm 0:eff01767de02 57
bogdanm 0:eff01767de02 58 #define BLE_GATTC_EVT_BASE 0x30
bogdanm 0:eff01767de02 59 #define BLE_GATTC_EVT_LAST 0x4F /* Total: 32. */
bogdanm 0:eff01767de02 60
bogdanm 0:eff01767de02 61 #define BLE_GATTS_EVT_BASE 0x50
bogdanm 0:eff01767de02 62 #define BLE_GATTS_EVT_LAST 0x6F /* Total: 32. */
bogdanm 0:eff01767de02 63
bogdanm 0:eff01767de02 64 #define BLE_L2CAP_EVT_BASE 0x70
bogdanm 0:eff01767de02 65 #define BLE_L2CAP_EVT_LAST 0x8F /* Total: 32. */
bogdanm 0:eff01767de02 66
Rohit Grover 37:c29c330d942c 67 #define BLE_OPT_INVALID 0x00 /**< Invalid BLE Option. */
Rohit Grover 37:c29c330d942c 68
Rohit Grover 37:c29c330d942c 69 #define BLE_OPT_BASE 0x01 /**< Common BLE Option base. */
Rohit Grover 37:c29c330d942c 70 #define BLE_OPT_LAST 0x1F /**< Total: 31. */
Rohit Grover 37:c29c330d942c 71
Rohit Grover 37:c29c330d942c 72 #define BLE_GAP_OPT_BASE 0x20 /**< GAP BLE Option base. */
Rohit Grover 37:c29c330d942c 73 #define BLE_GAP_OPT_LAST 0x3F /**< Total: 32. */
Rohit Grover 37:c29c330d942c 74
Rohit Grover 37:c29c330d942c 75 #define BLE_GATTC_OPT_BASE 0x40 /**< GATTC BLE Option base. */
Rohit Grover 37:c29c330d942c 76 #define BLE_GATTC_OPT_LAST 0x5F /**< Total: 32. */
Rohit Grover 37:c29c330d942c 77
Rohit Grover 37:c29c330d942c 78 #define BLE_GATTS_OPT_BASE 0x60 /**< GATTS BLE Option base. */
Rohit Grover 37:c29c330d942c 79 #define BLE_GATTS_OPT_LAST 0x7F /**< Total: 32. */
Rohit Grover 37:c29c330d942c 80
Rohit Grover 37:c29c330d942c 81 #define BLE_L2CAP_OPT_BASE 0x80 /**< L2CAP BLE Option base. */
Rohit Grover 37:c29c330d942c 82 #define BLE_L2CAP_OPT_LAST 0x9F /**< Total: 32. */
Rohit Grover 37:c29c330d942c 83
bogdanm 0:eff01767de02 84 #endif /* BLE_RANGES_H__ */
bogdanm 0:eff01767de02 85
bogdanm 0:eff01767de02 86 /**
bogdanm 0:eff01767de02 87 @}
bogdanm 0:eff01767de02 88 @}
bogdanm 0:eff01767de02 89 */