1 /*
2  * ARM Limited (ARM) is supplying this software for use with Cortex-M
3  * processor based microcontroller, but can be equally used for other
4  * suitable processor architectures. This file can be freely distributed.
5  * Modifications to this file shall be clearly marked.
6  *
7  * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
8  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
9  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
10  * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
11  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
12  *
13  * @file     output/MEC1743_QLJ.h
14  * @brief    CMSIS HeaderFile
15  * @version  1.2
16  * @date     19. May 2024
17  * @note     Generated by SVDConv V3.3.42 on Sunday, 19.05.2024 10:19:45
18  *           from File 'output/MEC1743_QLJ.svd',
19  *
20  * MEC174x information Copyright 2024 Microchip Technologies Inc.
21  */
22 
23 /** @addtogroup Microchip Technolgy Inc.
24   * @{
25   */
26 
27 
28 /** @addtogroup MEC1743_QLJ
29   * @{
30   */
31 
32 
33 #ifndef MEC1743_QLJ_H
34 #define MEC1743_QLJ_H
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 
41 /** @addtogroup Configuration_of_CMSIS
42   * @{
43   */
44 
45 
46 
47 /* =========================================================================================================================== */
48 /* ================                                Interrupt Number Definition                                ================ */
49 /* =========================================================================================================================== */
50 
51 typedef enum {
52 /* =======================================  ARM Cortex-M4 Specific Interrupt Numbers  ======================================== */
53   Reset_IRQn                = -15,              /*!< -15  Reset Vector, invoked on Power up and warm reset                     */
54   NonMaskableInt_IRQn       = -14,              /*!< -14  Non maskable Interrupt, cannot be stopped or preempted               */
55   HardFault_IRQn            = -13,              /*!< -13  Hard Fault, all classes of Fault                                     */
56   MemoryManagement_IRQn     = -12,              /*!< -12  Memory Management, MPU mismatch, including Access Violation
57                                                      and No Match                                                              */
58   BusFault_IRQn             = -11,              /*!< -11  Bus Fault, Pre-Fetch-, Memory Access Fault, other address/memory
59                                                      related Fault                                                             */
60   UsageFault_IRQn           = -10,              /*!< -10  Usage Fault, i.e. Undef Instruction, Illegal State Transition        */
61   SVCall_IRQn               =  -5,              /*!< -5 System Service Call via SVC instruction                                */
62   DebugMonitor_IRQn         =  -4,              /*!< -4 Debug Monitor                                                          */
63   PendSV_IRQn               =  -2,              /*!< -2 Pendable request for system service                                    */
64   SysTick_IRQn              =  -1,              /*!< -1 System Tick Timer                                                      */
65 /* ========================================  MEC1743_QLJ Specific Interrupt Numbers  ========================================= */
66   MEC_GIRQ08_IRQn           =   0,              /*!< 0  ECIA Aggregated GIRQ 08                                                */
67   MEC_GIRQ09_IRQn           =   1,              /*!< 1  ECIA Aggregated GIRQ 09                                                */
68   MEC_GIRQ10_IRQn           =   2,              /*!< 2  ECIA Aggregated GIRQ 10                                                */
69   MEC_GIRQ11_IRQn           =   3,              /*!< 3  ECIA Aggregated GIRQ 11                                                */
70   MEC_GIRQ12_IRQn           =   4,              /*!< 4  ECIA Aggregated GIRQ 12                                                */
71   MEC_GIRQ13_IRQn           =   5,              /*!< 5  ECIA Aggregated GIRQ 13                                                */
72   MEC_GIRQ14_IRQn           =   6,              /*!< 6  ECIA Aggregated GIRQ 14                                                */
73   MEC_GIRQ15_IRQn           =   7,              /*!< 7  ECIA Aggregated GIRQ 15                                                */
74   MEC_GIRQ16_IRQn           =   8,              /*!< 8  ECIA Aggregated GIRQ 16                                                */
75   MEC_GIRQ17_IRQn           =   9,              /*!< 9  ECIA Aggregated GIRQ 17                                                */
76   MEC_GIRQ18_IRQn           =  10,              /*!< 10 ECIA Aggregated GIRQ 18                                                */
77   MEC_GIRQ19_IRQn           =  11,              /*!< 11 ECIA Aggregated GIRQ 19                                                */
78   MEC_GIRQ20_IRQn           =  12,              /*!< 12 ECIA Aggregated GIRQ 20                                                */
79   MEC_GIRQ21_IRQn           =  13,              /*!< 13 ECIA Aggregated GIRQ 21                                                */
80   MEC_GIRQ23_IRQn           =  14,              /*!< 14 ECIA Aggregated GIRQ 23                                                */
81   MEC_GIRQ24_IRQn           =  15,              /*!< 15 ECIA Aggregated GIRQ 24                                                */
82   MEC_GIRQ25_IRQn           =  16,              /*!< 16 ECIA Aggregated GIRQ 25                                                */
83   MEC_GIRQ26_IRQn           =  17,              /*!< 17 ECIA Aggregated GIRQ 26                                                */
84   MEC_I2C_SMB0_IRQn         =  20,              /*!< 20 I2C_SMB0 interrupt                                                     */
85   MEC_I2C_SMB1_IRQn         =  21,              /*!< 21 I2C_SMB1 interrupt                                                     */
86   MEC_I2C_SMB2_IRQn         =  22,              /*!< 22 I2C_SMB2 interrupt                                                     */
87   MEC_I2C_SMB3_IRQn         =  23,              /*!< 23 I2C_SMB3 interrupt                                                     */
88   MEC_DMA_CH00_IRQn         =  24,              /*!< 24 DMA Channel 0 interrupt                                                */
89   MEC_DMA_CH01_IRQn         =  25,              /*!< 25 DMA Channel 1 interrupt                                                */
90   MEC_DMA_CH02_IRQn         =  26,              /*!< 26 DMA Channel 2 interrupt                                                */
91   MEC_DMA_CH03_IRQn         =  27,              /*!< 27 DMA Channel 3 interrupt                                                */
92   MEC_DMA_CH04_IRQn         =  28,              /*!< 28 DMA Channel 4 interrupt                                                */
93   MEC_DMA_CH05_IRQn         =  29,              /*!< 29 DMA Channel 5 interrupt                                                */
94   MEC_DMA_CH06_IRQn         =  30,              /*!< 30 DMA Channel 6 interrupt                                                */
95   MEC_DMA_CH07_IRQn         =  31,              /*!< 31 DMA Channel 7 interrupt                                                */
96   MEC_DMA_CH08_IRQn         =  32,              /*!< 32 DMA Channel 8 interrupt                                                */
97   MEC_DMA_CH09_IRQn         =  33,              /*!< 33 DMA Channel 9 interrupt                                                */
98   MEC_DMA_CH10_IRQn         =  34,              /*!< 34 DMA Channel 10 interrupt                                               */
99   MEC_DMA_CH11_IRQn         =  35,              /*!< 35 DMA Channel 11 interrupt                                               */
100   MEC_DMA_CH12_IRQn         =  36,              /*!< 36 DMA Channel 12 interrupt                                               */
101   MEC_DMA_CH13_IRQn         =  37,              /*!< 37 DMA Channel 13 interrupt                                               */
102   MEC_DMA_CH14_IRQn         =  38,              /*!< 38 DMA Channel 14 interrupt                                               */
103   MEC_DMA_CH15_IRQn         =  39,              /*!< 39 DMA Channel 15 interrupt                                               */
104   MEC_UART0_IRQn            =  40,              /*!< 40 UART 0 interrupt                                                       */
105   MEC_UART1_IRQn            =  41,              /*!< 41 UART 1 interrupt                                                       */
106   MEC_EMI0_IRQn             =  42,              /*!< 42 EMI 0 interrupt                                                        */
107   MEC_EMI1_IRQn             =  43,              /*!< 43 EMI 1 interrupt                                                        */
108   MEC_EMI2_IRQn             =  44,              /*!< 44 EMI 2 interrupt                                                        */
109   MEC_ACPI_EC0_IBF_IRQn     =  45,              /*!< 45 ACPI EC 0 IBF interrupt                                                */
110   MEC_ACPI_EC0_OBE_IRQn     =  46,              /*!< 46 ACPI EC 0 OBE interrupt                                                */
111   MEC_ACPI_EC1_IBF_IRQn     =  47,              /*!< 47 ACPI EC 1 IBF interrupt                                                */
112   MEC_ACPI_EC1_OBE_IRQn     =  48,              /*!< 48 ACPI EC 1 OBE interrupt                                                */
113   MEC_ACPI_EC2_IBF_IRQn     =  49,              /*!< 49 ACPI EC 2 IBF interrupt                                                */
114   MEC_ACPI_EC2_OBE_IRQn     =  50,              /*!< 50 ACPI EC 2 OBE interrupt                                                */
115   MEC_ACPI_EC3_IBF_IRQn     =  51,              /*!< 51 ACPI EC 3 IBF interrupt                                                */
116   MEC_ACPI_EC3_OBE_IRQn     =  52,              /*!< 52 ACPI EC 3 OBE interrupt                                                */
117   MEC_ACPI_EC4_IBF_IRQn     =  53,              /*!< 53 ACPI EC 4 IBF interrupt                                                */
118   MEC_ACPI_EC4_OBE_IRQn     =  54,              /*!< 54 ACPI EC 4 OBE interrupt                                                */
119   MEC_ACPI_PM1_CTL_IRQn     =  55,              /*!< 55 ACPI PM1 0 control interrupt                                           */
120   MEC_ACPI_PM1_EN_IRQn      =  56,              /*!< 56 ACPI PM1 0 enable interrupt                                            */
121   MEC_ACPI_PM1_STS_IRQn     =  57,              /*!< 57 ACPI PM1 0 status interrupt                                            */
122   MEC_KBC0_OBE_IRQn         =  58,              /*!< 58 KBC 0 output buffer empty interrupt                                    */
123   MEC_KBC0_IBF_IRQn         =  59,              /*!< 59 KBC 0 input buffer full interrupt                                      */
124   MEC_MBOX0_IRQn            =  60,              /*!< 60 Mailbox 0 interrupt                                                    */
125   MEC_BDP0_IRQn             =  62,              /*!< 62 BDP 0 interrupt                                                        */
126   MEC_PECI0_IRQn            =  70,              /*!< 70 PECI0 interrupt                                                        */
127   MEC_TACH0_IRQn            =  71,              /*!< 71 TACH 0 interrupt                                                       */
128   MEC_TACH1_IRQn            =  72,              /*!< 72 TACH 1 interrupt                                                       */
129   MEC_TACH2_IRQn            =  73,              /*!< 73 TACH 2 interrupt                                                       */
130   MEC_RPMFAN0_FAIL_IRQn     =  74,              /*!< 74 RPMFAN 0 fail interrupt                                                */
131   MEC_RPMFAN0_STALL_IRQn    =  75,              /*!< 75 RPMFAN 0 stall interrupt                                               */
132   MEC_RPMFAN1_FAIL_IRQn     =  76,              /*!< 76 RPMFAN 1 fail interrupt                                                */
133   MEC_RPMFAN1_STALL_IRQn    =  77,              /*!< 77 RPMFAN 1 stall interrupt                                               */
134   MEC_ADC0_SGL_IRQn         =  78,              /*!< 78 ADC Single(one-shot) conversion done interrupt                         */
135   MEC_ADC0_RPT_IRQn         =  79,              /*!< 79 ADC Repeat conversion done interrupt                                   */
136   MEC_RCID0_IRQn            =  80,              /*!< 80 RC-ID 0 interrupt                                                      */
137   MEC_RCID1_IRQn            =  81,              /*!< 81 RC-ID 1 interrupt                                                      */
138   MEC_RCID2_IRQn            =  82,              /*!< 82 RC-ID 2 interrupt                                                      */
139   MEC_BBLED0_IRQn           =  83,              /*!< 83 LED0 interrupt                                                         */
140   MEC_BBLED1_IRQn           =  84,              /*!< 84 LED1 interrupt                                                         */
141   MEC_BBLED2_IRQn           =  85,              /*!< 85 LED2 interrupt                                                         */
142   MEC_BBLED3_IRQn           =  86,              /*!< 86 LED3 interrupt                                                         */
143   MEC_PHOT_IRQn             =  87,              /*!< 87 PROCHOT interrupt                                                      */
144   MEC_QSPI0_IRQn            =  91,              /*!< 91 QSPI0 controller interrupt                                             */
145   MEC_GSPI0_IRQn            =  92,              /*!< 92 GSPI v2 instance 0 interrupt                                           */
146   MEC_GSPI1_IRQn            =  94,              /*!< 94 GSPI v2 instance 1 interrupt                                           */
147   MEC_BCL0_ERR_IRQn         =  96,              /*!< 96 BC-Link 0 error interrupt                                              */
148   MEC_BCL0_BCLR_IRQn        =  97,              /*!< 97 BC-Link 0 busy clear interrupt                                         */
149   MEC_PS2CTL0_ACT_IRQn      = 100,              /*!< 100  PS2 Controller 0 Active interrupt                                    */
150   MEC_PS2CTL1_ACT_IRQn      = 101,              /*!< 101  PS2 Controller 1 Active interrupt                                    */
151   MEC_ESPI_PC_IRQn          = 103,              /*!< 103  eSPI IO Peripheral Channel interrupt                                 */
152   MEC_ESPI_BM1_IRQn         = 104,              /*!< 104  eSPI IO Bus Master 1 interrupt                                       */
153   MEC_ESPI_BM2_IRQn         = 105,              /*!< 105  eSPI IO Bus Master 2 interrupt                                       */
154   MEC_ESPI_LTR_IRQn         = 106,              /*!< 106  eSPI IO LTR interrupt                                                */
155   MEC_ESPI_OOB_UP_IRQn      = 107,              /*!< 107  eSPI IO OOB channel upstream transfer interrupt                      */
156   MEC_ESPI_OOB_DN_IRQn      = 108,              /*!< 108  eSPI IO OOB channel downstream transfer interrupt                    */
157   MEC_ESPI_FC_IRQn          = 109,              /*!< 109  eSPI IO Flash channel interrupt                                      */
158   MEC_ESPI_RST_IRQn         = 110,              /*!< 110  eSPI IO Edge detected on ESPI_RESET signal                           */
159   MEC_RTMR0_IRQn            = 111,              /*!< 111  RTOS Timer 0 interrupt                                               */
160   MEC_HTMR0_IRQn            = 112,              /*!< 112  Hibernation timer 0 interrupt                                        */
161   MEC_HTMR1_IRQn            = 113,              /*!< 113  Hibernation timer 1 interrupt                                        */
162   MEC_WKTMR0_ALARM_IRQn     = 114,              /*!< 114  Week timer 0 alarm interrupt                                         */
163   MEC_WKTMR0_SUBWK_IRQn     = 115,              /*!< 115  Week timer 0 sub-week alarm interrupt                                */
164   MEC_WKTMR0_ONESEC_IRQn    = 116,              /*!< 116  Week timer 0 one second alarm interrupt                              */
165   MEC_WKTMR0_SUBSEC_IRQn    = 117,              /*!< 117  Week timer 0 sub-second alarm interrupt                              */
166   MEC_WKTMR0_PWR_IRQn       = 118,              /*!< 118  Week timer 0 sys power present interrupt                             */
167   MEC_RTC0_CLK_IRQn         = 119,              /*!< 119  RTC 0 clock interrupt                                                */
168   MEC_RTC0_ALARM_IRQn       = 120,              /*!< 120  RTC 0 alarm interrupt                                                */
169   MEC_VCI_OVRD_IN_IRQn      = 121,              /*!< 121  VCI0 override in interrupt                                           */
170   MEC_VCI_IN0_IRQn          = 122,              /*!< 122  VCI0 IN0 interrupt                                                   */
171   MEC_VCI_IN1_IRQn          = 123,              /*!< 123  VCI0 IN1 interrupt                                                   */
172   MEC_VCI_IN2_IRQn          = 124,              /*!< 124  VCI0 IN2 interrupt                                                   */
173   MEC_VCI_IN3_IRQn          = 125,              /*!< 125  VCI0 IN3 interrupt                                                   */
174   MEC_VCI_IN4_IRQn          = 126,              /*!< 126  VCI0 IN4 interrupt                                                   */
175   MEC_PS2CTL0_WK0A_IRQn     = 129,              /*!< 129  PS2 Controller 0 Wake 0A start bit detected interrupt                */
176   MEC_PS2CTL0_WK0B_IRQn     = 130,              /*!< 130  PS2 Controller Wake 0B start bit detected interrupt                  */
177   MEC_PS2CTL1_WK1B_IRQn     = 132,              /*!< 132  PS2 Controller 1 Wake 0B start bit detected interrupt                */
178   MEC_KSCAN0_INT_IRQn       = 135,              /*!< 135  KSCAN interrupt                                                      */
179   MEC_BTMR0_IRQn            = 136,              /*!< 136  Basic Timer 0 interrupt                                              */
180   MEC_BTMR1_IRQn            = 137,              /*!< 137  Basic Timer 1 interrupt                                              */
181   MEC_BTMR2_IRQn            = 138,              /*!< 138  Basic Timer 2 interrupt                                              */
182   MEC_BTMR3_IRQn            = 139,              /*!< 139  Basic Timer 3 interrupt                                              */
183   MEC_BTMR4_IRQn            = 140,              /*!< 140  Basic Timer 4 interrupt                                              */
184   MEC_BTMR5_IRQn            = 141,              /*!< 141  Basic Timer 5 interrupt                                              */
185   MEC_CTMR0_IRQn            = 142,              /*!< 142  Counter-Timer 0 interrupt                                            */
186   MEC_CTMR1_IRQn            = 143,              /*!< 143  16-bit Event Counter/Timer 1 interrupt                               */
187   MEC_CTMR2_IRQn            = 144,              /*!< 144  16-bit Event Counter/Timer 2 interrupt                               */
188   MEC_CTMR3_IRQn            = 145,              /*!< 145  16-bit Event Counter/Timer 3 interrupt                               */
189   MEC_CCT0_TMR_IRQn         = 146,              /*!< 146  Capture and compare timer interrupt                                  */
190   MEC_CCT0_CAP0_IRQn        = 147,              /*!< 147  Capture and compare timer capture 0 interrupt                        */
191   MEC_CCT0_CAP1_IRQn        = 148,              /*!< 148  Capture and compare timer capture 1 interrupt                        */
192   MEC_CCT0_CAP2_IRQn        = 149,              /*!< 149  Capture and compare timer capture 2 interrupt                        */
193   MEC_CCT0_CAP3_IRQn        = 150,              /*!< 150  Capture and compare timer capture 3 interrupt                        */
194   MEC_CCT0_CAP4_IRQn        = 151,              /*!< 151  Capture and compare timer capture 4 interrupt                        */
195   MEC_CCT0_CAP5_IRQn        = 152,              /*!< 152  Capture and compare timer capture 5 interrupt                        */
196   MEC_CCT0_CMP0_IRQn        = 153,              /*!< 153  Capture and compare timer compare 0 interrupt                        */
197   MEC_CCT0_CMP1_IRQn        = 154,              /*!< 154  Capture and compare timer compare 1 interrupt                        */
198   MEC_EEPROM_CTRL0_IRQn     = 155,              /*!< 155  EEPROM Controller 0 interrupt                                        */
199   MEC_ESPI_VWEN_IRQn        = 156,              /*!< 156  eSPI IO Virtual Wire channel enable change interrupt                 */
200   MEC_I2C_SMB4_IRQn         = 158,              /*!< 158  I2C_SMB4 interrupt                                                   */
201   MEC_TACH3_IRQn            = 159,              /*!< 159  TACH 3 interrupt                                                     */
202   MEC_ESPI_TAF_DONE_IRQn    = 166,              /*!< 166  eSPI TAF Done interrupt                                              */
203   MEC_ESPI_TAF_ERR_IRQn     = 167,              /*!< 167  eSPI TAF Error interrupt                                             */
204   MEC_WDT0_IRQn             = 171,              /*!< 171  Watch Dog timer 0 interrupt                                          */
205   MEC_GLUE_IRQn             = 172,              /*!< 172  Glue logic interrupt                                                 */
206   MEC_PCR_CLKMON_IRQn       = 174,              /*!< 174  PCR 32KHz clock monitor                                              */
207   MEC_ACPI_EC0_IRQn         = 175,              /*!< 175  ACPI EC 0 combined interrupt. No GIRQ                                */
208   MEC_ACPI_EC1_IRQn         = 176,              /*!< 176  ACPI EC 1 combined interrupt. No GIRQ                                */
209   MEC_ACPI_EC2_IRQn         = 177,              /*!< 177  ACPI EC 2 combined interrupt. No GIRQ                                */
210   MEC_ACPI_EC3_IRQn         = 178,              /*!< 178  ACPI EC 3 combined interrupt. No GIRQ                                */
211   MEC_ACPI_EC4_IRQn         = 179,              /*!< 179  ACPI EC 4 combined interrupt. No GIRQ                                */
212   MEC_ACPI_PM1_IRQn         = 180,              /*!< 180  ACPI PM1 combined interrupt. No GIRQ                                 */
213   MEC_UART2_IRQn            = 183,              /*!< 183  UART 2 interrupt                                                     */
214   MEC_UART3_IRQn            = 184,              /*!< 184  UART 3 interrupt                                                     */
215   MEC_BRT0_IRQn             = 193               /*!< 193  Boot-ROM Watch Dog timer 0 interrupt                                 */
216 } IRQn_Type;
217 
218 
219 
220 /* =========================================================================================================================== */
221 /* ================                           Processor and Core Peripheral Section                           ================ */
222 /* =========================================================================================================================== */
223 
224 /* ===========================  Configuration of the ARM Cortex-M4 Processor and Core Peripherals  =========================== */
225 #define __CM4_REV                 0x0201U       /*!< CM4 Core Revision                                                         */
226 #define __NVIC_PRIO_BITS               3        /*!< Number of Bits used for Priority Levels                                   */
227 #define __Vendor_SysTickConfig         0        /*!< Set to 1 if different SysTick Config is used                              */
228 #define __MPU_PRESENT                  1        /*!< MPU present                                                               */
229 #define __FPU_PRESENT                  1        /*!< FPU present                                                               */
230 
231 
232 /** @} */ /* End of group Configuration_of_CMSIS */
233 
234 #include "core_cm4.h"                           /*!< ARM Cortex-M4 processor and core peripherals                              */
235 
236 #ifndef __IM                                    /*!< Fallback for older CMSIS versions                                         */
237   #define __IM   __I
238 #endif
239 #ifndef __OM                                    /*!< Fallback for older CMSIS versions                                         */
240   #define __OM   __O
241 #endif
242 #ifndef __IOM                                   /*!< Fallback for older CMSIS versions                                         */
243   #define __IOM  __IO
244 #endif
245 
246 
247 /* ========================================  Start of section using anonymous unions  ======================================== */
248 #if defined (__CC_ARM)
249   #pragma push
250   #pragma anon_unions
251 #elif defined (__ICCARM__)
252   #pragma language=extended
253 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
254   #pragma clang diagnostic push
255   #pragma clang diagnostic ignored "-Wc11-extensions"
256   #pragma clang diagnostic ignored "-Wreserved-id-macro"
257   #pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
258   #pragma clang diagnostic ignored "-Wnested-anon-types"
259 #elif defined (__GNUC__)
260   /* anonymous unions are enabled by default */
261 #elif defined (__TMS470__)
262   /* anonymous unions are enabled by default */
263 #elif defined (__TASKING__)
264   #pragma warning 586
265 #elif defined (__CSMC__)
266   /* anonymous unions are enabled by default */
267 #else
268   #warning Not supported compiler type
269 #endif
270 
271 #include <common/mec5_acpi_ec_v1.h>
272 #include <common/mec5_acpi_pm1_v1.h>
273 #include <common/mec5_adc_v2.h>
274 #include <common/mec5_bbled_v1.h>
275 #include <common/mec5_bcl_v1.h>
276 #include <common/mec5_bdp_v1.h>
277 #include <common/mec5_btmr_v1.h>
278 #include <common/mec5_cct_v1_1.h>
279 #include <common/mec5_chip_cfg_v1_2.h>
280 #include <common/mec5_cpu_stall_v1.h>
281 #include <common/mec5_ctmr_v1.h>
282 #include <common/mec5_dmac_ch16_v2.h>
283 #include <common/mec5_ecia_v1_5.h>
284 #include <common/mec5_ecs_v2_5.h>
285 #include <common/mec5_eeprom_ctrl_v1.h>
286 #include <common/mec5_emi_v2.h>
287 #include <common/mec5_espi_io_v1_5.h>
288 #include <common/mec5_espi_mem_v1_5.h>
289 #include <common/mec5_espi_taf_v1_5.h>
290 #include <common/mec5_espi_vw_v1_5.h>
291 #include <common/mec5_gluelog_v1.h>
292 #include <common/mec5_gpio_8f_6port_v1_5.h>
293 #include <common/mec5_gspi_v2.h>
294 #include <common/mec5_htmr_v1.h>
295 #include <common/mec5_i2c_smb_v3_8.h>
296 #include <common/mec5_kbc_v1.h>
297 #include <common/mec5_kscan_v1.h>
298 #include <common/mec5_mbox_v1.h>
299 #include <common/mec5_pcr_v2_1.h>
300 #include <common/mec5_peci_v1.h>
301 #include <common/mec5_port92_v1.h>
302 #include <common/mec5_prochot_v1.h>
303 #include <common/mec5_ps2_v1.h>
304 #include <common/mec5_pwm_v1.h>
305 #include <common/mec5_qspi_v2_1.h>
306 #include <common/mec5_rcid_v1.h>
307 #include <common/mec5_rpmfan_v1.h>
308 #include <common/mec5_rtc_v1.h>
309 #include <common/mec5_rtmr_v1.h>
310 #include <common/mec5_tach_v1.h>
311 #include <common/mec5_tfdp_v1.h>
312 #include <common/mec5_uart_v1_5.h>
313 #include <common/mec5_vbat_mem_128b_v1.h>
314 #include <common/mec5_vbatr_v1_5.h>
315 #include <common/mec5_vci_v1_5.h>
316 #include <common/mec5_wdt_v2.h>
317 #include <common/mec5_wktmr_bgpo_v1.h>
318 
319 /* =========================================================================================================================== */
320 /* ================                          Device Specific Peripheral Address Map                           ================ */
321 /* =========================================================================================================================== */
322 
323 
324 /** @addtogroup Device_Peripheral_peripheralAddr
325   * @{
326   */
327 
328 #define MEC_CPU_STALL_BASE          0x08000000UL
329 #define MEC_WDT0_BASE               0x40000400UL
330 #define MEC_BRT0_BASE               0x40000420UL
331 #define MEC_BTMR0_BASE              0x40000C00UL
332 #define MEC_BTMR1_BASE              0x40000C20UL
333 #define MEC_BTMR2_BASE              0x40000C40UL
334 #define MEC_BTMR3_BASE              0x40000C60UL
335 #define MEC_BTMR4_BASE              0x40000C80UL
336 #define MEC_BTMR5_BASE              0x40000CA0UL
337 #define MEC_CTMR0_BASE              0x40000D00UL
338 #define MEC_CTMR1_BASE              0x40000D20UL
339 #define MEC_CTMR2_BASE              0x40000D40UL
340 #define MEC_CTMR3_BASE              0x40000D60UL
341 #define MEC_CCT0_BASE               0x40001000UL
342 #define MEC_RCID0_BASE              0x40001400UL
343 #define MEC_RCID1_BASE              0x40001480UL
344 #define MEC_RCID2_BASE              0x40001500UL
345 #define MEC_DMAC_BASE               0x40002400UL
346 #define MEC_EEPROM_CTRL0_BASE       0x40002C00UL
347 #define MEC_PROCHOT_BASE            0x40003400UL
348 #define MEC_I2C_SMB0_BASE           0x40004000UL
349 #define MEC_I2C_SMB1_BASE           0x40004400UL
350 #define MEC_I2C_SMB2_BASE           0x40004800UL
351 #define MEC_I2C_SMB3_BASE           0x40004C00UL
352 #define MEC_I2C_SMB4_BASE           0x40005000UL
353 #define MEC_PWM0_BASE               0x40005800UL
354 #define MEC_PWM1_BASE               0x40005810UL
355 #define MEC_PWM2_BASE               0x40005820UL
356 #define MEC_PWM3_BASE               0x40005830UL
357 #define MEC_PWM4_BASE               0x40005840UL
358 #define MEC_PWM5_BASE               0x40005850UL
359 #define MEC_PWM6_BASE               0x40005860UL
360 #define MEC_PWM7_BASE               0x40005870UL
361 #define MEC_PWM8_BASE               0x40005880UL
362 #define MEC_PWM9_BASE               0x40005890UL
363 #define MEC_PWM10_BASE              0x400058A0UL
364 #define MEC_PWM11_BASE              0x400058B0UL
365 #define MEC_TACH0_BASE              0x40006000UL
366 #define MEC_TACH1_BASE              0x40006010UL
367 #define MEC_TACH2_BASE              0x40006020UL
368 #define MEC_TACH3_BASE              0x40006030UL
369 #define MEC_PECI0_BASE              0x40006400UL
370 #define MEC_RTMR0_BASE              0x40007400UL
371 #define MEC_ADC0_BASE               0x40007C00UL
372 #define MEC_ESPI_TAF_COMM_BASE      0x40071000UL
373 #define MEC_ESPI_TAF_BASE           0x40008000UL
374 #define MEC_TFDP0_BASE              0x40008C00UL
375 #define MEC_PS2CTL0_BASE            0x40009000UL
376 #define MEC_PS2CTL1_BASE            0x40009040UL
377 #define MEC_GSPI0_BASE              0x40009400UL
378 #define MEC_GSPI1_BASE              0x40009480UL
379 #define MEC_HTMR0_BASE              0x40009800UL
380 #define MEC_HTMR1_BASE              0x40009820UL
381 #define MEC_KSCAN0_BASE             0x40009C00UL
382 #define MEC_RPMFAN0_BASE            0x4000A000UL
383 #define MEC_RPMFAN1_BASE            0x4000A080UL
384 #define MEC_VBATR_BASE              0x4000A400UL
385 #define MEC_VBATM_BASE              0x4000A800UL
386 #define MEC_WKTMR0_BASE             0x4000AC80UL
387 #define MEC_VCI_BASE                0x4000AE00UL
388 #define MEC_BBLED0_BASE             0x4000B800UL
389 #define MEC_BBLED1_BASE             0x4000B900UL
390 #define MEC_BBLED2_BASE             0x4000BA00UL
391 #define MEC_BBLED3_BASE             0x4000BB00UL
392 #define MEC_BCL0_BASE               0x4000CD00UL
393 #define MEC_ECIA0_BASE              0x4000E000UL
394 #define MEC_ECS_BASE                0x4000FC00UL
395 #define MEC_QSPI0_BASE              0x40070000UL
396 #define MEC_PCR_BASE                0x40080100UL
397 #define MEC_GPIO_BASE               0x40081000UL
398 #define MEC_MBOX0_BASE              0x400F0000UL
399 #define MEC_KBC0_BASE               0x400F0400UL
400 #define MEC_ACPI_EC0_BASE           0x400F0800UL
401 #define MEC_ACPI_EC1_BASE           0x400F0C00UL
402 #define MEC_ACPI_EC2_BASE           0x400F1000UL
403 #define MEC_ACPI_EC3_BASE           0x400F1400UL
404 #define MEC_ACPI_EC4_BASE           0x400F1800UL
405 #define MEC_ACPI_PM1_BASE           0x400F1C00UL
406 #define MEC_PORT92_BASE             0x400F2000UL
407 #define MEC_UART0_BASE              0x400F2400UL
408 #define MEC_UART1_BASE              0x400F2800UL
409 #define MEC_UART2_BASE              0x400F2C00UL
410 #define MEC_UART3_BASE              0x400F3000UL
411 #define MEC_GLUE_BASE               0x400F3C00UL
412 #define MEC_EMI0_BASE               0x400F4000UL
413 #define MEC_EMI1_BASE               0x400F4400UL
414 #define MEC_EMI2_BASE               0x400F4800UL
415 #define MEC_RTC0_BASE               0x400F5000UL
416 #define MEC_BDP0_BASE               0x400F8000UL
417 #define MEC_CHIP_CFG_BASE           0x400FFF00UL
418 #define MEC_ESPI_IO_BASE            0x400F3400UL
419 #define MEC_ESPI_MEM_BASE           0x400F3800UL
420 #define MEC_ESPI_VW_BASE            0x400F9C00UL
421 
422 /** @} */ /* End of group Device_Peripheral_peripheralAddr */
423 
424 
425 /* =========================================================================================================================== */
426 /* ================                                  Peripheral declaration                                   ================ */
427 /* =========================================================================================================================== */
428 
429 
430 /** @addtogroup Device_Peripheral_declaration
431   * @{
432   */
433 
434 #define MEC_CPU_STALL               ((MEC_CPU_STALL_Type*)     MEC_CPU_STALL_BASE)
435 #define MEC_WDT0                    ((MEC_WDT_Type*)           MEC_WDT0_BASE)
436 #define MEC_BRT0                    ((MEC_BRT_Type*)           MEC_BRT0_BASE)
437 #define MEC_BTMR0                   ((MEC_BTMR_Type*)          MEC_BTMR0_BASE)
438 #define MEC_BTMR1                   ((MEC_BTMR_Type*)          MEC_BTMR1_BASE)
439 #define MEC_BTMR2                   ((MEC_BTMR_Type*)          MEC_BTMR2_BASE)
440 #define MEC_BTMR3                   ((MEC_BTMR_Type*)          MEC_BTMR3_BASE)
441 #define MEC_BTMR4                   ((MEC_BTMR_Type*)          MEC_BTMR4_BASE)
442 #define MEC_BTMR5                   ((MEC_BTMR_Type*)          MEC_BTMR5_BASE)
443 #define MEC_CTMR0                   ((MEC_CTMR_Type*)          MEC_CTMR0_BASE)
444 #define MEC_CTMR1                   ((MEC_CTMR_Type*)          MEC_CTMR1_BASE)
445 #define MEC_CTMR2                   ((MEC_CTMR_Type*)          MEC_CTMR2_BASE)
446 #define MEC_CTMR3                   ((MEC_CTMR_Type*)          MEC_CTMR3_BASE)
447 #define MEC_CCT0                    ((MEC_CCT_Type*)           MEC_CCT0_BASE)
448 #define MEC_RCID0                   ((MEC_RCID_Type*)          MEC_RCID0_BASE)
449 #define MEC_RCID1                   ((MEC_RCID_Type*)          MEC_RCID1_BASE)
450 #define MEC_RCID2                   ((MEC_RCID_Type*)          MEC_RCID2_BASE)
451 #define MEC_DMAC                    ((MEC_DMAC_Type*)          MEC_DMAC_BASE)
452 #define MEC_EEPROM_CTRL0            ((MEC_EEPROM_CTRL_Type*)   MEC_EEPROM_CTRL0_BASE)
453 #define MEC_PROCHOT                 ((MEC_PHOT_Type*)          MEC_PROCHOT_BASE)
454 #define MEC_I2C_SMB0                ((MEC_I2C_SMB_Type*)       MEC_I2C_SMB0_BASE)
455 #define MEC_I2C_SMB1                ((MEC_I2C_SMB_Type*)       MEC_I2C_SMB1_BASE)
456 #define MEC_I2C_SMB2                ((MEC_I2C_SMB_Type*)       MEC_I2C_SMB2_BASE)
457 #define MEC_I2C_SMB3                ((MEC_I2C_SMB_Type*)       MEC_I2C_SMB3_BASE)
458 #define MEC_I2C_SMB4                ((MEC_I2C_SMB_Type*)       MEC_I2C_SMB4_BASE)
459 #define MEC_PWM0                    ((MEC_PWM_Type*)           MEC_PWM0_BASE)
460 #define MEC_PWM1                    ((MEC_PWM_Type*)           MEC_PWM1_BASE)
461 #define MEC_PWM2                    ((MEC_PWM_Type*)           MEC_PWM2_BASE)
462 #define MEC_PWM3                    ((MEC_PWM_Type*)           MEC_PWM3_BASE)
463 #define MEC_PWM4                    ((MEC_PWM_Type*)           MEC_PWM4_BASE)
464 #define MEC_PWM5                    ((MEC_PWM_Type*)           MEC_PWM5_BASE)
465 #define MEC_PWM6                    ((MEC_PWM_Type*)           MEC_PWM6_BASE)
466 #define MEC_PWM7                    ((MEC_PWM_Type*)           MEC_PWM7_BASE)
467 #define MEC_PWM8                    ((MEC_PWM_Type*)           MEC_PWM8_BASE)
468 #define MEC_PWM9                    ((MEC_PWM_Type*)           MEC_PWM9_BASE)
469 #define MEC_PWM10                   ((MEC_PWM_Type*)           MEC_PWM10_BASE)
470 #define MEC_PWM11                   ((MEC_PWM_Type*)           MEC_PWM11_BASE)
471 #define MEC_TACH0                   ((MEC_TACH_Type*)          MEC_TACH0_BASE)
472 #define MEC_TACH1                   ((MEC_TACH_Type*)          MEC_TACH1_BASE)
473 #define MEC_TACH2                   ((MEC_TACH_Type*)          MEC_TACH2_BASE)
474 #define MEC_TACH3                   ((MEC_TACH_Type*)          MEC_TACH3_BASE)
475 #define MEC_PECI0                   ((MEC_PECI_Type*)          MEC_PECI0_BASE)
476 #define MEC_RTMR0                   ((MEC_RTMR_Type*)          MEC_RTMR0_BASE)
477 #define MEC_ADC0                    ((MEC_ADC_Type*)           MEC_ADC0_BASE)
478 #define MEC_ESPI_TAF_COMM           ((MEC_ESPI_TAF_COMM_Type*) MEC_ESPI_TAF_COMM_BASE)
479 #define MEC_ESPI_TAF                ((MEC_ESPI_TAF_Type*)      MEC_ESPI_TAF_BASE)
480 #define MEC_TFDP0                   ((MEC_TFDP_Type*)          MEC_TFDP0_BASE)
481 #define MEC_PS2CTL0                 ((MEC_PS2_Type*)           MEC_PS2CTL0_BASE)
482 #define MEC_PS2CTL1                 ((MEC_PS2_Type*)           MEC_PS2CTL1_BASE)
483 #define MEC_GSPI0                   ((MEC_GSPI_Type*)          MEC_GSPI0_BASE)
484 #define MEC_GSPI1                   ((MEC_GSPI_Type*)          MEC_GSPI1_BASE)
485 #define MEC_HTMR0                   ((MEC_HTMR_Type*)          MEC_HTMR0_BASE)
486 #define MEC_HTMR1                   ((MEC_HTMR_Type*)          MEC_HTMR1_BASE)
487 #define MEC_KSCAN0                  ((MEC_KSCAN_Type*)         MEC_KSCAN0_BASE)
488 #define MEC_RPMFAN0                 ((MEC_RPMFAN_Type*)        MEC_RPMFAN0_BASE)
489 #define MEC_RPMFAN1                 ((MEC_RPMFAN_Type*)        MEC_RPMFAN1_BASE)
490 #define MEC_VBATR                   ((MEC_VBATR_Type*)         MEC_VBATR_BASE)
491 #define MEC_VBATM                   ((MEC_VBATM_Type*)         MEC_VBATM_BASE)
492 #define MEC_WKTMR0                  ((MEC_WKTMR_Type*)         MEC_WKTMR0_BASE)
493 #define MEC_VCI                     ((MEC_VCI_Type*)           MEC_VCI_BASE)
494 #define MEC_BBLED0                  ((MEC_BBLED_Type*)         MEC_BBLED0_BASE)
495 #define MEC_BBLED1                  ((MEC_BBLED_Type*)         MEC_BBLED1_BASE)
496 #define MEC_BBLED2                  ((MEC_BBLED_Type*)         MEC_BBLED2_BASE)
497 #define MEC_BBLED3                  ((MEC_BBLED_Type*)         MEC_BBLED3_BASE)
498 #define MEC_BCL0                    ((MEC_BCL_Type*)           MEC_BCL0_BASE)
499 #define MEC_ECIA0                   ((MEC_ECIA_Type*)          MEC_ECIA0_BASE)
500 #define MEC_ECS                     ((MEC_ECS_Type*)           MEC_ECS_BASE)
501 #define MEC_QSPI0                   ((MEC_QSPI_Type*)          MEC_QSPI0_BASE)
502 #define MEC_PCR                     ((MEC_PCR_Type*)           MEC_PCR_BASE)
503 #define MEC_GPIO                    ((MEC_GPIO_Type*)          MEC_GPIO_BASE)
504 #define MEC_MBOX0                   ((MEC_MBOX_Type*)          MEC_MBOX0_BASE)
505 #define MEC_KBC0                    ((MEC_KBC_Type*)           MEC_KBC0_BASE)
506 #define MEC_ACPI_EC0                ((MEC_ACPI_EC_Type*)       MEC_ACPI_EC0_BASE)
507 #define MEC_ACPI_EC1                ((MEC_ACPI_EC_Type*)       MEC_ACPI_EC1_BASE)
508 #define MEC_ACPI_EC2                ((MEC_ACPI_EC_Type*)       MEC_ACPI_EC2_BASE)
509 #define MEC_ACPI_EC3                ((MEC_ACPI_EC_Type*)       MEC_ACPI_EC3_BASE)
510 #define MEC_ACPI_EC4                ((MEC_ACPI_EC_Type*)       MEC_ACPI_EC4_BASE)
511 #define MEC_ACPI_PM1                ((MEC_ACPI_PM1_Type*)      MEC_ACPI_PM1_BASE)
512 #define MEC_PORT92                  ((MEC_PORT92_Type*)        MEC_PORT92_BASE)
513 #define MEC_UART0                   ((MEC_UART_Type*)          MEC_UART0_BASE)
514 #define MEC_UART1                   ((MEC_UART_Type*)          MEC_UART1_BASE)
515 #define MEC_UART2                   ((MEC_UART_Type*)          MEC_UART2_BASE)
516 #define MEC_UART3                   ((MEC_UART_Type*)          MEC_UART3_BASE)
517 #define MEC_GLUE                    ((MEC_GLUE_Type*)          MEC_GLUE_BASE)
518 #define MEC_EMI0                    ((MEC_EMI_Type*)           MEC_EMI0_BASE)
519 #define MEC_EMI1                    ((MEC_EMI_Type*)           MEC_EMI1_BASE)
520 #define MEC_EMI2                    ((MEC_EMI_Type*)           MEC_EMI2_BASE)
521 #define MEC_RTC0                    ((MEC_RTC_Type*)           MEC_RTC0_BASE)
522 #define MEC_BDP0                    ((MEC_BDP_Type*)           MEC_BDP0_BASE)
523 #define MEC_CHIP_CFG                ((MEC_CHIP_CFG_Type*)      MEC_CHIP_CFG_BASE)
524 #define MEC_ESPI_IO                 ((MEC_ESPI_IO_Type*)       MEC_ESPI_IO_BASE)
525 #define MEC_ESPI_MEM                ((MEC_ESPI_MEM_Type*)      MEC_ESPI_MEM_BASE)
526 #define MEC_ESPI_VW                 ((MEC_ESPI_VW_Type*)       MEC_ESPI_VW_BASE)
527 
528 /** @} */ /* End of group Device_Peripheral_declaration */
529 
530 
531 /* =========================================  End of section using anonymous unions  ========================================= */
532 #if defined (__CC_ARM)
533   #pragma pop
534 #elif defined (__ICCARM__)
535   /* leave anonymous unions enabled */
536 #elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
537   #pragma clang diagnostic pop
538 #elif defined (__GNUC__)
539   /* anonymous unions are enabled by default */
540 #elif defined (__TMS470__)
541   /* anonymous unions are enabled by default */
542 #elif defined (__TASKING__)
543   #pragma warning restore
544 #elif defined (__CSMC__)
545   /* anonymous unions are enabled by default */
546 #endif
547 
548 #ifdef __cplusplus
549 }
550 #endif
551 
552 #endif /* MEC1743_QLJ_H */
553 
554 
555 /** @} */ /* End of group MEC1743_QLJ */
556 
557 /** @} */ /* End of group Microchip Technolgy Inc. */
558