BLE-Stack APIs  3.00.00
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
icall_cc26xx_defs.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-2016, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 /*!*****************************************************************************
33  * @file icall_cc26xx_defs.h
34  * @brief Indirect function Call dispatcher constant definitions specific to
35  * CC26xx platform.
36  *
37  * Note that the constants in this file is unique to the CC26xx and are
38  * not generic.
39  */
40 
41 #ifndef ICALLCC26XXDEFS_H
42 #define ICALLCC26XXDEFS_H
43 
49 /* Note that this header file must not have dependency on actual TI-RTOS
50  * header file because the TI-RTOS header file must not be included
51  * when building a stack image. */
52 
57 #define ICALL_PWR_AWAKE_FROM_STANDBY 0
58 
63 #define ICALL_PWR_ENTER_STANDBY 2
64 
69 #define ICALL_PWR_ENTER_SHUTDOWN 4
70 
75 #define ICALL_PWR_AWAKE_FROM_STANDBY_LATE 5
76 
81 #define ICALL_PWR_TRANSITION_UNKNOWN 0
82 
87 #define ICALL_PWR_TRANSITION_STAY_IN_ACTIVE 1
88 
93 #define ICALL_PWR_TRANSITION_ENTERING_SLEEP 2
94 
99 #define ICALL_PWR_TRANSITION_EXITING_SLEEP 3
100 
101 
102 /* Constraints and dependencies */
103 
109 #define ICALL_PWR_C_SB_VIMS_CACHE_RETAIN 0x00000001l
110 
116 #define ICALL_PWR_C_SD_DISALLOW 0x00000002l
117 
123 #define ICALL_PWR_C_SB_DISALLOW 0x00000004l
124 
130 #define ICALL_PWR_C_IDLE_PD_DISALLOW 0x00000008l
131 
137 #define ICALL_PWR_C_NEED_FLASH_IN_IDLE 0x00000010l
138 
144 #define ICALL_PWR_D_PERIPH_GPT0 0x00000020l
145 
151 #define ICALL_PWR_D_PERIPH_GPT1 0x00000040l
152 
158 #define ICALL_PWR_D_PERIPH_GPT2 0x00000080l
159 
165 #define ICALL_PWR_D_PERIPH_GPT3 0x00000100l
166 
172 #define ICALL_PWR_D_PERIPH_SSI0 0x00000200l
173 
179 #define ICALL_PWR_D_PERIPH_SSI1 0x00000400l
180 
186 #define ICALL_PWR_D_PERIPH_UART0 0x00000800l
187 
193 #define ICALL_PWR_D_PERIPH_I2C0 0x00001000l
194 
200 #define ICALL_PWR_D_PERIPH_TRNG 0x00002000l
201 
207 #define ICALL_PWR_D_PERIPH_GPIO 0x00004000l
208 
214 #define ICALL_PWR_D_PERIPH_UDMA 0x00008000l
215 
221 #define ICALL_PWR_D_PERIPH_CRYPTO 0x00010000l
222 
228 #define ICALL_PWR_D_PERIPH_I2S 0x00020000l
229 
235 #define ICALL_PWR_D_PERIPH_RFCORE 0x00040000l
236 
242 #define ICALL_PWR_D_XOSC_HF 0x00080000l
243 
249 #define ICALL_PWR_D_DOMAIN_PERIPH 0x00100000l
250 
256 #define ICALL_PWR_D_DOMAIN_SERIAL 0x00200000l
257 
263 #define ICALL_PWR_D_DOMAIN_RFCORE 0x00400000l
264 
270 #define ICALL_PWR_D_DOMAIN_SYSBUS 0x00800000l
271 
272 #endif /* ICALLCC26XXDEFS_H */
273  // end of ICall_Constants
Copyright 2016, Texas Instruments Incorporated