The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_MAX32600MBED/TOOLCHAIN_IAR/pwrman_regs.h
- Committer:
- AnnaBridge
- Date:
- 2019-02-20
- Revision:
- 172:65be27845400
- Parent:
- 171:3a7713b1edbc
File content as of revision 172:65be27845400:
/******************************************************************************* * Copyright (C) 2015 Maxim Integrated Products, Inc., All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * * Except as contained in this notice, the name of Maxim Integrated * Products, Inc. shall not be used except as stated in the Maxim Integrated * Products, Inc. Branding Policy. * * The mere transfer of this software does not imply any licenses * of trade secrets, proprietary technology, copyrights, patents, * trademarks, maskwork rights, or any other form of intellectual * property whatsoever. Maxim Integrated Products, Inc. retains all * ownership rights. ******************************************************************************* */ #ifndef _MXC_PWRMAN_REGS_H_ #define _MXC_PWRMAN_REGS_H_ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> /** * @file pwrman_regs.h * @addtogroup pwrman PWRMAN * @{ */ /** * @brief Defines PAD Modes for Wake Up Detection. */ typedef enum { /** WUD Mode for Selected PAD = Clear/Activate */ MXC_E_PWRMAN_PAD_MODE_CLEAR_SET, /** WUD Mode for Selected PAD = Set WUD Act Hi/Set WUD Act Lo */ MXC_E_PWRMAN_PAD_MODE_ACT_HI_LO, /** WUD Mode for Selected PAD = Set Weak Hi/ Set Weak Lo */ MXC_E_PWRMAN_PAD_MODE_WEAK_HI_LO, /** WUD Mode for Selected PAD = No pad state change */ MXC_E_PWRMAN_PAD_MODE_NONE } mxc_pwrman_pad_mode_t; /* Offset Register Description ====== =========================================== */ typedef struct { __IO uint32_t pwr_rst_ctrl; /* 0x0000 Power Reset Control and Status */ __IO uint32_t intfl; /* 0x0004 Interrupt Flags */ __IO uint32_t inten; /* 0x0008 Interrupt Enable/Disable Controls */ __IO uint32_t svm_events; /* 0x000C SVM Event Status Flags (read-only) */ __IO uint32_t wud_ctrl; /* 0x0010 Wake-Up Detect Control */ __IO uint32_t wud_pulse0; /* 0x0014 WUD Pulse To Mode Bit 0 */ __IO uint32_t wud_pulse1; /* 0x0018 WUD Pulse To Mode Bit 1 */ __I uint32_t rsv001C[5]; /* 0x001C */ __IO uint32_t wud_seen0; /* 0x0030 Wake-up Detect Status for P0/P1/P2/P3 */ __IO uint32_t wud_seen1; /* 0x0034 Wake-up Detect Status for P4/P5/P6/P7 */ __IO uint32_t die_type; /* 0x0038 Die ID Register (Device Type) */ __IO uint32_t base_part_num; /* 0x003C Base Part Number */ __IO uint32_t mask_id0; /* 0x0040 Mask ID Register 0 */ __IO uint32_t mask_id1; /* 0x0044 Mask ID Register 1 */ __IO uint32_t peripheral_reset; /* 0x0048 Peripheral Reset Control Register */ } mxc_pwrman_regs_t; /* Register offsets for module PWRMAN. */ #define MXC_R_PWRMAN_OFFS_PWR_RST_CTRL ((uint32_t)0x00000000UL) #define MXC_R_PWRMAN_OFFS_INTFL ((uint32_t)0x00000004UL) #define MXC_R_PWRMAN_OFFS_INTEN ((uint32_t)0x00000008UL) #define MXC_R_PWRMAN_OFFS_SVM_EVENTS ((uint32_t)0x0000000CUL) #define MXC_R_PWRMAN_OFFS_WUD_CTRL ((uint32_t)0x00000010UL) #define MXC_R_PWRMAN_OFFS_WUD_PULSE0 ((uint32_t)0x00000014UL) #define MXC_R_PWRMAN_OFFS_WUD_PULSE1 ((uint32_t)0x00000018UL) #define MXC_R_PWRMAN_OFFS_WUD_SEEN0 ((uint32_t)0x00000030UL) #define MXC_R_PWRMAN_OFFS_WUD_SEEN1 ((uint32_t)0x00000034UL) #define MXC_R_PWRMAN_OFFS_DIE_TYPE ((uint32_t)0x00000038UL) #define MXC_R_PWRMAN_OFFS_BASE_PART_NUM ((uint32_t)0x0000003CUL) #define MXC_R_PWRMAN_OFFS_MASK_ID0 ((uint32_t)0x00000040UL) #define MXC_R_PWRMAN_OFFS_MASK_ID1 ((uint32_t)0x00000044UL) #define MXC_R_PWRMAN_OFFS_PERIPHERAL_RESET ((uint32_t)0x00000048UL) /* Field positions and masks for module PWRMAN. */ #define MXC_F_PWRMAN_PWR_RST_CTRL_FLASH_ACTIVE_POS 0 #define MXC_F_PWRMAN_PWR_RST_CTRL_FLASH_ACTIVE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FLASH_ACTIVE_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_SRAM_ACTIVE_POS 1 #define MXC_F_PWRMAN_PWR_RST_CTRL_SRAM_ACTIVE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_SRAM_ACTIVE_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_AFE_POWERED_POS 2 #define MXC_F_PWRMAN_PWR_RST_CTRL_AFE_POWERED ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_AFE_POWERED_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_IO_ACTIVE_POS 3 #define MXC_F_PWRMAN_PWR_RST_CTRL_IO_ACTIVE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_IO_ACTIVE_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_USB_POWERED_POS 4 #define MXC_F_PWRMAN_PWR_RST_CTRL_USB_POWERED ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_USB_POWERED_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_PULLUPS_ENABLED_POS 5 #define MXC_F_PWRMAN_PWR_RST_CTRL_PULLUPS_ENABLED ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_PULLUPS_ENABLED_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_FIRMWARE_RESET_POS 8 #define MXC_F_PWRMAN_PWR_RST_CTRL_FIRMWARE_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FIRMWARE_RESET_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_RESET_POS 9 #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_RESET_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_WUD_CLEAR_POS 12 #define MXC_F_PWRMAN_PWR_RST_CTRL_WUD_CLEAR ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_WUD_CLEAR_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_TAMPER_DETECT_POS 16 #define MXC_F_PWRMAN_PWR_RST_CTRL_TAMPER_DETECT ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_TAMPER_DETECT_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_SYSMAN_POS 17 #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_SYSMAN ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_SYSMAN_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_WATCHDOG_TIMEOUT_POS 18 #define MXC_F_PWRMAN_PWR_RST_CTRL_WATCHDOG_TIMEOUT ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_WATCHDOG_TIMEOUT_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_ARM_POS 19 #define MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_ARM ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_FW_COMMAND_ARM_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_POS 20 #define MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_ARM_LOCKUP_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_SRSTN_ASSERTION_POS 21 #define MXC_F_PWRMAN_PWR_RST_CTRL_SRSTN_ASSERTION ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_SRSTN_ASSERTION_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_POR_POS 22 #define MXC_F_PWRMAN_PWR_RST_CTRL_POR ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_POR_POS)) #define MXC_F_PWRMAN_PWR_RST_CTRL_LOW_POWER_MODE_POS 31 #define MXC_F_PWRMAN_PWR_RST_CTRL_LOW_POWER_MODE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PWR_RST_CTRL_LOW_POWER_MODE_POS)) #define MXC_F_PWRMAN_INTFL_V1_8_WARNING_POS 0 #define MXC_F_PWRMAN_INTFL_V1_8_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_V1_8_WARNING_POS)) #define MXC_F_PWRMAN_INTFL_V3_3_WARNING_POS 1 #define MXC_F_PWRMAN_INTFL_V3_3_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_V3_3_WARNING_POS)) #define MXC_F_PWRMAN_INTFL_RTC_WARNING_POS 2 #define MXC_F_PWRMAN_INTFL_RTC_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_RTC_WARNING_POS)) #define MXC_F_PWRMAN_INTFL_V3_3_RESET_POS 3 #define MXC_F_PWRMAN_INTFL_V3_3_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_V3_3_RESET_POS)) #define MXC_F_PWRMAN_INTFL_VDDA_WARNING_POS 4 #define MXC_F_PWRMAN_INTFL_VDDA_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTFL_VDDA_WARNING_POS)) #define MXC_F_PWRMAN_INTEN_V1_8_WARNING_POS 0 #define MXC_F_PWRMAN_INTEN_V1_8_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_V1_8_WARNING_POS)) #define MXC_F_PWRMAN_INTEN_V3_3_WARNING_POS 1 #define MXC_F_PWRMAN_INTEN_V3_3_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_V3_3_WARNING_POS)) #define MXC_F_PWRMAN_INTEN_RTC_WARNING_POS 2 #define MXC_F_PWRMAN_INTEN_RTC_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_RTC_WARNING_POS)) #define MXC_F_PWRMAN_INTEN_V3_3_RESET_POS 3 #define MXC_F_PWRMAN_INTEN_V3_3_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_V3_3_RESET_POS)) #define MXC_F_PWRMAN_INTEN_VDDA_WARNING_POS 4 #define MXC_F_PWRMAN_INTEN_VDDA_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_INTEN_VDDA_WARNING_POS)) #define MXC_F_PWRMAN_SVM_EVENTS_V1_8_WARNING_POS 0 #define MXC_F_PWRMAN_SVM_EVENTS_V1_8_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_V1_8_WARNING_POS)) #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_WARNING_POS 1 #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_V3_3_WARNING_POS)) #define MXC_F_PWRMAN_SVM_EVENTS_RTC_WARNING_POS 2 #define MXC_F_PWRMAN_SVM_EVENTS_RTC_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_RTC_WARNING_POS)) #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_RESET_POS 3 #define MXC_F_PWRMAN_SVM_EVENTS_V3_3_RESET ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_V3_3_RESET_POS)) #define MXC_F_PWRMAN_SVM_EVENTS_VDDA_WARNING_POS 4 #define MXC_F_PWRMAN_SVM_EVENTS_VDDA_WARNING ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_SVM_EVENTS_VDDA_WARNING_POS)) #define MXC_F_PWRMAN_WUD_CTRL_PAD_SELECT_POS 0 #define MXC_F_PWRMAN_WUD_CTRL_PAD_SELECT ((uint32_t)(0x0000003FUL << MXC_F_PWRMAN_WUD_CTRL_PAD_SELECT_POS)) #define MXC_F_PWRMAN_WUD_CTRL_PAD_MODE_POS 8 #define MXC_F_PWRMAN_WUD_CTRL_PAD_MODE ((uint32_t)(0x00000003UL << MXC_F_PWRMAN_WUD_CTRL_PAD_MODE_POS)) #define MXC_F_PWRMAN_WUD_CTRL_CLEAR_ALL_POS 12 #define MXC_F_PWRMAN_WUD_CTRL_CLEAR_ALL ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_CTRL_CLEAR_ALL_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO0_POS 0 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO0_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO1_POS 1 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO1_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO2_POS 2 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO2_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO3_POS 3 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO3 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO3_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO4_POS 4 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO4 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO4_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO5_POS 5 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO5 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO5_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO6_POS 6 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO6 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO6_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO7_POS 7 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO7 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO7_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO8_POS 8 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO8 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO8_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO9_POS 9 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO9 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO9_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO10_POS 10 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO10 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO10_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO11_POS 11 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO11 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO11_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO12_POS 12 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO12 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO12_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO13_POS 13 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO13 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO13_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO14_POS 14 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO14 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO14_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO15_POS 15 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO15 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO15_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO16_POS 16 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO16 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO16_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO17_POS 17 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO17 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO17_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO18_POS 18 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO18 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO18_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO19_POS 19 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO19 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO19_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO20_POS 20 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO20 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO20_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO21_POS 21 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO21 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO21_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO22_POS 22 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO22 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO22_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO23_POS 23 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO23 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO23_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO24_POS 24 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO24 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO24_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO25_POS 25 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO25 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO25_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO26_POS 26 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO26 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO26_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO27_POS 27 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO27 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO27_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO28_POS 28 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO28 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO28_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO29_POS 29 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO29 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO29_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO30_POS 30 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO30 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO30_POS)) #define MXC_F_PWRMAN_WUD_SEEN0_GPIO31_POS 31 #define MXC_F_PWRMAN_WUD_SEEN0_GPIO31 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN0_GPIO31_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO32_POS 0 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO32 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO32_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO33_POS 1 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO33 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO33_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO34_POS 2 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO34 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO34_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO35_POS 3 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO35 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO35_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO36_POS 4 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO36 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO36_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO37_POS 5 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO37 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO37_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO38_POS 6 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO38 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO38_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO39_POS 7 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO39 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO39_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO40_POS 8 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO40 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO40_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO41_POS 9 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO41 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO41_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO42_POS 10 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO42 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO42_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO43_POS 11 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO43 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO43_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO44_POS 12 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO44 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO44_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO45_POS 13 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO45 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO45_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO46_POS 14 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO46 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO46_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO47_POS 15 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO47 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO47_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO48_POS 16 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO48 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO48_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO49_POS 17 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO49 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO49_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO50_POS 18 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO50 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO50_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO51_POS 19 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO51 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO51_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO52_POS 20 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO52 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO52_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO53_POS 21 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO53 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO53_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO54_POS 22 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO54 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO54_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO55_POS 23 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO55 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO55_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO56_POS 24 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO56 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO56_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO57_POS 25 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO57 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO57_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO58_POS 26 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO58 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO58_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO59_POS 27 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO59 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO59_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO60_POS 28 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO60 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO60_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO61_POS 29 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO61 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO61_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO62_POS 30 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO62 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO62_POS)) #define MXC_F_PWRMAN_WUD_SEEN1_GPIO63_POS 31 #define MXC_F_PWRMAN_WUD_SEEN1_GPIO63 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_WUD_SEEN1_GPIO63_POS)) #define MXC_F_PWRMAN_BASE_PART_NUM_BASE_PART_NUMBER_POS 0 #define MXC_F_PWRMAN_BASE_PART_NUM_BASE_PART_NUMBER ((uint32_t)(0x0000FFFFUL << MXC_F_PWRMAN_BASE_PART_NUM_BASE_PART_NUMBER_POS)) #define MXC_F_PWRMAN_BASE_PART_NUM_PACKAGE_SELECT_POS 28 #define MXC_F_PWRMAN_BASE_PART_NUM_PACKAGE_SELECT ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_BASE_PART_NUM_PACKAGE_SELECT_POS)) #define MXC_F_PWRMAN_MASK_ID0_REVISION_ID_POS 0 #define MXC_F_PWRMAN_MASK_ID0_REVISION_ID ((uint32_t)(0x0000000FUL << MXC_F_PWRMAN_MASK_ID0_REVISION_ID_POS)) #define MXC_F_PWRMAN_MASK_ID0_MASK_ID_POS 4 #define MXC_F_PWRMAN_MASK_ID0_MASK_ID ((uint32_t)(0x0FFFFFFFUL << MXC_F_PWRMAN_MASK_ID0_MASK_ID_POS)) #define MXC_F_PWRMAN_MASK_ID1_MASK_ID_POS 0 #define MXC_F_PWRMAN_MASK_ID1_MASK_ID ((uint32_t)(0x7FFFFFFFUL << MXC_F_PWRMAN_MASK_ID1_MASK_ID_POS)) #define MXC_F_PWRMAN_MASK_ID1_MASK_ID_ENABLE_POS 31 #define MXC_F_PWRMAN_MASK_ID1_MASK_ID_ENABLE ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_MASK_ID1_MASK_ID_ENABLE_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART0_POS 0 #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_UART0_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART1_POS 1 #define MXC_F_PWRMAN_PERIPHERAL_RESET_UART1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_UART1_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER0_POS 2 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER0_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER1_POS 3 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER1_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER2_POS 4 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER2_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER3_POS 5 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER3 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TIMER3_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_WATCHDOG0_POS 6 #define MXC_F_PWRMAN_PERIPHERAL_RESET_WATCHDOG0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_WATCHDOG0_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_USB_POS 7 #define MXC_F_PWRMAN_PERIPHERAL_RESET_USB ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_USB_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_ADC_POS 8 #define MXC_F_PWRMAN_PERIPHERAL_RESET_ADC ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_ADC_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC0_POS 9 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC0_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC1_POS 10 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC1_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC2_POS 11 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC2_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC3_POS 12 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DAC3 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DAC3_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_DMA_POS 13 #define MXC_F_PWRMAN_PERIPHERAL_RESET_DMA ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_DMA_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_LCD_POS 14 #define MXC_F_PWRMAN_PERIPHERAL_RESET_LCD ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_LCD_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_GPIO_POS 15 #define MXC_F_PWRMAN_PERIPHERAL_RESET_GPIO ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_GPIO_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_PULSE_TRAIN_POS 16 #define MXC_F_PWRMAN_PERIPHERAL_RESET_PULSE_TRAIN ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_PULSE_TRAIN_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI0_POS 17 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SPI0_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI1_POS 18 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SPI1_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI2_POS 19 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SPI2 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SPI2_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM0_POS 20 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM0 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM0_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM1_POS 21 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM1 ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_I2CM1_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CS_POS 22 #define MXC_F_PWRMAN_PERIPHERAL_RESET_I2CS ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_I2CS_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_CRC_POS 23 #define MXC_F_PWRMAN_PERIPHERAL_RESET_CRC ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_CRC_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_TPU_POS 24 #define MXC_F_PWRMAN_PERIPHERAL_RESET_TPU ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_TPU_POS)) #define MXC_F_PWRMAN_PERIPHERAL_RESET_SSB_POS 25 #define MXC_F_PWRMAN_PERIPHERAL_RESET_SSB ((uint32_t)(0x00000001UL << MXC_F_PWRMAN_PERIPHERAL_RESET_SSB_POS)) #ifdef __cplusplus } #endif /** * @} */ #endif /* _MXC_PWRMAN_REGS_H_ */