1 /******************************************************************************
2 *  Filename:       hw_ccfg_simple_struct_h
3 *  Revised:        2015-03-06 09:34:08 +0100 (Fri, 06 Mar 2015)
4 *  Revision:       42900
5 *
6 * Copyright (c) 2015, Texas Instruments Incorporated
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions are met:
11 *
12 * 1) Redistributions of source code must retain the above copyright notice,
13 *    this list of conditions and the following disclaimer.
14 *
15 * 2) Redistributions in binary form must reproduce the above copyright notice,
16 *    this list of conditions and the following disclaimer in the documentation
17 *    and/or other materials provided with the distribution.
18 *
19 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
20 *    be used to endorse or promote products derived from this software without
21 *    specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 ******************************************************************************/
36 
37 #ifndef __HW_CCFG_SIMPLE_STRUCT_H__
38 #define __HW_CCFG_SIMPLE_STRUCT_H__
39 
40 //*****************************************************************************
41 //
42 // Customer configuration (ccfg) typedef.
43 // The implementation of this struct is required by device ROM boot code
44 //  and must be placed at the end of flash. Do not modify this struct!
45 //
46 //*****************************************************************************
47 typedef struct
48 {                                              //  Mapped to address
49     uint32_t   CCFG_EXT_LF_CLK               ; // 0x50003FA8
50     uint32_t   CCFG_MODE_CONF_1              ; // 0x50003FAC
51     uint32_t   CCFG_SIZE_AND_DIS_FLAGS       ; // 0x50003FB0
52     uint32_t   CCFG_MODE_CONF                ; // 0x50003FB4
53     uint32_t   CCFG_VOLT_LOAD_0              ; // 0x50003FB8
54     uint32_t   CCFG_VOLT_LOAD_1              ; // 0x50003FBC
55     uint32_t   CCFG_RTC_OFFSET               ; // 0x50003FC0
56     uint32_t   CCFG_FREQ_OFFSET              ; // 0x50003FC4
57     uint32_t   CCFG_IEEE_MAC_0               ; // 0x50003FC8
58     uint32_t   CCFG_IEEE_MAC_1               ; // 0x50003FCC
59     uint32_t   CCFG_IEEE_BLE_0               ; // 0x50003FD0
60     uint32_t   CCFG_IEEE_BLE_1               ; // 0x50003FD4
61     uint32_t   CCFG_BL_CONFIG                ; // 0x50003FD8
62     uint32_t   CCFG_ERASE_CONF               ; // 0x50003FDC
63     uint32_t   CCFG_CCFG_TI_OPTIONS          ; // 0x50003FE0
64     uint32_t   CCFG_CCFG_TAP_DAP_0           ; // 0x50003FE4
65     uint32_t   CCFG_CCFG_TAP_DAP_1           ; // 0x50003FE8
66     uint32_t   CCFG_IMAGE_VALID_CONF         ; // 0x50003FEC
67     uint32_t   CCFG_CCFG_PROT_31_0           ; // 0x50003FF0
68     uint32_t   CCFG_CCFG_PROT_63_32          ; // 0x50003FF4
69     uint32_t   CCFG_CCFG_PROT_95_64          ; // 0x50003FF8
70     uint32_t   CCFG_CCFG_PROT_127_96         ; // 0x50003FFC
71 } ccfg_t;
72 
73 //*****************************************************************************
74 //
75 // Define the extern ccfg structure (__ccfg)
76 //
77 //*****************************************************************************
78 extern const ccfg_t __ccfg;
79 
80 
81 #endif // __HW_CCFG_SIMPLE_STRUCT__
82