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