diff --git a/.github/workflows/compile-platform-examples.yml b/.github/workflows/compile-platform-examples.yml index 70e8443d..ab9d6010 100644 --- a/.github/workflows/compile-platform-examples.yml +++ b/.github/workflows/compile-platform-examples.yml @@ -53,6 +53,16 @@ jobs: stackMem: true dma: false alarmRtc: false + - fqbn: Infineon:xmc:XMC1300_Boot_Kit + i2s: false + dieTemp: true + heapMem: true + sleep1100: true + sleep4700 : false + stackMem: true + multiSerial: false + dma: false + alarmRtc: false - fqbn: Infineon:xmc:XMC4200_Platform2GO i2s: false dieTemp: false diff --git a/README.md b/README.md index d1752107..0cdb4994 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ This repository integrates [Infineon's](https://www.infineon.com/) XMC microcont * [XMC1100 XMC 2Go](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc_2go_xmc1100_v1/) * [XMC1100 Boot Kit](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc11_boot_001/) +* [XMC1300 Boot Kit](https://www.infineon.com/cms/de/product/evaluation-boards/kit_xmc13_boot_001/) * [XMC1400 Kit for Arduino](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc1400_arduino/) * [XMC4200 Platform 2Go](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc_plt2go_xmc4200/) * [XMC4400 Platform 2Go](https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc_plt2go_xmc4400//) @@ -33,6 +34,7 @@ Please visit also the Wiki for additional information, e.g. datasheets, pin out * Page for [XMC1100 XMC 2Go](https://github.com/Infineon/XMC-for-Arduino/wiki/XMC-2Go) * Page for [XMC1100 Boot Kit](https://github.com/Infineon/XMC-for-Arduino/wiki/XMC1100-Boot-Kit) +* Page for [XMC1300 Boot Kit](https://github.com/Infineon/XMC-for-Arduino/wiki/XMC1300-Boot-Kit) * Page for [XMC1400 Kit for Arduino](https://github.com/Infineon/XMC-for-Arduino/wiki/XMC1400-Kit-for-Arduino) * Page for [XMC4200 Platform 2Go](https://github.com/Infineon/XMC-for-Arduino/wiki/XMC4200-Platform2Go) * Page for [XMC4400 Platform 2Go](https://github.com/Infineon/XMC-for-Arduino/wiki/XMC4400-Platform2Go) diff --git a/boards.txt b/boards.txt index 68f39eb9..df311a24 100644 --- a/boards.txt +++ b/boards.txt @@ -90,6 +90,50 @@ XMC1100_XMC2GO.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP XMC1100_XMC2GO.menu.LIB.DSPNN=ARM DSP / ARM NN Framework XMC1100_XMC2GO.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN +#################################################### +XMC1300_Boot_Kit.name=XMC1300 Boot Kit +XMC1300_Boot_Kit.upload.tool=xmcprog +XMC1300_Boot_Kit.upload.speed=115200 +XMC1300_Boot_Kit.upload.resetmethod=ck +XMC1300_Boot_Kit.upload.maximum_size=204800 +XMC1300_Boot_Kit.upload.wait_for_upload_port=true + +XMC1300_Boot_Kit.communication=usb +XMC1300_Boot_Kit.protocol=dragon_isp +XMC1300_Boot_Kit.program.protocol=dragon_isp +XMC1300_Boot_Kit.program.tool=xmcprog +XMC1300_Boot_Kit.program.extra_params=-Pusb + +XMC1300_Boot_Kit.serial.disableDTR=true +XMC1300_Boot_Kit.serial.disableRTS=true + +XMC1300_Boot_Kit.build.mcu=cortex-m0 +XMC1300_Boot_Kit.build.f_cpu=32000000L +XMC1300_Boot_Kit.build.board=ARM_XMC +XMC1300_Boot_Kit.build.board.version=1302 +XMC1300_Boot_Kit.build.board.type=T038x0200 +XMC1300_Boot_Kit.build.board.v=0200 +XMC1300_Boot_Kit.build.core=./ +XMC1300_Boot_Kit.build.variant=XMC1300 +XMC1300_Boot_Kit.build.board_variant=XMC1300_Boot_Kit +XMC1300_Boot_Kit.build.flash_size=200K +XMC1300_Boot_Kit.build.flash_ld=linker_script_200k.ld +XMC1300_Boot_Kit.build.extra_flags=-DARM_MATH_CM0 -DXMC1_SERIES + +XMC1300_Boot_Kit.menu.UART.debug=PC +XMC1300_Boot_Kit.menu.UART.debug.uart.selected=-DSERIAL_HOSTPC +XMC1300_Boot_Kit.menu.UART.onBoard=On Board +XMC1300_Boot_Kit.menu.UART.onBoard.uart.selected=-DSERIAL_ONBOARD + +XMC1300_Boot_Kit.menu.LIB.NONE=None +XMC1300_Boot_Kit.menu.LIB.NONE.library.selected= +XMC1300_Boot_Kit.menu.LIB.NN=ARM NN Framework +XMC1300_Boot_Kit.menu.LIB.NN.library.selected=-DARM_LIB_CMSIS_NN +XMC1300_Boot_Kit.menu.LIB.DSP=ARM DSP +XMC1300_Boot_Kit.menu.LIB.DSP.library.selected=-DARM_LIB_CMSIS_DSP +XMC1300_Boot_Kit.menu.LIB.DSPNN=ARM DSP / ARM NN Framework +XMC1300_Boot_Kit.menu.LIB.DSPNN.library.selected=-DARM_LIB_CMSIS_DSP -DARM_LIB_CMSIS_NN + #################################################### XMC1400_Arduino_Kit.name=XMC1400 Kit for Arduino XMC1400_Arduino_Kit.upload.tool=xmcprog diff --git a/libraries/SPI/src/utility/xmc_spi_conf.c b/libraries/SPI/src/utility/xmc_spi_conf.c index 61e0adc4..9f0557ec 100644 --- a/libraries/SPI/src/utility/xmc_spi_conf.c +++ b/libraries/SPI/src/utility/xmc_spi_conf.c @@ -68,7 +68,7 @@ XMC_SPI_t XMC_SPI_0 = } }; -#elif defined(XMC1100_Boot_Kit) || defined(XMC1400_Boot_Kit) +#elif defined(XMC1100_Boot_Kit) || defined(XMC1300_Boot_Kit) || defined(XMC1400_Boot_Kit) XMC_SPI_t XMC_SPI_0 = { .channel = XMC_SPI0_CH0, diff --git a/libraries/SPI/src/utility/xmc_spi_conf.h b/libraries/SPI/src/utility/xmc_spi_conf.h index 5434e382..440b0e7f 100644 --- a/libraries/SPI/src/utility/xmc_spi_conf.h +++ b/libraries/SPI/src/utility/xmc_spi_conf.h @@ -56,7 +56,7 @@ typedef struct XMC_SPI #define NUM_SPI 1 extern XMC_SPI_t XMC_SPI_0; -#elif defined(XMC1100_Boot_Kit) || defined(XMC1400_Boot_Kit) +#elif defined(XMC1100_Boot_Kit) || defined(XMC1300_Boot_Kit) || defined(XMC1400_Boot_Kit) #define NUM_SPI 1 extern XMC_SPI_t XMC_SPI_0; diff --git a/libraries/Wire/src/utility/xmc_i2c_conf.c b/libraries/Wire/src/utility/xmc_i2c_conf.c index 8518c5ef..4ad905ec 100644 --- a/libraries/Wire/src/utility/xmc_i2c_conf.c +++ b/libraries/Wire/src/utility/xmc_i2c_conf.c @@ -96,7 +96,7 @@ XMC_I2C_t XMC_I2C_1 = .protocol_irq_service_request = 3 }; -#elif defined(XMC1100_Boot_Kit) || defined(XMC1400_Boot_Kit) +#elif defined(XMC1100_Boot_Kit) || defined(XMC1300_Boot_Kit) || defined(XMC1400_Boot_Kit) XMC_I2C_t XMC_I2C_0 = { .channel = XMC_I2C0_CH0, diff --git a/libraries/Wire/src/utility/xmc_i2c_conf.h b/libraries/Wire/src/utility/xmc_i2c_conf.h index d663d5ad..936d5284 100644 --- a/libraries/Wire/src/utility/xmc_i2c_conf.h +++ b/libraries/Wire/src/utility/xmc_i2c_conf.h @@ -60,7 +60,7 @@ typedef struct XMC_I2C extern XMC_I2C_t XMC_I2C_0; extern XMC_I2C_t XMC_I2C_1; -#elif defined(XMC1100_Boot_Kit) || defined(XMC1400_Boot_Kit) +#elif defined(XMC1100_Boot_Kit) || defined(XMC1300_Boot_Kit) || defined(XMC1400_Boot_Kit) #define NUM_I2C 1 extern XMC_I2C_t XMC_I2C_0; diff --git a/package.json b/package.json index ac85e57f..88b7d865 100644 --- a/package.json +++ b/package.json @@ -2,5 +2,5 @@ "name": "framework-arduinoxmc", "description": "Integration of Infineon's XMC microcontrollers with the Arduino framework", "url": "https://www.infineon.com/cms/en/product/microcontroller/32-bit-industrial-microcontroller-based-on-arm-cortex-m/", - "version": "2.0.0" + "version": "2.1.0" } diff --git a/package/package_infineon_index.template.json b/package/package_infineon_index.template.json index 16cae48c..7f7b15ac 100644 --- a/package/package_infineon_index.template.json +++ b/package/package_infineon_index.template.json @@ -28,6 +28,9 @@ { "name":"XMC1100 XMC2Go" }, + { + "name":"XMC1300 Boot Kit" + }, { "name":"XMC1400 Kit for Arduino" }, diff --git a/variants/XMC1300/XMC1000_RomFunctionTable.h b/variants/XMC1300/XMC1000_RomFunctionTable.h new file mode 100755 index 00000000..6e465b9e --- /dev/null +++ b/variants/XMC1300/XMC1000_RomFunctionTable.h @@ -0,0 +1,176 @@ +/********************************************************************************************************************* + * @file XMC1000_RomFunctionTable.h + * @brief ROM functions prototypes for the XMC1400-Series + * @version V1.0 + * @date 08 April 2013 + * + * @cond + ********************************************************************************************************************* + * Copyright (c) 2013-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + **************************** Change history ********************************* + * V1.0, 08 Jan 2013, GD, First version with XMC1000 devices + ***************************************************************************** + * @endcond + */ + +#ifndef ROM_FUNCTION_TABLE_H +#define ROM_FUNCTION_TABLE_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* *************************************************************************** +******************************* Constants ******************************* +*************************************************************************** */ +/* Start address of the ROM function table */ +#define ROM_FUNCTION_TABLE_START (0x00000100U) + +/* Pointer to Erase Flash Page routine */ +#define _NvmErase (ROM_FUNCTION_TABLE_START + 0x00U) + +/* Pointer to Erase, Program & Verify Flash Page routine */ +#define _NvmProgVerify (ROM_FUNCTION_TABLE_START + 0x04U) + +/* Pointer to Request BMI installation routine */ +#define _BmiInstallationReq (ROM_FUNCTION_TABLE_START + 0x08U) + + +/* *************************************************************************** +******************************** Enumerations ******************************** +*************************************************************************** */ +typedef enum TagNVMStatus +{ + +/* The function succeeded */ + NVM_PASS = (int32_t)0x00010000U, + +/* Generic error code */ + NVM_E_FAIL = (int32_t)0x80010001U, + +/* Source data not in RAM */ + NVM_E_SRC_AREA_EXCCEED = (int32_t)0x80010003U, + +/* Source data is not 4 byte aligned */ + NVM_E_SRC_ALIGNMENT = (int32_t)0x80010004U, + +/* NVM module cannot be physically accessed */ + NVM_E_NVM_FAIL = (int32_t)0x80010005U, + +/* Verification of written page not successful */ + NVM_E_VERIFY = (int32_t)0x80010006U, + +/* Destination data is not (completely) located in NVM */ + NVM_E_DST_AREA_EXCEED = (int32_t)0x80010009U, + +/* Destination data is not properly aligned */ + NVM_E_DST_ALIGNMENT = (int32_t)0x80010010U, + +} NVM_STATUS; + + +/* *************************************************************************** +*********************************** Macros *********************************** +*************************************************************************** */ + +/* *************************************************************************** +Description: Erase granularity = 1 Page of 16 blocks of 16 Bytes + = Equivalent to 256 Bytes using this routine. + +Input parameters: +– Logical address of the Flash Page to be erased which must be page aligned +and in NVM address range + +Return status: +– OK (NVM_PASS) +– Invalid address (NVM_E_DST_ALIGNMENT or NVM_E_DST_AREA_EXCEED) +– Operation failed (Error during low level NVM programming driver): + NVM_E_FAIL + NVM_E_VERIFY + NVM_E_NVM_FAIL + +Prototype: + NVM_STATUS XMC1000_NvmErasePage(uint32_t *pageAddr) +*************************************************************************** */ +#define XMC1000_NvmErasePage (*((NVM_STATUS (**) (uint32_t * )) \ + _NvmErase)) + +/* *************************************************************************** +Description: This procedure performs erase (skipped if not necessary), program +and verify of selected Flash page. + +Input parameter: +– Logical address of the target Flash Page, must be page aligned and in NVM +address range + +– Address in SRAM where the data starts, must be 4-byte aligned + +Return status: +– OK (NVM_PASS) +– Invalid addresses + NVM_E_DST_ALIGNMENT + NVM_E_SRC_ALIGNMENT + NVM_E_DST_AREA_EXCEED + NVM_E_SRC_AREA_EXCCEED +– Operation failed (Error during low level NVM programming driver): + NVM_E_FAIL + NVM_E_VERIFY + NVM_E_NVM_FAIL + +Prototype: + NVM_STATUS XMC1000_NvmProgVerify(const uint32_t *srcAddr, uint32_t *dstAddr) +*************************************************************************** */ +#define XMC1000_NvmProgVerify (*((NVM_STATUS (**) (const uint32_t * ,\ + uint32_t * ))\ + _NvmProgVerify)) + + +/* *************************************************************************** +Description: This procedure initiates installation of a new BMI value. In +particular, it can be used as well as to restore the state upon delivery for a +device already in User Productive mode. + +Input parameter: +– BMI value to be installed + +Return status: +– wrong input BMI value (0x01) - only upon error, if OK the procedure triggers +a reset respectively does not return to calling routine ! + +Prototype: + unsigned long XMC1000_BmiInstallationReq(unsigned short requestedBmiValue) +**************************************************************************** */ +#define XMC1000_BmiInstallationReq (*((uint32_t (**) (uint16_t)) \ + _BmiInstallationReq)) + +#ifdef __cplusplus +} +#endif + +#endif /* ROM_FUNCTION_TABLE_H */ diff --git a/variants/XMC1300/XMC1300.h b/variants/XMC1300/XMC1300.h new file mode 100755 index 00000000..140ab929 --- /dev/null +++ b/variants/XMC1300/XMC1300.h @@ -0,0 +1,6951 @@ +/********************************************************************************************************************* + * Copyright (c) 2012-2017, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + *********************************************************************************************************************/ + + +/****************************************************************************************************//** + * @file XMC1300.h + * + * @brief CMSIS Cortex-M0 Peripheral Access Layer Header File for + * XMC1300 from Infineon. + * + * @version V1.3.1 (Reference Manual v1.3) + * @date 19. June 2017 + * + * @note Generated with SVDConv V2.87l + * from CMSIS SVD File 'XMC1300_Processed_SVD.xml' Version 1.3.0 (Reference Manual v1.3), + * added support for ARM Compiler 6 (armclang) + *******************************************************************************************************/ + + + +/** @addtogroup Infineon + * @{ + */ + +/** @addtogroup XMC1300 + * @{ + */ + +#ifndef XMC1300_H +#define XMC1300_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/* ------------------------- Interrupt Number Definition ------------------------ */ + +typedef enum { +/* ------------------- Cortex-M0 Processor Exceptions Numbers ------------------- */ + Reset_IRQn = -15, /*!< 1 Reset Vector, invoked on Power up and warm reset */ + NonMaskableInt_IRQn = -14, /*!< 2 Non maskable Interrupt, cannot be stopped or preempted */ + HardFault_IRQn = -13, /*!< 3 Hard Fault, all classes of Fault */ + SVCall_IRQn = -5, /*!< 11 System Service Call via SVC instruction */ + PendSV_IRQn = -2, /*!< 14 Pendable request for system service */ + SysTick_IRQn = -1, /*!< 15 System Tick Timer */ +/* --------------------- XMC1300 Specific Interrupt Numbers --------------------- */ + SCU_0_IRQn = 0, /*!< SCU SR0 Interrupt */ + SCU_1_IRQn = 1, /*!< SCU SR1 Interrupt */ + SCU_2_IRQn = 2, /*!< SCU SR2 Interrupt */ + ERU0_0_IRQn = 3, /*!< ERU0 SR0 Interrupt */ + ERU0_1_IRQn = 4, /*!< ERU0 SR1 Interrupt */ + ERU0_2_IRQn = 5, /*!< ERU0 SR2 Interrupt */ + ERU0_3_IRQn = 6, /*!< ERU0 SR3 Interrupt */ + MATH0_0_IRQn = 7, /*!< MATH0 SR0 Interrupt */ + + USIC0_0_IRQn = 9, /*!< USIC SR0 Interrupt */ + USIC0_1_IRQn = 10, /*!< USIC SR1 Interrupt */ + USIC0_2_IRQn = 11, /*!< USIC SR2 Interrupt */ + USIC0_3_IRQn = 12, /*!< USIC SR3 Interrupt */ + USIC0_4_IRQn = 13, /*!< USIC SR4 Interrupt */ + USIC0_5_IRQn = 14, /*!< USIC SR5 Interrupt */ + + VADC0_C0_0_IRQn = 15, /*!< VADC SR0 Interrupt */ + VADC0_C0_1_IRQn = 16, /*!< VADC SR1 Interrupt */ + VADC0_G0_0_IRQn = 17, /*!< VADC SR2 Interrupt */ + VADC0_G0_1_IRQn = 18, /*!< VADC SR3 Interrupt */ + VADC0_G1_0_IRQn = 19, /*!< VADC SR4 Interrupt */ + VADC0_G1_1_IRQn = 20, /*!< VADC SR5 Interrupt */ + + CCU40_0_IRQn = 21, /*!< CCU40 SR0 Interrupt */ + CCU40_1_IRQn = 22, /*!< CCU40 SR1 Interrupt */ + CCU40_2_IRQn = 23, /*!< CCU40 SR2 Interrupt */ + CCU40_3_IRQn = 24, /*!< CCU40 SR3 Interrupt */ + + CCU80_0_IRQn = 25, /*!< CCU80 SR0 Interrupt */ + CCU80_1_IRQn = 26, /*!< CCU80 SR1 Interrupt */ + + POSIF0_0_IRQn = 27, /*!< POSIF0 SR0 Interrupt */ + POSIF0_1_IRQn = 28, /*!< POSIF1 SR1 Interrupt */ + + BCCU0_0_IRQn = 31, /*!< BCCU0 SR0 Interrupt */ +} IRQn_Type; + + +/** @addtogroup Configuration_of_CMSIS + * @{ + */ + + +/* ================================================================================ */ +/* ================ Processor and Core Peripheral Section ================ */ +/* ================================================================================ */ + +/* ----------------Configuration of the Cortex-M0 Processor and Core Peripherals---------------- */ +#define __CM0_REV 0x0000 /*!< Cortex-M0 Core Revision */ +#define __MPU_PRESENT 0 /*!< MPU present or not */ +#define __NVIC_PRIO_BITS 2 /*!< Number of Bits used for Priority Levels */ +#define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */ +/** @} */ /* End of group Configuration_of_CMSIS */ + +#include "core_cm0.h" /*!< Cortex-M0 processor and core peripherals */ +#include "system_XMC1300.h" /*!< XMC1300 System */ + + +/* ================================================================================ */ +/* ================ Device Specific Peripheral Section ================ */ +/* ================================================================================ */ +/* Macro to modify desired bitfields of a register */ +#define WR_REG(reg, mask, pos, val) reg = (((uint32_t)val << pos) & \ + ((uint32_t)mask)) | \ + (reg & ((uint32_t)~((uint32_t)mask))) + +/* Macro to modify desired bitfields of a register */ +#define WR_REG_SIZE(reg, mask, pos, val, size) { \ +uint##size##_t VAL1 = (uint##size##_t)((uint##size##_t)val << pos); \ +uint##size##_t VAL2 = (uint##size##_t) (VAL1 & (uint##size##_t)mask); \ +uint##size##_t VAL3 = (uint##size##_t)~((uint##size##_t)mask); \ +uint##size##_t VAL4 = (uint##size##_t) ((uint##size##_t)reg & VAL3); \ +reg = (uint##size##_t) (VAL2 | VAL4);\ +} + +/** Macro to read bitfields from a register */ +#define RD_REG(reg, mask, pos) (((uint32_t)reg & (uint32_t)mask) >> pos) + +/** Macro to read bitfields from a register */ +#define RD_REG_SIZE(reg, mask, pos,size) ((uint##size##_t)(((uint32_t)reg & \ + (uint32_t)mask) >> pos) ) + +/** Macro to set a bit in register */ +#define SET_BIT(reg, pos) (reg |= ((uint32_t)1<= 6010050) + #pragma clang diagnostic push + #pragma clang diagnostic ignored "-Wc11-extensions" + #pragma clang diagnostic ignored "-Wreserved-id-macro" +#elif defined(__ICCARM__) + #pragma language=extended +#elif defined(__GNUC__) + /* anonymous unions are enabled by default */ +#elif defined(__TMS470__) +/* anonymous unions are enabled by default */ +#elif defined(__TASKING__) + #pragma warning 586 +#else + #warning Not supported compiler type +#endif + + + +/* ================================================================================ */ +/* ================ PPB ================ */ +/* ================================================================================ */ + + +/** + * @brief Cortex-M0 Private Peripheral Block (PPB) + */ + +typedef struct { /*!< (@ 0xE000E000) PPB Structure */ + __I uint32_t RESERVED[4]; + __IO uint32_t SYST_CSR; /*!< (@ 0xE000E010) SysTick Control and Status Register */ + __IO uint32_t SYST_RVR; /*!< (@ 0xE000E014) SysTick Reload Value Register */ + __IO uint32_t SYST_CVR; /*!< (@ 0xE000E018) SysTick Current Value Register */ + __I uint32_t SYST_CALIB; /*!< (@ 0xE000E01C) SysTick Calibration Value Register */ + __I uint32_t RESERVED1[56]; + __IO uint32_t NVIC_ISER; /*!< (@ 0xE000E100) Interrupt Set-enable Register */ + __I uint32_t RESERVED2[31]; + __IO uint32_t NVIC_ICER; /*!< (@ 0xE000E180) IInterrupt Clear-enable Register */ + __I uint32_t RESERVED3[31]; + __IO uint32_t NVIC_ISPR; /*!< (@ 0xE000E200) Interrupt Set-pending Register */ + __I uint32_t RESERVED4[31]; + __IO uint32_t NVIC_ICPR; /*!< (@ 0xE000E280) Interrupt Clear-pending Register */ + __I uint32_t RESERVED5[95]; + __IO uint32_t NVIC_IPR0; /*!< (@ 0xE000E400) Interrupt Priority Register 0 */ + __IO uint32_t NVIC_IPR1; /*!< (@ 0xE000E404) Interrupt Priority Register 1 */ + __IO uint32_t NVIC_IPR2; /*!< (@ 0xE000E408) Interrupt Priority Register 2 */ + __IO uint32_t NVIC_IPR3; /*!< (@ 0xE000E40C) Interrupt Priority Register 3 */ + __IO uint32_t NVIC_IPR4; /*!< (@ 0xE000E410) Interrupt Priority Register 4 */ + __IO uint32_t NVIC_IPR5; /*!< (@ 0xE000E414) Interrupt Priority Register 5 */ + __IO uint32_t NVIC_IPR6; /*!< (@ 0xE000E418) Interrupt Priority Register 6 */ + __IO uint32_t NVIC_IPR7; /*!< (@ 0xE000E41C) Interrupt Priority Register 7 */ + __I uint32_t RESERVED6[568]; + __I uint32_t CPUID; /*!< (@ 0xE000ED00) CPUID Base Register */ + __IO uint32_t ICSR; /*!< (@ 0xE000ED04) Interrupt Control and State Register */ + __I uint32_t RESERVED7; + __IO uint32_t AIRCR; /*!< (@ 0xE000ED0C) Application Interrupt and Reset Control Register */ + __IO uint32_t SCR; /*!< (@ 0xE000ED10) System Control Register */ + __I uint32_t CCR; /*!< (@ 0xE000ED14) Configuration and Control Register */ + __I uint32_t RESERVED8; + __IO uint32_t SHPR2; /*!< (@ 0xE000ED1C) System Handler Priority Register 2 */ + __IO uint32_t SHPR3; /*!< (@ 0xE000ED20) System Handler Priority Register 3 */ + __IO uint32_t SHCSR; /*!< (@ 0xE000ED24) System Handler Control and State Register */ +} PPB_Type; + + +/* ================================================================================ */ +/* ================ ERU [ERU0] ================ */ +/* ================================================================================ */ + + +/** + * @brief Event Request Unit 0 (ERU) + */ + +typedef struct { /*!< (@ 0x40010600) ERU Structure */ + __IO uint32_t EXISEL; /*!< (@ 0x40010600) Event Input Select */ + __I uint32_t RESERVED[3]; + __IO uint32_t EXICON[4]; /*!< (@ 0x40010610) Event Input Control */ + __IO uint32_t EXOCON[4]; /*!< (@ 0x40010620) Event Output Trigger Control */ +} ERU_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ MATH ================ */ +/* ================================================================================ */ + + +/** + * @brief MATH Unit (MATH) + */ + +typedef struct { /*!< (@ 0x40030000) MATH Structure */ + __I uint32_t RESERVED; + __IO uint32_t GLBCON; /*!< (@ 0x40030004) Global Control Register */ + __I uint32_t ID; /*!< (@ 0x40030008) Module Identification Register */ + __IO uint32_t EVIER; /*!< (@ 0x4003000C) Event Interrupt Enable Register */ + __I uint32_t EVFR; /*!< (@ 0x40030010) Event Flag Register */ + __O uint32_t EVFSR; /*!< (@ 0x40030014) Event Flag Set Register */ + __O uint32_t EVFCR; /*!< (@ 0x40030018) Event Flag Clear Register */ + __I uint32_t RESERVED1; + __IO uint32_t DVD; /*!< (@ 0x40030020) Dividend Register */ + __IO uint32_t DVS; /*!< (@ 0x40030024) Divisor Register */ + __I uint32_t QUOT; /*!< (@ 0x40030028) Quotient Register */ + __I uint32_t RMD; /*!< (@ 0x4003002C) Remainder Register */ + __I uint32_t DIVST; /*!< (@ 0x40030030) Divider Status Register */ + __IO uint32_t DIVCON; /*!< (@ 0x40030034) Divider Control Register */ + __I uint32_t RESERVED2[2]; + __IO uint32_t STATC; /*!< (@ 0x40030040) CORDIC Status and Data Control Register */ + __IO uint32_t CON; /*!< (@ 0x40030044) CORDIC Control Register */ + __IO uint32_t CORDX; /*!< (@ 0x40030048) CORDIC X Data Register */ + __IO uint32_t CORDY; /*!< (@ 0x4003004C) CORDIC Y Data Register */ + __IO uint32_t CORDZ; /*!< (@ 0x40030050) CORDIC Z Data Register */ + __I uint32_t CORRX; /*!< (@ 0x40030054) CORDIC X Result Register */ + __I uint32_t CORRY; /*!< (@ 0x40030058) CORDIC Y Result Register */ + __I uint32_t CORRZ; /*!< (@ 0x4003005C) CORDIC Z Result Register */ +} MATH_Type; + + +/* ================================================================================ */ +/* ================ PAU ================ */ +/* ================================================================================ */ + + +/** + * @brief PAU Unit (PAU) + */ + +typedef struct { /*!< (@ 0x40000000) PAU Structure */ + __I uint32_t RESERVED[16]; + __I uint32_t AVAIL0; /*!< (@ 0x40000040) Peripheral Availability Register 0 */ + __I uint32_t AVAIL1; /*!< (@ 0x40000044) Peripheral Availability Register 1 */ + __I uint32_t AVAIL2; /*!< (@ 0x40000048) Peripheral Availability Register 2 */ + __I uint32_t RESERVED1[13]; + __IO uint32_t PRIVDIS0; /*!< (@ 0x40000080) Peripheral Privilege Access Register 0 */ + __IO uint32_t PRIVDIS1; /*!< (@ 0x40000084) Peripheral Privilege Access Register 1 */ + __IO uint32_t PRIVDIS2; /*!< (@ 0x40000088) Peripheral Privilege Access Register 2 */ + __I uint32_t RESERVED2[221]; + __I uint32_t ROMSIZE; /*!< (@ 0x40000400) ROM Size Register */ + __I uint32_t FLSIZE; /*!< (@ 0x40000404) Flash Size Register */ + __I uint32_t RESERVED3[2]; + __I uint32_t RAM0SIZE; /*!< (@ 0x40000410) RAM0 Size Register */ +} PAU_Type; + + +/* ================================================================================ */ +/* ================ NVM ================ */ +/* ================================================================================ */ + + +/** + * @brief NVM Unit (NVM) + */ + +typedef struct { /*!< (@ 0x40050000) NVM Structure */ + __I uint16_t NVMSTATUS; /*!< (@ 0x40050000) NVM Status Register */ + __I uint16_t RESERVED; + __IO uint16_t NVMPROG; /*!< (@ 0x40050004) NVM Programming Control Register */ + __I uint16_t RESERVED1; + __IO uint16_t NVMCONF; /*!< (@ 0x40050008) NVM Configuration Register */ + __I uint16_t RESERVED2[31]; + __IO uint16_t CONFIG1; /*!< (@ 0x40050048) Configuration 1 Register */ +} NVM_Type; + + +/* ================================================================================ */ +/* ================ WDT ================ */ +/* ================================================================================ */ + + +/** + * @brief Watch Dog Timer (WDT) + */ + +typedef struct { /*!< (@ 0x40020000) WDT Structure */ + __I uint32_t ID; /*!< (@ 0x40020000) WDT Module ID Register */ + __IO uint32_t CTR; /*!< (@ 0x40020004) WDT Control Register */ + __O uint32_t SRV; /*!< (@ 0x40020008) WDT Service Register */ + __I uint32_t TIM; /*!< (@ 0x4002000C) WDT Timer Register */ + __IO uint32_t WLB; /*!< (@ 0x40020010) WDT Window Lower Bound Register */ + __IO uint32_t WUB; /*!< (@ 0x40020014) WDT Window Upper Bound Register */ + __I uint32_t WDTSTS; /*!< (@ 0x40020018) WDT Status Register */ + __O uint32_t WDTCLR; /*!< (@ 0x4002001C) WDT Clear Register */ +} WDT_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ RTC ================ */ +/* ================================================================================ */ + + +/** + * @brief Real Time Clock (RTC) + */ + +typedef struct { /*!< (@ 0x40010A00) RTC Structure */ + __I uint32_t ID; /*!< (@ 0x40010A00) RTC Module ID Register */ + __IO uint32_t CTR; /*!< (@ 0x40010A04) RTC Control Register */ + __I uint32_t RAWSTAT; /*!< (@ 0x40010A08) RTC Raw Service Request Register */ + __I uint32_t STSSR; /*!< (@ 0x40010A0C) RTC Service Request Status Register */ + __IO uint32_t MSKSR; /*!< (@ 0x40010A10) RTC Service Request Mask Register */ + __O uint32_t CLRSR; /*!< (@ 0x40010A14) RTC Clear Service Request Register */ + __IO uint32_t ATIM0; /*!< (@ 0x40010A18) RTC Alarm Time Register 0 */ + __IO uint32_t ATIM1; /*!< (@ 0x40010A1C) RTC Alarm Time Register 1 */ + __IO uint32_t TIM0; /*!< (@ 0x40010A20) RTC Time Register 0 */ + __IO uint32_t TIM1; /*!< (@ 0x40010A24) RTC Time Register 1 */ +} RTC_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ PRNG ================ */ +/* ================================================================================ */ + + +/** + * @brief PRNG Unit (PRNG) + */ + +typedef struct { /*!< (@ 0x48020000) PRNG Structure */ + __IO uint16_t WORD; /*!< (@ 0x48020000) PRNG Word Register */ + __I uint16_t RESERVED; + __I uint16_t CHK; /*!< (@ 0x48020004) PRNG Status Check Register */ + __I uint16_t RESERVED1[3]; + __IO uint16_t CTRL; /*!< (@ 0x4802000C) PRNG Control Register */ +} PRNG_Type; + + +/* ================================================================================ */ +/* ================ USIC [USIC0] ================ */ +/* ================================================================================ */ + + +/** + * @brief Universal Serial Interface Controller 0 (USIC) + */ + +typedef struct { /*!< (@ 0x48000008) USIC Structure */ + __I uint32_t ID; /*!< (@ 0x48000008) Module Identification Register */ +} USIC_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ USIC_CH [USIC0_CH0] ================ */ +/* ================================================================================ */ + + +/** + * @brief Universal Serial Interface Controller 0 (USIC_CH) + */ + +typedef struct { /*!< (@ 0x48000000) USIC_CH Structure */ + __I uint32_t RESERVED; + __I uint32_t CCFG; /*!< (@ 0x48000004) Channel Configuration Register */ + __I uint32_t RESERVED1; + __IO uint32_t KSCFG; /*!< (@ 0x4800000C) Kernel State Configuration Register */ + __IO uint32_t FDR; /*!< (@ 0x48000010) Fractional Divider Register */ + __IO uint32_t BRG; /*!< (@ 0x48000014) Baud Rate Generator Register */ + __IO uint32_t INPR; /*!< (@ 0x48000018) Interrupt Node Pointer Register */ + __IO uint32_t DX0CR; /*!< (@ 0x4800001C) Input Control Register 0 */ + __IO uint32_t DX1CR; /*!< (@ 0x48000020) Input Control Register 1 */ + __IO uint32_t DX2CR; /*!< (@ 0x48000024) Input Control Register 2 */ + __IO uint32_t DX3CR; /*!< (@ 0x48000028) Input Control Register 3 */ + __IO uint32_t DX4CR; /*!< (@ 0x4800002C) Input Control Register 4 */ + __IO uint32_t DX5CR; /*!< (@ 0x48000030) Input Control Register 5 */ + __IO uint32_t SCTR; /*!< (@ 0x48000034) Shift Control Register */ + __IO uint32_t TCSR; /*!< (@ 0x48000038) Transmit Control/Status Register */ + + union { + __IO uint32_t PCR_IICMode; /*!< (@ 0x4800003C) Protocol Control Register [IIC Mode] */ + __IO uint32_t PCR_IISMode; /*!< (@ 0x4800003C) Protocol Control Register [IIS Mode] */ + __IO uint32_t PCR_SSCMode; /*!< (@ 0x4800003C) Protocol Control Register [SSC Mode] */ + __IO uint32_t PCR; /*!< (@ 0x4800003C) Protocol Control Register */ + __IO uint32_t PCR_ASCMode; /*!< (@ 0x4800003C) Protocol Control Register [ASC Mode] */ + }; + __IO uint32_t CCR; /*!< (@ 0x48000040) Channel Control Register */ + __IO uint32_t CMTR; /*!< (@ 0x48000044) Capture Mode Timer Register */ + + union { + __IO uint32_t PSR_IICMode; /*!< (@ 0x48000048) Protocol Status Register [IIC Mode] */ + __IO uint32_t PSR_IISMode; /*!< (@ 0x48000048) Protocol Status Register [IIS Mode] */ + __IO uint32_t PSR_SSCMode; /*!< (@ 0x48000048) Protocol Status Register [SSC Mode] */ + __IO uint32_t PSR; /*!< (@ 0x48000048) Protocol Status Register */ + __IO uint32_t PSR_ASCMode; /*!< (@ 0x48000048) Protocol Status Register [ASC Mode] */ + }; + __O uint32_t PSCR; /*!< (@ 0x4800004C) Protocol Status Clear Register */ + __I uint32_t RBUFSR; /*!< (@ 0x48000050) Receiver Buffer Status Register */ + __I uint32_t RBUF; /*!< (@ 0x48000054) Receiver Buffer Register */ + __I uint32_t RBUFD; /*!< (@ 0x48000058) Receiver Buffer Register for Debugger */ + __I uint32_t RBUF0; /*!< (@ 0x4800005C) Receiver Buffer Register 0 */ + __I uint32_t RBUF1; /*!< (@ 0x48000060) Receiver Buffer Register 1 */ + __I uint32_t RBUF01SR; /*!< (@ 0x48000064) Receiver Buffer 01 Status Register */ + __O uint32_t FMR; /*!< (@ 0x48000068) Flag Modification Register */ + __I uint32_t RESERVED2[5]; + __IO uint32_t TBUF[32]; /*!< (@ 0x48000080) Transmit Buffer */ + __IO uint32_t BYP; /*!< (@ 0x48000100) Bypass Data Register */ + __IO uint32_t BYPCR; /*!< (@ 0x48000104) Bypass Control Register */ + __IO uint32_t TBCTR; /*!< (@ 0x48000108) Transmitter Buffer Control Register */ + __IO uint32_t RBCTR; /*!< (@ 0x4800010C) Receiver Buffer Control Register */ + __I uint32_t TRBPTR; /*!< (@ 0x48000110) Transmit/Receive Buffer Pointer Register */ + __IO uint32_t TRBSR; /*!< (@ 0x48000114) Transmit/Receive Buffer Status Register */ + __O uint32_t TRBSCR; /*!< (@ 0x48000118) Transmit/Receive Buffer Status Clear Register */ + __I uint32_t OUTR; /*!< (@ 0x4800011C) Receiver Buffer Output Register */ + __I uint32_t OUTDR; /*!< (@ 0x48000120) Receiver Buffer Output Register L for Debugger */ + __I uint32_t RESERVED3[23]; + __O uint32_t IN[32]; /*!< (@ 0x48000180) Transmit FIFO Buffer */ +} USIC_CH_TypeDef; + + +/* ================================================================================ */ +/* ================ SCU_GENERAL ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (SCU_GENERAL) + */ + +typedef struct { /*!< (@ 0x40010000) SCU_GENERAL Structure */ + __I uint32_t DBGROMID; /*!< (@ 0x40010000) Debug System ROM ID Register */ + __I uint32_t IDCHIP; /*!< (@ 0x40010004) Chip ID Register */ + __I uint32_t ID; /*!< (@ 0x40010008) SCU Module ID Register */ + __I uint32_t RESERVED[2]; + __IO uint32_t SSW0; /*!< (@ 0x40010014) SSW Register 0 */ + __I uint32_t RESERVED1[3]; + __IO uint32_t PASSWD; /*!< (@ 0x40010024) Password Register */ + __I uint32_t RESERVED2[2]; + __IO uint32_t CCUCON; /*!< (@ 0x40010030) CCU Control Register */ + __I uint32_t RESERVED3[5]; + __I uint32_t MIRRSTS; /*!< (@ 0x40010048) Mirror Update Status Register */ + __I uint32_t RESERVED4[2]; + __IO uint32_t PMTSR; /*!< (@ 0x40010054) Parity Memory Test Select Register */ +} SCU_GENERAL_Type; + + +/* ================================================================================ */ +/* ================ SCU_INTERRUPT ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (SCU_INTERRUPT) + */ + +typedef struct { /*!< (@ 0x40010038) SCU_INTERRUPT Structure */ + __I uint32_t SRRAW; /*!< (@ 0x40010038) SCU Raw Service Request Status */ + __IO uint32_t SRMSK; /*!< (@ 0x4001003C) SCU Service Request Mask */ + __O uint32_t SRCLR; /*!< (@ 0x40010040) SCU Service Request Clear */ + __O uint32_t SRSET; /*!< (@ 0x40010044) SCU Service Request Set */ +} SCU_INTERRUPT_TypeDef; + + +/* ================================================================================ */ +/* ================ SCU_POWER ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (SCU_POWER) + */ + +typedef struct { /*!< (@ 0x40010200) SCU_POWER Structure */ + __I uint32_t VDESR; /*!< (@ 0x40010200) Voltage Detector Status Register */ +} SCU_POWER_Type; + + +/* ================================================================================ */ +/* ================ SCU_CLK ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (SCU_CLK) + */ + +typedef struct { /*!< (@ 0x40010300) SCU_CLK Structure */ + __IO uint32_t CLKCR; /*!< (@ 0x40010300) Clock Control Register */ + __IO uint32_t PWRSVCR; /*!< (@ 0x40010304) Power Save Control Register */ + __I uint32_t CGATSTAT0; /*!< (@ 0x40010308) Peripheral 0 Clock Gating Status */ + __O uint32_t CGATSET0; /*!< (@ 0x4001030C) Peripheral 0 Clock Gating Set */ + __O uint32_t CGATCLR0; /*!< (@ 0x40010310) Peripheral 0 Clock Gating Clear */ + __IO uint32_t OSCCSR; /*!< (@ 0x40010314) Oscillator Control and Status Register */ +} SCU_CLK_TypeDef; + + +/* ================================================================================ */ +/* ================ SCU_RESET ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (SCU_RESET) + */ + +typedef struct { /*!< (@ 0x40010400) SCU_RESET Structure */ + __I uint32_t RSTSTAT; /*!< (@ 0x40010400) RCU Reset Status */ + __O uint32_t RSTSET; /*!< (@ 0x40010404) RCU Reset Set Register */ + __O uint32_t RSTCLR; /*!< (@ 0x40010408) RCU Reset Clear Register */ + __IO uint32_t RSTCON; /*!< (@ 0x4001040C) RCU Reset Control Register */ +} SCU_RESET_Type; + + +/* ================================================================================ */ +/* ================ COMPARATOR ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (COMPARATOR) + */ + +typedef struct { /*!< (@ 0x40010500) COMPARATOR Structure */ + __IO uint32_t ORCCTRL; /*!< (@ 0x40010500) Out Of Range Comparator Control Register */ + __I uint32_t RESERVED[726]; + __IO uint16_t ANACMP0; /*!< (@ 0x4001105C) Analog Comparator 0 Control Register */ + __I uint16_t RESERVED1; + __IO uint16_t ANACMP1; /*!< (@ 0x40011060) Analog Comparator 1 Control Register */ + __I uint16_t RESERVED2; + __IO uint16_t ANACMP2; /*!< (@ 0x40011064) Analog Comparator 2 Control Register */ +} COMPARATOR_Type; + + +/* ================================================================================ */ +/* ================ SCU_ANALOG ================ */ +/* ================================================================================ */ + + +/** + * @brief System Control Unit (SCU_ANALOG) + */ + +typedef struct { /*!< (@ 0x40011000) SCU_ANALOG Structure */ + __I uint32_t RESERVED[9]; + __IO uint16_t ANATSECTRL; /*!< (@ 0x40011024) Temperature Sensor Control Register */ + __I uint16_t RESERVED1[5]; + __IO uint16_t ANATSEIH; /*!< (@ 0x40011030) Temperature Sensor High Temperature Interrupt + Register */ + __I uint16_t RESERVED2; + __IO uint16_t ANATSEIL; /*!< (@ 0x40011034) Temperature Sensor Low Temperature Interrupt + Register */ + __I uint16_t RESERVED3[5]; + __I uint16_t ANATSEMON; /*!< (@ 0x40011040) Temperature Sensor Counter2 Monitor Register */ + __I uint16_t RESERVED4[7]; + __IO uint16_t ANAVDEL; /*!< (@ 0x40011050) Voltage Detector Control Register */ + __I uint16_t RESERVED5[13]; + __IO uint16_t ANAOFFSET; /*!< (@ 0x4001106C) DCO1 Offset Register */ +} SCU_ANALOG_Type; + + +/* ================================================================================ */ +/* ================ CCU4 [CCU40] ================ */ +/* ================================================================================ */ + + +/** + * @brief Capture Compare Unit 4 - Unit 0 (CCU4) + */ + +typedef struct { /*!< (@ 0x48040000) CCU4 Structure */ + __IO uint32_t GCTRL; /*!< (@ 0x48040000) Global Control Register */ + __I uint32_t GSTAT; /*!< (@ 0x48040004) Global Status Register */ + __O uint32_t GIDLS; /*!< (@ 0x48040008) Global Idle Set */ + __O uint32_t GIDLC; /*!< (@ 0x4804000C) Global Idle Clear */ + __O uint32_t GCSS; /*!< (@ 0x48040010) Global Channel Set */ + __O uint32_t GCSC; /*!< (@ 0x48040014) Global Channel Clear */ + __I uint32_t GCST; /*!< (@ 0x48040018) Global Channel Status */ + __I uint32_t RESERVED[25]; + __I uint32_t MIDR; /*!< (@ 0x48040080) Module Identification */ +} CCU4_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ CCU4_CC4 [CCU40_CC40] ================ */ +/* ================================================================================ */ + + +/** + * @brief Capture Compare Unit 4 - Unit 0 (CCU4_CC4) + */ + +typedef struct { /*!< (@ 0x48040100) CCU4_CC4 Structure */ + __IO uint32_t INS; /*!< (@ 0x48040100) Input Selector Configuration */ + __IO uint32_t CMC; /*!< (@ 0x48040104) Connection Matrix Control */ + __I uint32_t TCST; /*!< (@ 0x48040108) Slice Timer Status */ + __O uint32_t TCSET; /*!< (@ 0x4804010C) Slice Timer Run Set */ + __O uint32_t TCCLR; /*!< (@ 0x48040110) Slice Timer Clear */ + __IO uint32_t TC; /*!< (@ 0x48040114) Slice Timer Control */ + __IO uint32_t PSL; /*!< (@ 0x48040118) Passive Level Config */ + __I uint32_t DIT; /*!< (@ 0x4804011C) Dither Config */ + __IO uint32_t DITS; /*!< (@ 0x48040120) Dither Shadow Register */ + __IO uint32_t PSC; /*!< (@ 0x48040124) Prescaler Control */ + __IO uint32_t FPC; /*!< (@ 0x48040128) Floating Prescaler Control */ + __IO uint32_t FPCS; /*!< (@ 0x4804012C) Floating Prescaler Shadow */ + __I uint32_t PR; /*!< (@ 0x48040130) Timer Period Value */ + __IO uint32_t PRS; /*!< (@ 0x48040134) Timer Shadow Period Value */ + __I uint32_t CR; /*!< (@ 0x48040138) Timer Compare Value */ + __IO uint32_t CRS; /*!< (@ 0x4804013C) Timer Shadow Compare Value */ + __I uint32_t RESERVED[12]; + __IO uint32_t TIMER; /*!< (@ 0x48040170) Timer Value */ + __I uint32_t CV[4]; /*!< (@ 0x48040174) Capture Register 0 */ + __I uint32_t RESERVED1[7]; + __I uint32_t INTS; /*!< (@ 0x480401A0) Interrupt Status */ + __IO uint32_t INTE; /*!< (@ 0x480401A4) Interrupt Enable Control */ + __IO uint32_t SRS; /*!< (@ 0x480401A8) Service Request Selector */ + __O uint32_t SWS; /*!< (@ 0x480401AC) Interrupt Status Set */ + __O uint32_t SWR; /*!< (@ 0x480401B0) Interrupt Status Clear */ + __I uint32_t RESERVED2; + __I uint32_t ECRD0; /*!< (@ 0x480401B8) Extended Read Back 0 */ + __I uint32_t ECRD1; /*!< (@ 0x480401BC) Extended Read Back 1 */ +} CCU4_CC4_TypeDef; + + +/* ================================================================================ */ +/* ================ CCU8 [CCU80] ================ */ +/* ================================================================================ */ + + +/** + * @brief Capture Compare Unit 8 - Unit 0 (CCU8) + */ + +typedef struct { /*!< (@ 0x50000000) CCU8 Structure */ + __IO uint32_t GCTRL; /*!< (@ 0x50000000) Global Control Register */ + __I uint32_t GSTAT; /*!< (@ 0x50000004) Global Status Register */ + __O uint32_t GIDLS; /*!< (@ 0x50000008) Global Idle Set */ + __O uint32_t GIDLC; /*!< (@ 0x5000000C) Global Idle Clear */ + __O uint32_t GCSS; /*!< (@ 0x50000010) Global Channel Set */ + __O uint32_t GCSC; /*!< (@ 0x50000014) Global Channel Clear */ + __I uint32_t GCST; /*!< (@ 0x50000018) Global Channel status */ + __IO uint32_t GPCHK; /*!< (@ 0x5000001C) Parity Checker Configuration */ + __I uint32_t RESERVED[24]; + __I uint32_t MIDR; /*!< (@ 0x50000080) Module Identification */ +} CCU8_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ CCU8_CC8 [CCU80_CC80] ================ */ +/* ================================================================================ */ + + +/** + * @brief Capture Compare Unit 8 - Unit 0 (CCU8_CC8) + */ + +typedef struct { /*!< (@ 0x50000100) CCU8_CC8 Structure */ + __IO uint32_t INS; /*!< (@ 0x50000100) Input Selector Configuration */ + __IO uint32_t CMC; /*!< (@ 0x50000104) Connection Matrix Control */ + __I uint32_t TCST; /*!< (@ 0x50000108) Slice Timer Status */ + __O uint32_t TCSET; /*!< (@ 0x5000010C) Slice Timer Run Set */ + __O uint32_t TCCLR; /*!< (@ 0x50000110) Slice Timer Clear */ + __IO uint32_t TC; /*!< (@ 0x50000114) Slice Timer Control */ + __IO uint32_t PSL; /*!< (@ 0x50000118) Passive Level Config */ + __I uint32_t DIT; /*!< (@ 0x5000011C) Dither Config */ + __IO uint32_t DITS; /*!< (@ 0x50000120) Dither Shadow Register */ + __IO uint32_t PSC; /*!< (@ 0x50000124) Prescaler Control */ + __IO uint32_t FPC; /*!< (@ 0x50000128) Floating Prescaler Control */ + __IO uint32_t FPCS; /*!< (@ 0x5000012C) Floating Prescaler Shadow */ + __I uint32_t PR; /*!< (@ 0x50000130) Timer Period Value */ + __IO uint32_t PRS; /*!< (@ 0x50000134) Timer Shadow Period Value */ + __I uint32_t CR1; /*!< (@ 0x50000138) Channel 1 Compare Value */ + __IO uint32_t CR1S; /*!< (@ 0x5000013C) Channel 1 Compare Shadow Value */ + __I uint32_t CR2; /*!< (@ 0x50000140) Channel 2 Compare Value */ + __IO uint32_t CR2S; /*!< (@ 0x50000144) Channel 2 Compare Shadow Value */ + __IO uint32_t CHC; /*!< (@ 0x50000148) Channel Control */ + __IO uint32_t DTC; /*!< (@ 0x5000014C) Dead Time Control */ + __IO uint32_t DC1R; /*!< (@ 0x50000150) Channel 1 Dead Time Values */ + __IO uint32_t DC2R; /*!< (@ 0x50000154) Channel 2 Dead Time Values */ + __I uint32_t RESERVED[6]; + __IO uint32_t TIMER; /*!< (@ 0x50000170) Timer Value */ + __I uint32_t CV[4]; /*!< (@ 0x50000174) Capture Register 0 */ + __I uint32_t RESERVED1[7]; + __I uint32_t INTS; /*!< (@ 0x500001A0) Interrupt Status */ + __IO uint32_t INTE; /*!< (@ 0x500001A4) Interrupt Enable Control */ + __IO uint32_t SRS; /*!< (@ 0x500001A8) Service Request Selector */ + __O uint32_t SWS; /*!< (@ 0x500001AC) Interrupt Status Set */ + __O uint32_t SWR; /*!< (@ 0x500001B0) Interrupt Status Clear */ + __IO uint32_t STC; /*!< (@ 0x500001B4) Shadow transfer control */ + __I uint32_t ECRD0; /*!< (@ 0x500001B8) Extended Read Back 0 */ + __I uint32_t ECRD1; /*!< (@ 0x500001BC) Extended Read Back 1 */ +} CCU8_CC8_TypeDef; + + +/* ================================================================================ */ +/* ================ POSIF [POSIF0] ================ */ +/* ================================================================================ */ + + +/** + * @brief Position Interface 0 (POSIF) + */ + +typedef struct { /*!< (@ 0x50010000) POSIF Structure */ + __IO uint32_t PCONF; /*!< (@ 0x50010000) CORDIC Coprocessor configuration */ + __IO uint32_t PSUS; /*!< (@ 0x50010004) CORDIC Coprocessor Suspend Config */ + __O uint32_t PRUNS; /*!< (@ 0x50010008) CORDIC Coprocessor Run Bit Set */ + __O uint32_t PRUNC; /*!< (@ 0x5001000C) CORDIC Coprocessor Run Bit Clear */ + __I uint32_t PRUN; /*!< (@ 0x50010010) CORDIC Coprocessor Run Bit Status */ + __I uint32_t RESERVED[3]; + __I uint32_t MIDR; /*!< (@ 0x50010020) Module Identification register */ + __I uint32_t RESERVED1[3]; + __I uint32_t HALP; /*!< (@ 0x50010030) Hall Sensor Patterns */ + __IO uint32_t HALPS; /*!< (@ 0x50010034) Hall Sensor Shadow Patterns */ + __I uint32_t RESERVED2[2]; + __I uint32_t MCM; /*!< (@ 0x50010040) Multi-Channel Pattern */ + __IO uint32_t MCSM; /*!< (@ 0x50010044) Multi-Channel Shadow Pattern */ + __O uint32_t MCMS; /*!< (@ 0x50010048) Multi-Channel Pattern Control set */ + __O uint32_t MCMC; /*!< (@ 0x5001004C) Multi-Channel Pattern Control clear */ + __I uint32_t MCMF; /*!< (@ 0x50010050) Multi-Channel Pattern Control flag */ + __I uint32_t RESERVED3[3]; + __IO uint32_t QDC; /*!< (@ 0x50010060) Quadrature Decoder Control */ + __I uint32_t RESERVED4[3]; + __I uint32_t PFLG; /*!< (@ 0x50010070) CORDIC Coprocessor Interrupt Flags */ + __IO uint32_t PFLGE; /*!< (@ 0x50010074) CORDIC Coprocessor Interrupt Enable */ + __O uint32_t SPFLG; /*!< (@ 0x50010078) CORDIC Coprocessor Interrupt Set */ + __O uint32_t RPFLG; /*!< (@ 0x5001007C) CORDIC Coprocessor Interrupt Clear */ + __I uint32_t RESERVED5[32]; + __I uint32_t PDBG; /*!< (@ 0x50010100) CORDIC Coprocessor Debug register */ +} POSIF_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ VADC [VADC] ================ */ +/* ================================================================================ */ + + +/** + * @brief Analog to Digital Converter (VADC) + */ + +typedef struct { /*!< (@ 0x48030000) VADC Structure */ + __IO uint32_t CLC; /*!< (@ 0x48030000) Clock Control Register */ + __I uint32_t RESERVED; + __I uint32_t ID; /*!< (@ 0x48030008) Module Identification Register */ + __I uint32_t RESERVED1[7]; + __IO uint32_t OCS; /*!< (@ 0x48030028) OCDS Control and Status Register */ + __I uint32_t RESERVED2[21]; + __IO uint32_t GLOBCFG; /*!< (@ 0x48030080) Global Configuration Register */ + __I uint32_t RESERVED3; + __IO uint32_t ACCPROT0; /*!< (@ 0x48030088) Access Protection Register */ + __IO uint32_t ACCPROT1; /*!< (@ 0x4803008C) Access Protection Register */ + __I uint32_t RESERVED4[4]; + __IO uint32_t GLOBICLASS[2]; /*!< (@ 0x480300A0) Input Class Register, Global */ + __I uint32_t RESERVED5[4]; + __IO uint32_t GLOBBOUND; /*!< (@ 0x480300B8) Global Boundary Select Register */ + __I uint32_t RESERVED6[9]; + __IO uint32_t GLOBEFLAG; /*!< (@ 0x480300E0) Global Event Flag Register */ + __I uint32_t RESERVED7[23]; + __IO uint32_t GLOBEVNP; /*!< (@ 0x48030140) Global Event Node Pointer Register */ + __I uint32_t RESERVED8[15]; + __IO uint32_t BRSSEL[2]; /*!< (@ 0x48030180) Background Request Source Channel Select Register */ + __I uint32_t RESERVED9[14]; + __IO uint32_t BRSPND[2]; /*!< (@ 0x480301C0) Background Request Source Pending Register */ + __I uint32_t RESERVED10[14]; + __IO uint32_t BRSCTRL; /*!< (@ 0x48030200) Background Request Source Control Register */ + __IO uint32_t BRSMR; /*!< (@ 0x48030204) Background Request Source Mode Register */ + __I uint32_t RESERVED11[30]; + __IO uint32_t GLOBRCR; /*!< (@ 0x48030280) Global Result Control Register */ + __I uint32_t RESERVED12[31]; + __IO uint32_t GLOBRES; /*!< (@ 0x48030300) Global Result Register */ + __I uint32_t RESERVED13[31]; + __IO uint32_t GLOBRESD; /*!< (@ 0x48030380) Global Result Register, Debug */ + __I uint32_t RESERVED14[27]; + __IO uint32_t EMUXSEL; /*!< (@ 0x480303F0) External Multiplexer Select Register */ +} VADC_GLOBAL_TypeDef; + + +/* ================================================================================ */ +/* ================ VADC_G [VADC_G0] ================ */ +/* ================================================================================ */ + + +/** + * @brief Analog to Digital Converter (VADC_G) + */ + +typedef struct { /*!< (@ 0x48030400) VADC_G Structure */ + __I uint32_t RESERVED[32]; + __IO uint32_t ARBCFG; /*!< (@ 0x48030480) Arbitration Configuration Register */ + __IO uint32_t ARBPR; /*!< (@ 0x48030484) Arbitration Priority Register */ + __IO uint32_t CHASS; /*!< (@ 0x48030488) Channel Assignment Register */ + __IO uint32_t RRASS; /*!< (@ 0x4803048C) Result Assignment Register */ + __I uint32_t RESERVED1[4]; + __IO uint32_t ICLASS[2]; /*!< (@ 0x480304A0) Input Class Register 0 */ + __I uint32_t RESERVED2[2]; + __IO uint32_t ALIAS; /*!< (@ 0x480304B0) Alias Register */ + __I uint32_t RESERVED3; + __IO uint32_t BOUND; /*!< (@ 0x480304B8) Boundary Select Register */ + __I uint32_t RESERVED4; + __IO uint32_t SYNCTR; /*!< (@ 0x480304C0) Synchronization Control Register */ + __I uint32_t RESERVED5; + __IO uint32_t BFL; /*!< (@ 0x480304C8) Boundary Flag Register */ + __O uint32_t BFLS; /*!< (@ 0x480304CC) Boundary Flag Software Register */ + __IO uint32_t BFLC; /*!< (@ 0x480304D0) Boundary Flag Control Register */ + __IO uint32_t BFLNP; /*!< (@ 0x480304D4) Boundary Flag Node Pointer Register */ + __I uint32_t RESERVED6[10]; + __IO uint32_t QCTRL0; /*!< (@ 0x48030500) Queue 0 Source Control Register */ + __IO uint32_t QMR0; /*!< (@ 0x48030504) Queue 0 Mode Register */ + __I uint32_t QSR0; /*!< (@ 0x48030508) Queue 0 Status Register */ + __I uint32_t Q0R0; /*!< (@ 0x4803050C) Queue 0 Register 0 */ + + union { + __I uint32_t QBUR0; /*!< (@ 0x48030510) Queue 0 Backup Register */ + __O uint32_t QINR0; /*!< (@ 0x48030510) Queue 0 Input Register */ + }; + __I uint32_t RESERVED7[3]; + __IO uint32_t ASCTRL; /*!< (@ 0x48030520) Autoscan Source Control Register */ + __IO uint32_t ASMR; /*!< (@ 0x48030524) Autoscan Source Mode Register */ + __IO uint32_t ASSEL; /*!< (@ 0x48030528) Autoscan Source Channel Select Register */ + __IO uint32_t ASPND; /*!< (@ 0x4803052C) Autoscan Source Pending Register */ + __I uint32_t RESERVED8[20]; + __IO uint32_t CEFLAG; /*!< (@ 0x48030580) Channel Event Flag Register */ + __IO uint32_t REFLAG; /*!< (@ 0x48030584) Result Event Flag Register */ + __IO uint32_t SEFLAG; /*!< (@ 0x48030588) Source Event Flag Register */ + __I uint32_t RESERVED9; + __O uint32_t CEFCLR; /*!< (@ 0x48030590) Channel Event Flag Clear Register */ + __O uint32_t REFCLR; /*!< (@ 0x48030594) Result Event Flag Clear Register */ + __O uint32_t SEFCLR; /*!< (@ 0x48030598) Source Event Flag Clear Register */ + __I uint32_t RESERVED10; + __IO uint32_t CEVNP0; /*!< (@ 0x480305A0) Channel Event Node Pointer Register 0 */ + __I uint32_t RESERVED11[3]; + __IO uint32_t REVNP0; /*!< (@ 0x480305B0) Result Event Node Pointer Register 0 */ + __IO uint32_t REVNP1; /*!< (@ 0x480305B4) Result Event Node Pointer Register 1 */ + __I uint32_t RESERVED12[2]; + __IO uint32_t SEVNP; /*!< (@ 0x480305C0) Source Event Node Pointer Register */ + __I uint32_t RESERVED13; + __O uint32_t SRACT; /*!< (@ 0x480305C8) Service Request Software Activation Trigger */ + __I uint32_t RESERVED14[9]; + __IO uint32_t EMUXCTR; /*!< (@ 0x480305F0) E0ternal Multiplexer Control Register, Group + x */ + __I uint32_t RESERVED15; + __IO uint32_t VFR; /*!< (@ 0x480305F8) Valid Flag Register, Group 0 */ + __I uint32_t RESERVED16; + __IO uint32_t CHCTR[8]; /*!< (@ 0x48030600) Channel Ctrl. Reg. */ + __I uint32_t RESERVED17[24]; + __IO uint32_t RCR[16]; /*!< (@ 0x48030680) Result Control Reg. */ + __I uint32_t RESERVED18[16]; + __IO uint32_t RES[16]; /*!< (@ 0x48030700) Result Register */ + __I uint32_t RESERVED19[16]; + __I uint32_t RESD[16]; /*!< (@ 0x48030780) Result Register, Debug */ +} VADC_G_TypeDef; + + +/* ================================================================================ */ +/* ================ SHS [SHS0] ================ */ +/* ================================================================================ */ + + +/** + * @brief Sample and Hold ADC Sequencer (SHS) + */ + +typedef struct { /*!< (@ 0x48034000) SHS Structure */ + __I uint32_t RESERVED[2]; + __I uint32_t ID; /*!< (@ 0x48034008) Module Identification Register */ + __I uint32_t RESERVED1[13]; + __IO uint32_t SHSCFG; /*!< (@ 0x48034040) SHS Configuration Register */ + __IO uint32_t STEPCFG; /*!< (@ 0x48034044) Stepper Configuration Register */ + __I uint32_t RESERVED2[2]; + __IO uint32_t LOOP; /*!< (@ 0x48034050) Loop Control Register */ + __I uint32_t RESERVED3[11]; + __IO uint32_t TIMCFG0; /*!< (@ 0x48034080) Timing Configuration Register 0 */ + __IO uint32_t TIMCFG1; /*!< (@ 0x48034084) Timing Configuration Register 1 */ + __I uint32_t RESERVED4[13]; + __IO uint32_t CALCTR; /*!< (@ 0x480340BC) Calibration Control Register */ + __IO uint32_t CALGC0; /*!< (@ 0x480340C0) Gain Calibration Control Register 0 */ + __IO uint32_t CALGC1; /*!< (@ 0x480340C4) Gain Calibration Control Register 1 */ + __I uint32_t RESERVED5[6]; + __IO uint32_t CALOC0; /*!< (@ 0x480340E0) Offset Calibration Control Register 0 */ + __IO uint32_t CALOC1; /*!< (@ 0x480340E4) Offset Calibration Control Register 1 */ + __I uint32_t RESERVED6[38]; + __IO uint32_t GNCTR00; /*!< (@ 0x48034180) Gain Control Register 00 */ + __I uint32_t RESERVED7[3]; + __IO uint32_t GNCTR10; /*!< (@ 0x48034190) Gain Control Register 10 */ +} SHS_Type; + + +/* ================================================================================ */ +/* ================ BCCU [BCCU0] ================ */ +/* ================================================================================ */ + + +/** + * @brief BCCU Unit 0 (BCCU) + */ + +typedef struct { /*!< (@ 0x50030000) BCCU Structure */ + __IO uint32_t GLOBCON; /*!< (@ 0x50030000) Global Control */ + __IO uint32_t GLOBCLK; /*!< (@ 0x50030004) Global Clock */ + __I uint32_t ID; /*!< (@ 0x50030008) Module Identification */ + __IO uint32_t CHEN; /*!< (@ 0x5003000C) Channel Enable */ + __IO uint32_t CHOCON; /*!< (@ 0x50030010) Channel Output Control */ + __IO uint32_t CHTRIG; /*!< (@ 0x50030014) Channel Trigger */ + __IO uint32_t CHSTRCON; /*!< (@ 0x50030018) Channel Shadow Transfer */ + __I uint32_t LTCHOL; /*!< (@ 0x5003001C) Last Trigger Channel Output Level */ + __IO uint32_t DEEN; /*!< (@ 0x50030020) Dimming Engine Enable */ + __IO uint32_t DESTRCON; /*!< (@ 0x50030024) Dimming Shadow Transfer */ + __IO uint32_t GLOBDIM; /*!< (@ 0x50030028) Global Dimming Level */ + __IO uint32_t EVIER; /*!< (@ 0x5003002C) Event Interrupt Enable */ + __I uint32_t EVFR; /*!< (@ 0x50030030) Event Flag */ + __O uint32_t EVFSR; /*!< (@ 0x50030034) Event Flag Set */ + __O uint32_t EVFCR; /*!< (@ 0x50030038) Event Flag Clear */ +} BCCU_Type; + + +/* ================================================================================ */ +/* ================ BCCU_CH [BCCU0_CH0] ================ */ +/* ================================================================================ */ + + +/** + * @brief BCCU Unit 0 (BCCU_CH) + */ + +typedef struct { /*!< (@ 0x5003003C) BCCU_CH Structure */ + __IO uint32_t INTS; /*!< (@ 0x5003003C) Channel Intensit0 Shadow */ + __I uint32_t INT; /*!< (@ 0x50030040) Channel Intensit0 */ + __IO uint32_t CHCONFIG; /*!< (@ 0x50030044) Channel Configuration */ + __IO uint32_t PKCMP; /*!< (@ 0x50030048) Packer Compare */ + __IO uint32_t PKCNTR; /*!< (@ 0x5003004C) Packer Counter */ +} BCCU_CH_Type; + + +/* ================================================================================ */ +/* ================ BCCU_DE [BCCU0_DE0] ================ */ +/* ================================================================================ */ + + +/** + * @brief BCCU Unit 0 (BCCU_DE) + */ + +typedef struct { /*!< (@ 0x5003017C) BCCU_DE Structure */ + __IO uint32_t DLS; /*!< (@ 0x5003017C) Dimming Level Shadow */ + __I uint32_t DL; /*!< (@ 0x50030180) Dimming Level */ + __IO uint32_t DTT; /*!< (@ 0x50030184) Dimming Transition Time */ +} BCCU_DE_Type; + + +/* ================================================================================ */ +/* ================ PORT0 ================ */ +/* ================================================================================ */ + + +/** + * @brief Port 0 (PORT0) + */ + +typedef struct { /*!< (@ 0x40040000) PORT0 Structure */ + __IO uint32_t OUT; /*!< (@ 0x40040000) Port 0 Output Register */ + __O uint32_t OMR; /*!< (@ 0x40040004) Port 0 Output Modification Register */ + __I uint32_t RESERVED[2]; + __IO uint32_t IOCR0; /*!< (@ 0x40040010) Port 0 Input/Output Control Register 0 */ + __IO uint32_t IOCR4; /*!< (@ 0x40040014) Port 0 Input/Output Control Register 4 */ + __IO uint32_t IOCR8; /*!< (@ 0x40040018) Port 0 Input/Output Control Register 8 */ + __IO uint32_t IOCR12; /*!< (@ 0x4004001C) Port 0 Input/Output Control Register 12 */ + __I uint32_t RESERVED1; + __I uint32_t IN; /*!< (@ 0x40040024) Port 0 Input Register */ + __I uint32_t RESERVED2[6]; + __IO uint32_t PHCR0; /*!< (@ 0x40040040) Port 0 Pad Hysteresis Control Register 0 */ + __IO uint32_t PHCR1; /*!< (@ 0x40040044) Port 0 Pad Hysteresis Control Register 1 */ + __I uint32_t RESERVED3[6]; + __I uint32_t PDISC; /*!< (@ 0x40040060) Port 0 Pin Function Decision Control Register */ + __I uint32_t RESERVED4[3]; + __IO uint32_t PPS; /*!< (@ 0x40040070) Port 0 Pin Power Save Register */ + __IO uint32_t HWSEL; /*!< (@ 0x40040074) Port 0 Pin Hardware Select Register */ +} PORT0_Type; + + +/* ================================================================================ */ +/* ================ PORT1 ================ */ +/* ================================================================================ */ + + +/** + * @brief Port 1 (PORT1) + */ + +typedef struct { /*!< (@ 0x40040100) PORT1 Structure */ + __IO uint32_t OUT; /*!< (@ 0x40040100) Port 1 Output Register */ + __O uint32_t OMR; /*!< (@ 0x40040104) Port 1 Output Modification Register */ + __I uint32_t RESERVED[2]; + __IO uint32_t IOCR0; /*!< (@ 0x40040110) Port 1 Input/Output Control Register 0 */ + __IO uint32_t IOCR4; /*!< (@ 0x40040114) Port 1 Input/Output Control Register 4 */ + __I uint32_t RESERVED1[3]; + __I uint32_t IN; /*!< (@ 0x40040124) Port 1 Input Register */ + __I uint32_t RESERVED2[6]; + __IO uint32_t PHCR0; /*!< (@ 0x40040140) Port 1 Pad Hysteresis Control Register 0 */ + __I uint32_t RESERVED3[7]; + __I uint32_t PDISC; /*!< (@ 0x40040160) Port 1 Pin Function Decision Control Register */ + __I uint32_t RESERVED4[3]; + __IO uint32_t PPS; /*!< (@ 0x40040170) Port 1 Pin Power Save Register */ + __IO uint32_t HWSEL; /*!< (@ 0x40040174) Port 1 Pin Hardware Select Register */ +} PORT1_Type; + + +/* ================================================================================ */ +/* ================ PORT2 ================ */ +/* ================================================================================ */ + + +/** + * @brief Port 2 (PORT2) + */ + +typedef struct { /*!< (@ 0x40040200) PORT2 Structure */ + __IO uint32_t OUT; /*!< (@ 0x40040200) Port 2 Output Register */ + __O uint32_t OMR; /*!< (@ 0x40040204) Port 2 Output Modification Register */ + __I uint32_t RESERVED[2]; + __IO uint32_t IOCR0; /*!< (@ 0x40040210) Port 2 Input/Output Control Register 0 */ + __IO uint32_t IOCR4; /*!< (@ 0x40040214) Port 2 Input/Output Control Register 4 */ + __IO uint32_t IOCR8; /*!< (@ 0x40040218) Port 2 Input/Output Control Register 8 */ + __I uint32_t RESERVED1[2]; + __I uint32_t IN; /*!< (@ 0x40040224) Port 2 Input Register */ + __I uint32_t RESERVED2[6]; + __IO uint32_t PHCR0; /*!< (@ 0x40040240) Port 2 Pad Hysteresis Control Register 0 */ + __IO uint32_t PHCR1; /*!< (@ 0x40040244) Port 2 Pad Hysteresis Control Register 1 */ + __I uint32_t RESERVED3[6]; + __IO uint32_t PDISC; /*!< (@ 0x40040260) Port 2 Pin Function Decision Control Register */ + __I uint32_t RESERVED4[3]; + __IO uint32_t PPS; /*!< (@ 0x40040270) Port 2 Pin Power Save Register */ + __IO uint32_t HWSEL; /*!< (@ 0x40040274) Port 2 Pin Hardware Select Register */ +} PORT2_Type; + + +/* -------------------- End of section using anonymous unions ------------------- */ +#if defined(__CC_ARM) + #pragma pop +#elif defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) + #pragma clang diagnostic pop +#elif defined(__ICCARM__) + /* leave anonymous unions enabled */ +#elif defined(__GNUC__) + /* anonymous unions are enabled by default */ +#elif defined(__TMS470__) + /* anonymous unions are enabled by default */ +#elif defined(__TASKING__) + #pragma warning restore +#else + #warning Not supported compiler type +#endif + + + +/* ================================================================================ */ +/* ================ struct 'PPB' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- PPB_SYST_CSR -------------------------------- */ +#define PPB_SYST_CSR_ENABLE_Pos (0UL) /*!< PPB SYST_CSR: ENABLE (Bit 0) */ +#define PPB_SYST_CSR_ENABLE_Msk (0x1UL) /*!< PPB SYST_CSR: ENABLE (Bitfield-Mask: 0x01) */ +#define PPB_SYST_CSR_TICKINT_Pos (1UL) /*!< PPB SYST_CSR: TICKINT (Bit 1) */ +#define PPB_SYST_CSR_TICKINT_Msk (0x2UL) /*!< PPB SYST_CSR: TICKINT (Bitfield-Mask: 0x01) */ +#define PPB_SYST_CSR_CLKSOURCE_Pos (2UL) /*!< PPB SYST_CSR: CLKSOURCE (Bit 2) */ +#define PPB_SYST_CSR_CLKSOURCE_Msk (0x4UL) /*!< PPB SYST_CSR: CLKSOURCE (Bitfield-Mask: 0x01) */ +#define PPB_SYST_CSR_COUNTFLAG_Pos (16UL) /*!< PPB SYST_CSR: COUNTFLAG (Bit 16) */ +#define PPB_SYST_CSR_COUNTFLAG_Msk (0x10000UL) /*!< PPB SYST_CSR: COUNTFLAG (Bitfield-Mask: 0x01) */ + +/* -------------------------------- PPB_SYST_RVR -------------------------------- */ +#define PPB_SYST_RVR_RELOAD_Pos (0UL) /*!< PPB SYST_RVR: RELOAD (Bit 0) */ +#define PPB_SYST_RVR_RELOAD_Msk (0xffffffUL) /*!< PPB SYST_RVR: RELOAD (Bitfield-Mask: 0xffffff) */ + +/* -------------------------------- PPB_SYST_CVR -------------------------------- */ +#define PPB_SYST_CVR_CURRENT_Pos (0UL) /*!< PPB SYST_CVR: CURRENT (Bit 0) */ +#define PPB_SYST_CVR_CURRENT_Msk (0xffffffUL) /*!< PPB SYST_CVR: CURRENT (Bitfield-Mask: 0xffffff) */ + +/* ------------------------------- PPB_SYST_CALIB ------------------------------- */ +#define PPB_SYST_CALIB_TENMS_Pos (0UL) /*!< PPB SYST_CALIB: TENMS (Bit 0) */ +#define PPB_SYST_CALIB_TENMS_Msk (0xffffffUL) /*!< PPB SYST_CALIB: TENMS (Bitfield-Mask: 0xffffff) */ +#define PPB_SYST_CALIB_SKEW_Pos (30UL) /*!< PPB SYST_CALIB: SKEW (Bit 30) */ +#define PPB_SYST_CALIB_SKEW_Msk (0x40000000UL) /*!< PPB SYST_CALIB: SKEW (Bitfield-Mask: 0x01) */ +#define PPB_SYST_CALIB_NOREF_Pos (31UL) /*!< PPB SYST_CALIB: NOREF (Bit 31) */ +#define PPB_SYST_CALIB_NOREF_Msk (0x80000000UL) /*!< PPB SYST_CALIB: NOREF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- PPB_NVIC_ISER ------------------------------- */ +#define PPB_NVIC_ISER_SETENA_Pos (0UL) /*!< PPB NVIC_ISER: SETENA (Bit 0) */ +#define PPB_NVIC_ISER_SETENA_Msk (0xffffffffUL) /*!< PPB NVIC_ISER: SETENA (Bitfield-Mask: 0xffffffff) */ + +/* -------------------------------- PPB_NVIC_ICER ------------------------------- */ +#define PPB_NVIC_ICER_CLRENA_Pos (0UL) /*!< PPB NVIC_ICER: CLRENA (Bit 0) */ +#define PPB_NVIC_ICER_CLRENA_Msk (0xffffffffUL) /*!< PPB NVIC_ICER: CLRENA (Bitfield-Mask: 0xffffffff) */ + +/* -------------------------------- PPB_NVIC_ISPR ------------------------------- */ +#define PPB_NVIC_ISPR_SETPEND_Pos (0UL) /*!< PPB NVIC_ISPR: SETPEND (Bit 0) */ +#define PPB_NVIC_ISPR_SETPEND_Msk (0xffffffffUL) /*!< PPB NVIC_ISPR: SETPEND (Bitfield-Mask: 0xffffffff) */ + +/* -------------------------------- PPB_NVIC_ICPR ------------------------------- */ +#define PPB_NVIC_ICPR_CLRPEND_Pos (0UL) /*!< PPB NVIC_ICPR: CLRPEND (Bit 0) */ +#define PPB_NVIC_ICPR_CLRPEND_Msk (0xffffffffUL) /*!< PPB NVIC_ICPR: CLRPEND (Bitfield-Mask: 0xffffffff) */ + +/* -------------------------------- PPB_NVIC_IPR0 ------------------------------- */ +#define PPB_NVIC_IPR0_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR0: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR0_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR0: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR0_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR0: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR0_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR0: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR0_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR0: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR0_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR0: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR0_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR0: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR0_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR0: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR1 ------------------------------- */ +#define PPB_NVIC_IPR1_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR1: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR1_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR1: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR1_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR1: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR1_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR1: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR1_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR1: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR1_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR1: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR1_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR1: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR1_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR1: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR2 ------------------------------- */ +#define PPB_NVIC_IPR2_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR2: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR2_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR2: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR2_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR2: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR2_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR2: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR2_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR2: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR2_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR2: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR2_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR2: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR2_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR2: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR3 ------------------------------- */ +#define PPB_NVIC_IPR3_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR3: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR3_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR3: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR3_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR3: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR3_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR3: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR3_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR3: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR3_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR3: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR3_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR3: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR3_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR3: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR4 ------------------------------- */ +#define PPB_NVIC_IPR4_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR4: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR4_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR4: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR4_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR4: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR4_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR4: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR4_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR4: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR4_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR4: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR4_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR4: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR4_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR4: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR5 ------------------------------- */ +#define PPB_NVIC_IPR5_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR5: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR5_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR5: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR5_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR5: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR5_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR5: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR5_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR5: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR5_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR5: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR5_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR5: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR5_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR5: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR6 ------------------------------- */ +#define PPB_NVIC_IPR6_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR6: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR6_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR6: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR6_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR6: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR6_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR6: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR6_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR6: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR6_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR6: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR6_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR6: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR6_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR6: PRI_3 (Bitfield-Mask: 0xff) */ + +/* -------------------------------- PPB_NVIC_IPR7 ------------------------------- */ +#define PPB_NVIC_IPR7_PRI_0_Pos (0UL) /*!< PPB NVIC_IPR7: PRI_0 (Bit 0) */ +#define PPB_NVIC_IPR7_PRI_0_Msk (0xffUL) /*!< PPB NVIC_IPR7: PRI_0 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR7_PRI_1_Pos (8UL) /*!< PPB NVIC_IPR7: PRI_1 (Bit 8) */ +#define PPB_NVIC_IPR7_PRI_1_Msk (0xff00UL) /*!< PPB NVIC_IPR7: PRI_1 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR7_PRI_2_Pos (16UL) /*!< PPB NVIC_IPR7: PRI_2 (Bit 16) */ +#define PPB_NVIC_IPR7_PRI_2_Msk (0xff0000UL) /*!< PPB NVIC_IPR7: PRI_2 (Bitfield-Mask: 0xff) */ +#define PPB_NVIC_IPR7_PRI_3_Pos (24UL) /*!< PPB NVIC_IPR7: PRI_3 (Bit 24) */ +#define PPB_NVIC_IPR7_PRI_3_Msk (0xff000000UL) /*!< PPB NVIC_IPR7: PRI_3 (Bitfield-Mask: 0xff) */ + +/* ---------------------------------- PPB_CPUID --------------------------------- */ +#define PPB_CPUID_Revision_Pos (0UL) /*!< PPB CPUID: Revision (Bit 0) */ +#define PPB_CPUID_Revision_Msk (0xfUL) /*!< PPB CPUID: Revision (Bitfield-Mask: 0x0f) */ +#define PPB_CPUID_PartNo_Pos (4UL) /*!< PPB CPUID: PartNo (Bit 4) */ +#define PPB_CPUID_PartNo_Msk (0xfff0UL) /*!< PPB CPUID: PartNo (Bitfield-Mask: 0xfff) */ +#define PPB_CPUID_Architecture_Pos (16UL) /*!< PPB CPUID: Architecture (Bit 16) */ +#define PPB_CPUID_Architecture_Msk (0xf0000UL) /*!< PPB CPUID: Architecture (Bitfield-Mask: 0x0f) */ +#define PPB_CPUID_Variant_Pos (20UL) /*!< PPB CPUID: Variant (Bit 20) */ +#define PPB_CPUID_Variant_Msk (0xf00000UL) /*!< PPB CPUID: Variant (Bitfield-Mask: 0x0f) */ +#define PPB_CPUID_Implementer_Pos (24UL) /*!< PPB CPUID: Implementer (Bit 24) */ +#define PPB_CPUID_Implementer_Msk (0xff000000UL) /*!< PPB CPUID: Implementer (Bitfield-Mask: 0xff) */ + +/* ---------------------------------- PPB_ICSR ---------------------------------- */ +#define PPB_ICSR_VECTACTIVE_Pos (0UL) /*!< PPB ICSR: VECTACTIVE (Bit 0) */ +#define PPB_ICSR_VECTACTIVE_Msk (0x3fUL) /*!< PPB ICSR: VECTACTIVE (Bitfield-Mask: 0x3f) */ +#define PPB_ICSR_VECTPENDING_Pos (12UL) /*!< PPB ICSR: VECTPENDING (Bit 12) */ +#define PPB_ICSR_VECTPENDING_Msk (0x3f000UL) /*!< PPB ICSR: VECTPENDING (Bitfield-Mask: 0x3f) */ +#define PPB_ICSR_ISRPENDING_Pos (22UL) /*!< PPB ICSR: ISRPENDING (Bit 22) */ +#define PPB_ICSR_ISRPENDING_Msk (0x400000UL) /*!< PPB ICSR: ISRPENDING (Bitfield-Mask: 0x01) */ +#define PPB_ICSR_PENDSTCLR_Pos (25UL) /*!< PPB ICSR: PENDSTCLR (Bit 25) */ +#define PPB_ICSR_PENDSTCLR_Msk (0x2000000UL) /*!< PPB ICSR: PENDSTCLR (Bitfield-Mask: 0x01) */ +#define PPB_ICSR_PENDSTSET_Pos (26UL) /*!< PPB ICSR: PENDSTSET (Bit 26) */ +#define PPB_ICSR_PENDSTSET_Msk (0x4000000UL) /*!< PPB ICSR: PENDSTSET (Bitfield-Mask: 0x01) */ +#define PPB_ICSR_PENDSVCLR_Pos (27UL) /*!< PPB ICSR: PENDSVCLR (Bit 27) */ +#define PPB_ICSR_PENDSVCLR_Msk (0x8000000UL) /*!< PPB ICSR: PENDSVCLR (Bitfield-Mask: 0x01) */ +#define PPB_ICSR_PENDSVSET_Pos (28UL) /*!< PPB ICSR: PENDSVSET (Bit 28) */ +#define PPB_ICSR_PENDSVSET_Msk (0x10000000UL) /*!< PPB ICSR: PENDSVSET (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PPB_AIRCR --------------------------------- */ +#define PPB_AIRCR_SYSRESETREQ_Pos (2UL) /*!< PPB AIRCR: SYSRESETREQ (Bit 2) */ +#define PPB_AIRCR_SYSRESETREQ_Msk (0x4UL) /*!< PPB AIRCR: SYSRESETREQ (Bitfield-Mask: 0x01) */ +#define PPB_AIRCR_ENDIANNESS_Pos (15UL) /*!< PPB AIRCR: ENDIANNESS (Bit 15) */ +#define PPB_AIRCR_ENDIANNESS_Msk (0x8000UL) /*!< PPB AIRCR: ENDIANNESS (Bitfield-Mask: 0x01) */ +#define PPB_AIRCR_VECTKEY_Pos (16UL) /*!< PPB AIRCR: VECTKEY (Bit 16) */ +#define PPB_AIRCR_VECTKEY_Msk (0xffff0000UL) /*!< PPB AIRCR: VECTKEY (Bitfield-Mask: 0xffff) */ + +/* ----------------------------------- PPB_SCR ---------------------------------- */ +#define PPB_SCR_SLEEPONEXIT_Pos (1UL) /*!< PPB SCR: SLEEPONEXIT (Bit 1) */ +#define PPB_SCR_SLEEPONEXIT_Msk (0x2UL) /*!< PPB SCR: SLEEPONEXIT (Bitfield-Mask: 0x01) */ +#define PPB_SCR_SLEEPDEEP_Pos (2UL) /*!< PPB SCR: SLEEPDEEP (Bit 2) */ +#define PPB_SCR_SLEEPDEEP_Msk (0x4UL) /*!< PPB SCR: SLEEPDEEP (Bitfield-Mask: 0x01) */ +#define PPB_SCR_SEVONPEND_Pos (4UL) /*!< PPB SCR: SEVONPEND (Bit 4) */ +#define PPB_SCR_SEVONPEND_Msk (0x10UL) /*!< PPB SCR: SEVONPEND (Bitfield-Mask: 0x01) */ + +/* ----------------------------------- PPB_CCR ---------------------------------- */ +#define PPB_CCR_UNALIGN_TRP_Pos (3UL) /*!< PPB CCR: UNALIGN_TRP (Bit 3) */ +#define PPB_CCR_UNALIGN_TRP_Msk (0x8UL) /*!< PPB CCR: UNALIGN_TRP (Bitfield-Mask: 0x01) */ +#define PPB_CCR_STKALIGN_Pos (9UL) /*!< PPB CCR: STKALIGN (Bit 9) */ +#define PPB_CCR_STKALIGN_Msk (0x200UL) /*!< PPB CCR: STKALIGN (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PPB_SHPR2 --------------------------------- */ +#define PPB_SHPR2_PRI_11_Pos (24UL) /*!< PPB SHPR2: PRI_11 (Bit 24) */ +#define PPB_SHPR2_PRI_11_Msk (0xff000000UL) /*!< PPB SHPR2: PRI_11 (Bitfield-Mask: 0xff) */ + +/* ---------------------------------- PPB_SHPR3 --------------------------------- */ +#define PPB_SHPR3_PRI_14_Pos (16UL) /*!< PPB SHPR3: PRI_14 (Bit 16) */ +#define PPB_SHPR3_PRI_14_Msk (0xff0000UL) /*!< PPB SHPR3: PRI_14 (Bitfield-Mask: 0xff) */ +#define PPB_SHPR3_PRI_15_Pos (24UL) /*!< PPB SHPR3: PRI_15 (Bit 24) */ +#define PPB_SHPR3_PRI_15_Msk (0xff000000UL) /*!< PPB SHPR3: PRI_15 (Bitfield-Mask: 0xff) */ + +/* ---------------------------------- PPB_SHCSR --------------------------------- */ +#define PPB_SHCSR_SVCALLPENDED_Pos (15UL) /*!< PPB SHCSR: SVCALLPENDED (Bit 15) */ +#define PPB_SHCSR_SVCALLPENDED_Msk (0x8000UL) /*!< PPB SHCSR: SVCALLPENDED (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ Group 'ERU' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- ERU_EXISEL --------------------------------- */ +#define ERU_EXISEL_EXS0A_Pos (0UL) /*!< ERU EXISEL: EXS0A (Bit 0) */ +#define ERU_EXISEL_EXS0A_Msk (0x3UL) /*!< ERU EXISEL: EXS0A (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS0B_Pos (2UL) /*!< ERU EXISEL: EXS0B (Bit 2) */ +#define ERU_EXISEL_EXS0B_Msk (0xcUL) /*!< ERU EXISEL: EXS0B (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS1A_Pos (4UL) /*!< ERU EXISEL: EXS1A (Bit 4) */ +#define ERU_EXISEL_EXS1A_Msk (0x30UL) /*!< ERU EXISEL: EXS1A (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS1B_Pos (6UL) /*!< ERU EXISEL: EXS1B (Bit 6) */ +#define ERU_EXISEL_EXS1B_Msk (0xc0UL) /*!< ERU EXISEL: EXS1B (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS2A_Pos (8UL) /*!< ERU EXISEL: EXS2A (Bit 8) */ +#define ERU_EXISEL_EXS2A_Msk (0x300UL) /*!< ERU EXISEL: EXS2A (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS2B_Pos (10UL) /*!< ERU EXISEL: EXS2B (Bit 10) */ +#define ERU_EXISEL_EXS2B_Msk (0xc00UL) /*!< ERU EXISEL: EXS2B (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS3A_Pos (12UL) /*!< ERU EXISEL: EXS3A (Bit 12) */ +#define ERU_EXISEL_EXS3A_Msk (0x3000UL) /*!< ERU EXISEL: EXS3A (Bitfield-Mask: 0x03) */ +#define ERU_EXISEL_EXS3B_Pos (14UL) /*!< ERU EXISEL: EXS3B (Bit 14) */ +#define ERU_EXISEL_EXS3B_Msk (0xc000UL) /*!< ERU EXISEL: EXS3B (Bitfield-Mask: 0x03) */ + +/* --------------------------------- ERU_EXICON --------------------------------- */ +#define ERU_EXICON_PE_Pos (0UL) /*!< ERU EXICON: PE (Bit 0) */ +#define ERU_EXICON_PE_Msk (0x1UL) /*!< ERU EXICON: PE (Bitfield-Mask: 0x01) */ +#define ERU_EXICON_LD_Pos (1UL) /*!< ERU EXICON: LD (Bit 1) */ +#define ERU_EXICON_LD_Msk (0x2UL) /*!< ERU EXICON: LD (Bitfield-Mask: 0x01) */ +#define ERU_EXICON_RE_Pos (2UL) /*!< ERU EXICON: RE (Bit 2) */ +#define ERU_EXICON_RE_Msk (0x4UL) /*!< ERU EXICON: RE (Bitfield-Mask: 0x01) */ +#define ERU_EXICON_FE_Pos (3UL) /*!< ERU EXICON: FE (Bit 3) */ +#define ERU_EXICON_FE_Msk (0x8UL) /*!< ERU EXICON: FE (Bitfield-Mask: 0x01) */ +#define ERU_EXICON_OCS_Pos (4UL) /*!< ERU EXICON: OCS (Bit 4) */ +#define ERU_EXICON_OCS_Msk (0x70UL) /*!< ERU EXICON: OCS (Bitfield-Mask: 0x07) */ +#define ERU_EXICON_FL_Pos (7UL) /*!< ERU EXICON: FL (Bit 7) */ +#define ERU_EXICON_FL_Msk (0x80UL) /*!< ERU EXICON: FL (Bitfield-Mask: 0x01) */ +#define ERU_EXICON_SS_Pos (8UL) /*!< ERU EXICON: SS (Bit 8) */ +#define ERU_EXICON_SS_Msk (0x300UL) /*!< ERU EXICON: SS (Bitfield-Mask: 0x03) */ +#define ERU_EXICON_NA_Pos (10UL) /*!< ERU EXICON: NA (Bit 10) */ +#define ERU_EXICON_NA_Msk (0x400UL) /*!< ERU EXICON: NA (Bitfield-Mask: 0x01) */ +#define ERU_EXICON_NB_Pos (11UL) /*!< ERU EXICON: NB (Bit 11) */ +#define ERU_EXICON_NB_Msk (0x800UL) /*!< ERU EXICON: NB (Bitfield-Mask: 0x01) */ + +/* --------------------------------- ERU_EXOCON --------------------------------- */ +#define ERU_EXOCON_ISS_Pos (0UL) /*!< ERU EXOCON: ISS (Bit 0) */ +#define ERU_EXOCON_ISS_Msk (0x3UL) /*!< ERU EXOCON: ISS (Bitfield-Mask: 0x03) */ +#define ERU_EXOCON_GEEN_Pos (2UL) /*!< ERU EXOCON: GEEN (Bit 2) */ +#define ERU_EXOCON_GEEN_Msk (0x4UL) /*!< ERU EXOCON: GEEN (Bitfield-Mask: 0x01) */ +#define ERU_EXOCON_PDR_Pos (3UL) /*!< ERU EXOCON: PDR (Bit 3) */ +#define ERU_EXOCON_PDR_Msk (0x8UL) /*!< ERU EXOCON: PDR (Bitfield-Mask: 0x01) */ +#define ERU_EXOCON_GP_Pos (4UL) /*!< ERU EXOCON: GP (Bit 4) */ +#define ERU_EXOCON_GP_Msk (0x30UL) /*!< ERU EXOCON: GP (Bitfield-Mask: 0x03) */ +#define ERU_EXOCON_IPEN0_Pos (12UL) /*!< ERU EXOCON: IPEN0 (Bit 12) */ +#define ERU_EXOCON_IPEN0_Msk (0x1000UL) /*!< ERU EXOCON: IPEN0 (Bitfield-Mask: 0x01) */ +#define ERU_EXOCON_IPEN1_Pos (13UL) /*!< ERU EXOCON: IPEN1 (Bit 13) */ +#define ERU_EXOCON_IPEN1_Msk (0x2000UL) /*!< ERU EXOCON: IPEN1 (Bitfield-Mask: 0x01) */ +#define ERU_EXOCON_IPEN2_Pos (14UL) /*!< ERU EXOCON: IPEN2 (Bit 14) */ +#define ERU_EXOCON_IPEN2_Msk (0x4000UL) /*!< ERU EXOCON: IPEN2 (Bitfield-Mask: 0x01) */ +#define ERU_EXOCON_IPEN3_Pos (15UL) /*!< ERU EXOCON: IPEN3 (Bit 15) */ +#define ERU_EXOCON_IPEN3_Msk (0x8000UL) /*!< ERU EXOCON: IPEN3 (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'MATH' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- MATH_GLBCON -------------------------------- */ +#define MATH_GLBCON_DVDRC_Pos (0UL) /*!< MATH GLBCON: DVDRC (Bit 0) */ +#define MATH_GLBCON_DVDRC_Msk (0x7UL) /*!< MATH GLBCON: DVDRC (Bitfield-Mask: 0x07) */ +#define MATH_GLBCON_DVSRC_Pos (3UL) /*!< MATH GLBCON: DVSRC (Bit 3) */ +#define MATH_GLBCON_DVSRC_Msk (0x38UL) /*!< MATH GLBCON: DVSRC (Bitfield-Mask: 0x07) */ +#define MATH_GLBCON_CORDXRC_Pos (6UL) /*!< MATH GLBCON: CORDXRC (Bit 6) */ +#define MATH_GLBCON_CORDXRC_Msk (0xc0UL) /*!< MATH GLBCON: CORDXRC (Bitfield-Mask: 0x03) */ +#define MATH_GLBCON_CORDYRC_Pos (9UL) /*!< MATH GLBCON: CORDYRC (Bit 9) */ +#define MATH_GLBCON_CORDYRC_Msk (0x600UL) /*!< MATH GLBCON: CORDYRC (Bitfield-Mask: 0x03) */ +#define MATH_GLBCON_CORDZRC_Pos (12UL) /*!< MATH GLBCON: CORDZRC (Bit 12) */ +#define MATH_GLBCON_CORDZRC_Msk (0x3000UL) /*!< MATH GLBCON: CORDZRC (Bitfield-Mask: 0x03) */ +#define MATH_GLBCON_SUSCFG_Pos (16UL) /*!< MATH GLBCON: SUSCFG (Bit 16) */ +#define MATH_GLBCON_SUSCFG_Msk (0x30000UL) /*!< MATH GLBCON: SUSCFG (Bitfield-Mask: 0x03) */ + +/* ----------------------------------- MATH_ID ---------------------------------- */ +#define MATH_ID_MOD_REV_Pos (0UL) /*!< MATH ID: MOD_REV (Bit 0) */ +#define MATH_ID_MOD_REV_Msk (0xffUL) /*!< MATH ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define MATH_ID_MOD_TYPE_Pos (8UL) /*!< MATH ID: MOD_TYPE (Bit 8) */ +#define MATH_ID_MOD_TYPE_Msk (0xff00UL) /*!< MATH ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define MATH_ID_MOD_NUMBER_Pos (16UL) /*!< MATH ID: MOD_NUMBER (Bit 16) */ +#define MATH_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< MATH ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- MATH_EVIER --------------------------------- */ +#define MATH_EVIER_DIVEOCIEN_Pos (0UL) /*!< MATH EVIER: DIVEOCIEN (Bit 0) */ +#define MATH_EVIER_DIVEOCIEN_Msk (0x1UL) /*!< MATH EVIER: DIVEOCIEN (Bitfield-Mask: 0x01) */ +#define MATH_EVIER_DIVERRIEN_Pos (1UL) /*!< MATH EVIER: DIVERRIEN (Bit 1) */ +#define MATH_EVIER_DIVERRIEN_Msk (0x2UL) /*!< MATH EVIER: DIVERRIEN (Bitfield-Mask: 0x01) */ +#define MATH_EVIER_CDEOCIEN_Pos (2UL) /*!< MATH EVIER: CDEOCIEN (Bit 2) */ +#define MATH_EVIER_CDEOCIEN_Msk (0x4UL) /*!< MATH EVIER: CDEOCIEN (Bitfield-Mask: 0x01) */ +#define MATH_EVIER_CDERRIEN_Pos (3UL) /*!< MATH EVIER: CDERRIEN (Bit 3) */ +#define MATH_EVIER_CDERRIEN_Msk (0x8UL) /*!< MATH EVIER: CDERRIEN (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- MATH_EVFR --------------------------------- */ +#define MATH_EVFR_DIVEOC_Pos (0UL) /*!< MATH EVFR: DIVEOC (Bit 0) */ +#define MATH_EVFR_DIVEOC_Msk (0x1UL) /*!< MATH EVFR: DIVEOC (Bitfield-Mask: 0x01) */ +#define MATH_EVFR_DIVERR_Pos (1UL) /*!< MATH EVFR: DIVERR (Bit 1) */ +#define MATH_EVFR_DIVERR_Msk (0x2UL) /*!< MATH EVFR: DIVERR (Bitfield-Mask: 0x01) */ +#define MATH_EVFR_CDEOC_Pos (2UL) /*!< MATH EVFR: CDEOC (Bit 2) */ +#define MATH_EVFR_CDEOC_Msk (0x4UL) /*!< MATH EVFR: CDEOC (Bitfield-Mask: 0x01) */ +#define MATH_EVFR_CDERR_Pos (3UL) /*!< MATH EVFR: CDERR (Bit 3) */ +#define MATH_EVFR_CDERR_Msk (0x8UL) /*!< MATH EVFR: CDERR (Bitfield-Mask: 0x01) */ + +/* --------------------------------- MATH_EVFSR --------------------------------- */ +#define MATH_EVFSR_DIVEOCS_Pos (0UL) /*!< MATH EVFSR: DIVEOCS (Bit 0) */ +#define MATH_EVFSR_DIVEOCS_Msk (0x1UL) /*!< MATH EVFSR: DIVEOCS (Bitfield-Mask: 0x01) */ +#define MATH_EVFSR_DIVERRS_Pos (1UL) /*!< MATH EVFSR: DIVERRS (Bit 1) */ +#define MATH_EVFSR_DIVERRS_Msk (0x2UL) /*!< MATH EVFSR: DIVERRS (Bitfield-Mask: 0x01) */ +#define MATH_EVFSR_CDEOCS_Pos (2UL) /*!< MATH EVFSR: CDEOCS (Bit 2) */ +#define MATH_EVFSR_CDEOCS_Msk (0x4UL) /*!< MATH EVFSR: CDEOCS (Bitfield-Mask: 0x01) */ +#define MATH_EVFSR_CDERRS_Pos (3UL) /*!< MATH EVFSR: CDERRS (Bit 3) */ +#define MATH_EVFSR_CDERRS_Msk (0x8UL) /*!< MATH EVFSR: CDERRS (Bitfield-Mask: 0x01) */ + +/* --------------------------------- MATH_EVFCR --------------------------------- */ +#define MATH_EVFCR_DIVEOCC_Pos (0UL) /*!< MATH EVFCR: DIVEOCC (Bit 0) */ +#define MATH_EVFCR_DIVEOCC_Msk (0x1UL) /*!< MATH EVFCR: DIVEOCC (Bitfield-Mask: 0x01) */ +#define MATH_EVFCR_DIVERRC_Pos (1UL) /*!< MATH EVFCR: DIVERRC (Bit 1) */ +#define MATH_EVFCR_DIVERRC_Msk (0x2UL) /*!< MATH EVFCR: DIVERRC (Bitfield-Mask: 0x01) */ +#define MATH_EVFCR_CDEOCC_Pos (2UL) /*!< MATH EVFCR: CDEOCC (Bit 2) */ +#define MATH_EVFCR_CDEOCC_Msk (0x4UL) /*!< MATH EVFCR: CDEOCC (Bitfield-Mask: 0x01) */ +#define MATH_EVFCR_CDERRC_Pos (3UL) /*!< MATH EVFCR: CDERRC (Bit 3) */ +#define MATH_EVFCR_CDERRC_Msk (0x8UL) /*!< MATH EVFCR: CDERRC (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- MATH_DVD ---------------------------------- */ +#define MATH_DVD_VAL_Pos (0UL) /*!< MATH DVD: VAL (Bit 0) */ +#define MATH_DVD_VAL_Msk (0xffffffffUL) /*!< MATH DVD: VAL (Bitfield-Mask: 0xffffffff) */ + +/* ---------------------------------- MATH_DVS ---------------------------------- */ +#define MATH_DVS_VAL_Pos (0UL) /*!< MATH DVS: VAL (Bit 0) */ +#define MATH_DVS_VAL_Msk (0xffffffffUL) /*!< MATH DVS: VAL (Bitfield-Mask: 0xffffffff) */ + +/* ---------------------------------- MATH_QUOT --------------------------------- */ +#define MATH_QUOT_VAL_Pos (0UL) /*!< MATH QUOT: VAL (Bit 0) */ +#define MATH_QUOT_VAL_Msk (0xffffffffUL) /*!< MATH QUOT: VAL (Bitfield-Mask: 0xffffffff) */ + +/* ---------------------------------- MATH_RMD ---------------------------------- */ +#define MATH_RMD_VAL_Pos (0UL) /*!< MATH RMD: VAL (Bit 0) */ +#define MATH_RMD_VAL_Msk (0xffffffffUL) /*!< MATH RMD: VAL (Bitfield-Mask: 0xffffffff) */ + +/* --------------------------------- MATH_DIVST --------------------------------- */ +#define MATH_DIVST_BSY_Pos (0UL) /*!< MATH DIVST: BSY (Bit 0) */ +#define MATH_DIVST_BSY_Msk (0x1UL) /*!< MATH DIVST: BSY (Bitfield-Mask: 0x01) */ + +/* --------------------------------- MATH_DIVCON -------------------------------- */ +#define MATH_DIVCON_ST_Pos (0UL) /*!< MATH DIVCON: ST (Bit 0) */ +#define MATH_DIVCON_ST_Msk (0x1UL) /*!< MATH DIVCON: ST (Bitfield-Mask: 0x01) */ +#define MATH_DIVCON_STMODE_Pos (1UL) /*!< MATH DIVCON: STMODE (Bit 1) */ +#define MATH_DIVCON_STMODE_Msk (0x2UL) /*!< MATH DIVCON: STMODE (Bitfield-Mask: 0x01) */ +#define MATH_DIVCON_USIGN_Pos (2UL) /*!< MATH DIVCON: USIGN (Bit 2) */ +#define MATH_DIVCON_USIGN_Msk (0x4UL) /*!< MATH DIVCON: USIGN (Bitfield-Mask: 0x01) */ +#define MATH_DIVCON_DIVMODE_Pos (3UL) /*!< MATH DIVCON: DIVMODE (Bit 3) */ +#define MATH_DIVCON_DIVMODE_Msk (0x18UL) /*!< MATH DIVCON: DIVMODE (Bitfield-Mask: 0x03) */ +#define MATH_DIVCON_QSCNT_Pos (8UL) /*!< MATH DIVCON: QSCNT (Bit 8) */ +#define MATH_DIVCON_QSCNT_Msk (0x1f00UL) /*!< MATH DIVCON: QSCNT (Bitfield-Mask: 0x1f) */ +#define MATH_DIVCON_QSDIR_Pos (15UL) /*!< MATH DIVCON: QSDIR (Bit 15) */ +#define MATH_DIVCON_QSDIR_Msk (0x8000UL) /*!< MATH DIVCON: QSDIR (Bitfield-Mask: 0x01) */ +#define MATH_DIVCON_DVDSLC_Pos (16UL) /*!< MATH DIVCON: DVDSLC (Bit 16) */ +#define MATH_DIVCON_DVDSLC_Msk (0x1f0000UL) /*!< MATH DIVCON: DVDSLC (Bitfield-Mask: 0x1f) */ +#define MATH_DIVCON_DVSSRC_Pos (24UL) /*!< MATH DIVCON: DVSSRC (Bit 24) */ +#define MATH_DIVCON_DVSSRC_Msk (0x1f000000UL) /*!< MATH DIVCON: DVSSRC (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- MATH_STATC --------------------------------- */ +#define MATH_STATC_BSY_Pos (0UL) /*!< MATH STATC: BSY (Bit 0) */ +#define MATH_STATC_BSY_Msk (0x1UL) /*!< MATH STATC: BSY (Bitfield-Mask: 0x01) */ +#define MATH_STATC_KEEPX_Pos (5UL) /*!< MATH STATC: KEEPX (Bit 5) */ +#define MATH_STATC_KEEPX_Msk (0x20UL) /*!< MATH STATC: KEEPX (Bitfield-Mask: 0x01) */ +#define MATH_STATC_KEEPY_Pos (6UL) /*!< MATH STATC: KEEPY (Bit 6) */ +#define MATH_STATC_KEEPY_Msk (0x40UL) /*!< MATH STATC: KEEPY (Bitfield-Mask: 0x01) */ +#define MATH_STATC_KEEPZ_Pos (7UL) /*!< MATH STATC: KEEPZ (Bit 7) */ +#define MATH_STATC_KEEPZ_Msk (0x80UL) /*!< MATH STATC: KEEPZ (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- MATH_CON ---------------------------------- */ +#define MATH_CON_ST_Pos (0UL) /*!< MATH CON: ST (Bit 0) */ +#define MATH_CON_ST_Msk (0x1UL) /*!< MATH CON: ST (Bitfield-Mask: 0x01) */ +#define MATH_CON_MODE_Pos (1UL) /*!< MATH CON: MODE (Bit 1) */ +#define MATH_CON_MODE_Msk (0x6UL) /*!< MATH CON: MODE (Bitfield-Mask: 0x03) */ +#define MATH_CON_ROTVEC_Pos (3UL) /*!< MATH CON: ROTVEC (Bit 3) */ +#define MATH_CON_ROTVEC_Msk (0x8UL) /*!< MATH CON: ROTVEC (Bitfield-Mask: 0x01) */ +#define MATH_CON_ST_MODE_Pos (4UL) /*!< MATH CON: ST_MODE (Bit 4) */ +#define MATH_CON_ST_MODE_Msk (0x10UL) /*!< MATH CON: ST_MODE (Bitfield-Mask: 0x01) */ +#define MATH_CON_X_USIGN_Pos (5UL) /*!< MATH CON: X_USIGN (Bit 5) */ +#define MATH_CON_X_USIGN_Msk (0x20UL) /*!< MATH CON: X_USIGN (Bitfield-Mask: 0x01) */ +#define MATH_CON_MPS_Pos (6UL) /*!< MATH CON: MPS (Bit 6) */ +#define MATH_CON_MPS_Msk (0xc0UL) /*!< MATH CON: MPS (Bitfield-Mask: 0x03) */ + +/* --------------------------------- MATH_CORDX --------------------------------- */ +#define MATH_CORDX_DATA_Pos (8UL) /*!< MATH CORDX: DATA (Bit 8) */ +#define MATH_CORDX_DATA_Msk (0xffffff00UL) /*!< MATH CORDX: DATA (Bitfield-Mask: 0xffffff) */ + +/* --------------------------------- MATH_CORDY --------------------------------- */ +#define MATH_CORDY_DATA_Pos (8UL) /*!< MATH CORDY: DATA (Bit 8) */ +#define MATH_CORDY_DATA_Msk (0xffffff00UL) /*!< MATH CORDY: DATA (Bitfield-Mask: 0xffffff) */ + +/* --------------------------------- MATH_CORDZ --------------------------------- */ +#define MATH_CORDZ_DATA_Pos (8UL) /*!< MATH CORDZ: DATA (Bit 8) */ +#define MATH_CORDZ_DATA_Msk (0xffffff00UL) /*!< MATH CORDZ: DATA (Bitfield-Mask: 0xffffff) */ + +/* --------------------------------- MATH_CORRX --------------------------------- */ +#define MATH_CORRX_RESULT_Pos (8UL) /*!< MATH CORRX: RESULT (Bit 8) */ +#define MATH_CORRX_RESULT_Msk (0xffffff00UL) /*!< MATH CORRX: RESULT (Bitfield-Mask: 0xffffff) */ + +/* --------------------------------- MATH_CORRY --------------------------------- */ +#define MATH_CORRY_RESULT_Pos (8UL) /*!< MATH CORRY: RESULT (Bit 8) */ +#define MATH_CORRY_RESULT_Msk (0xffffff00UL) /*!< MATH CORRY: RESULT (Bitfield-Mask: 0xffffff) */ + +/* --------------------------------- MATH_CORRZ --------------------------------- */ +#define MATH_CORRZ_RESULT_Pos (8UL) /*!< MATH CORRZ: RESULT (Bit 8) */ +#define MATH_CORRZ_RESULT_Msk (0xffffff00UL) /*!< MATH CORRZ: RESULT (Bitfield-Mask: 0xffffff) */ + + +/* ================================================================================ */ +/* ================ struct 'PAU' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- PAU_AVAIL0 --------------------------------- */ +#define PAU_AVAIL0_AVAIL5_Pos (5UL) /*!< PAU AVAIL0: AVAIL5 (Bit 5) */ +#define PAU_AVAIL0_AVAIL5_Msk (0x20UL) /*!< PAU AVAIL0: AVAIL5 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL6_Pos (6UL) /*!< PAU AVAIL0: AVAIL6 (Bit 6) */ +#define PAU_AVAIL0_AVAIL6_Msk (0x40UL) /*!< PAU AVAIL0: AVAIL6 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL7_Pos (7UL) /*!< PAU AVAIL0: AVAIL7 (Bit 7) */ +#define PAU_AVAIL0_AVAIL7_Msk (0x80UL) /*!< PAU AVAIL0: AVAIL7 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL20_Pos (20UL) /*!< PAU AVAIL0: AVAIL20 (Bit 20) */ +#define PAU_AVAIL0_AVAIL20_Msk (0x100000UL) /*!< PAU AVAIL0: AVAIL20 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL21_Pos (21UL) /*!< PAU AVAIL0: AVAIL21 (Bit 21) */ +#define PAU_AVAIL0_AVAIL21_Msk (0x200000UL) /*!< PAU AVAIL0: AVAIL21 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL22_Pos (22UL) /*!< PAU AVAIL0: AVAIL22 (Bit 22) */ +#define PAU_AVAIL0_AVAIL22_Msk (0x400000UL) /*!< PAU AVAIL0: AVAIL22 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL23_Pos (23UL) /*!< PAU AVAIL0: AVAIL23 (Bit 23) */ +#define PAU_AVAIL0_AVAIL23_Msk (0x800000UL) /*!< PAU AVAIL0: AVAIL23 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL0_AVAIL24_Pos (24UL) /*!< PAU AVAIL0: AVAIL24 (Bit 24) */ +#define PAU_AVAIL0_AVAIL24_Msk (0x1000000UL) /*!< PAU AVAIL0: AVAIL24 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PAU_AVAIL1 --------------------------------- */ +#define PAU_AVAIL1_AVAIL0_Pos (0UL) /*!< PAU AVAIL1: AVAIL0 (Bit 0) */ +#define PAU_AVAIL1_AVAIL0_Msk (0x1UL) /*!< PAU AVAIL1: AVAIL0 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL1_Pos (1UL) /*!< PAU AVAIL1: AVAIL1 (Bit 1) */ +#define PAU_AVAIL1_AVAIL1_Msk (0x2UL) /*!< PAU AVAIL1: AVAIL1 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL4_Pos (4UL) /*!< PAU AVAIL1: AVAIL4 (Bit 4) */ +#define PAU_AVAIL1_AVAIL4_Msk (0x10UL) /*!< PAU AVAIL1: AVAIL4 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL5_Pos (5UL) /*!< PAU AVAIL1: AVAIL5 (Bit 5) */ +#define PAU_AVAIL1_AVAIL5_Msk (0x20UL) /*!< PAU AVAIL1: AVAIL5 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL6_Pos (6UL) /*!< PAU AVAIL1: AVAIL6 (Bit 6) */ +#define PAU_AVAIL1_AVAIL6_Msk (0x40UL) /*!< PAU AVAIL1: AVAIL6 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL7_Pos (7UL) /*!< PAU AVAIL1: AVAIL7 (Bit 7) */ +#define PAU_AVAIL1_AVAIL7_Msk (0x80UL) /*!< PAU AVAIL1: AVAIL7 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL8_Pos (8UL) /*!< PAU AVAIL1: AVAIL8 (Bit 8) */ +#define PAU_AVAIL1_AVAIL8_Msk (0x100UL) /*!< PAU AVAIL1: AVAIL8 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL9_Pos (9UL) /*!< PAU AVAIL1: AVAIL9 (Bit 9) */ +#define PAU_AVAIL1_AVAIL9_Msk (0x200UL) /*!< PAU AVAIL1: AVAIL9 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL10_Pos (10UL) /*!< PAU AVAIL1: AVAIL10 (Bit 10) */ +#define PAU_AVAIL1_AVAIL10_Msk (0x400UL) /*!< PAU AVAIL1: AVAIL10 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL11_Pos (11UL) /*!< PAU AVAIL1: AVAIL11 (Bit 11) */ +#define PAU_AVAIL1_AVAIL11_Msk (0x800UL) /*!< PAU AVAIL1: AVAIL11 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL1_AVAIL12_Pos (12UL) /*!< PAU AVAIL1: AVAIL12 (Bit 12) */ +#define PAU_AVAIL1_AVAIL12_Msk (0x1000UL) /*!< PAU AVAIL1: AVAIL12 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PAU_AVAIL2 --------------------------------- */ +#define PAU_AVAIL2_AVAIL0_Pos (0UL) /*!< PAU AVAIL2: AVAIL0 (Bit 0) */ +#define PAU_AVAIL2_AVAIL0_Msk (0x1UL) /*!< PAU AVAIL2: AVAIL0 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL2_AVAIL1_Pos (1UL) /*!< PAU AVAIL2: AVAIL1 (Bit 1) */ +#define PAU_AVAIL2_AVAIL1_Msk (0x2UL) /*!< PAU AVAIL2: AVAIL1 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL2_AVAIL2_Pos (2UL) /*!< PAU AVAIL2: AVAIL2 (Bit 2) */ +#define PAU_AVAIL2_AVAIL2_Msk (0x4UL) /*!< PAU AVAIL2: AVAIL2 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL2_AVAIL3_Pos (3UL) /*!< PAU AVAIL2: AVAIL3 (Bit 3) */ +#define PAU_AVAIL2_AVAIL3_Msk (0x8UL) /*!< PAU AVAIL2: AVAIL3 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL2_AVAIL12_Pos (12UL) /*!< PAU AVAIL2: AVAIL12 (Bit 12) */ +#define PAU_AVAIL2_AVAIL12_Msk (0x1000UL) /*!< PAU AVAIL2: AVAIL12 (Bitfield-Mask: 0x01) */ +#define PAU_AVAIL2_AVAIL15_Pos (15UL) /*!< PAU AVAIL2: AVAIL15 (Bit 15) */ +#define PAU_AVAIL2_AVAIL15_Msk (0x8000UL) /*!< PAU AVAIL2: AVAIL15 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- PAU_PRIVDIS0 -------------------------------- */ +#define PAU_PRIVDIS0_PDIS2_Pos (2UL) /*!< PAU PRIVDIS0: PDIS2 (Bit 2) */ +#define PAU_PRIVDIS0_PDIS2_Msk (0x4UL) /*!< PAU PRIVDIS0: PDIS2 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS5_Pos (5UL) /*!< PAU PRIVDIS0: PDIS5 (Bit 5) */ +#define PAU_PRIVDIS0_PDIS5_Msk (0x20UL) /*!< PAU PRIVDIS0: PDIS5 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS6_Pos (6UL) /*!< PAU PRIVDIS0: PDIS6 (Bit 6) */ +#define PAU_PRIVDIS0_PDIS6_Msk (0x40UL) /*!< PAU PRIVDIS0: PDIS6 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS7_Pos (7UL) /*!< PAU PRIVDIS0: PDIS7 (Bit 7) */ +#define PAU_PRIVDIS0_PDIS7_Msk (0x80UL) /*!< PAU PRIVDIS0: PDIS7 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS19_Pos (19UL) /*!< PAU PRIVDIS0: PDIS19 (Bit 19) */ +#define PAU_PRIVDIS0_PDIS19_Msk (0x80000UL) /*!< PAU PRIVDIS0: PDIS19 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS20_Pos (20UL) /*!< PAU PRIVDIS0: PDIS20 (Bit 20) */ +#define PAU_PRIVDIS0_PDIS20_Msk (0x100000UL) /*!< PAU PRIVDIS0: PDIS20 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS21_Pos (21UL) /*!< PAU PRIVDIS0: PDIS21 (Bit 21) */ +#define PAU_PRIVDIS0_PDIS21_Msk (0x200000UL) /*!< PAU PRIVDIS0: PDIS21 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS22_Pos (22UL) /*!< PAU PRIVDIS0: PDIS22 (Bit 22) */ +#define PAU_PRIVDIS0_PDIS22_Msk (0x400000UL) /*!< PAU PRIVDIS0: PDIS22 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS23_Pos (23UL) /*!< PAU PRIVDIS0: PDIS23 (Bit 23) */ +#define PAU_PRIVDIS0_PDIS23_Msk (0x800000UL) /*!< PAU PRIVDIS0: PDIS23 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS0_PDIS24_Pos (24UL) /*!< PAU PRIVDIS0: PDIS24 (Bit 24) */ +#define PAU_PRIVDIS0_PDIS24_Msk (0x1000000UL) /*!< PAU PRIVDIS0: PDIS24 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- PAU_PRIVDIS1 -------------------------------- */ +#define PAU_PRIVDIS1_PDIS0_Pos (0UL) /*!< PAU PRIVDIS1: PDIS0 (Bit 0) */ +#define PAU_PRIVDIS1_PDIS0_Msk (0x1UL) /*!< PAU PRIVDIS1: PDIS0 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS1_Pos (1UL) /*!< PAU PRIVDIS1: PDIS1 (Bit 1) */ +#define PAU_PRIVDIS1_PDIS1_Msk (0x2UL) /*!< PAU PRIVDIS1: PDIS1 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS5_Pos (5UL) /*!< PAU PRIVDIS1: PDIS5 (Bit 5) */ +#define PAU_PRIVDIS1_PDIS5_Msk (0x20UL) /*!< PAU PRIVDIS1: PDIS5 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS6_Pos (6UL) /*!< PAU PRIVDIS1: PDIS6 (Bit 6) */ +#define PAU_PRIVDIS1_PDIS6_Msk (0x40UL) /*!< PAU PRIVDIS1: PDIS6 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS7_Pos (7UL) /*!< PAU PRIVDIS1: PDIS7 (Bit 7) */ +#define PAU_PRIVDIS1_PDIS7_Msk (0x80UL) /*!< PAU PRIVDIS1: PDIS7 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS8_Pos (8UL) /*!< PAU PRIVDIS1: PDIS8 (Bit 8) */ +#define PAU_PRIVDIS1_PDIS8_Msk (0x100UL) /*!< PAU PRIVDIS1: PDIS8 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS9_Pos (9UL) /*!< PAU PRIVDIS1: PDIS9 (Bit 9) */ +#define PAU_PRIVDIS1_PDIS9_Msk (0x200UL) /*!< PAU PRIVDIS1: PDIS9 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS10_Pos (10UL) /*!< PAU PRIVDIS1: PDIS10 (Bit 10) */ +#define PAU_PRIVDIS1_PDIS10_Msk (0x400UL) /*!< PAU PRIVDIS1: PDIS10 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS11_Pos (11UL) /*!< PAU PRIVDIS1: PDIS11 (Bit 11) */ +#define PAU_PRIVDIS1_PDIS11_Msk (0x800UL) /*!< PAU PRIVDIS1: PDIS11 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS1_PDIS12_Pos (12UL) /*!< PAU PRIVDIS1: PDIS12 (Bit 12) */ +#define PAU_PRIVDIS1_PDIS12_Msk (0x1000UL) /*!< PAU PRIVDIS1: PDIS12 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- PAU_PRIVDIS2 -------------------------------- */ +#define PAU_PRIVDIS2_PDIS0_Pos (0UL) /*!< PAU PRIVDIS2: PDIS0 (Bit 0) */ +#define PAU_PRIVDIS2_PDIS0_Msk (0x1UL) /*!< PAU PRIVDIS2: PDIS0 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS2_PDIS1_Pos (1UL) /*!< PAU PRIVDIS2: PDIS1 (Bit 1) */ +#define PAU_PRIVDIS2_PDIS1_Msk (0x2UL) /*!< PAU PRIVDIS2: PDIS1 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS2_PDIS2_Pos (2UL) /*!< PAU PRIVDIS2: PDIS2 (Bit 2) */ +#define PAU_PRIVDIS2_PDIS2_Msk (0x4UL) /*!< PAU PRIVDIS2: PDIS2 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS2_PDIS3_Pos (3UL) /*!< PAU PRIVDIS2: PDIS3 (Bit 3) */ +#define PAU_PRIVDIS2_PDIS3_Msk (0x8UL) /*!< PAU PRIVDIS2: PDIS3 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS2_PDIS12_Pos (12UL) /*!< PAU PRIVDIS2: PDIS12 (Bit 12) */ +#define PAU_PRIVDIS2_PDIS12_Msk (0x1000UL) /*!< PAU PRIVDIS2: PDIS12 (Bitfield-Mask: 0x01) */ +#define PAU_PRIVDIS2_PDIS15_Pos (15UL) /*!< PAU PRIVDIS2: PDIS15 (Bit 15) */ +#define PAU_PRIVDIS2_PDIS15_Msk (0x8000UL) /*!< PAU PRIVDIS2: PDIS15 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PAU_ROMSIZE -------------------------------- */ +#define PAU_ROMSIZE_ADDR_Pos (8UL) /*!< PAU ROMSIZE: ADDR (Bit 8) */ +#define PAU_ROMSIZE_ADDR_Msk (0x3f00UL) /*!< PAU ROMSIZE: ADDR (Bitfield-Mask: 0x3f) */ + +/* --------------------------------- PAU_FLSIZE --------------------------------- */ +#define PAU_FLSIZE_ADDR_Pos (12UL) /*!< PAU FLSIZE: ADDR (Bit 12) */ +#define PAU_FLSIZE_ADDR_Msk (0x3f000UL) /*!< PAU FLSIZE: ADDR (Bitfield-Mask: 0x3f) */ + +/* -------------------------------- PAU_RAM0SIZE -------------------------------- */ +#define PAU_RAM0SIZE_ADDR_Pos (8UL) /*!< PAU RAM0SIZE: ADDR (Bit 8) */ +#define PAU_RAM0SIZE_ADDR_Msk (0x1f00UL) /*!< PAU RAM0SIZE: ADDR (Bitfield-Mask: 0x1f) */ + + +/* ================================================================================ */ +/* ================ struct 'NVM' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- NVM_NVMSTATUS ------------------------------- */ +#define NVM_NVMSTATUS_BUSY_Pos (0UL) /*!< NVM NVMSTATUS: BUSY (Bit 0) */ +#define NVM_NVMSTATUS_BUSY_Msk (0x1UL) /*!< NVM NVMSTATUS: BUSY (Bitfield-Mask: 0x01) */ +#define NVM_NVMSTATUS_SLEEP_Pos (1UL) /*!< NVM NVMSTATUS: SLEEP (Bit 1) */ +#define NVM_NVMSTATUS_SLEEP_Msk (0x2UL) /*!< NVM NVMSTATUS: SLEEP (Bitfield-Mask: 0x01) */ +#define NVM_NVMSTATUS_VERR_Pos (2UL) /*!< NVM NVMSTATUS: VERR (Bit 2) */ +#define NVM_NVMSTATUS_VERR_Msk (0xcUL) /*!< NVM NVMSTATUS: VERR (Bitfield-Mask: 0x03) */ +#define NVM_NVMSTATUS_ECC1READ_Pos (4UL) /*!< NVM NVMSTATUS: ECC1READ (Bit 4) */ +#define NVM_NVMSTATUS_ECC1READ_Msk (0x10UL) /*!< NVM NVMSTATUS: ECC1READ (Bitfield-Mask: 0x01) */ +#define NVM_NVMSTATUS_ECC2READ_Pos (5UL) /*!< NVM NVMSTATUS: ECC2READ (Bit 5) */ +#define NVM_NVMSTATUS_ECC2READ_Msk (0x20UL) /*!< NVM NVMSTATUS: ECC2READ (Bitfield-Mask: 0x01) */ +#define NVM_NVMSTATUS_WRPERR_Pos (6UL) /*!< NVM NVMSTATUS: WRPERR (Bit 6) */ +#define NVM_NVMSTATUS_WRPERR_Msk (0x40UL) /*!< NVM NVMSTATUS: WRPERR (Bitfield-Mask: 0x01) */ + +/* --------------------------------- NVM_NVMPROG -------------------------------- */ +#define NVM_NVMPROG_ACTION_Pos (0UL) /*!< NVM NVMPROG: ACTION (Bit 0) */ +#define NVM_NVMPROG_ACTION_Msk (0xffUL) /*!< NVM NVMPROG: ACTION (Bitfield-Mask: 0xff) */ +#define NVM_NVMPROG_RSTVERR_Pos (12UL) /*!< NVM NVMPROG: RSTVERR (Bit 12) */ +#define NVM_NVMPROG_RSTVERR_Msk (0x1000UL) /*!< NVM NVMPROG: RSTVERR (Bitfield-Mask: 0x01) */ +#define NVM_NVMPROG_RSTECC_Pos (13UL) /*!< NVM NVMPROG: RSTECC (Bit 13) */ +#define NVM_NVMPROG_RSTECC_Msk (0x2000UL) /*!< NVM NVMPROG: RSTECC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- NVM_NVMCONF -------------------------------- */ +#define NVM_NVMCONF_HRLEV_Pos (1UL) /*!< NVM NVMCONF: HRLEV (Bit 1) */ +#define NVM_NVMCONF_HRLEV_Msk (0x6UL) /*!< NVM NVMCONF: HRLEV (Bitfield-Mask: 0x03) */ +#define NVM_NVMCONF_SECPROT_Pos (4UL) /*!< NVM NVMCONF: SECPROT (Bit 4) */ +#define NVM_NVMCONF_SECPROT_Msk (0xff0UL) /*!< NVM NVMCONF: SECPROT (Bitfield-Mask: 0xff) */ +#define NVM_NVMCONF_WS_Pos (12UL) /*!< NVM NVMCONF: WS (Bit 12) */ +#define NVM_NVMCONF_WS_Msk (0x1000UL) /*!< NVM NVMCONF: WS (Bitfield-Mask: 0x01) */ +#define NVM_NVMCONF_INT_ON_Pos (14UL) /*!< NVM NVMCONF: INT_ON (Bit 14) */ +#define NVM_NVMCONF_INT_ON_Msk (0x4000UL) /*!< NVM NVMCONF: INT_ON (Bitfield-Mask: 0x01) */ +#define NVM_NVMCONF_NVM_ON_Pos (15UL) /*!< NVM NVMCONF: NVM_ON (Bit 15) */ +#define NVM_NVMCONF_NVM_ON_Msk (0x8000UL) /*!< NVM NVMCONF: NVM_ON (Bitfield-Mask: 0x01) */ + +/* --------------------------------- NVM_CONFIG1 -------------------------------- */ +#define NVM_CONFIG1_FIXWS_Pos (11UL) /*!< NVM CONFIG1: FIXWS (Bit 11) */ +#define NVM_CONFIG1_FIXWS_Msk (0x800UL) /*!< NVM CONFIG1: FIXWS (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'WDT' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ----------------------------------- WDT_ID ----------------------------------- */ +#define WDT_ID_MOD_REV_Pos (0UL) /*!< WDT ID: MOD_REV (Bit 0) */ +#define WDT_ID_MOD_REV_Msk (0xffUL) /*!< WDT ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define WDT_ID_MOD_TYPE_Pos (8UL) /*!< WDT ID: MOD_TYPE (Bit 8) */ +#define WDT_ID_MOD_TYPE_Msk (0xff00UL) /*!< WDT ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define WDT_ID_MOD_NUMBER_Pos (16UL) /*!< WDT ID: MOD_NUMBER (Bit 16) */ +#define WDT_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< WDT ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* ----------------------------------- WDT_CTR ---------------------------------- */ +#define WDT_CTR_ENB_Pos (0UL) /*!< WDT CTR: ENB (Bit 0) */ +#define WDT_CTR_ENB_Msk (0x1UL) /*!< WDT CTR: ENB (Bitfield-Mask: 0x01) */ +#define WDT_CTR_PRE_Pos (1UL) /*!< WDT CTR: PRE (Bit 1) */ +#define WDT_CTR_PRE_Msk (0x2UL) /*!< WDT CTR: PRE (Bitfield-Mask: 0x01) */ +#define WDT_CTR_DSP_Pos (4UL) /*!< WDT CTR: DSP (Bit 4) */ +#define WDT_CTR_DSP_Msk (0x10UL) /*!< WDT CTR: DSP (Bitfield-Mask: 0x01) */ +#define WDT_CTR_SPW_Pos (8UL) /*!< WDT CTR: SPW (Bit 8) */ +#define WDT_CTR_SPW_Msk (0xff00UL) /*!< WDT CTR: SPW (Bitfield-Mask: 0xff) */ + +/* ----------------------------------- WDT_SRV ---------------------------------- */ +#define WDT_SRV_SRV_Pos (0UL) /*!< WDT SRV: SRV (Bit 0) */ +#define WDT_SRV_SRV_Msk (0xffffffffUL) /*!< WDT SRV: SRV (Bitfield-Mask: 0xffffffff) */ + +/* ----------------------------------- WDT_TIM ---------------------------------- */ +#define WDT_TIM_TIM_Pos (0UL) /*!< WDT TIM: TIM (Bit 0) */ +#define WDT_TIM_TIM_Msk (0xffffffffUL) /*!< WDT TIM: TIM (Bitfield-Mask: 0xffffffff) */ + +/* ----------------------------------- WDT_WLB ---------------------------------- */ +#define WDT_WLB_WLB_Pos (0UL) /*!< WDT WLB: WLB (Bit 0) */ +#define WDT_WLB_WLB_Msk (0xffffffffUL) /*!< WDT WLB: WLB (Bitfield-Mask: 0xffffffff) */ + +/* ----------------------------------- WDT_WUB ---------------------------------- */ +#define WDT_WUB_WUB_Pos (0UL) /*!< WDT WUB: WUB (Bit 0) */ +#define WDT_WUB_WUB_Msk (0xffffffffUL) /*!< WDT WUB: WUB (Bitfield-Mask: 0xffffffff) */ + +/* --------------------------------- WDT_WDTSTS --------------------------------- */ +#define WDT_WDTSTS_ALMS_Pos (0UL) /*!< WDT WDTSTS: ALMS (Bit 0) */ +#define WDT_WDTSTS_ALMS_Msk (0x1UL) /*!< WDT WDTSTS: ALMS (Bitfield-Mask: 0x01) */ + +/* --------------------------------- WDT_WDTCLR --------------------------------- */ +#define WDT_WDTCLR_ALMC_Pos (0UL) /*!< WDT WDTCLR: ALMC (Bit 0) */ +#define WDT_WDTCLR_ALMC_Msk (0x1UL) /*!< WDT WDTCLR: ALMC (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'RTC' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ----------------------------------- RTC_ID ----------------------------------- */ +#define RTC_ID_MOD_REV_Pos (0UL) /*!< RTC ID: MOD_REV (Bit 0) */ +#define RTC_ID_MOD_REV_Msk (0xffUL) /*!< RTC ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define RTC_ID_MOD_TYPE_Pos (8UL) /*!< RTC ID: MOD_TYPE (Bit 8) */ +#define RTC_ID_MOD_TYPE_Msk (0xff00UL) /*!< RTC ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define RTC_ID_MOD_NUMBER_Pos (16UL) /*!< RTC ID: MOD_NUMBER (Bit 16) */ +#define RTC_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< RTC ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* ----------------------------------- RTC_CTR ---------------------------------- */ +#define RTC_CTR_ENB_Pos (0UL) /*!< RTC CTR: ENB (Bit 0) */ +#define RTC_CTR_ENB_Msk (0x1UL) /*!< RTC CTR: ENB (Bitfield-Mask: 0x01) */ +#define RTC_CTR_SUS_Pos (1UL) /*!< RTC CTR: SUS (Bit 1) */ +#define RTC_CTR_SUS_Msk (0x2UL) /*!< RTC CTR: SUS (Bitfield-Mask: 0x01) */ +#define RTC_CTR_DIV_Pos (16UL) /*!< RTC CTR: DIV (Bit 16) */ +#define RTC_CTR_DIV_Msk (0xffff0000UL) /*!< RTC CTR: DIV (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- RTC_RAWSTAT -------------------------------- */ +#define RTC_RAWSTAT_RPSE_Pos (0UL) /*!< RTC RAWSTAT: RPSE (Bit 0) */ +#define RTC_RAWSTAT_RPSE_Msk (0x1UL) /*!< RTC RAWSTAT: RPSE (Bitfield-Mask: 0x01) */ +#define RTC_RAWSTAT_RPMI_Pos (1UL) /*!< RTC RAWSTAT: RPMI (Bit 1) */ +#define RTC_RAWSTAT_RPMI_Msk (0x2UL) /*!< RTC RAWSTAT: RPMI (Bitfield-Mask: 0x01) */ +#define RTC_RAWSTAT_RPHO_Pos (2UL) /*!< RTC RAWSTAT: RPHO (Bit 2) */ +#define RTC_RAWSTAT_RPHO_Msk (0x4UL) /*!< RTC RAWSTAT: RPHO (Bitfield-Mask: 0x01) */ +#define RTC_RAWSTAT_RPDA_Pos (3UL) /*!< RTC RAWSTAT: RPDA (Bit 3) */ +#define RTC_RAWSTAT_RPDA_Msk (0x8UL) /*!< RTC RAWSTAT: RPDA (Bitfield-Mask: 0x01) */ +#define RTC_RAWSTAT_RPMO_Pos (5UL) /*!< RTC RAWSTAT: RPMO (Bit 5) */ +#define RTC_RAWSTAT_RPMO_Msk (0x20UL) /*!< RTC RAWSTAT: RPMO (Bitfield-Mask: 0x01) */ +#define RTC_RAWSTAT_RPYE_Pos (6UL) /*!< RTC RAWSTAT: RPYE (Bit 6) */ +#define RTC_RAWSTAT_RPYE_Msk (0x40UL) /*!< RTC RAWSTAT: RPYE (Bitfield-Mask: 0x01) */ +#define RTC_RAWSTAT_RAI_Pos (8UL) /*!< RTC RAWSTAT: RAI (Bit 8) */ +#define RTC_RAWSTAT_RAI_Msk (0x100UL) /*!< RTC RAWSTAT: RAI (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- RTC_STSSR --------------------------------- */ +#define RTC_STSSR_SPSE_Pos (0UL) /*!< RTC STSSR: SPSE (Bit 0) */ +#define RTC_STSSR_SPSE_Msk (0x1UL) /*!< RTC STSSR: SPSE (Bitfield-Mask: 0x01) */ +#define RTC_STSSR_SPMI_Pos (1UL) /*!< RTC STSSR: SPMI (Bit 1) */ +#define RTC_STSSR_SPMI_Msk (0x2UL) /*!< RTC STSSR: SPMI (Bitfield-Mask: 0x01) */ +#define RTC_STSSR_SPHO_Pos (2UL) /*!< RTC STSSR: SPHO (Bit 2) */ +#define RTC_STSSR_SPHO_Msk (0x4UL) /*!< RTC STSSR: SPHO (Bitfield-Mask: 0x01) */ +#define RTC_STSSR_SPDA_Pos (3UL) /*!< RTC STSSR: SPDA (Bit 3) */ +#define RTC_STSSR_SPDA_Msk (0x8UL) /*!< RTC STSSR: SPDA (Bitfield-Mask: 0x01) */ +#define RTC_STSSR_SPMO_Pos (5UL) /*!< RTC STSSR: SPMO (Bit 5) */ +#define RTC_STSSR_SPMO_Msk (0x20UL) /*!< RTC STSSR: SPMO (Bitfield-Mask: 0x01) */ +#define RTC_STSSR_SPYE_Pos (6UL) /*!< RTC STSSR: SPYE (Bit 6) */ +#define RTC_STSSR_SPYE_Msk (0x40UL) /*!< RTC STSSR: SPYE (Bitfield-Mask: 0x01) */ +#define RTC_STSSR_SAI_Pos (8UL) /*!< RTC STSSR: SAI (Bit 8) */ +#define RTC_STSSR_SAI_Msk (0x100UL) /*!< RTC STSSR: SAI (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- RTC_MSKSR --------------------------------- */ +#define RTC_MSKSR_MPSE_Pos (0UL) /*!< RTC MSKSR: MPSE (Bit 0) */ +#define RTC_MSKSR_MPSE_Msk (0x1UL) /*!< RTC MSKSR: MPSE (Bitfield-Mask: 0x01) */ +#define RTC_MSKSR_MPMI_Pos (1UL) /*!< RTC MSKSR: MPMI (Bit 1) */ +#define RTC_MSKSR_MPMI_Msk (0x2UL) /*!< RTC MSKSR: MPMI (Bitfield-Mask: 0x01) */ +#define RTC_MSKSR_MPHO_Pos (2UL) /*!< RTC MSKSR: MPHO (Bit 2) */ +#define RTC_MSKSR_MPHO_Msk (0x4UL) /*!< RTC MSKSR: MPHO (Bitfield-Mask: 0x01) */ +#define RTC_MSKSR_MPDA_Pos (3UL) /*!< RTC MSKSR: MPDA (Bit 3) */ +#define RTC_MSKSR_MPDA_Msk (0x8UL) /*!< RTC MSKSR: MPDA (Bitfield-Mask: 0x01) */ +#define RTC_MSKSR_MPMO_Pos (5UL) /*!< RTC MSKSR: MPMO (Bit 5) */ +#define RTC_MSKSR_MPMO_Msk (0x20UL) /*!< RTC MSKSR: MPMO (Bitfield-Mask: 0x01) */ +#define RTC_MSKSR_MPYE_Pos (6UL) /*!< RTC MSKSR: MPYE (Bit 6) */ +#define RTC_MSKSR_MPYE_Msk (0x40UL) /*!< RTC MSKSR: MPYE (Bitfield-Mask: 0x01) */ +#define RTC_MSKSR_MAI_Pos (8UL) /*!< RTC MSKSR: MAI (Bit 8) */ +#define RTC_MSKSR_MAI_Msk (0x100UL) /*!< RTC MSKSR: MAI (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- RTC_CLRSR --------------------------------- */ +#define RTC_CLRSR_RPSE_Pos (0UL) /*!< RTC CLRSR: RPSE (Bit 0) */ +#define RTC_CLRSR_RPSE_Msk (0x1UL) /*!< RTC CLRSR: RPSE (Bitfield-Mask: 0x01) */ +#define RTC_CLRSR_RPMI_Pos (1UL) /*!< RTC CLRSR: RPMI (Bit 1) */ +#define RTC_CLRSR_RPMI_Msk (0x2UL) /*!< RTC CLRSR: RPMI (Bitfield-Mask: 0x01) */ +#define RTC_CLRSR_RPHO_Pos (2UL) /*!< RTC CLRSR: RPHO (Bit 2) */ +#define RTC_CLRSR_RPHO_Msk (0x4UL) /*!< RTC CLRSR: RPHO (Bitfield-Mask: 0x01) */ +#define RTC_CLRSR_RPDA_Pos (3UL) /*!< RTC CLRSR: RPDA (Bit 3) */ +#define RTC_CLRSR_RPDA_Msk (0x8UL) /*!< RTC CLRSR: RPDA (Bitfield-Mask: 0x01) */ +#define RTC_CLRSR_RPMO_Pos (5UL) /*!< RTC CLRSR: RPMO (Bit 5) */ +#define RTC_CLRSR_RPMO_Msk (0x20UL) /*!< RTC CLRSR: RPMO (Bitfield-Mask: 0x01) */ +#define RTC_CLRSR_RPYE_Pos (6UL) /*!< RTC CLRSR: RPYE (Bit 6) */ +#define RTC_CLRSR_RPYE_Msk (0x40UL) /*!< RTC CLRSR: RPYE (Bitfield-Mask: 0x01) */ +#define RTC_CLRSR_RAI_Pos (8UL) /*!< RTC CLRSR: RAI (Bit 8) */ +#define RTC_CLRSR_RAI_Msk (0x100UL) /*!< RTC CLRSR: RAI (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- RTC_ATIM0 --------------------------------- */ +#define RTC_ATIM0_ASE_Pos (0UL) /*!< RTC ATIM0: ASE (Bit 0) */ +#define RTC_ATIM0_ASE_Msk (0x3fUL) /*!< RTC ATIM0: ASE (Bitfield-Mask: 0x3f) */ +#define RTC_ATIM0_AMI_Pos (8UL) /*!< RTC ATIM0: AMI (Bit 8) */ +#define RTC_ATIM0_AMI_Msk (0x3f00UL) /*!< RTC ATIM0: AMI (Bitfield-Mask: 0x3f) */ +#define RTC_ATIM0_AHO_Pos (16UL) /*!< RTC ATIM0: AHO (Bit 16) */ +#define RTC_ATIM0_AHO_Msk (0x1f0000UL) /*!< RTC ATIM0: AHO (Bitfield-Mask: 0x1f) */ +#define RTC_ATIM0_ADA_Pos (24UL) /*!< RTC ATIM0: ADA (Bit 24) */ +#define RTC_ATIM0_ADA_Msk (0x1f000000UL) /*!< RTC ATIM0: ADA (Bitfield-Mask: 0x1f) */ + +/* ---------------------------------- RTC_ATIM1 --------------------------------- */ +#define RTC_ATIM1_AMO_Pos (8UL) /*!< RTC ATIM1: AMO (Bit 8) */ +#define RTC_ATIM1_AMO_Msk (0xf00UL) /*!< RTC ATIM1: AMO (Bitfield-Mask: 0x0f) */ +#define RTC_ATIM1_AYE_Pos (16UL) /*!< RTC ATIM1: AYE (Bit 16) */ +#define RTC_ATIM1_AYE_Msk (0xffff0000UL) /*!< RTC ATIM1: AYE (Bitfield-Mask: 0xffff) */ + +/* ---------------------------------- RTC_TIM0 ---------------------------------- */ +#define RTC_TIM0_SE_Pos (0UL) /*!< RTC TIM0: SE (Bit 0) */ +#define RTC_TIM0_SE_Msk (0x3fUL) /*!< RTC TIM0: SE (Bitfield-Mask: 0x3f) */ +#define RTC_TIM0_MI_Pos (8UL) /*!< RTC TIM0: MI (Bit 8) */ +#define RTC_TIM0_MI_Msk (0x3f00UL) /*!< RTC TIM0: MI (Bitfield-Mask: 0x3f) */ +#define RTC_TIM0_HO_Pos (16UL) /*!< RTC TIM0: HO (Bit 16) */ +#define RTC_TIM0_HO_Msk (0x1f0000UL) /*!< RTC TIM0: HO (Bitfield-Mask: 0x1f) */ +#define RTC_TIM0_DA_Pos (24UL) /*!< RTC TIM0: DA (Bit 24) */ +#define RTC_TIM0_DA_Msk (0x1f000000UL) /*!< RTC TIM0: DA (Bitfield-Mask: 0x1f) */ + +/* ---------------------------------- RTC_TIM1 ---------------------------------- */ +#define RTC_TIM1_DAWE_Pos (0UL) /*!< RTC TIM1: DAWE (Bit 0) */ +#define RTC_TIM1_DAWE_Msk (0x7UL) /*!< RTC TIM1: DAWE (Bitfield-Mask: 0x07) */ +#define RTC_TIM1_MO_Pos (8UL) /*!< RTC TIM1: MO (Bit 8) */ +#define RTC_TIM1_MO_Msk (0xf00UL) /*!< RTC TIM1: MO (Bitfield-Mask: 0x0f) */ +#define RTC_TIM1_YE_Pos (16UL) /*!< RTC TIM1: YE (Bit 16) */ +#define RTC_TIM1_YE_Msk (0xffff0000UL) /*!< RTC TIM1: YE (Bitfield-Mask: 0xffff) */ + + +/* ================================================================================ */ +/* ================ struct 'PRNG' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------------- PRNG_WORD --------------------------------- */ +#define PRNG_WORD_RDATA_Pos (0UL) /*!< PRNG WORD: RDATA (Bit 0) */ +#define PRNG_WORD_RDATA_Msk (0xffffUL) /*!< PRNG WORD: RDATA (Bitfield-Mask: 0xffff) */ + +/* ---------------------------------- PRNG_CHK ---------------------------------- */ +#define PRNG_CHK_RDV_Pos (0UL) /*!< PRNG CHK: RDV (Bit 0) */ +#define PRNG_CHK_RDV_Msk (0x1UL) /*!< PRNG CHK: RDV (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PRNG_CTRL --------------------------------- */ +#define PRNG_CTRL_RDBS_Pos (1UL) /*!< PRNG CTRL: RDBS (Bit 1) */ +#define PRNG_CTRL_RDBS_Msk (0x6UL) /*!< PRNG CTRL: RDBS (Bitfield-Mask: 0x03) */ +#define PRNG_CTRL_KLD_Pos (3UL) /*!< PRNG CTRL: KLD (Bit 3) */ +#define PRNG_CTRL_KLD_Msk (0x8UL) /*!< PRNG CTRL: KLD (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ Group 'USIC' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ----------------------------------- USIC_ID ---------------------------------- */ +#define USIC_ID_MOD_REV_Pos (0UL) /*!< USIC ID: MOD_REV (Bit 0) */ +#define USIC_ID_MOD_REV_Msk (0xffUL) /*!< USIC ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define USIC_ID_MOD_TYPE_Pos (8UL) /*!< USIC ID: MOD_TYPE (Bit 8) */ +#define USIC_ID_MOD_TYPE_Msk (0xff00UL) /*!< USIC ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define USIC_ID_MOD_NUMBER_Pos (16UL) /*!< USIC ID: MOD_NUMBER (Bit 16) */ +#define USIC_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< USIC ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + + +/* ================================================================================ */ +/* ================ Group 'USIC_CH' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- USIC_CH_CCFG -------------------------------- */ +#define USIC_CH_CCFG_SSC_Pos (0UL) /*!< USIC_CH CCFG: SSC (Bit 0) */ +#define USIC_CH_CCFG_SSC_Msk (0x1UL) /*!< USIC_CH CCFG: SSC (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCFG_ASC_Pos (1UL) /*!< USIC_CH CCFG: ASC (Bit 1) */ +#define USIC_CH_CCFG_ASC_Msk (0x2UL) /*!< USIC_CH CCFG: ASC (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCFG_IIC_Pos (2UL) /*!< USIC_CH CCFG: IIC (Bit 2) */ +#define USIC_CH_CCFG_IIC_Msk (0x4UL) /*!< USIC_CH CCFG: IIC (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCFG_IIS_Pos (3UL) /*!< USIC_CH CCFG: IIS (Bit 3) */ +#define USIC_CH_CCFG_IIS_Msk (0x8UL) /*!< USIC_CH CCFG: IIS (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCFG_RB_Pos (6UL) /*!< USIC_CH CCFG: RB (Bit 6) */ +#define USIC_CH_CCFG_RB_Msk (0x40UL) /*!< USIC_CH CCFG: RB (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCFG_TB_Pos (7UL) /*!< USIC_CH CCFG: TB (Bit 7) */ +#define USIC_CH_CCFG_TB_Msk (0x80UL) /*!< USIC_CH CCFG: TB (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_KSCFG ------------------------------- */ +#define USIC_CH_KSCFG_MODEN_Pos (0UL) /*!< USIC_CH KSCFG: MODEN (Bit 0) */ +#define USIC_CH_KSCFG_MODEN_Msk (0x1UL) /*!< USIC_CH KSCFG: MODEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_KSCFG_BPMODEN_Pos (1UL) /*!< USIC_CH KSCFG: BPMODEN (Bit 1) */ +#define USIC_CH_KSCFG_BPMODEN_Msk (0x2UL) /*!< USIC_CH KSCFG: BPMODEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_KSCFG_NOMCFG_Pos (4UL) /*!< USIC_CH KSCFG: NOMCFG (Bit 4) */ +#define USIC_CH_KSCFG_NOMCFG_Msk (0x30UL) /*!< USIC_CH KSCFG: NOMCFG (Bitfield-Mask: 0x03) */ +#define USIC_CH_KSCFG_BPNOM_Pos (7UL) /*!< USIC_CH KSCFG: BPNOM (Bit 7) */ +#define USIC_CH_KSCFG_BPNOM_Msk (0x80UL) /*!< USIC_CH KSCFG: BPNOM (Bitfield-Mask: 0x01) */ +#define USIC_CH_KSCFG_SUMCFG_Pos (8UL) /*!< USIC_CH KSCFG: SUMCFG (Bit 8) */ +#define USIC_CH_KSCFG_SUMCFG_Msk (0x300UL) /*!< USIC_CH KSCFG: SUMCFG (Bitfield-Mask: 0x03) */ +#define USIC_CH_KSCFG_BPSUM_Pos (11UL) /*!< USIC_CH KSCFG: BPSUM (Bit 11) */ +#define USIC_CH_KSCFG_BPSUM_Msk (0x800UL) /*!< USIC_CH KSCFG: BPSUM (Bitfield-Mask: 0x01) */ + +/* --------------------------------- USIC_CH_FDR -------------------------------- */ +#define USIC_CH_FDR_STEP_Pos (0UL) /*!< USIC_CH FDR: STEP (Bit 0) */ +#define USIC_CH_FDR_STEP_Msk (0x3ffUL) /*!< USIC_CH FDR: STEP (Bitfield-Mask: 0x3ff) */ +#define USIC_CH_FDR_DM_Pos (14UL) /*!< USIC_CH FDR: DM (Bit 14) */ +#define USIC_CH_FDR_DM_Msk (0xc000UL) /*!< USIC_CH FDR: DM (Bitfield-Mask: 0x03) */ +#define USIC_CH_FDR_RESULT_Pos (16UL) /*!< USIC_CH FDR: RESULT (Bit 16) */ +#define USIC_CH_FDR_RESULT_Msk (0x3ff0000UL) /*!< USIC_CH FDR: RESULT (Bitfield-Mask: 0x3ff) */ + +/* --------------------------------- USIC_CH_BRG -------------------------------- */ +#define USIC_CH_BRG_CLKSEL_Pos (0UL) /*!< USIC_CH BRG: CLKSEL (Bit 0) */ +#define USIC_CH_BRG_CLKSEL_Msk (0x3UL) /*!< USIC_CH BRG: CLKSEL (Bitfield-Mask: 0x03) */ +#define USIC_CH_BRG_TMEN_Pos (3UL) /*!< USIC_CH BRG: TMEN (Bit 3) */ +#define USIC_CH_BRG_TMEN_Msk (0x8UL) /*!< USIC_CH BRG: TMEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_BRG_PPPEN_Pos (4UL) /*!< USIC_CH BRG: PPPEN (Bit 4) */ +#define USIC_CH_BRG_PPPEN_Msk (0x10UL) /*!< USIC_CH BRG: PPPEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_BRG_CTQSEL_Pos (6UL) /*!< USIC_CH BRG: CTQSEL (Bit 6) */ +#define USIC_CH_BRG_CTQSEL_Msk (0xc0UL) /*!< USIC_CH BRG: CTQSEL (Bitfield-Mask: 0x03) */ +#define USIC_CH_BRG_PCTQ_Pos (8UL) /*!< USIC_CH BRG: PCTQ (Bit 8) */ +#define USIC_CH_BRG_PCTQ_Msk (0x300UL) /*!< USIC_CH BRG: PCTQ (Bitfield-Mask: 0x03) */ +#define USIC_CH_BRG_DCTQ_Pos (10UL) /*!< USIC_CH BRG: DCTQ (Bit 10) */ +#define USIC_CH_BRG_DCTQ_Msk (0x7c00UL) /*!< USIC_CH BRG: DCTQ (Bitfield-Mask: 0x1f) */ +#define USIC_CH_BRG_PDIV_Pos (16UL) /*!< USIC_CH BRG: PDIV (Bit 16) */ +#define USIC_CH_BRG_PDIV_Msk (0x3ff0000UL) /*!< USIC_CH BRG: PDIV (Bitfield-Mask: 0x3ff) */ +#define USIC_CH_BRG_SCLKOSEL_Pos (28UL) /*!< USIC_CH BRG: SCLKOSEL (Bit 28) */ +#define USIC_CH_BRG_SCLKOSEL_Msk (0x10000000UL) /*!< USIC_CH BRG: SCLKOSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_BRG_MCLKCFG_Pos (29UL) /*!< USIC_CH BRG: MCLKCFG (Bit 29) */ +#define USIC_CH_BRG_MCLKCFG_Msk (0x20000000UL) /*!< USIC_CH BRG: MCLKCFG (Bitfield-Mask: 0x01) */ +#define USIC_CH_BRG_SCLKCFG_Pos (30UL) /*!< USIC_CH BRG: SCLKCFG (Bit 30) */ +#define USIC_CH_BRG_SCLKCFG_Msk (0xc0000000UL) /*!< USIC_CH BRG: SCLKCFG (Bitfield-Mask: 0x03) */ + +/* -------------------------------- USIC_CH_INPR -------------------------------- */ +#define USIC_CH_INPR_TSINP_Pos (0UL) /*!< USIC_CH INPR: TSINP (Bit 0) */ +#define USIC_CH_INPR_TSINP_Msk (0x7UL) /*!< USIC_CH INPR: TSINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_INPR_TBINP_Pos (4UL) /*!< USIC_CH INPR: TBINP (Bit 4) */ +#define USIC_CH_INPR_TBINP_Msk (0x70UL) /*!< USIC_CH INPR: TBINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_INPR_RINP_Pos (8UL) /*!< USIC_CH INPR: RINP (Bit 8) */ +#define USIC_CH_INPR_RINP_Msk (0x700UL) /*!< USIC_CH INPR: RINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_INPR_AINP_Pos (12UL) /*!< USIC_CH INPR: AINP (Bit 12) */ +#define USIC_CH_INPR_AINP_Msk (0x7000UL) /*!< USIC_CH INPR: AINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_INPR_PINP_Pos (16UL) /*!< USIC_CH INPR: PINP (Bit 16) */ +#define USIC_CH_INPR_PINP_Msk (0x70000UL) /*!< USIC_CH INPR: PINP (Bitfield-Mask: 0x07) */ + +/* -------------------------------- USIC_CH_DX0CR ------------------------------- */ +#define USIC_CH_DX0CR_DSEL_Pos (0UL) /*!< USIC_CH DX0CR: DSEL (Bit 0) */ +#define USIC_CH_DX0CR_DSEL_Msk (0x7UL) /*!< USIC_CH DX0CR: DSEL (Bitfield-Mask: 0x07) */ +#define USIC_CH_DX0CR_INSW_Pos (4UL) /*!< USIC_CH DX0CR: INSW (Bit 4) */ +#define USIC_CH_DX0CR_INSW_Msk (0x10UL) /*!< USIC_CH DX0CR: INSW (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX0CR_DFEN_Pos (5UL) /*!< USIC_CH DX0CR: DFEN (Bit 5) */ +#define USIC_CH_DX0CR_DFEN_Msk (0x20UL) /*!< USIC_CH DX0CR: DFEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX0CR_DSEN_Pos (6UL) /*!< USIC_CH DX0CR: DSEN (Bit 6) */ +#define USIC_CH_DX0CR_DSEN_Msk (0x40UL) /*!< USIC_CH DX0CR: DSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX0CR_DPOL_Pos (8UL) /*!< USIC_CH DX0CR: DPOL (Bit 8) */ +#define USIC_CH_DX0CR_DPOL_Msk (0x100UL) /*!< USIC_CH DX0CR: DPOL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX0CR_SFSEL_Pos (9UL) /*!< USIC_CH DX0CR: SFSEL (Bit 9) */ +#define USIC_CH_DX0CR_SFSEL_Msk (0x200UL) /*!< USIC_CH DX0CR: SFSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX0CR_CM_Pos (10UL) /*!< USIC_CH DX0CR: CM (Bit 10) */ +#define USIC_CH_DX0CR_CM_Msk (0xc00UL) /*!< USIC_CH DX0CR: CM (Bitfield-Mask: 0x03) */ +#define USIC_CH_DX0CR_DXS_Pos (15UL) /*!< USIC_CH DX0CR: DXS (Bit 15) */ +#define USIC_CH_DX0CR_DXS_Msk (0x8000UL) /*!< USIC_CH DX0CR: DXS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_DX1CR ------------------------------- */ +#define USIC_CH_DX1CR_DSEL_Pos (0UL) /*!< USIC_CH DX1CR: DSEL (Bit 0) */ +#define USIC_CH_DX1CR_DSEL_Msk (0x7UL) /*!< USIC_CH DX1CR: DSEL (Bitfield-Mask: 0x07) */ +#define USIC_CH_DX1CR_DCEN_Pos (3UL) /*!< USIC_CH DX1CR: DCEN (Bit 3) */ +#define USIC_CH_DX1CR_DCEN_Msk (0x8UL) /*!< USIC_CH DX1CR: DCEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX1CR_INSW_Pos (4UL) /*!< USIC_CH DX1CR: INSW (Bit 4) */ +#define USIC_CH_DX1CR_INSW_Msk (0x10UL) /*!< USIC_CH DX1CR: INSW (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX1CR_DFEN_Pos (5UL) /*!< USIC_CH DX1CR: DFEN (Bit 5) */ +#define USIC_CH_DX1CR_DFEN_Msk (0x20UL) /*!< USIC_CH DX1CR: DFEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX1CR_DSEN_Pos (6UL) /*!< USIC_CH DX1CR: DSEN (Bit 6) */ +#define USIC_CH_DX1CR_DSEN_Msk (0x40UL) /*!< USIC_CH DX1CR: DSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX1CR_DPOL_Pos (8UL) /*!< USIC_CH DX1CR: DPOL (Bit 8) */ +#define USIC_CH_DX1CR_DPOL_Msk (0x100UL) /*!< USIC_CH DX1CR: DPOL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX1CR_SFSEL_Pos (9UL) /*!< USIC_CH DX1CR: SFSEL (Bit 9) */ +#define USIC_CH_DX1CR_SFSEL_Msk (0x200UL) /*!< USIC_CH DX1CR: SFSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX1CR_CM_Pos (10UL) /*!< USIC_CH DX1CR: CM (Bit 10) */ +#define USIC_CH_DX1CR_CM_Msk (0xc00UL) /*!< USIC_CH DX1CR: CM (Bitfield-Mask: 0x03) */ +#define USIC_CH_DX1CR_DXS_Pos (15UL) /*!< USIC_CH DX1CR: DXS (Bit 15) */ +#define USIC_CH_DX1CR_DXS_Msk (0x8000UL) /*!< USIC_CH DX1CR: DXS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_DX2CR ------------------------------- */ +#define USIC_CH_DX2CR_DSEL_Pos (0UL) /*!< USIC_CH DX2CR: DSEL (Bit 0) */ +#define USIC_CH_DX2CR_DSEL_Msk (0x7UL) /*!< USIC_CH DX2CR: DSEL (Bitfield-Mask: 0x07) */ +#define USIC_CH_DX2CR_INSW_Pos (4UL) /*!< USIC_CH DX2CR: INSW (Bit 4) */ +#define USIC_CH_DX2CR_INSW_Msk (0x10UL) /*!< USIC_CH DX2CR: INSW (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX2CR_DFEN_Pos (5UL) /*!< USIC_CH DX2CR: DFEN (Bit 5) */ +#define USIC_CH_DX2CR_DFEN_Msk (0x20UL) /*!< USIC_CH DX2CR: DFEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX2CR_DSEN_Pos (6UL) /*!< USIC_CH DX2CR: DSEN (Bit 6) */ +#define USIC_CH_DX2CR_DSEN_Msk (0x40UL) /*!< USIC_CH DX2CR: DSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX2CR_DPOL_Pos (8UL) /*!< USIC_CH DX2CR: DPOL (Bit 8) */ +#define USIC_CH_DX2CR_DPOL_Msk (0x100UL) /*!< USIC_CH DX2CR: DPOL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX2CR_SFSEL_Pos (9UL) /*!< USIC_CH DX2CR: SFSEL (Bit 9) */ +#define USIC_CH_DX2CR_SFSEL_Msk (0x200UL) /*!< USIC_CH DX2CR: SFSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX2CR_CM_Pos (10UL) /*!< USIC_CH DX2CR: CM (Bit 10) */ +#define USIC_CH_DX2CR_CM_Msk (0xc00UL) /*!< USIC_CH DX2CR: CM (Bitfield-Mask: 0x03) */ +#define USIC_CH_DX2CR_DXS_Pos (15UL) /*!< USIC_CH DX2CR: DXS (Bit 15) */ +#define USIC_CH_DX2CR_DXS_Msk (0x8000UL) /*!< USIC_CH DX2CR: DXS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_DX3CR ------------------------------- */ +#define USIC_CH_DX3CR_DSEL_Pos (0UL) /*!< USIC_CH DX3CR: DSEL (Bit 0) */ +#define USIC_CH_DX3CR_DSEL_Msk (0x7UL) /*!< USIC_CH DX3CR: DSEL (Bitfield-Mask: 0x07) */ +#define USIC_CH_DX3CR_INSW_Pos (4UL) /*!< USIC_CH DX3CR: INSW (Bit 4) */ +#define USIC_CH_DX3CR_INSW_Msk (0x10UL) /*!< USIC_CH DX3CR: INSW (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX3CR_DFEN_Pos (5UL) /*!< USIC_CH DX3CR: DFEN (Bit 5) */ +#define USIC_CH_DX3CR_DFEN_Msk (0x20UL) /*!< USIC_CH DX3CR: DFEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX3CR_DSEN_Pos (6UL) /*!< USIC_CH DX3CR: DSEN (Bit 6) */ +#define USIC_CH_DX3CR_DSEN_Msk (0x40UL) /*!< USIC_CH DX3CR: DSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX3CR_DPOL_Pos (8UL) /*!< USIC_CH DX3CR: DPOL (Bit 8) */ +#define USIC_CH_DX3CR_DPOL_Msk (0x100UL) /*!< USIC_CH DX3CR: DPOL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX3CR_SFSEL_Pos (9UL) /*!< USIC_CH DX3CR: SFSEL (Bit 9) */ +#define USIC_CH_DX3CR_SFSEL_Msk (0x200UL) /*!< USIC_CH DX3CR: SFSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX3CR_CM_Pos (10UL) /*!< USIC_CH DX3CR: CM (Bit 10) */ +#define USIC_CH_DX3CR_CM_Msk (0xc00UL) /*!< USIC_CH DX3CR: CM (Bitfield-Mask: 0x03) */ +#define USIC_CH_DX3CR_DXS_Pos (15UL) /*!< USIC_CH DX3CR: DXS (Bit 15) */ +#define USIC_CH_DX3CR_DXS_Msk (0x8000UL) /*!< USIC_CH DX3CR: DXS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_DX4CR ------------------------------- */ +#define USIC_CH_DX4CR_DSEL_Pos (0UL) /*!< USIC_CH DX4CR: DSEL (Bit 0) */ +#define USIC_CH_DX4CR_DSEL_Msk (0x7UL) /*!< USIC_CH DX4CR: DSEL (Bitfield-Mask: 0x07) */ +#define USIC_CH_DX4CR_INSW_Pos (4UL) /*!< USIC_CH DX4CR: INSW (Bit 4) */ +#define USIC_CH_DX4CR_INSW_Msk (0x10UL) /*!< USIC_CH DX4CR: INSW (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX4CR_DFEN_Pos (5UL) /*!< USIC_CH DX4CR: DFEN (Bit 5) */ +#define USIC_CH_DX4CR_DFEN_Msk (0x20UL) /*!< USIC_CH DX4CR: DFEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX4CR_DSEN_Pos (6UL) /*!< USIC_CH DX4CR: DSEN (Bit 6) */ +#define USIC_CH_DX4CR_DSEN_Msk (0x40UL) /*!< USIC_CH DX4CR: DSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX4CR_DPOL_Pos (8UL) /*!< USIC_CH DX4CR: DPOL (Bit 8) */ +#define USIC_CH_DX4CR_DPOL_Msk (0x100UL) /*!< USIC_CH DX4CR: DPOL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX4CR_SFSEL_Pos (9UL) /*!< USIC_CH DX4CR: SFSEL (Bit 9) */ +#define USIC_CH_DX4CR_SFSEL_Msk (0x200UL) /*!< USIC_CH DX4CR: SFSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX4CR_CM_Pos (10UL) /*!< USIC_CH DX4CR: CM (Bit 10) */ +#define USIC_CH_DX4CR_CM_Msk (0xc00UL) /*!< USIC_CH DX4CR: CM (Bitfield-Mask: 0x03) */ +#define USIC_CH_DX4CR_DXS_Pos (15UL) /*!< USIC_CH DX4CR: DXS (Bit 15) */ +#define USIC_CH_DX4CR_DXS_Msk (0x8000UL) /*!< USIC_CH DX4CR: DXS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_DX5CR ------------------------------- */ +#define USIC_CH_DX5CR_DSEL_Pos (0UL) /*!< USIC_CH DX5CR: DSEL (Bit 0) */ +#define USIC_CH_DX5CR_DSEL_Msk (0x7UL) /*!< USIC_CH DX5CR: DSEL (Bitfield-Mask: 0x07) */ +#define USIC_CH_DX5CR_INSW_Pos (4UL) /*!< USIC_CH DX5CR: INSW (Bit 4) */ +#define USIC_CH_DX5CR_INSW_Msk (0x10UL) /*!< USIC_CH DX5CR: INSW (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX5CR_DFEN_Pos (5UL) /*!< USIC_CH DX5CR: DFEN (Bit 5) */ +#define USIC_CH_DX5CR_DFEN_Msk (0x20UL) /*!< USIC_CH DX5CR: DFEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX5CR_DSEN_Pos (6UL) /*!< USIC_CH DX5CR: DSEN (Bit 6) */ +#define USIC_CH_DX5CR_DSEN_Msk (0x40UL) /*!< USIC_CH DX5CR: DSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX5CR_DPOL_Pos (8UL) /*!< USIC_CH DX5CR: DPOL (Bit 8) */ +#define USIC_CH_DX5CR_DPOL_Msk (0x100UL) /*!< USIC_CH DX5CR: DPOL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX5CR_SFSEL_Pos (9UL) /*!< USIC_CH DX5CR: SFSEL (Bit 9) */ +#define USIC_CH_DX5CR_SFSEL_Msk (0x200UL) /*!< USIC_CH DX5CR: SFSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_DX5CR_CM_Pos (10UL) /*!< USIC_CH DX5CR: CM (Bit 10) */ +#define USIC_CH_DX5CR_CM_Msk (0xc00UL) /*!< USIC_CH DX5CR: CM (Bitfield-Mask: 0x03) */ +#define USIC_CH_DX5CR_DXS_Pos (15UL) /*!< USIC_CH DX5CR: DXS (Bit 15) */ +#define USIC_CH_DX5CR_DXS_Msk (0x8000UL) /*!< USIC_CH DX5CR: DXS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_SCTR -------------------------------- */ +#define USIC_CH_SCTR_SDIR_Pos (0UL) /*!< USIC_CH SCTR: SDIR (Bit 0) */ +#define USIC_CH_SCTR_SDIR_Msk (0x1UL) /*!< USIC_CH SCTR: SDIR (Bitfield-Mask: 0x01) */ +#define USIC_CH_SCTR_PDL_Pos (1UL) /*!< USIC_CH SCTR: PDL (Bit 1) */ +#define USIC_CH_SCTR_PDL_Msk (0x2UL) /*!< USIC_CH SCTR: PDL (Bitfield-Mask: 0x01) */ +#define USIC_CH_SCTR_DSM_Pos (2UL) /*!< USIC_CH SCTR: DSM (Bit 2) */ +#define USIC_CH_SCTR_DSM_Msk (0xcUL) /*!< USIC_CH SCTR: DSM (Bitfield-Mask: 0x03) */ +#define USIC_CH_SCTR_HPCDIR_Pos (4UL) /*!< USIC_CH SCTR: HPCDIR (Bit 4) */ +#define USIC_CH_SCTR_HPCDIR_Msk (0x10UL) /*!< USIC_CH SCTR: HPCDIR (Bitfield-Mask: 0x01) */ +#define USIC_CH_SCTR_DOCFG_Pos (6UL) /*!< USIC_CH SCTR: DOCFG (Bit 6) */ +#define USIC_CH_SCTR_DOCFG_Msk (0xc0UL) /*!< USIC_CH SCTR: DOCFG (Bitfield-Mask: 0x03) */ +#define USIC_CH_SCTR_TRM_Pos (8UL) /*!< USIC_CH SCTR: TRM (Bit 8) */ +#define USIC_CH_SCTR_TRM_Msk (0x300UL) /*!< USIC_CH SCTR: TRM (Bitfield-Mask: 0x03) */ +#define USIC_CH_SCTR_FLE_Pos (16UL) /*!< USIC_CH SCTR: FLE (Bit 16) */ +#define USIC_CH_SCTR_FLE_Msk (0x3f0000UL) /*!< USIC_CH SCTR: FLE (Bitfield-Mask: 0x3f) */ +#define USIC_CH_SCTR_WLE_Pos (24UL) /*!< USIC_CH SCTR: WLE (Bit 24) */ +#define USIC_CH_SCTR_WLE_Msk (0xf000000UL) /*!< USIC_CH SCTR: WLE (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- USIC_CH_TCSR -------------------------------- */ +#define USIC_CH_TCSR_WLEMD_Pos (0UL) /*!< USIC_CH TCSR: WLEMD (Bit 0) */ +#define USIC_CH_TCSR_WLEMD_Msk (0x1UL) /*!< USIC_CH TCSR: WLEMD (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_SELMD_Pos (1UL) /*!< USIC_CH TCSR: SELMD (Bit 1) */ +#define USIC_CH_TCSR_SELMD_Msk (0x2UL) /*!< USIC_CH TCSR: SELMD (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_FLEMD_Pos (2UL) /*!< USIC_CH TCSR: FLEMD (Bit 2) */ +#define USIC_CH_TCSR_FLEMD_Msk (0x4UL) /*!< USIC_CH TCSR: FLEMD (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_WAMD_Pos (3UL) /*!< USIC_CH TCSR: WAMD (Bit 3) */ +#define USIC_CH_TCSR_WAMD_Msk (0x8UL) /*!< USIC_CH TCSR: WAMD (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_HPCMD_Pos (4UL) /*!< USIC_CH TCSR: HPCMD (Bit 4) */ +#define USIC_CH_TCSR_HPCMD_Msk (0x10UL) /*!< USIC_CH TCSR: HPCMD (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_SOF_Pos (5UL) /*!< USIC_CH TCSR: SOF (Bit 5) */ +#define USIC_CH_TCSR_SOF_Msk (0x20UL) /*!< USIC_CH TCSR: SOF (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_EOF_Pos (6UL) /*!< USIC_CH TCSR: EOF (Bit 6) */ +#define USIC_CH_TCSR_EOF_Msk (0x40UL) /*!< USIC_CH TCSR: EOF (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TDV_Pos (7UL) /*!< USIC_CH TCSR: TDV (Bit 7) */ +#define USIC_CH_TCSR_TDV_Msk (0x80UL) /*!< USIC_CH TCSR: TDV (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TDSSM_Pos (8UL) /*!< USIC_CH TCSR: TDSSM (Bit 8) */ +#define USIC_CH_TCSR_TDSSM_Msk (0x100UL) /*!< USIC_CH TCSR: TDSSM (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TDEN_Pos (10UL) /*!< USIC_CH TCSR: TDEN (Bit 10) */ +#define USIC_CH_TCSR_TDEN_Msk (0xc00UL) /*!< USIC_CH TCSR: TDEN (Bitfield-Mask: 0x03) */ +#define USIC_CH_TCSR_TDVTR_Pos (12UL) /*!< USIC_CH TCSR: TDVTR (Bit 12) */ +#define USIC_CH_TCSR_TDVTR_Msk (0x1000UL) /*!< USIC_CH TCSR: TDVTR (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_WA_Pos (13UL) /*!< USIC_CH TCSR: WA (Bit 13) */ +#define USIC_CH_TCSR_WA_Msk (0x2000UL) /*!< USIC_CH TCSR: WA (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TSOF_Pos (24UL) /*!< USIC_CH TCSR: TSOF (Bit 24) */ +#define USIC_CH_TCSR_TSOF_Msk (0x1000000UL) /*!< USIC_CH TCSR: TSOF (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TV_Pos (26UL) /*!< USIC_CH TCSR: TV (Bit 26) */ +#define USIC_CH_TCSR_TV_Msk (0x4000000UL) /*!< USIC_CH TCSR: TV (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TVC_Pos (27UL) /*!< USIC_CH TCSR: TVC (Bit 27) */ +#define USIC_CH_TCSR_TVC_Msk (0x8000000UL) /*!< USIC_CH TCSR: TVC (Bitfield-Mask: 0x01) */ +#define USIC_CH_TCSR_TE_Pos (28UL) /*!< USIC_CH TCSR: TE (Bit 28) */ +#define USIC_CH_TCSR_TE_Msk (0x10000000UL) /*!< USIC_CH TCSR: TE (Bitfield-Mask: 0x01) */ + +/* --------------------------------- USIC_CH_PCR -------------------------------- */ +#define USIC_CH_PCR_CTR0_Pos (0UL) /*!< USIC_CH PCR: CTR0 (Bit 0) */ +#define USIC_CH_PCR_CTR0_Msk (0x1UL) /*!< USIC_CH PCR: CTR0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR1_Pos (1UL) /*!< USIC_CH PCR: CTR1 (Bit 1) */ +#define USIC_CH_PCR_CTR1_Msk (0x2UL) /*!< USIC_CH PCR: CTR1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR2_Pos (2UL) /*!< USIC_CH PCR: CTR2 (Bit 2) */ +#define USIC_CH_PCR_CTR2_Msk (0x4UL) /*!< USIC_CH PCR: CTR2 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR3_Pos (3UL) /*!< USIC_CH PCR: CTR3 (Bit 3) */ +#define USIC_CH_PCR_CTR3_Msk (0x8UL) /*!< USIC_CH PCR: CTR3 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR4_Pos (4UL) /*!< USIC_CH PCR: CTR4 (Bit 4) */ +#define USIC_CH_PCR_CTR4_Msk (0x10UL) /*!< USIC_CH PCR: CTR4 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR5_Pos (5UL) /*!< USIC_CH PCR: CTR5 (Bit 5) */ +#define USIC_CH_PCR_CTR5_Msk (0x20UL) /*!< USIC_CH PCR: CTR5 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR6_Pos (6UL) /*!< USIC_CH PCR: CTR6 (Bit 6) */ +#define USIC_CH_PCR_CTR6_Msk (0x40UL) /*!< USIC_CH PCR: CTR6 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR7_Pos (7UL) /*!< USIC_CH PCR: CTR7 (Bit 7) */ +#define USIC_CH_PCR_CTR7_Msk (0x80UL) /*!< USIC_CH PCR: CTR7 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR8_Pos (8UL) /*!< USIC_CH PCR: CTR8 (Bit 8) */ +#define USIC_CH_PCR_CTR8_Msk (0x100UL) /*!< USIC_CH PCR: CTR8 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR9_Pos (9UL) /*!< USIC_CH PCR: CTR9 (Bit 9) */ +#define USIC_CH_PCR_CTR9_Msk (0x200UL) /*!< USIC_CH PCR: CTR9 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR10_Pos (10UL) /*!< USIC_CH PCR: CTR10 (Bit 10) */ +#define USIC_CH_PCR_CTR10_Msk (0x400UL) /*!< USIC_CH PCR: CTR10 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR11_Pos (11UL) /*!< USIC_CH PCR: CTR11 (Bit 11) */ +#define USIC_CH_PCR_CTR11_Msk (0x800UL) /*!< USIC_CH PCR: CTR11 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR12_Pos (12UL) /*!< USIC_CH PCR: CTR12 (Bit 12) */ +#define USIC_CH_PCR_CTR12_Msk (0x1000UL) /*!< USIC_CH PCR: CTR12 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR13_Pos (13UL) /*!< USIC_CH PCR: CTR13 (Bit 13) */ +#define USIC_CH_PCR_CTR13_Msk (0x2000UL) /*!< USIC_CH PCR: CTR13 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR14_Pos (14UL) /*!< USIC_CH PCR: CTR14 (Bit 14) */ +#define USIC_CH_PCR_CTR14_Msk (0x4000UL) /*!< USIC_CH PCR: CTR14 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR15_Pos (15UL) /*!< USIC_CH PCR: CTR15 (Bit 15) */ +#define USIC_CH_PCR_CTR15_Msk (0x8000UL) /*!< USIC_CH PCR: CTR15 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR16_Pos (16UL) /*!< USIC_CH PCR: CTR16 (Bit 16) */ +#define USIC_CH_PCR_CTR16_Msk (0x10000UL) /*!< USIC_CH PCR: CTR16 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR17_Pos (17UL) /*!< USIC_CH PCR: CTR17 (Bit 17) */ +#define USIC_CH_PCR_CTR17_Msk (0x20000UL) /*!< USIC_CH PCR: CTR17 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR18_Pos (18UL) /*!< USIC_CH PCR: CTR18 (Bit 18) */ +#define USIC_CH_PCR_CTR18_Msk (0x40000UL) /*!< USIC_CH PCR: CTR18 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR19_Pos (19UL) /*!< USIC_CH PCR: CTR19 (Bit 19) */ +#define USIC_CH_PCR_CTR19_Msk (0x80000UL) /*!< USIC_CH PCR: CTR19 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR20_Pos (20UL) /*!< USIC_CH PCR: CTR20 (Bit 20) */ +#define USIC_CH_PCR_CTR20_Msk (0x100000UL) /*!< USIC_CH PCR: CTR20 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR21_Pos (21UL) /*!< USIC_CH PCR: CTR21 (Bit 21) */ +#define USIC_CH_PCR_CTR21_Msk (0x200000UL) /*!< USIC_CH PCR: CTR21 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR22_Pos (22UL) /*!< USIC_CH PCR: CTR22 (Bit 22) */ +#define USIC_CH_PCR_CTR22_Msk (0x400000UL) /*!< USIC_CH PCR: CTR22 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR23_Pos (23UL) /*!< USIC_CH PCR: CTR23 (Bit 23) */ +#define USIC_CH_PCR_CTR23_Msk (0x800000UL) /*!< USIC_CH PCR: CTR23 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR24_Pos (24UL) /*!< USIC_CH PCR: CTR24 (Bit 24) */ +#define USIC_CH_PCR_CTR24_Msk (0x1000000UL) /*!< USIC_CH PCR: CTR24 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR25_Pos (25UL) /*!< USIC_CH PCR: CTR25 (Bit 25) */ +#define USIC_CH_PCR_CTR25_Msk (0x2000000UL) /*!< USIC_CH PCR: CTR25 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR26_Pos (26UL) /*!< USIC_CH PCR: CTR26 (Bit 26) */ +#define USIC_CH_PCR_CTR26_Msk (0x4000000UL) /*!< USIC_CH PCR: CTR26 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR27_Pos (27UL) /*!< USIC_CH PCR: CTR27 (Bit 27) */ +#define USIC_CH_PCR_CTR27_Msk (0x8000000UL) /*!< USIC_CH PCR: CTR27 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR28_Pos (28UL) /*!< USIC_CH PCR: CTR28 (Bit 28) */ +#define USIC_CH_PCR_CTR28_Msk (0x10000000UL) /*!< USIC_CH PCR: CTR28 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR29_Pos (29UL) /*!< USIC_CH PCR: CTR29 (Bit 29) */ +#define USIC_CH_PCR_CTR29_Msk (0x20000000UL) /*!< USIC_CH PCR: CTR29 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR30_Pos (30UL) /*!< USIC_CH PCR: CTR30 (Bit 30) */ +#define USIC_CH_PCR_CTR30_Msk (0x40000000UL) /*!< USIC_CH PCR: CTR30 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_CTR31_Pos (31UL) /*!< USIC_CH PCR: CTR31 (Bit 31) */ +#define USIC_CH_PCR_CTR31_Msk (0x80000000UL) /*!< USIC_CH PCR: CTR31 (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PCR_ASCMode ---------------------------- */ +#define USIC_CH_PCR_ASCMode_SMD_Pos (0UL) /*!< USIC_CH PCR_ASCMode: SMD (Bit 0) */ +#define USIC_CH_PCR_ASCMode_SMD_Msk (0x1UL) /*!< USIC_CH PCR_ASCMode: SMD (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_STPB_Pos (1UL) /*!< USIC_CH PCR_ASCMode: STPB (Bit 1) */ +#define USIC_CH_PCR_ASCMode_STPB_Msk (0x2UL) /*!< USIC_CH PCR_ASCMode: STPB (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_IDM_Pos (2UL) /*!< USIC_CH PCR_ASCMode: IDM (Bit 2) */ +#define USIC_CH_PCR_ASCMode_IDM_Msk (0x4UL) /*!< USIC_CH PCR_ASCMode: IDM (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_SBIEN_Pos (3UL) /*!< USIC_CH PCR_ASCMode: SBIEN (Bit 3) */ +#define USIC_CH_PCR_ASCMode_SBIEN_Msk (0x8UL) /*!< USIC_CH PCR_ASCMode: SBIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_CDEN_Pos (4UL) /*!< USIC_CH PCR_ASCMode: CDEN (Bit 4) */ +#define USIC_CH_PCR_ASCMode_CDEN_Msk (0x10UL) /*!< USIC_CH PCR_ASCMode: CDEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_RNIEN_Pos (5UL) /*!< USIC_CH PCR_ASCMode: RNIEN (Bit 5) */ +#define USIC_CH_PCR_ASCMode_RNIEN_Msk (0x20UL) /*!< USIC_CH PCR_ASCMode: RNIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_FEIEN_Pos (6UL) /*!< USIC_CH PCR_ASCMode: FEIEN (Bit 6) */ +#define USIC_CH_PCR_ASCMode_FEIEN_Msk (0x40UL) /*!< USIC_CH PCR_ASCMode: FEIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_FFIEN_Pos (7UL) /*!< USIC_CH PCR_ASCMode: FFIEN (Bit 7) */ +#define USIC_CH_PCR_ASCMode_FFIEN_Msk (0x80UL) /*!< USIC_CH PCR_ASCMode: FFIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_SP_Pos (8UL) /*!< USIC_CH PCR_ASCMode: SP (Bit 8) */ +#define USIC_CH_PCR_ASCMode_SP_Msk (0x1f00UL) /*!< USIC_CH PCR_ASCMode: SP (Bitfield-Mask: 0x1f) */ +#define USIC_CH_PCR_ASCMode_PL_Pos (13UL) /*!< USIC_CH PCR_ASCMode: PL (Bit 13) */ +#define USIC_CH_PCR_ASCMode_PL_Msk (0xe000UL) /*!< USIC_CH PCR_ASCMode: PL (Bitfield-Mask: 0x07) */ +#define USIC_CH_PCR_ASCMode_RSTEN_Pos (16UL) /*!< USIC_CH PCR_ASCMode: RSTEN (Bit 16) */ +#define USIC_CH_PCR_ASCMode_RSTEN_Msk (0x10000UL) /*!< USIC_CH PCR_ASCMode: RSTEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_TSTEN_Pos (17UL) /*!< USIC_CH PCR_ASCMode: TSTEN (Bit 17) */ +#define USIC_CH_PCR_ASCMode_TSTEN_Msk (0x20000UL) /*!< USIC_CH PCR_ASCMode: TSTEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_ASCMode_MCLK_Pos (31UL) /*!< USIC_CH PCR_ASCMode: MCLK (Bit 31) */ +#define USIC_CH_PCR_ASCMode_MCLK_Msk (0x80000000UL) /*!< USIC_CH PCR_ASCMode: MCLK (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PCR_SSCMode ---------------------------- */ +#define USIC_CH_PCR_SSCMode_MSLSEN_Pos (0UL) /*!< USIC_CH PCR_SSCMode: MSLSEN (Bit 0) */ +#define USIC_CH_PCR_SSCMode_MSLSEN_Msk (0x1UL) /*!< USIC_CH PCR_SSCMode: MSLSEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_SELCTR_Pos (1UL) /*!< USIC_CH PCR_SSCMode: SELCTR (Bit 1) */ +#define USIC_CH_PCR_SSCMode_SELCTR_Msk (0x2UL) /*!< USIC_CH PCR_SSCMode: SELCTR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_SELINV_Pos (2UL) /*!< USIC_CH PCR_SSCMode: SELINV (Bit 2) */ +#define USIC_CH_PCR_SSCMode_SELINV_Msk (0x4UL) /*!< USIC_CH PCR_SSCMode: SELINV (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_FEM_Pos (3UL) /*!< USIC_CH PCR_SSCMode: FEM (Bit 3) */ +#define USIC_CH_PCR_SSCMode_FEM_Msk (0x8UL) /*!< USIC_CH PCR_SSCMode: FEM (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_CTQSEL1_Pos (4UL) /*!< USIC_CH PCR_SSCMode: CTQSEL1 (Bit 4) */ +#define USIC_CH_PCR_SSCMode_CTQSEL1_Msk (0x30UL) /*!< USIC_CH PCR_SSCMode: CTQSEL1 (Bitfield-Mask: 0x03) */ +#define USIC_CH_PCR_SSCMode_PCTQ1_Pos (6UL) /*!< USIC_CH PCR_SSCMode: PCTQ1 (Bit 6) */ +#define USIC_CH_PCR_SSCMode_PCTQ1_Msk (0xc0UL) /*!< USIC_CH PCR_SSCMode: PCTQ1 (Bitfield-Mask: 0x03) */ +#define USIC_CH_PCR_SSCMode_DCTQ1_Pos (8UL) /*!< USIC_CH PCR_SSCMode: DCTQ1 (Bit 8) */ +#define USIC_CH_PCR_SSCMode_DCTQ1_Msk (0x1f00UL) /*!< USIC_CH PCR_SSCMode: DCTQ1 (Bitfield-Mask: 0x1f) */ +#define USIC_CH_PCR_SSCMode_PARIEN_Pos (13UL) /*!< USIC_CH PCR_SSCMode: PARIEN (Bit 13) */ +#define USIC_CH_PCR_SSCMode_PARIEN_Msk (0x2000UL) /*!< USIC_CH PCR_SSCMode: PARIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_MSLSIEN_Pos (14UL) /*!< USIC_CH PCR_SSCMode: MSLSIEN (Bit 14) */ +#define USIC_CH_PCR_SSCMode_MSLSIEN_Msk (0x4000UL) /*!< USIC_CH PCR_SSCMode: MSLSIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_DX2TIEN_Pos (15UL) /*!< USIC_CH PCR_SSCMode: DX2TIEN (Bit 15) */ +#define USIC_CH_PCR_SSCMode_DX2TIEN_Msk (0x8000UL) /*!< USIC_CH PCR_SSCMode: DX2TIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_SELO_Pos (16UL) /*!< USIC_CH PCR_SSCMode: SELO (Bit 16) */ +#define USIC_CH_PCR_SSCMode_SELO_Msk (0xff0000UL) /*!< USIC_CH PCR_SSCMode: SELO (Bitfield-Mask: 0xff) */ +#define USIC_CH_PCR_SSCMode_TIWEN_Pos (24UL) /*!< USIC_CH PCR_SSCMode: TIWEN (Bit 24) */ +#define USIC_CH_PCR_SSCMode_TIWEN_Msk (0x1000000UL) /*!< USIC_CH PCR_SSCMode: TIWEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_SLPHSEL_Pos (25UL) /*!< USIC_CH PCR_SSCMode: SLPHSEL (Bit 25) */ +#define USIC_CH_PCR_SSCMode_SLPHSEL_Msk (0x2000000UL) /*!< USIC_CH PCR_SSCMode: SLPHSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_SSCMode_MCLK_Pos (31UL) /*!< USIC_CH PCR_SSCMode: MCLK (Bit 31) */ +#define USIC_CH_PCR_SSCMode_MCLK_Msk (0x80000000UL) /*!< USIC_CH PCR_SSCMode: MCLK (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PCR_IICMode ---------------------------- */ +#define USIC_CH_PCR_IICMode_SLAD_Pos (0UL) /*!< USIC_CH PCR_IICMode: SLAD (Bit 0) */ +#define USIC_CH_PCR_IICMode_SLAD_Msk (0xffffUL) /*!< USIC_CH PCR_IICMode: SLAD (Bitfield-Mask: 0xffff) */ +#define USIC_CH_PCR_IICMode_ACK00_Pos (16UL) /*!< USIC_CH PCR_IICMode: ACK00 (Bit 16) */ +#define USIC_CH_PCR_IICMode_ACK00_Msk (0x10000UL) /*!< USIC_CH PCR_IICMode: ACK00 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_STIM_Pos (17UL) /*!< USIC_CH PCR_IICMode: STIM (Bit 17) */ +#define USIC_CH_PCR_IICMode_STIM_Msk (0x20000UL) /*!< USIC_CH PCR_IICMode: STIM (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_SCRIEN_Pos (18UL) /*!< USIC_CH PCR_IICMode: SCRIEN (Bit 18) */ +#define USIC_CH_PCR_IICMode_SCRIEN_Msk (0x40000UL) /*!< USIC_CH PCR_IICMode: SCRIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_RSCRIEN_Pos (19UL) /*!< USIC_CH PCR_IICMode: RSCRIEN (Bit 19) */ +#define USIC_CH_PCR_IICMode_RSCRIEN_Msk (0x80000UL) /*!< USIC_CH PCR_IICMode: RSCRIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_PCRIEN_Pos (20UL) /*!< USIC_CH PCR_IICMode: PCRIEN (Bit 20) */ +#define USIC_CH_PCR_IICMode_PCRIEN_Msk (0x100000UL) /*!< USIC_CH PCR_IICMode: PCRIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_NACKIEN_Pos (21UL) /*!< USIC_CH PCR_IICMode: NACKIEN (Bit 21) */ +#define USIC_CH_PCR_IICMode_NACKIEN_Msk (0x200000UL) /*!< USIC_CH PCR_IICMode: NACKIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_ARLIEN_Pos (22UL) /*!< USIC_CH PCR_IICMode: ARLIEN (Bit 22) */ +#define USIC_CH_PCR_IICMode_ARLIEN_Msk (0x400000UL) /*!< USIC_CH PCR_IICMode: ARLIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_SRRIEN_Pos (23UL) /*!< USIC_CH PCR_IICMode: SRRIEN (Bit 23) */ +#define USIC_CH_PCR_IICMode_SRRIEN_Msk (0x800000UL) /*!< USIC_CH PCR_IICMode: SRRIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_ERRIEN_Pos (24UL) /*!< USIC_CH PCR_IICMode: ERRIEN (Bit 24) */ +#define USIC_CH_PCR_IICMode_ERRIEN_Msk (0x1000000UL) /*!< USIC_CH PCR_IICMode: ERRIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_SACKDIS_Pos (25UL) /*!< USIC_CH PCR_IICMode: SACKDIS (Bit 25) */ +#define USIC_CH_PCR_IICMode_SACKDIS_Msk (0x2000000UL) /*!< USIC_CH PCR_IICMode: SACKDIS (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_HDEL_Pos (26UL) /*!< USIC_CH PCR_IICMode: HDEL (Bit 26) */ +#define USIC_CH_PCR_IICMode_HDEL_Msk (0x3c000000UL) /*!< USIC_CH PCR_IICMode: HDEL (Bitfield-Mask: 0x0f) */ +#define USIC_CH_PCR_IICMode_ACKIEN_Pos (30UL) /*!< USIC_CH PCR_IICMode: ACKIEN (Bit 30) */ +#define USIC_CH_PCR_IICMode_ACKIEN_Msk (0x40000000UL) /*!< USIC_CH PCR_IICMode: ACKIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IICMode_MCLK_Pos (31UL) /*!< USIC_CH PCR_IICMode: MCLK (Bit 31) */ +#define USIC_CH_PCR_IICMode_MCLK_Msk (0x80000000UL) /*!< USIC_CH PCR_IICMode: MCLK (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PCR_IISMode ---------------------------- */ +#define USIC_CH_PCR_IISMode_WAGEN_Pos (0UL) /*!< USIC_CH PCR_IISMode: WAGEN (Bit 0) */ +#define USIC_CH_PCR_IISMode_WAGEN_Msk (0x1UL) /*!< USIC_CH PCR_IISMode: WAGEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_DTEN_Pos (1UL) /*!< USIC_CH PCR_IISMode: DTEN (Bit 1) */ +#define USIC_CH_PCR_IISMode_DTEN_Msk (0x2UL) /*!< USIC_CH PCR_IISMode: DTEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_SELINV_Pos (2UL) /*!< USIC_CH PCR_IISMode: SELINV (Bit 2) */ +#define USIC_CH_PCR_IISMode_SELINV_Msk (0x4UL) /*!< USIC_CH PCR_IISMode: SELINV (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_WAFEIEN_Pos (4UL) /*!< USIC_CH PCR_IISMode: WAFEIEN (Bit 4) */ +#define USIC_CH_PCR_IISMode_WAFEIEN_Msk (0x10UL) /*!< USIC_CH PCR_IISMode: WAFEIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_WAREIEN_Pos (5UL) /*!< USIC_CH PCR_IISMode: WAREIEN (Bit 5) */ +#define USIC_CH_PCR_IISMode_WAREIEN_Msk (0x20UL) /*!< USIC_CH PCR_IISMode: WAREIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_ENDIEN_Pos (6UL) /*!< USIC_CH PCR_IISMode: ENDIEN (Bit 6) */ +#define USIC_CH_PCR_IISMode_ENDIEN_Msk (0x40UL) /*!< USIC_CH PCR_IISMode: ENDIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_DX2TIEN_Pos (15UL) /*!< USIC_CH PCR_IISMode: DX2TIEN (Bit 15) */ +#define USIC_CH_PCR_IISMode_DX2TIEN_Msk (0x8000UL) /*!< USIC_CH PCR_IISMode: DX2TIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_PCR_IISMode_TDEL_Pos (16UL) /*!< USIC_CH PCR_IISMode: TDEL (Bit 16) */ +#define USIC_CH_PCR_IISMode_TDEL_Msk (0x3f0000UL) /*!< USIC_CH PCR_IISMode: TDEL (Bitfield-Mask: 0x3f) */ +#define USIC_CH_PCR_IISMode_MCLK_Pos (31UL) /*!< USIC_CH PCR_IISMode: MCLK (Bit 31) */ +#define USIC_CH_PCR_IISMode_MCLK_Msk (0x80000000UL) /*!< USIC_CH PCR_IISMode: MCLK (Bitfield-Mask: 0x01) */ + +/* --------------------------------- USIC_CH_CCR -------------------------------- */ +#define USIC_CH_CCR_MODE_Pos (0UL) /*!< USIC_CH CCR: MODE (Bit 0) */ +#define USIC_CH_CCR_MODE_Msk (0xfUL) /*!< USIC_CH CCR: MODE (Bitfield-Mask: 0x0f) */ +#define USIC_CH_CCR_HPCEN_Pos (6UL) /*!< USIC_CH CCR: HPCEN (Bit 6) */ +#define USIC_CH_CCR_HPCEN_Msk (0xc0UL) /*!< USIC_CH CCR: HPCEN (Bitfield-Mask: 0x03) */ +#define USIC_CH_CCR_PM_Pos (8UL) /*!< USIC_CH CCR: PM (Bit 8) */ +#define USIC_CH_CCR_PM_Msk (0x300UL) /*!< USIC_CH CCR: PM (Bitfield-Mask: 0x03) */ +#define USIC_CH_CCR_RSIEN_Pos (10UL) /*!< USIC_CH CCR: RSIEN (Bit 10) */ +#define USIC_CH_CCR_RSIEN_Msk (0x400UL) /*!< USIC_CH CCR: RSIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCR_DLIEN_Pos (11UL) /*!< USIC_CH CCR: DLIEN (Bit 11) */ +#define USIC_CH_CCR_DLIEN_Msk (0x800UL) /*!< USIC_CH CCR: DLIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCR_TSIEN_Pos (12UL) /*!< USIC_CH CCR: TSIEN (Bit 12) */ +#define USIC_CH_CCR_TSIEN_Msk (0x1000UL) /*!< USIC_CH CCR: TSIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCR_TBIEN_Pos (13UL) /*!< USIC_CH CCR: TBIEN (Bit 13) */ +#define USIC_CH_CCR_TBIEN_Msk (0x2000UL) /*!< USIC_CH CCR: TBIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCR_RIEN_Pos (14UL) /*!< USIC_CH CCR: RIEN (Bit 14) */ +#define USIC_CH_CCR_RIEN_Msk (0x4000UL) /*!< USIC_CH CCR: RIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCR_AIEN_Pos (15UL) /*!< USIC_CH CCR: AIEN (Bit 15) */ +#define USIC_CH_CCR_AIEN_Msk (0x8000UL) /*!< USIC_CH CCR: AIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_CCR_BRGIEN_Pos (16UL) /*!< USIC_CH CCR: BRGIEN (Bit 16) */ +#define USIC_CH_CCR_BRGIEN_Msk (0x10000UL) /*!< USIC_CH CCR: BRGIEN (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_CMTR -------------------------------- */ +#define USIC_CH_CMTR_CTV_Pos (0UL) /*!< USIC_CH CMTR: CTV (Bit 0) */ +#define USIC_CH_CMTR_CTV_Msk (0x3ffUL) /*!< USIC_CH CMTR: CTV (Bitfield-Mask: 0x3ff) */ + +/* --------------------------------- USIC_CH_PSR -------------------------------- */ +#define USIC_CH_PSR_ST0_Pos (0UL) /*!< USIC_CH PSR: ST0 (Bit 0) */ +#define USIC_CH_PSR_ST0_Msk (0x1UL) /*!< USIC_CH PSR: ST0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST1_Pos (1UL) /*!< USIC_CH PSR: ST1 (Bit 1) */ +#define USIC_CH_PSR_ST1_Msk (0x2UL) /*!< USIC_CH PSR: ST1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST2_Pos (2UL) /*!< USIC_CH PSR: ST2 (Bit 2) */ +#define USIC_CH_PSR_ST2_Msk (0x4UL) /*!< USIC_CH PSR: ST2 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST3_Pos (3UL) /*!< USIC_CH PSR: ST3 (Bit 3) */ +#define USIC_CH_PSR_ST3_Msk (0x8UL) /*!< USIC_CH PSR: ST3 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST4_Pos (4UL) /*!< USIC_CH PSR: ST4 (Bit 4) */ +#define USIC_CH_PSR_ST4_Msk (0x10UL) /*!< USIC_CH PSR: ST4 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST5_Pos (5UL) /*!< USIC_CH PSR: ST5 (Bit 5) */ +#define USIC_CH_PSR_ST5_Msk (0x20UL) /*!< USIC_CH PSR: ST5 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST6_Pos (6UL) /*!< USIC_CH PSR: ST6 (Bit 6) */ +#define USIC_CH_PSR_ST6_Msk (0x40UL) /*!< USIC_CH PSR: ST6 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST7_Pos (7UL) /*!< USIC_CH PSR: ST7 (Bit 7) */ +#define USIC_CH_PSR_ST7_Msk (0x80UL) /*!< USIC_CH PSR: ST7 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST8_Pos (8UL) /*!< USIC_CH PSR: ST8 (Bit 8) */ +#define USIC_CH_PSR_ST8_Msk (0x100UL) /*!< USIC_CH PSR: ST8 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ST9_Pos (9UL) /*!< USIC_CH PSR: ST9 (Bit 9) */ +#define USIC_CH_PSR_ST9_Msk (0x200UL) /*!< USIC_CH PSR: ST9 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_RSIF_Pos (10UL) /*!< USIC_CH PSR: RSIF (Bit 10) */ +#define USIC_CH_PSR_RSIF_Msk (0x400UL) /*!< USIC_CH PSR: RSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_DLIF_Pos (11UL) /*!< USIC_CH PSR: DLIF (Bit 11) */ +#define USIC_CH_PSR_DLIF_Msk (0x800UL) /*!< USIC_CH PSR: DLIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_TSIF_Pos (12UL) /*!< USIC_CH PSR: TSIF (Bit 12) */ +#define USIC_CH_PSR_TSIF_Msk (0x1000UL) /*!< USIC_CH PSR: TSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_TBIF_Pos (13UL) /*!< USIC_CH PSR: TBIF (Bit 13) */ +#define USIC_CH_PSR_TBIF_Msk (0x2000UL) /*!< USIC_CH PSR: TBIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_RIF_Pos (14UL) /*!< USIC_CH PSR: RIF (Bit 14) */ +#define USIC_CH_PSR_RIF_Msk (0x4000UL) /*!< USIC_CH PSR: RIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_AIF_Pos (15UL) /*!< USIC_CH PSR: AIF (Bit 15) */ +#define USIC_CH_PSR_AIF_Msk (0x8000UL) /*!< USIC_CH PSR: AIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_BRGIF_Pos (16UL) /*!< USIC_CH PSR: BRGIF (Bit 16) */ +#define USIC_CH_PSR_BRGIF_Msk (0x10000UL) /*!< USIC_CH PSR: BRGIF (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PSR_ASCMode ---------------------------- */ +#define USIC_CH_PSR_ASCMode_TXIDLE_Pos (0UL) /*!< USIC_CH PSR_ASCMode: TXIDLE (Bit 0) */ +#define USIC_CH_PSR_ASCMode_TXIDLE_Msk (0x1UL) /*!< USIC_CH PSR_ASCMode: TXIDLE (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_RXIDLE_Pos (1UL) /*!< USIC_CH PSR_ASCMode: RXIDLE (Bit 1) */ +#define USIC_CH_PSR_ASCMode_RXIDLE_Msk (0x2UL) /*!< USIC_CH PSR_ASCMode: RXIDLE (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_SBD_Pos (2UL) /*!< USIC_CH PSR_ASCMode: SBD (Bit 2) */ +#define USIC_CH_PSR_ASCMode_SBD_Msk (0x4UL) /*!< USIC_CH PSR_ASCMode: SBD (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_COL_Pos (3UL) /*!< USIC_CH PSR_ASCMode: COL (Bit 3) */ +#define USIC_CH_PSR_ASCMode_COL_Msk (0x8UL) /*!< USIC_CH PSR_ASCMode: COL (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_RNS_Pos (4UL) /*!< USIC_CH PSR_ASCMode: RNS (Bit 4) */ +#define USIC_CH_PSR_ASCMode_RNS_Msk (0x10UL) /*!< USIC_CH PSR_ASCMode: RNS (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_FER0_Pos (5UL) /*!< USIC_CH PSR_ASCMode: FER0 (Bit 5) */ +#define USIC_CH_PSR_ASCMode_FER0_Msk (0x20UL) /*!< USIC_CH PSR_ASCMode: FER0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_FER1_Pos (6UL) /*!< USIC_CH PSR_ASCMode: FER1 (Bit 6) */ +#define USIC_CH_PSR_ASCMode_FER1_Msk (0x40UL) /*!< USIC_CH PSR_ASCMode: FER1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_RFF_Pos (7UL) /*!< USIC_CH PSR_ASCMode: RFF (Bit 7) */ +#define USIC_CH_PSR_ASCMode_RFF_Msk (0x80UL) /*!< USIC_CH PSR_ASCMode: RFF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_TFF_Pos (8UL) /*!< USIC_CH PSR_ASCMode: TFF (Bit 8) */ +#define USIC_CH_PSR_ASCMode_TFF_Msk (0x100UL) /*!< USIC_CH PSR_ASCMode: TFF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_BUSY_Pos (9UL) /*!< USIC_CH PSR_ASCMode: BUSY (Bit 9) */ +#define USIC_CH_PSR_ASCMode_BUSY_Msk (0x200UL) /*!< USIC_CH PSR_ASCMode: BUSY (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_RSIF_Pos (10UL) /*!< USIC_CH PSR_ASCMode: RSIF (Bit 10) */ +#define USIC_CH_PSR_ASCMode_RSIF_Msk (0x400UL) /*!< USIC_CH PSR_ASCMode: RSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_DLIF_Pos (11UL) /*!< USIC_CH PSR_ASCMode: DLIF (Bit 11) */ +#define USIC_CH_PSR_ASCMode_DLIF_Msk (0x800UL) /*!< USIC_CH PSR_ASCMode: DLIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_TSIF_Pos (12UL) /*!< USIC_CH PSR_ASCMode: TSIF (Bit 12) */ +#define USIC_CH_PSR_ASCMode_TSIF_Msk (0x1000UL) /*!< USIC_CH PSR_ASCMode: TSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_TBIF_Pos (13UL) /*!< USIC_CH PSR_ASCMode: TBIF (Bit 13) */ +#define USIC_CH_PSR_ASCMode_TBIF_Msk (0x2000UL) /*!< USIC_CH PSR_ASCMode: TBIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_RIF_Pos (14UL) /*!< USIC_CH PSR_ASCMode: RIF (Bit 14) */ +#define USIC_CH_PSR_ASCMode_RIF_Msk (0x4000UL) /*!< USIC_CH PSR_ASCMode: RIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_AIF_Pos (15UL) /*!< USIC_CH PSR_ASCMode: AIF (Bit 15) */ +#define USIC_CH_PSR_ASCMode_AIF_Msk (0x8000UL) /*!< USIC_CH PSR_ASCMode: AIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_ASCMode_BRGIF_Pos (16UL) /*!< USIC_CH PSR_ASCMode: BRGIF (Bit 16) */ +#define USIC_CH_PSR_ASCMode_BRGIF_Msk (0x10000UL) /*!< USIC_CH PSR_ASCMode: BRGIF (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PSR_SSCMode ---------------------------- */ +#define USIC_CH_PSR_SSCMode_MSLS_Pos (0UL) /*!< USIC_CH PSR_SSCMode: MSLS (Bit 0) */ +#define USIC_CH_PSR_SSCMode_MSLS_Msk (0x1UL) /*!< USIC_CH PSR_SSCMode: MSLS (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_DX2S_Pos (1UL) /*!< USIC_CH PSR_SSCMode: DX2S (Bit 1) */ +#define USIC_CH_PSR_SSCMode_DX2S_Msk (0x2UL) /*!< USIC_CH PSR_SSCMode: DX2S (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_MSLSEV_Pos (2UL) /*!< USIC_CH PSR_SSCMode: MSLSEV (Bit 2) */ +#define USIC_CH_PSR_SSCMode_MSLSEV_Msk (0x4UL) /*!< USIC_CH PSR_SSCMode: MSLSEV (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_DX2TEV_Pos (3UL) /*!< USIC_CH PSR_SSCMode: DX2TEV (Bit 3) */ +#define USIC_CH_PSR_SSCMode_DX2TEV_Msk (0x8UL) /*!< USIC_CH PSR_SSCMode: DX2TEV (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_PARERR_Pos (4UL) /*!< USIC_CH PSR_SSCMode: PARERR (Bit 4) */ +#define USIC_CH_PSR_SSCMode_PARERR_Msk (0x10UL) /*!< USIC_CH PSR_SSCMode: PARERR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_RSIF_Pos (10UL) /*!< USIC_CH PSR_SSCMode: RSIF (Bit 10) */ +#define USIC_CH_PSR_SSCMode_RSIF_Msk (0x400UL) /*!< USIC_CH PSR_SSCMode: RSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_DLIF_Pos (11UL) /*!< USIC_CH PSR_SSCMode: DLIF (Bit 11) */ +#define USIC_CH_PSR_SSCMode_DLIF_Msk (0x800UL) /*!< USIC_CH PSR_SSCMode: DLIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_TSIF_Pos (12UL) /*!< USIC_CH PSR_SSCMode: TSIF (Bit 12) */ +#define USIC_CH_PSR_SSCMode_TSIF_Msk (0x1000UL) /*!< USIC_CH PSR_SSCMode: TSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_TBIF_Pos (13UL) /*!< USIC_CH PSR_SSCMode: TBIF (Bit 13) */ +#define USIC_CH_PSR_SSCMode_TBIF_Msk (0x2000UL) /*!< USIC_CH PSR_SSCMode: TBIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_RIF_Pos (14UL) /*!< USIC_CH PSR_SSCMode: RIF (Bit 14) */ +#define USIC_CH_PSR_SSCMode_RIF_Msk (0x4000UL) /*!< USIC_CH PSR_SSCMode: RIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_AIF_Pos (15UL) /*!< USIC_CH PSR_SSCMode: AIF (Bit 15) */ +#define USIC_CH_PSR_SSCMode_AIF_Msk (0x8000UL) /*!< USIC_CH PSR_SSCMode: AIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_SSCMode_BRGIF_Pos (16UL) /*!< USIC_CH PSR_SSCMode: BRGIF (Bit 16) */ +#define USIC_CH_PSR_SSCMode_BRGIF_Msk (0x10000UL) /*!< USIC_CH PSR_SSCMode: BRGIF (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PSR_IICMode ---------------------------- */ +#define USIC_CH_PSR_IICMode_SLSEL_Pos (0UL) /*!< USIC_CH PSR_IICMode: SLSEL (Bit 0) */ +#define USIC_CH_PSR_IICMode_SLSEL_Msk (0x1UL) /*!< USIC_CH PSR_IICMode: SLSEL (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_WTDF_Pos (1UL) /*!< USIC_CH PSR_IICMode: WTDF (Bit 1) */ +#define USIC_CH_PSR_IICMode_WTDF_Msk (0x2UL) /*!< USIC_CH PSR_IICMode: WTDF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_SCR_Pos (2UL) /*!< USIC_CH PSR_IICMode: SCR (Bit 2) */ +#define USIC_CH_PSR_IICMode_SCR_Msk (0x4UL) /*!< USIC_CH PSR_IICMode: SCR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_RSCR_Pos (3UL) /*!< USIC_CH PSR_IICMode: RSCR (Bit 3) */ +#define USIC_CH_PSR_IICMode_RSCR_Msk (0x8UL) /*!< USIC_CH PSR_IICMode: RSCR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_PCR_Pos (4UL) /*!< USIC_CH PSR_IICMode: PCR (Bit 4) */ +#define USIC_CH_PSR_IICMode_PCR_Msk (0x10UL) /*!< USIC_CH PSR_IICMode: PCR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_NACK_Pos (5UL) /*!< USIC_CH PSR_IICMode: NACK (Bit 5) */ +#define USIC_CH_PSR_IICMode_NACK_Msk (0x20UL) /*!< USIC_CH PSR_IICMode: NACK (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_ARL_Pos (6UL) /*!< USIC_CH PSR_IICMode: ARL (Bit 6) */ +#define USIC_CH_PSR_IICMode_ARL_Msk (0x40UL) /*!< USIC_CH PSR_IICMode: ARL (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_SRR_Pos (7UL) /*!< USIC_CH PSR_IICMode: SRR (Bit 7) */ +#define USIC_CH_PSR_IICMode_SRR_Msk (0x80UL) /*!< USIC_CH PSR_IICMode: SRR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_ERR_Pos (8UL) /*!< USIC_CH PSR_IICMode: ERR (Bit 8) */ +#define USIC_CH_PSR_IICMode_ERR_Msk (0x100UL) /*!< USIC_CH PSR_IICMode: ERR (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_ACK_Pos (9UL) /*!< USIC_CH PSR_IICMode: ACK (Bit 9) */ +#define USIC_CH_PSR_IICMode_ACK_Msk (0x200UL) /*!< USIC_CH PSR_IICMode: ACK (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_RSIF_Pos (10UL) /*!< USIC_CH PSR_IICMode: RSIF (Bit 10) */ +#define USIC_CH_PSR_IICMode_RSIF_Msk (0x400UL) /*!< USIC_CH PSR_IICMode: RSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_DLIF_Pos (11UL) /*!< USIC_CH PSR_IICMode: DLIF (Bit 11) */ +#define USIC_CH_PSR_IICMode_DLIF_Msk (0x800UL) /*!< USIC_CH PSR_IICMode: DLIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_TSIF_Pos (12UL) /*!< USIC_CH PSR_IICMode: TSIF (Bit 12) */ +#define USIC_CH_PSR_IICMode_TSIF_Msk (0x1000UL) /*!< USIC_CH PSR_IICMode: TSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_TBIF_Pos (13UL) /*!< USIC_CH PSR_IICMode: TBIF (Bit 13) */ +#define USIC_CH_PSR_IICMode_TBIF_Msk (0x2000UL) /*!< USIC_CH PSR_IICMode: TBIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_RIF_Pos (14UL) /*!< USIC_CH PSR_IICMode: RIF (Bit 14) */ +#define USIC_CH_PSR_IICMode_RIF_Msk (0x4000UL) /*!< USIC_CH PSR_IICMode: RIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_AIF_Pos (15UL) /*!< USIC_CH PSR_IICMode: AIF (Bit 15) */ +#define USIC_CH_PSR_IICMode_AIF_Msk (0x8000UL) /*!< USIC_CH PSR_IICMode: AIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IICMode_BRGIF_Pos (16UL) /*!< USIC_CH PSR_IICMode: BRGIF (Bit 16) */ +#define USIC_CH_PSR_IICMode_BRGIF_Msk (0x10000UL) /*!< USIC_CH PSR_IICMode: BRGIF (Bitfield-Mask: 0x01) */ + +/* ----------------------------- USIC_CH_PSR_IISMode ---------------------------- */ +#define USIC_CH_PSR_IISMode_WA_Pos (0UL) /*!< USIC_CH PSR_IISMode: WA (Bit 0) */ +#define USIC_CH_PSR_IISMode_WA_Msk (0x1UL) /*!< USIC_CH PSR_IISMode: WA (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_DX2S_Pos (1UL) /*!< USIC_CH PSR_IISMode: DX2S (Bit 1) */ +#define USIC_CH_PSR_IISMode_DX2S_Msk (0x2UL) /*!< USIC_CH PSR_IISMode: DX2S (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_DX2TEV_Pos (3UL) /*!< USIC_CH PSR_IISMode: DX2TEV (Bit 3) */ +#define USIC_CH_PSR_IISMode_DX2TEV_Msk (0x8UL) /*!< USIC_CH PSR_IISMode: DX2TEV (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_WAFE_Pos (4UL) /*!< USIC_CH PSR_IISMode: WAFE (Bit 4) */ +#define USIC_CH_PSR_IISMode_WAFE_Msk (0x10UL) /*!< USIC_CH PSR_IISMode: WAFE (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_WARE_Pos (5UL) /*!< USIC_CH PSR_IISMode: WARE (Bit 5) */ +#define USIC_CH_PSR_IISMode_WARE_Msk (0x20UL) /*!< USIC_CH PSR_IISMode: WARE (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_END_Pos (6UL) /*!< USIC_CH PSR_IISMode: END (Bit 6) */ +#define USIC_CH_PSR_IISMode_END_Msk (0x40UL) /*!< USIC_CH PSR_IISMode: END (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_RSIF_Pos (10UL) /*!< USIC_CH PSR_IISMode: RSIF (Bit 10) */ +#define USIC_CH_PSR_IISMode_RSIF_Msk (0x400UL) /*!< USIC_CH PSR_IISMode: RSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_DLIF_Pos (11UL) /*!< USIC_CH PSR_IISMode: DLIF (Bit 11) */ +#define USIC_CH_PSR_IISMode_DLIF_Msk (0x800UL) /*!< USIC_CH PSR_IISMode: DLIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_TSIF_Pos (12UL) /*!< USIC_CH PSR_IISMode: TSIF (Bit 12) */ +#define USIC_CH_PSR_IISMode_TSIF_Msk (0x1000UL) /*!< USIC_CH PSR_IISMode: TSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_TBIF_Pos (13UL) /*!< USIC_CH PSR_IISMode: TBIF (Bit 13) */ +#define USIC_CH_PSR_IISMode_TBIF_Msk (0x2000UL) /*!< USIC_CH PSR_IISMode: TBIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_RIF_Pos (14UL) /*!< USIC_CH PSR_IISMode: RIF (Bit 14) */ +#define USIC_CH_PSR_IISMode_RIF_Msk (0x4000UL) /*!< USIC_CH PSR_IISMode: RIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_AIF_Pos (15UL) /*!< USIC_CH PSR_IISMode: AIF (Bit 15) */ +#define USIC_CH_PSR_IISMode_AIF_Msk (0x8000UL) /*!< USIC_CH PSR_IISMode: AIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSR_IISMode_BRGIF_Pos (16UL) /*!< USIC_CH PSR_IISMode: BRGIF (Bit 16) */ +#define USIC_CH_PSR_IISMode_BRGIF_Msk (0x10000UL) /*!< USIC_CH PSR_IISMode: BRGIF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_PSCR -------------------------------- */ +#define USIC_CH_PSCR_CST0_Pos (0UL) /*!< USIC_CH PSCR: CST0 (Bit 0) */ +#define USIC_CH_PSCR_CST0_Msk (0x1UL) /*!< USIC_CH PSCR: CST0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST1_Pos (1UL) /*!< USIC_CH PSCR: CST1 (Bit 1) */ +#define USIC_CH_PSCR_CST1_Msk (0x2UL) /*!< USIC_CH PSCR: CST1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST2_Pos (2UL) /*!< USIC_CH PSCR: CST2 (Bit 2) */ +#define USIC_CH_PSCR_CST2_Msk (0x4UL) /*!< USIC_CH PSCR: CST2 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST3_Pos (3UL) /*!< USIC_CH PSCR: CST3 (Bit 3) */ +#define USIC_CH_PSCR_CST3_Msk (0x8UL) /*!< USIC_CH PSCR: CST3 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST4_Pos (4UL) /*!< USIC_CH PSCR: CST4 (Bit 4) */ +#define USIC_CH_PSCR_CST4_Msk (0x10UL) /*!< USIC_CH PSCR: CST4 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST5_Pos (5UL) /*!< USIC_CH PSCR: CST5 (Bit 5) */ +#define USIC_CH_PSCR_CST5_Msk (0x20UL) /*!< USIC_CH PSCR: CST5 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST6_Pos (6UL) /*!< USIC_CH PSCR: CST6 (Bit 6) */ +#define USIC_CH_PSCR_CST6_Msk (0x40UL) /*!< USIC_CH PSCR: CST6 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST7_Pos (7UL) /*!< USIC_CH PSCR: CST7 (Bit 7) */ +#define USIC_CH_PSCR_CST7_Msk (0x80UL) /*!< USIC_CH PSCR: CST7 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST8_Pos (8UL) /*!< USIC_CH PSCR: CST8 (Bit 8) */ +#define USIC_CH_PSCR_CST8_Msk (0x100UL) /*!< USIC_CH PSCR: CST8 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CST9_Pos (9UL) /*!< USIC_CH PSCR: CST9 (Bit 9) */ +#define USIC_CH_PSCR_CST9_Msk (0x200UL) /*!< USIC_CH PSCR: CST9 (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CRSIF_Pos (10UL) /*!< USIC_CH PSCR: CRSIF (Bit 10) */ +#define USIC_CH_PSCR_CRSIF_Msk (0x400UL) /*!< USIC_CH PSCR: CRSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CDLIF_Pos (11UL) /*!< USIC_CH PSCR: CDLIF (Bit 11) */ +#define USIC_CH_PSCR_CDLIF_Msk (0x800UL) /*!< USIC_CH PSCR: CDLIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CTSIF_Pos (12UL) /*!< USIC_CH PSCR: CTSIF (Bit 12) */ +#define USIC_CH_PSCR_CTSIF_Msk (0x1000UL) /*!< USIC_CH PSCR: CTSIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CTBIF_Pos (13UL) /*!< USIC_CH PSCR: CTBIF (Bit 13) */ +#define USIC_CH_PSCR_CTBIF_Msk (0x2000UL) /*!< USIC_CH PSCR: CTBIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CRIF_Pos (14UL) /*!< USIC_CH PSCR: CRIF (Bit 14) */ +#define USIC_CH_PSCR_CRIF_Msk (0x4000UL) /*!< USIC_CH PSCR: CRIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CAIF_Pos (15UL) /*!< USIC_CH PSCR: CAIF (Bit 15) */ +#define USIC_CH_PSCR_CAIF_Msk (0x8000UL) /*!< USIC_CH PSCR: CAIF (Bitfield-Mask: 0x01) */ +#define USIC_CH_PSCR_CBRGIF_Pos (16UL) /*!< USIC_CH PSCR: CBRGIF (Bit 16) */ +#define USIC_CH_PSCR_CBRGIF_Msk (0x10000UL) /*!< USIC_CH PSCR: CBRGIF (Bitfield-Mask: 0x01) */ + +/* ------------------------------- USIC_CH_RBUFSR ------------------------------- */ +#define USIC_CH_RBUFSR_WLEN_Pos (0UL) /*!< USIC_CH RBUFSR: WLEN (Bit 0) */ +#define USIC_CH_RBUFSR_WLEN_Msk (0xfUL) /*!< USIC_CH RBUFSR: WLEN (Bitfield-Mask: 0x0f) */ +#define USIC_CH_RBUFSR_SOF_Pos (6UL) /*!< USIC_CH RBUFSR: SOF (Bit 6) */ +#define USIC_CH_RBUFSR_SOF_Msk (0x40UL) /*!< USIC_CH RBUFSR: SOF (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUFSR_PAR_Pos (8UL) /*!< USIC_CH RBUFSR: PAR (Bit 8) */ +#define USIC_CH_RBUFSR_PAR_Msk (0x100UL) /*!< USIC_CH RBUFSR: PAR (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUFSR_PERR_Pos (9UL) /*!< USIC_CH RBUFSR: PERR (Bit 9) */ +#define USIC_CH_RBUFSR_PERR_Msk (0x200UL) /*!< USIC_CH RBUFSR: PERR (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUFSR_RDV0_Pos (13UL) /*!< USIC_CH RBUFSR: RDV0 (Bit 13) */ +#define USIC_CH_RBUFSR_RDV0_Msk (0x2000UL) /*!< USIC_CH RBUFSR: RDV0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUFSR_RDV1_Pos (14UL) /*!< USIC_CH RBUFSR: RDV1 (Bit 14) */ +#define USIC_CH_RBUFSR_RDV1_Msk (0x4000UL) /*!< USIC_CH RBUFSR: RDV1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUFSR_DS_Pos (15UL) /*!< USIC_CH RBUFSR: DS (Bit 15) */ +#define USIC_CH_RBUFSR_DS_Msk (0x8000UL) /*!< USIC_CH RBUFSR: DS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_RBUF -------------------------------- */ +#define USIC_CH_RBUF_DSR_Pos (0UL) /*!< USIC_CH RBUF: DSR (Bit 0) */ +#define USIC_CH_RBUF_DSR_Msk (0xffffUL) /*!< USIC_CH RBUF: DSR (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- USIC_CH_RBUFD ------------------------------- */ +#define USIC_CH_RBUFD_DSR_Pos (0UL) /*!< USIC_CH RBUFD: DSR (Bit 0) */ +#define USIC_CH_RBUFD_DSR_Msk (0xffffUL) /*!< USIC_CH RBUFD: DSR (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- USIC_CH_RBUF0 ------------------------------- */ +#define USIC_CH_RBUF0_DSR0_Pos (0UL) /*!< USIC_CH RBUF0: DSR0 (Bit 0) */ +#define USIC_CH_RBUF0_DSR0_Msk (0xffffUL) /*!< USIC_CH RBUF0: DSR0 (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- USIC_CH_RBUF1 ------------------------------- */ +#define USIC_CH_RBUF1_DSR1_Pos (0UL) /*!< USIC_CH RBUF1: DSR1 (Bit 0) */ +#define USIC_CH_RBUF1_DSR1_Msk (0xffffUL) /*!< USIC_CH RBUF1: DSR1 (Bitfield-Mask: 0xffff) */ + +/* ------------------------------ USIC_CH_RBUF01SR ------------------------------ */ +#define USIC_CH_RBUF01SR_WLEN0_Pos (0UL) /*!< USIC_CH RBUF01SR: WLEN0 (Bit 0) */ +#define USIC_CH_RBUF01SR_WLEN0_Msk (0xfUL) /*!< USIC_CH RBUF01SR: WLEN0 (Bitfield-Mask: 0x0f) */ +#define USIC_CH_RBUF01SR_SOF0_Pos (6UL) /*!< USIC_CH RBUF01SR: SOF0 (Bit 6) */ +#define USIC_CH_RBUF01SR_SOF0_Msk (0x40UL) /*!< USIC_CH RBUF01SR: SOF0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_PAR0_Pos (8UL) /*!< USIC_CH RBUF01SR: PAR0 (Bit 8) */ +#define USIC_CH_RBUF01SR_PAR0_Msk (0x100UL) /*!< USIC_CH RBUF01SR: PAR0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_PERR0_Pos (9UL) /*!< USIC_CH RBUF01SR: PERR0 (Bit 9) */ +#define USIC_CH_RBUF01SR_PERR0_Msk (0x200UL) /*!< USIC_CH RBUF01SR: PERR0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_RDV00_Pos (13UL) /*!< USIC_CH RBUF01SR: RDV00 (Bit 13) */ +#define USIC_CH_RBUF01SR_RDV00_Msk (0x2000UL) /*!< USIC_CH RBUF01SR: RDV00 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_RDV01_Pos (14UL) /*!< USIC_CH RBUF01SR: RDV01 (Bit 14) */ +#define USIC_CH_RBUF01SR_RDV01_Msk (0x4000UL) /*!< USIC_CH RBUF01SR: RDV01 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_DS0_Pos (15UL) /*!< USIC_CH RBUF01SR: DS0 (Bit 15) */ +#define USIC_CH_RBUF01SR_DS0_Msk (0x8000UL) /*!< USIC_CH RBUF01SR: DS0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_WLEN1_Pos (16UL) /*!< USIC_CH RBUF01SR: WLEN1 (Bit 16) */ +#define USIC_CH_RBUF01SR_WLEN1_Msk (0xf0000UL) /*!< USIC_CH RBUF01SR: WLEN1 (Bitfield-Mask: 0x0f) */ +#define USIC_CH_RBUF01SR_SOF1_Pos (22UL) /*!< USIC_CH RBUF01SR: SOF1 (Bit 22) */ +#define USIC_CH_RBUF01SR_SOF1_Msk (0x400000UL) /*!< USIC_CH RBUF01SR: SOF1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_PAR1_Pos (24UL) /*!< USIC_CH RBUF01SR: PAR1 (Bit 24) */ +#define USIC_CH_RBUF01SR_PAR1_Msk (0x1000000UL) /*!< USIC_CH RBUF01SR: PAR1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_PERR1_Pos (25UL) /*!< USIC_CH RBUF01SR: PERR1 (Bit 25) */ +#define USIC_CH_RBUF01SR_PERR1_Msk (0x2000000UL) /*!< USIC_CH RBUF01SR: PERR1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_RDV10_Pos (29UL) /*!< USIC_CH RBUF01SR: RDV10 (Bit 29) */ +#define USIC_CH_RBUF01SR_RDV10_Msk (0x20000000UL) /*!< USIC_CH RBUF01SR: RDV10 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_RDV11_Pos (30UL) /*!< USIC_CH RBUF01SR: RDV11 (Bit 30) */ +#define USIC_CH_RBUF01SR_RDV11_Msk (0x40000000UL) /*!< USIC_CH RBUF01SR: RDV11 (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBUF01SR_DS1_Pos (31UL) /*!< USIC_CH RBUF01SR: DS1 (Bit 31) */ +#define USIC_CH_RBUF01SR_DS1_Msk (0x80000000UL) /*!< USIC_CH RBUF01SR: DS1 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- USIC_CH_FMR -------------------------------- */ +#define USIC_CH_FMR_MTDV_Pos (0UL) /*!< USIC_CH FMR: MTDV (Bit 0) */ +#define USIC_CH_FMR_MTDV_Msk (0x3UL) /*!< USIC_CH FMR: MTDV (Bitfield-Mask: 0x03) */ +#define USIC_CH_FMR_ATVC_Pos (4UL) /*!< USIC_CH FMR: ATVC (Bit 4) */ +#define USIC_CH_FMR_ATVC_Msk (0x10UL) /*!< USIC_CH FMR: ATVC (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_CRDV0_Pos (14UL) /*!< USIC_CH FMR: CRDV0 (Bit 14) */ +#define USIC_CH_FMR_CRDV0_Msk (0x4000UL) /*!< USIC_CH FMR: CRDV0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_CRDV1_Pos (15UL) /*!< USIC_CH FMR: CRDV1 (Bit 15) */ +#define USIC_CH_FMR_CRDV1_Msk (0x8000UL) /*!< USIC_CH FMR: CRDV1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_SIO0_Pos (16UL) /*!< USIC_CH FMR: SIO0 (Bit 16) */ +#define USIC_CH_FMR_SIO0_Msk (0x10000UL) /*!< USIC_CH FMR: SIO0 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_SIO1_Pos (17UL) /*!< USIC_CH FMR: SIO1 (Bit 17) */ +#define USIC_CH_FMR_SIO1_Msk (0x20000UL) /*!< USIC_CH FMR: SIO1 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_SIO2_Pos (18UL) /*!< USIC_CH FMR: SIO2 (Bit 18) */ +#define USIC_CH_FMR_SIO2_Msk (0x40000UL) /*!< USIC_CH FMR: SIO2 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_SIO3_Pos (19UL) /*!< USIC_CH FMR: SIO3 (Bit 19) */ +#define USIC_CH_FMR_SIO3_Msk (0x80000UL) /*!< USIC_CH FMR: SIO3 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_SIO4_Pos (20UL) /*!< USIC_CH FMR: SIO4 (Bit 20) */ +#define USIC_CH_FMR_SIO4_Msk (0x100000UL) /*!< USIC_CH FMR: SIO4 (Bitfield-Mask: 0x01) */ +#define USIC_CH_FMR_SIO5_Pos (21UL) /*!< USIC_CH FMR: SIO5 (Bit 21) */ +#define USIC_CH_FMR_SIO5_Msk (0x200000UL) /*!< USIC_CH FMR: SIO5 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_TBUF -------------------------------- */ +#define USIC_CH_TBUF_TDATA_Pos (0UL) /*!< USIC_CH TBUF: TDATA (Bit 0) */ +#define USIC_CH_TBUF_TDATA_Msk (0xffffUL) /*!< USIC_CH TBUF: TDATA (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- USIC_CH_BYP -------------------------------- */ +#define USIC_CH_BYP_BDATA_Pos (0UL) /*!< USIC_CH BYP: BDATA (Bit 0) */ +#define USIC_CH_BYP_BDATA_Msk (0xffffUL) /*!< USIC_CH BYP: BDATA (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- USIC_CH_BYPCR ------------------------------- */ +#define USIC_CH_BYPCR_BWLE_Pos (0UL) /*!< USIC_CH BYPCR: BWLE (Bit 0) */ +#define USIC_CH_BYPCR_BWLE_Msk (0xfUL) /*!< USIC_CH BYPCR: BWLE (Bitfield-Mask: 0x0f) */ +#define USIC_CH_BYPCR_BDSSM_Pos (8UL) /*!< USIC_CH BYPCR: BDSSM (Bit 8) */ +#define USIC_CH_BYPCR_BDSSM_Msk (0x100UL) /*!< USIC_CH BYPCR: BDSSM (Bitfield-Mask: 0x01) */ +#define USIC_CH_BYPCR_BDEN_Pos (10UL) /*!< USIC_CH BYPCR: BDEN (Bit 10) */ +#define USIC_CH_BYPCR_BDEN_Msk (0xc00UL) /*!< USIC_CH BYPCR: BDEN (Bitfield-Mask: 0x03) */ +#define USIC_CH_BYPCR_BDVTR_Pos (12UL) /*!< USIC_CH BYPCR: BDVTR (Bit 12) */ +#define USIC_CH_BYPCR_BDVTR_Msk (0x1000UL) /*!< USIC_CH BYPCR: BDVTR (Bitfield-Mask: 0x01) */ +#define USIC_CH_BYPCR_BPRIO_Pos (13UL) /*!< USIC_CH BYPCR: BPRIO (Bit 13) */ +#define USIC_CH_BYPCR_BPRIO_Msk (0x2000UL) /*!< USIC_CH BYPCR: BPRIO (Bitfield-Mask: 0x01) */ +#define USIC_CH_BYPCR_BDV_Pos (15UL) /*!< USIC_CH BYPCR: BDV (Bit 15) */ +#define USIC_CH_BYPCR_BDV_Msk (0x8000UL) /*!< USIC_CH BYPCR: BDV (Bitfield-Mask: 0x01) */ +#define USIC_CH_BYPCR_BSELO_Pos (16UL) /*!< USIC_CH BYPCR: BSELO (Bit 16) */ +#define USIC_CH_BYPCR_BSELO_Msk (0x1f0000UL) /*!< USIC_CH BYPCR: BSELO (Bitfield-Mask: 0x1f) */ +#define USIC_CH_BYPCR_BHPC_Pos (21UL) /*!< USIC_CH BYPCR: BHPC (Bit 21) */ +#define USIC_CH_BYPCR_BHPC_Msk (0xe00000UL) /*!< USIC_CH BYPCR: BHPC (Bitfield-Mask: 0x07) */ + +/* -------------------------------- USIC_CH_TBCTR ------------------------------- */ +#define USIC_CH_TBCTR_DPTR_Pos (0UL) /*!< USIC_CH TBCTR: DPTR (Bit 0) */ +#define USIC_CH_TBCTR_DPTR_Msk (0x3fUL) /*!< USIC_CH TBCTR: DPTR (Bitfield-Mask: 0x3f) */ +#define USIC_CH_TBCTR_LIMIT_Pos (8UL) /*!< USIC_CH TBCTR: LIMIT (Bit 8) */ +#define USIC_CH_TBCTR_LIMIT_Msk (0x3f00UL) /*!< USIC_CH TBCTR: LIMIT (Bitfield-Mask: 0x3f) */ +#define USIC_CH_TBCTR_STBTM_Pos (14UL) /*!< USIC_CH TBCTR: STBTM (Bit 14) */ +#define USIC_CH_TBCTR_STBTM_Msk (0x4000UL) /*!< USIC_CH TBCTR: STBTM (Bitfield-Mask: 0x01) */ +#define USIC_CH_TBCTR_STBTEN_Pos (15UL) /*!< USIC_CH TBCTR: STBTEN (Bit 15) */ +#define USIC_CH_TBCTR_STBTEN_Msk (0x8000UL) /*!< USIC_CH TBCTR: STBTEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_TBCTR_STBINP_Pos (16UL) /*!< USIC_CH TBCTR: STBINP (Bit 16) */ +#define USIC_CH_TBCTR_STBINP_Msk (0x70000UL) /*!< USIC_CH TBCTR: STBINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_TBCTR_ATBINP_Pos (19UL) /*!< USIC_CH TBCTR: ATBINP (Bit 19) */ +#define USIC_CH_TBCTR_ATBINP_Msk (0x380000UL) /*!< USIC_CH TBCTR: ATBINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_TBCTR_SIZE_Pos (24UL) /*!< USIC_CH TBCTR: SIZE (Bit 24) */ +#define USIC_CH_TBCTR_SIZE_Msk (0x7000000UL) /*!< USIC_CH TBCTR: SIZE (Bitfield-Mask: 0x07) */ +#define USIC_CH_TBCTR_LOF_Pos (28UL) /*!< USIC_CH TBCTR: LOF (Bit 28) */ +#define USIC_CH_TBCTR_LOF_Msk (0x10000000UL) /*!< USIC_CH TBCTR: LOF (Bitfield-Mask: 0x01) */ +#define USIC_CH_TBCTR_STBIEN_Pos (30UL) /*!< USIC_CH TBCTR: STBIEN (Bit 30) */ +#define USIC_CH_TBCTR_STBIEN_Msk (0x40000000UL) /*!< USIC_CH TBCTR: STBIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_TBCTR_TBERIEN_Pos (31UL) /*!< USIC_CH TBCTR: TBERIEN (Bit 31) */ +#define USIC_CH_TBCTR_TBERIEN_Msk (0x80000000UL) /*!< USIC_CH TBCTR: TBERIEN (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_RBCTR ------------------------------- */ +#define USIC_CH_RBCTR_DPTR_Pos (0UL) /*!< USIC_CH RBCTR: DPTR (Bit 0) */ +#define USIC_CH_RBCTR_DPTR_Msk (0x3fUL) /*!< USIC_CH RBCTR: DPTR (Bitfield-Mask: 0x3f) */ +#define USIC_CH_RBCTR_LIMIT_Pos (8UL) /*!< USIC_CH RBCTR: LIMIT (Bit 8) */ +#define USIC_CH_RBCTR_LIMIT_Msk (0x3f00UL) /*!< USIC_CH RBCTR: LIMIT (Bitfield-Mask: 0x3f) */ +#define USIC_CH_RBCTR_SRBTM_Pos (14UL) /*!< USIC_CH RBCTR: SRBTM (Bit 14) */ +#define USIC_CH_RBCTR_SRBTM_Msk (0x4000UL) /*!< USIC_CH RBCTR: SRBTM (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBCTR_SRBTEN_Pos (15UL) /*!< USIC_CH RBCTR: SRBTEN (Bit 15) */ +#define USIC_CH_RBCTR_SRBTEN_Msk (0x8000UL) /*!< USIC_CH RBCTR: SRBTEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBCTR_SRBINP_Pos (16UL) /*!< USIC_CH RBCTR: SRBINP (Bit 16) */ +#define USIC_CH_RBCTR_SRBINP_Msk (0x70000UL) /*!< USIC_CH RBCTR: SRBINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_RBCTR_ARBINP_Pos (19UL) /*!< USIC_CH RBCTR: ARBINP (Bit 19) */ +#define USIC_CH_RBCTR_ARBINP_Msk (0x380000UL) /*!< USIC_CH RBCTR: ARBINP (Bitfield-Mask: 0x07) */ +#define USIC_CH_RBCTR_RCIM_Pos (22UL) /*!< USIC_CH RBCTR: RCIM (Bit 22) */ +#define USIC_CH_RBCTR_RCIM_Msk (0xc00000UL) /*!< USIC_CH RBCTR: RCIM (Bitfield-Mask: 0x03) */ +#define USIC_CH_RBCTR_SIZE_Pos (24UL) /*!< USIC_CH RBCTR: SIZE (Bit 24) */ +#define USIC_CH_RBCTR_SIZE_Msk (0x7000000UL) /*!< USIC_CH RBCTR: SIZE (Bitfield-Mask: 0x07) */ +#define USIC_CH_RBCTR_RNM_Pos (27UL) /*!< USIC_CH RBCTR: RNM (Bit 27) */ +#define USIC_CH_RBCTR_RNM_Msk (0x8000000UL) /*!< USIC_CH RBCTR: RNM (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBCTR_LOF_Pos (28UL) /*!< USIC_CH RBCTR: LOF (Bit 28) */ +#define USIC_CH_RBCTR_LOF_Msk (0x10000000UL) /*!< USIC_CH RBCTR: LOF (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBCTR_ARBIEN_Pos (29UL) /*!< USIC_CH RBCTR: ARBIEN (Bit 29) */ +#define USIC_CH_RBCTR_ARBIEN_Msk (0x20000000UL) /*!< USIC_CH RBCTR: ARBIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBCTR_SRBIEN_Pos (30UL) /*!< USIC_CH RBCTR: SRBIEN (Bit 30) */ +#define USIC_CH_RBCTR_SRBIEN_Msk (0x40000000UL) /*!< USIC_CH RBCTR: SRBIEN (Bitfield-Mask: 0x01) */ +#define USIC_CH_RBCTR_RBERIEN_Pos (31UL) /*!< USIC_CH RBCTR: RBERIEN (Bit 31) */ +#define USIC_CH_RBCTR_RBERIEN_Msk (0x80000000UL) /*!< USIC_CH RBCTR: RBERIEN (Bitfield-Mask: 0x01) */ + +/* ------------------------------- USIC_CH_TRBPTR ------------------------------- */ +#define USIC_CH_TRBPTR_TDIPTR_Pos (0UL) /*!< USIC_CH TRBPTR: TDIPTR (Bit 0) */ +#define USIC_CH_TRBPTR_TDIPTR_Msk (0x3fUL) /*!< USIC_CH TRBPTR: TDIPTR (Bitfield-Mask: 0x3f) */ +#define USIC_CH_TRBPTR_TDOPTR_Pos (8UL) /*!< USIC_CH TRBPTR: TDOPTR (Bit 8) */ +#define USIC_CH_TRBPTR_TDOPTR_Msk (0x3f00UL) /*!< USIC_CH TRBPTR: TDOPTR (Bitfield-Mask: 0x3f) */ +#define USIC_CH_TRBPTR_RDIPTR_Pos (16UL) /*!< USIC_CH TRBPTR: RDIPTR (Bit 16) */ +#define USIC_CH_TRBPTR_RDIPTR_Msk (0x3f0000UL) /*!< USIC_CH TRBPTR: RDIPTR (Bitfield-Mask: 0x3f) */ +#define USIC_CH_TRBPTR_RDOPTR_Pos (24UL) /*!< USIC_CH TRBPTR: RDOPTR (Bit 24) */ +#define USIC_CH_TRBPTR_RDOPTR_Msk (0x3f000000UL) /*!< USIC_CH TRBPTR: RDOPTR (Bitfield-Mask: 0x3f) */ + +/* -------------------------------- USIC_CH_TRBSR ------------------------------- */ +#define USIC_CH_TRBSR_SRBI_Pos (0UL) /*!< USIC_CH TRBSR: SRBI (Bit 0) */ +#define USIC_CH_TRBSR_SRBI_Msk (0x1UL) /*!< USIC_CH TRBSR: SRBI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_RBERI_Pos (1UL) /*!< USIC_CH TRBSR: RBERI (Bit 1) */ +#define USIC_CH_TRBSR_RBERI_Msk (0x2UL) /*!< USIC_CH TRBSR: RBERI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_ARBI_Pos (2UL) /*!< USIC_CH TRBSR: ARBI (Bit 2) */ +#define USIC_CH_TRBSR_ARBI_Msk (0x4UL) /*!< USIC_CH TRBSR: ARBI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_REMPTY_Pos (3UL) /*!< USIC_CH TRBSR: REMPTY (Bit 3) */ +#define USIC_CH_TRBSR_REMPTY_Msk (0x8UL) /*!< USIC_CH TRBSR: REMPTY (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_RFULL_Pos (4UL) /*!< USIC_CH TRBSR: RFULL (Bit 4) */ +#define USIC_CH_TRBSR_RFULL_Msk (0x10UL) /*!< USIC_CH TRBSR: RFULL (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_RBUS_Pos (5UL) /*!< USIC_CH TRBSR: RBUS (Bit 5) */ +#define USIC_CH_TRBSR_RBUS_Msk (0x20UL) /*!< USIC_CH TRBSR: RBUS (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_SRBT_Pos (6UL) /*!< USIC_CH TRBSR: SRBT (Bit 6) */ +#define USIC_CH_TRBSR_SRBT_Msk (0x40UL) /*!< USIC_CH TRBSR: SRBT (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_STBI_Pos (8UL) /*!< USIC_CH TRBSR: STBI (Bit 8) */ +#define USIC_CH_TRBSR_STBI_Msk (0x100UL) /*!< USIC_CH TRBSR: STBI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_TBERI_Pos (9UL) /*!< USIC_CH TRBSR: TBERI (Bit 9) */ +#define USIC_CH_TRBSR_TBERI_Msk (0x200UL) /*!< USIC_CH TRBSR: TBERI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_TEMPTY_Pos (11UL) /*!< USIC_CH TRBSR: TEMPTY (Bit 11) */ +#define USIC_CH_TRBSR_TEMPTY_Msk (0x800UL) /*!< USIC_CH TRBSR: TEMPTY (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_TFULL_Pos (12UL) /*!< USIC_CH TRBSR: TFULL (Bit 12) */ +#define USIC_CH_TRBSR_TFULL_Msk (0x1000UL) /*!< USIC_CH TRBSR: TFULL (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_TBUS_Pos (13UL) /*!< USIC_CH TRBSR: TBUS (Bit 13) */ +#define USIC_CH_TRBSR_TBUS_Msk (0x2000UL) /*!< USIC_CH TRBSR: TBUS (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_STBT_Pos (14UL) /*!< USIC_CH TRBSR: STBT (Bit 14) */ +#define USIC_CH_TRBSR_STBT_Msk (0x4000UL) /*!< USIC_CH TRBSR: STBT (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSR_RBFLVL_Pos (16UL) /*!< USIC_CH TRBSR: RBFLVL (Bit 16) */ +#define USIC_CH_TRBSR_RBFLVL_Msk (0x7f0000UL) /*!< USIC_CH TRBSR: RBFLVL (Bitfield-Mask: 0x7f) */ +#define USIC_CH_TRBSR_TBFLVL_Pos (24UL) /*!< USIC_CH TRBSR: TBFLVL (Bit 24) */ +#define USIC_CH_TRBSR_TBFLVL_Msk (0x7f000000UL) /*!< USIC_CH TRBSR: TBFLVL (Bitfield-Mask: 0x7f) */ + +/* ------------------------------- USIC_CH_TRBSCR ------------------------------- */ +#define USIC_CH_TRBSCR_CSRBI_Pos (0UL) /*!< USIC_CH TRBSCR: CSRBI (Bit 0) */ +#define USIC_CH_TRBSCR_CSRBI_Msk (0x1UL) /*!< USIC_CH TRBSCR: CSRBI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_CRBERI_Pos (1UL) /*!< USIC_CH TRBSCR: CRBERI (Bit 1) */ +#define USIC_CH_TRBSCR_CRBERI_Msk (0x2UL) /*!< USIC_CH TRBSCR: CRBERI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_CARBI_Pos (2UL) /*!< USIC_CH TRBSCR: CARBI (Bit 2) */ +#define USIC_CH_TRBSCR_CARBI_Msk (0x4UL) /*!< USIC_CH TRBSCR: CARBI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_CSTBI_Pos (8UL) /*!< USIC_CH TRBSCR: CSTBI (Bit 8) */ +#define USIC_CH_TRBSCR_CSTBI_Msk (0x100UL) /*!< USIC_CH TRBSCR: CSTBI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_CTBERI_Pos (9UL) /*!< USIC_CH TRBSCR: CTBERI (Bit 9) */ +#define USIC_CH_TRBSCR_CTBERI_Msk (0x200UL) /*!< USIC_CH TRBSCR: CTBERI (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_CBDV_Pos (10UL) /*!< USIC_CH TRBSCR: CBDV (Bit 10) */ +#define USIC_CH_TRBSCR_CBDV_Msk (0x400UL) /*!< USIC_CH TRBSCR: CBDV (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_FLUSHRB_Pos (14UL) /*!< USIC_CH TRBSCR: FLUSHRB (Bit 14) */ +#define USIC_CH_TRBSCR_FLUSHRB_Msk (0x4000UL) /*!< USIC_CH TRBSCR: FLUSHRB (Bitfield-Mask: 0x01) */ +#define USIC_CH_TRBSCR_FLUSHTB_Pos (15UL) /*!< USIC_CH TRBSCR: FLUSHTB (Bit 15) */ +#define USIC_CH_TRBSCR_FLUSHTB_Msk (0x8000UL) /*!< USIC_CH TRBSCR: FLUSHTB (Bitfield-Mask: 0x01) */ + +/* -------------------------------- USIC_CH_OUTR -------------------------------- */ +#define USIC_CH_OUTR_DSR_Pos (0UL) /*!< USIC_CH OUTR: DSR (Bit 0) */ +#define USIC_CH_OUTR_DSR_Msk (0xffffUL) /*!< USIC_CH OUTR: DSR (Bitfield-Mask: 0xffff) */ +#define USIC_CH_OUTR_RCI_Pos (16UL) /*!< USIC_CH OUTR: RCI (Bit 16) */ +#define USIC_CH_OUTR_RCI_Msk (0x1f0000UL) /*!< USIC_CH OUTR: RCI (Bitfield-Mask: 0x1f) */ + +/* -------------------------------- USIC_CH_OUTDR ------------------------------- */ +#define USIC_CH_OUTDR_DSR_Pos (0UL) /*!< USIC_CH OUTDR: DSR (Bit 0) */ +#define USIC_CH_OUTDR_DSR_Msk (0xffffUL) /*!< USIC_CH OUTDR: DSR (Bitfield-Mask: 0xffff) */ +#define USIC_CH_OUTDR_RCI_Pos (16UL) /*!< USIC_CH OUTDR: RCI (Bit 16) */ +#define USIC_CH_OUTDR_RCI_Msk (0x1f0000UL) /*!< USIC_CH OUTDR: RCI (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- USIC_CH_IN --------------------------------- */ +#define USIC_CH_IN_TDATA_Pos (0UL) /*!< USIC_CH IN: TDATA (Bit 0) */ +#define USIC_CH_IN_TDATA_Msk (0xffffUL) /*!< USIC_CH IN: TDATA (Bitfield-Mask: 0xffff) */ + + +/* ================================================================================ */ +/* ================ struct 'SCU_GENERAL' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------- SCU_GENERAL_DBGROMID ---------------------------- */ +#define SCU_GENERAL_DBGROMID_MANUFID_Pos (1UL) /*!< SCU_GENERAL DBGROMID: MANUFID (Bit 1) */ +#define SCU_GENERAL_DBGROMID_MANUFID_Msk (0xffeUL) /*!< SCU_GENERAL DBGROMID: MANUFID (Bitfield-Mask: 0x7ff) */ +#define SCU_GENERAL_DBGROMID_PARTNO_Pos (12UL) /*!< SCU_GENERAL DBGROMID: PARTNO (Bit 12) */ +#define SCU_GENERAL_DBGROMID_PARTNO_Msk (0xffff000UL) /*!< SCU_GENERAL DBGROMID: PARTNO (Bitfield-Mask: 0xffff) */ +#define SCU_GENERAL_DBGROMID_VERSION_Pos (28UL) /*!< SCU_GENERAL DBGROMID: VERSION (Bit 28) */ +#define SCU_GENERAL_DBGROMID_VERSION_Msk (0xf0000000UL) /*!< SCU_GENERAL DBGROMID: VERSION (Bitfield-Mask: 0x0f) */ + +/* ----------------------------- SCU_GENERAL_IDCHIP ----------------------------- */ +#define SCU_GENERAL_IDCHIP_IDCHIP_Pos (0UL) /*!< SCU_GENERAL IDCHIP: IDCHIP (Bit 0) */ +#define SCU_GENERAL_IDCHIP_IDCHIP_Msk (0xffffffffUL) /*!< SCU_GENERAL IDCHIP: IDCHIP (Bitfield-Mask: 0xffffffff) */ + +/* ------------------------------- SCU_GENERAL_ID ------------------------------- */ +#define SCU_GENERAL_ID_MOD_REV_Pos (0UL) /*!< SCU_GENERAL ID: MOD_REV (Bit 0) */ +#define SCU_GENERAL_ID_MOD_REV_Msk (0xffUL) /*!< SCU_GENERAL ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define SCU_GENERAL_ID_MOD_TYPE_Pos (8UL) /*!< SCU_GENERAL ID: MOD_TYPE (Bit 8) */ +#define SCU_GENERAL_ID_MOD_TYPE_Msk (0xff00UL) /*!< SCU_GENERAL ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define SCU_GENERAL_ID_MOD_NUMBER_Pos (16UL) /*!< SCU_GENERAL ID: MOD_NUMBER (Bit 16) */ +#define SCU_GENERAL_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< SCU_GENERAL ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* ------------------------------ SCU_GENERAL_SSW0 ------------------------------ */ +#define SCU_GENERAL_SSW0_DAT_Pos (0UL) /*!< SCU_GENERAL SSW0: DAT (Bit 0) */ +#define SCU_GENERAL_SSW0_DAT_Msk (0xffffffffUL) /*!< SCU_GENERAL SSW0: DAT (Bitfield-Mask: 0xffffffff) */ + +/* ----------------------------- SCU_GENERAL_PASSWD ----------------------------- */ +#define SCU_GENERAL_PASSWD_MODE_Pos (0UL) /*!< SCU_GENERAL PASSWD: MODE (Bit 0) */ +#define SCU_GENERAL_PASSWD_MODE_Msk (0x3UL) /*!< SCU_GENERAL PASSWD: MODE (Bitfield-Mask: 0x03) */ +#define SCU_GENERAL_PASSWD_PROTS_Pos (2UL) /*!< SCU_GENERAL PASSWD: PROTS (Bit 2) */ +#define SCU_GENERAL_PASSWD_PROTS_Msk (0x4UL) /*!< SCU_GENERAL PASSWD: PROTS (Bitfield-Mask: 0x01) */ +#define SCU_GENERAL_PASSWD_PASS_Pos (3UL) /*!< SCU_GENERAL PASSWD: PASS (Bit 3) */ +#define SCU_GENERAL_PASSWD_PASS_Msk (0xf8UL) /*!< SCU_GENERAL PASSWD: PASS (Bitfield-Mask: 0x1f) */ + +/* ----------------------------- SCU_GENERAL_CCUCON ----------------------------- */ +#define SCU_GENERAL_CCUCON_GSC40_Pos (0UL) /*!< SCU_GENERAL CCUCON: GSC40 (Bit 0) */ +#define SCU_GENERAL_CCUCON_GSC40_Msk (0x1UL) /*!< SCU_GENERAL CCUCON: GSC40 (Bitfield-Mask: 0x01) */ +#define SCU_GENERAL_CCUCON_GSC80_Pos (8UL) /*!< SCU_GENERAL CCUCON: GSC80 (Bit 8) */ +#define SCU_GENERAL_CCUCON_GSC80_Msk (0x100UL) /*!< SCU_GENERAL CCUCON: GSC80 (Bitfield-Mask: 0x01) */ + +/* ----------------------------- SCU_GENERAL_MIRRSTS ---------------------------- */ +#define SCU_GENERAL_MIRRSTS_RTC_CTR_Pos (0UL) /*!< SCU_GENERAL MIRRSTS: RTC_CTR (Bit 0) */ +#define SCU_GENERAL_MIRRSTS_RTC_CTR_Msk (0x1UL) /*!< SCU_GENERAL MIRRSTS: RTC_CTR (Bitfield-Mask: 0x01) */ +#define SCU_GENERAL_MIRRSTS_RTC_ATIM0_Pos (1UL) /*!< SCU_GENERAL MIRRSTS: RTC_ATIM0 (Bit 1) */ +#define SCU_GENERAL_MIRRSTS_RTC_ATIM0_Msk (0x2UL) /*!< SCU_GENERAL MIRRSTS: RTC_ATIM0 (Bitfield-Mask: 0x01) */ +#define SCU_GENERAL_MIRRSTS_RTC_ATIM1_Pos (2UL) /*!< SCU_GENERAL MIRRSTS: RTC_ATIM1 (Bit 2) */ +#define SCU_GENERAL_MIRRSTS_RTC_ATIM1_Msk (0x4UL) /*!< SCU_GENERAL MIRRSTS: RTC_ATIM1 (Bitfield-Mask: 0x01) */ +#define SCU_GENERAL_MIRRSTS_RTC_TIM0_Pos (3UL) /*!< SCU_GENERAL MIRRSTS: RTC_TIM0 (Bit 3) */ +#define SCU_GENERAL_MIRRSTS_RTC_TIM0_Msk (0x8UL) /*!< SCU_GENERAL MIRRSTS: RTC_TIM0 (Bitfield-Mask: 0x01) */ +#define SCU_GENERAL_MIRRSTS_RTC_TIM1_Pos (4UL) /*!< SCU_GENERAL MIRRSTS: RTC_TIM1 (Bit 4) */ +#define SCU_GENERAL_MIRRSTS_RTC_TIM1_Msk (0x10UL) /*!< SCU_GENERAL MIRRSTS: RTC_TIM1 (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_GENERAL_PMTSR ----------------------------- */ +#define SCU_GENERAL_PMTSR_MTENS_Pos (0UL) /*!< SCU_GENERAL PMTSR: MTENS (Bit 0) */ +#define SCU_GENERAL_PMTSR_MTENS_Msk (0x1UL) /*!< SCU_GENERAL PMTSR: MTENS (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'SCU_INTERRUPT' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ----------------------------- SCU_INTERRUPT_SRRAW ---------------------------- */ +#define SCU_INTERRUPT_SRRAW_PRWARN_Pos (0UL) /*!< SCU_INTERRUPT SRRAW: PRWARN (Bit 0) */ +#define SCU_INTERRUPT_SRRAW_PRWARN_Msk (0x1UL) /*!< SCU_INTERRUPT SRRAW: PRWARN (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_PI_Pos (1UL) /*!< SCU_INTERRUPT SRRAW: PI (Bit 1) */ +#define SCU_INTERRUPT_SRRAW_PI_Msk (0x2UL) /*!< SCU_INTERRUPT SRRAW: PI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_AI_Pos (2UL) /*!< SCU_INTERRUPT SRRAW: AI (Bit 2) */ +#define SCU_INTERRUPT_SRRAW_AI_Msk (0x4UL) /*!< SCU_INTERRUPT SRRAW: AI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_VDDPI_Pos (3UL) /*!< SCU_INTERRUPT SRRAW: VDDPI (Bit 3) */ +#define SCU_INTERRUPT_SRRAW_VDDPI_Msk (0x8UL) /*!< SCU_INTERRUPT SRRAW: VDDPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ACMP0I_Pos (4UL) /*!< SCU_INTERRUPT SRRAW: ACMP0I (Bit 4) */ +#define SCU_INTERRUPT_SRRAW_ACMP0I_Msk (0x10UL) /*!< SCU_INTERRUPT SRRAW: ACMP0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ACMP1I_Pos (5UL) /*!< SCU_INTERRUPT SRRAW: ACMP1I (Bit 5) */ +#define SCU_INTERRUPT_SRRAW_ACMP1I_Msk (0x20UL) /*!< SCU_INTERRUPT SRRAW: ACMP1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ACMP2I_Pos (6UL) /*!< SCU_INTERRUPT SRRAW: ACMP2I (Bit 6) */ +#define SCU_INTERRUPT_SRRAW_ACMP2I_Msk (0x40UL) /*!< SCU_INTERRUPT SRRAW: ACMP2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_VDROPI_Pos (7UL) /*!< SCU_INTERRUPT SRRAW: VDROPI (Bit 7) */ +#define SCU_INTERRUPT_SRRAW_VDROPI_Msk (0x80UL) /*!< SCU_INTERRUPT SRRAW: VDROPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC0I_Pos (8UL) /*!< SCU_INTERRUPT SRRAW: ORC0I (Bit 8) */ +#define SCU_INTERRUPT_SRRAW_ORC0I_Msk (0x100UL) /*!< SCU_INTERRUPT SRRAW: ORC0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC1I_Pos (9UL) /*!< SCU_INTERRUPT SRRAW: ORC1I (Bit 9) */ +#define SCU_INTERRUPT_SRRAW_ORC1I_Msk (0x200UL) /*!< SCU_INTERRUPT SRRAW: ORC1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC2I_Pos (10UL) /*!< SCU_INTERRUPT SRRAW: ORC2I (Bit 10) */ +#define SCU_INTERRUPT_SRRAW_ORC2I_Msk (0x400UL) /*!< SCU_INTERRUPT SRRAW: ORC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC3I_Pos (11UL) /*!< SCU_INTERRUPT SRRAW: ORC3I (Bit 11) */ +#define SCU_INTERRUPT_SRRAW_ORC3I_Msk (0x800UL) /*!< SCU_INTERRUPT SRRAW: ORC3I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC4I_Pos (12UL) /*!< SCU_INTERRUPT SRRAW: ORC4I (Bit 12) */ +#define SCU_INTERRUPT_SRRAW_ORC4I_Msk (0x1000UL) /*!< SCU_INTERRUPT SRRAW: ORC4I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC5I_Pos (13UL) /*!< SCU_INTERRUPT SRRAW: ORC5I (Bit 13) */ +#define SCU_INTERRUPT_SRRAW_ORC5I_Msk (0x2000UL) /*!< SCU_INTERRUPT SRRAW: ORC5I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC6I_Pos (14UL) /*!< SCU_INTERRUPT SRRAW: ORC6I (Bit 14) */ +#define SCU_INTERRUPT_SRRAW_ORC6I_Msk (0x4000UL) /*!< SCU_INTERRUPT SRRAW: ORC6I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_ORC7I_Pos (15UL) /*!< SCU_INTERRUPT SRRAW: ORC7I (Bit 15) */ +#define SCU_INTERRUPT_SRRAW_ORC7I_Msk (0x8000UL) /*!< SCU_INTERRUPT SRRAW: ORC7I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_LOCI_Pos (16UL) /*!< SCU_INTERRUPT SRRAW: LOCI (Bit 16) */ +#define SCU_INTERRUPT_SRRAW_LOCI_Msk (0x10000UL) /*!< SCU_INTERRUPT SRRAW: LOCI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_PESRAMI_Pos (17UL) /*!< SCU_INTERRUPT SRRAW: PESRAMI (Bit 17) */ +#define SCU_INTERRUPT_SRRAW_PESRAMI_Msk (0x20000UL) /*!< SCU_INTERRUPT SRRAW: PESRAMI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_PEU0I_Pos (18UL) /*!< SCU_INTERRUPT SRRAW: PEU0I (Bit 18) */ +#define SCU_INTERRUPT_SRRAW_PEU0I_Msk (0x40000UL) /*!< SCU_INTERRUPT SRRAW: PEU0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_FLECC2I_Pos (19UL) /*!< SCU_INTERRUPT SRRAW: FLECC2I (Bit 19) */ +#define SCU_INTERRUPT_SRRAW_FLECC2I_Msk (0x80000UL) /*!< SCU_INTERRUPT SRRAW: FLECC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_FLCMPLTI_Pos (20UL) /*!< SCU_INTERRUPT SRRAW: FLCMPLTI (Bit 20) */ +#define SCU_INTERRUPT_SRRAW_FLCMPLTI_Msk (0x100000UL) /*!< SCU_INTERRUPT SRRAW: FLCMPLTI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_VCLIPI_Pos (21UL) /*!< SCU_INTERRUPT SRRAW: VCLIPI (Bit 21) */ +#define SCU_INTERRUPT_SRRAW_VCLIPI_Msk (0x200000UL) /*!< SCU_INTERRUPT SRRAW: VCLIPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_SBYCLKFI_Pos (22UL) /*!< SCU_INTERRUPT SRRAW: SBYCLKFI (Bit 22) */ +#define SCU_INTERRUPT_SRRAW_SBYCLKFI_Msk (0x400000UL) /*!< SCU_INTERRUPT SRRAW: SBYCLKFI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_RTC_CTR_Pos (24UL) /*!< SCU_INTERRUPT SRRAW: RTC_CTR (Bit 24) */ +#define SCU_INTERRUPT_SRRAW_RTC_CTR_Msk (0x1000000UL) /*!< SCU_INTERRUPT SRRAW: RTC_CTR (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_RTC_ATIM0_Pos (25UL) /*!< SCU_INTERRUPT SRRAW: RTC_ATIM0 (Bit 25) */ +#define SCU_INTERRUPT_SRRAW_RTC_ATIM0_Msk (0x2000000UL) /*!< SCU_INTERRUPT SRRAW: RTC_ATIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_RTC_ATIM1_Pos (26UL) /*!< SCU_INTERRUPT SRRAW: RTC_ATIM1 (Bit 26) */ +#define SCU_INTERRUPT_SRRAW_RTC_ATIM1_Msk (0x4000000UL) /*!< SCU_INTERRUPT SRRAW: RTC_ATIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_RTC_TIM0_Pos (27UL) /*!< SCU_INTERRUPT SRRAW: RTC_TIM0 (Bit 27) */ +#define SCU_INTERRUPT_SRRAW_RTC_TIM0_Msk (0x8000000UL) /*!< SCU_INTERRUPT SRRAW: RTC_TIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_RTC_TIM1_Pos (28UL) /*!< SCU_INTERRUPT SRRAW: RTC_TIM1 (Bit 28) */ +#define SCU_INTERRUPT_SRRAW_RTC_TIM1_Msk (0x10000000UL) /*!< SCU_INTERRUPT SRRAW: RTC_TIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_TSE_DONE_Pos (29UL) /*!< SCU_INTERRUPT SRRAW: TSE_DONE (Bit 29) */ +#define SCU_INTERRUPT_SRRAW_TSE_DONE_Msk (0x20000000UL) /*!< SCU_INTERRUPT SRRAW: TSE_DONE (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_TSE_HIGH_Pos (30UL) /*!< SCU_INTERRUPT SRRAW: TSE_HIGH (Bit 30) */ +#define SCU_INTERRUPT_SRRAW_TSE_HIGH_Msk (0x40000000UL) /*!< SCU_INTERRUPT SRRAW: TSE_HIGH (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRRAW_TSE_LOW_Pos (31UL) /*!< SCU_INTERRUPT SRRAW: TSE_LOW (Bit 31) */ +#define SCU_INTERRUPT_SRRAW_TSE_LOW_Msk (0x80000000UL) /*!< SCU_INTERRUPT SRRAW: TSE_LOW (Bitfield-Mask: 0x01) */ + +/* ----------------------------- SCU_INTERRUPT_SRMSK ---------------------------- */ +#define SCU_INTERRUPT_SRMSK_PRWARN_Pos (0UL) /*!< SCU_INTERRUPT SRMSK: PRWARN (Bit 0) */ +#define SCU_INTERRUPT_SRMSK_PRWARN_Msk (0x1UL) /*!< SCU_INTERRUPT SRMSK: PRWARN (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_VDDPI_Pos (3UL) /*!< SCU_INTERRUPT SRMSK: VDDPI (Bit 3) */ +#define SCU_INTERRUPT_SRMSK_VDDPI_Msk (0x8UL) /*!< SCU_INTERRUPT SRMSK: VDDPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ACMP0I_Pos (4UL) /*!< SCU_INTERRUPT SRMSK: ACMP0I (Bit 4) */ +#define SCU_INTERRUPT_SRMSK_ACMP0I_Msk (0x10UL) /*!< SCU_INTERRUPT SRMSK: ACMP0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ACMP1I_Pos (5UL) /*!< SCU_INTERRUPT SRMSK: ACMP1I (Bit 5) */ +#define SCU_INTERRUPT_SRMSK_ACMP1I_Msk (0x20UL) /*!< SCU_INTERRUPT SRMSK: ACMP1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ACMP2I_Pos (6UL) /*!< SCU_INTERRUPT SRMSK: ACMP2I (Bit 6) */ +#define SCU_INTERRUPT_SRMSK_ACMP2I_Msk (0x40UL) /*!< SCU_INTERRUPT SRMSK: ACMP2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_VDROPI_Pos (7UL) /*!< SCU_INTERRUPT SRMSK: VDROPI (Bit 7) */ +#define SCU_INTERRUPT_SRMSK_VDROPI_Msk (0x80UL) /*!< SCU_INTERRUPT SRMSK: VDROPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC0I_Pos (8UL) /*!< SCU_INTERRUPT SRMSK: ORC0I (Bit 8) */ +#define SCU_INTERRUPT_SRMSK_ORC0I_Msk (0x100UL) /*!< SCU_INTERRUPT SRMSK: ORC0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC1I_Pos (9UL) /*!< SCU_INTERRUPT SRMSK: ORC1I (Bit 9) */ +#define SCU_INTERRUPT_SRMSK_ORC1I_Msk (0x200UL) /*!< SCU_INTERRUPT SRMSK: ORC1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC2I_Pos (10UL) /*!< SCU_INTERRUPT SRMSK: ORC2I (Bit 10) */ +#define SCU_INTERRUPT_SRMSK_ORC2I_Msk (0x400UL) /*!< SCU_INTERRUPT SRMSK: ORC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC3I_Pos (11UL) /*!< SCU_INTERRUPT SRMSK: ORC3I (Bit 11) */ +#define SCU_INTERRUPT_SRMSK_ORC3I_Msk (0x800UL) /*!< SCU_INTERRUPT SRMSK: ORC3I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC4I_Pos (12UL) /*!< SCU_INTERRUPT SRMSK: ORC4I (Bit 12) */ +#define SCU_INTERRUPT_SRMSK_ORC4I_Msk (0x1000UL) /*!< SCU_INTERRUPT SRMSK: ORC4I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC5I_Pos (13UL) /*!< SCU_INTERRUPT SRMSK: ORC5I (Bit 13) */ +#define SCU_INTERRUPT_SRMSK_ORC5I_Msk (0x2000UL) /*!< SCU_INTERRUPT SRMSK: ORC5I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC6I_Pos (14UL) /*!< SCU_INTERRUPT SRMSK: ORC6I (Bit 14) */ +#define SCU_INTERRUPT_SRMSK_ORC6I_Msk (0x4000UL) /*!< SCU_INTERRUPT SRMSK: ORC6I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_ORC7I_Pos (15UL) /*!< SCU_INTERRUPT SRMSK: ORC7I (Bit 15) */ +#define SCU_INTERRUPT_SRMSK_ORC7I_Msk (0x8000UL) /*!< SCU_INTERRUPT SRMSK: ORC7I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_LOCI_Pos (16UL) /*!< SCU_INTERRUPT SRMSK: LOCI (Bit 16) */ +#define SCU_INTERRUPT_SRMSK_LOCI_Msk (0x10000UL) /*!< SCU_INTERRUPT SRMSK: LOCI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_PESRAMI_Pos (17UL) /*!< SCU_INTERRUPT SRMSK: PESRAMI (Bit 17) */ +#define SCU_INTERRUPT_SRMSK_PESRAMI_Msk (0x20000UL) /*!< SCU_INTERRUPT SRMSK: PESRAMI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_PEU0I_Pos (18UL) /*!< SCU_INTERRUPT SRMSK: PEU0I (Bit 18) */ +#define SCU_INTERRUPT_SRMSK_PEU0I_Msk (0x40000UL) /*!< SCU_INTERRUPT SRMSK: PEU0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_FLECC2I_Pos (19UL) /*!< SCU_INTERRUPT SRMSK: FLECC2I (Bit 19) */ +#define SCU_INTERRUPT_SRMSK_FLECC2I_Msk (0x80000UL) /*!< SCU_INTERRUPT SRMSK: FLECC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_VCLIPI_Pos (21UL) /*!< SCU_INTERRUPT SRMSK: VCLIPI (Bit 21) */ +#define SCU_INTERRUPT_SRMSK_VCLIPI_Msk (0x200000UL) /*!< SCU_INTERRUPT SRMSK: VCLIPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_SBYCLKFI_Pos (22UL) /*!< SCU_INTERRUPT SRMSK: SBYCLKFI (Bit 22) */ +#define SCU_INTERRUPT_SRMSK_SBYCLKFI_Msk (0x400000UL) /*!< SCU_INTERRUPT SRMSK: SBYCLKFI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_RTC_CTR_Pos (24UL) /*!< SCU_INTERRUPT SRMSK: RTC_CTR (Bit 24) */ +#define SCU_INTERRUPT_SRMSK_RTC_CTR_Msk (0x1000000UL) /*!< SCU_INTERRUPT SRMSK: RTC_CTR (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_RTC_ATIM0_Pos (25UL) /*!< SCU_INTERRUPT SRMSK: RTC_ATIM0 (Bit 25) */ +#define SCU_INTERRUPT_SRMSK_RTC_ATIM0_Msk (0x2000000UL) /*!< SCU_INTERRUPT SRMSK: RTC_ATIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_RTC_ATIM1_Pos (26UL) /*!< SCU_INTERRUPT SRMSK: RTC_ATIM1 (Bit 26) */ +#define SCU_INTERRUPT_SRMSK_RTC_ATIM1_Msk (0x4000000UL) /*!< SCU_INTERRUPT SRMSK: RTC_ATIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_RTC_TIM0_Pos (27UL) /*!< SCU_INTERRUPT SRMSK: RTC_TIM0 (Bit 27) */ +#define SCU_INTERRUPT_SRMSK_RTC_TIM0_Msk (0x8000000UL) /*!< SCU_INTERRUPT SRMSK: RTC_TIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_RTC_TIM1_Pos (28UL) /*!< SCU_INTERRUPT SRMSK: RTC_TIM1 (Bit 28) */ +#define SCU_INTERRUPT_SRMSK_RTC_TIM1_Msk (0x10000000UL) /*!< SCU_INTERRUPT SRMSK: RTC_TIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_TSE_DONE_Pos (29UL) /*!< SCU_INTERRUPT SRMSK: TSE_DONE (Bit 29) */ +#define SCU_INTERRUPT_SRMSK_TSE_DONE_Msk (0x20000000UL) /*!< SCU_INTERRUPT SRMSK: TSE_DONE (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_TSE_HIGH_Pos (30UL) /*!< SCU_INTERRUPT SRMSK: TSE_HIGH (Bit 30) */ +#define SCU_INTERRUPT_SRMSK_TSE_HIGH_Msk (0x40000000UL) /*!< SCU_INTERRUPT SRMSK: TSE_HIGH (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRMSK_TSE_LOW_Pos (31UL) /*!< SCU_INTERRUPT SRMSK: TSE_LOW (Bit 31) */ +#define SCU_INTERRUPT_SRMSK_TSE_LOW_Msk (0x80000000UL) /*!< SCU_INTERRUPT SRMSK: TSE_LOW (Bitfield-Mask: 0x01) */ + +/* ----------------------------- SCU_INTERRUPT_SRCLR ---------------------------- */ +#define SCU_INTERRUPT_SRCLR_PRWARN_Pos (0UL) /*!< SCU_INTERRUPT SRCLR: PRWARN (Bit 0) */ +#define SCU_INTERRUPT_SRCLR_PRWARN_Msk (0x1UL) /*!< SCU_INTERRUPT SRCLR: PRWARN (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_PI_Pos (1UL) /*!< SCU_INTERRUPT SRCLR: PI (Bit 1) */ +#define SCU_INTERRUPT_SRCLR_PI_Msk (0x2UL) /*!< SCU_INTERRUPT SRCLR: PI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_AI_Pos (2UL) /*!< SCU_INTERRUPT SRCLR: AI (Bit 2) */ +#define SCU_INTERRUPT_SRCLR_AI_Msk (0x4UL) /*!< SCU_INTERRUPT SRCLR: AI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_VDDPI_Pos (3UL) /*!< SCU_INTERRUPT SRCLR: VDDPI (Bit 3) */ +#define SCU_INTERRUPT_SRCLR_VDDPI_Msk (0x8UL) /*!< SCU_INTERRUPT SRCLR: VDDPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ACMP0I_Pos (4UL) /*!< SCU_INTERRUPT SRCLR: ACMP0I (Bit 4) */ +#define SCU_INTERRUPT_SRCLR_ACMP0I_Msk (0x10UL) /*!< SCU_INTERRUPT SRCLR: ACMP0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ACMP1I_Pos (5UL) /*!< SCU_INTERRUPT SRCLR: ACMP1I (Bit 5) */ +#define SCU_INTERRUPT_SRCLR_ACMP1I_Msk (0x20UL) /*!< SCU_INTERRUPT SRCLR: ACMP1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ACMP2I_Pos (6UL) /*!< SCU_INTERRUPT SRCLR: ACMP2I (Bit 6) */ +#define SCU_INTERRUPT_SRCLR_ACMP2I_Msk (0x40UL) /*!< SCU_INTERRUPT SRCLR: ACMP2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_VDROPI_Pos (7UL) /*!< SCU_INTERRUPT SRCLR: VDROPI (Bit 7) */ +#define SCU_INTERRUPT_SRCLR_VDROPI_Msk (0x80UL) /*!< SCU_INTERRUPT SRCLR: VDROPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC0I_Pos (8UL) /*!< SCU_INTERRUPT SRCLR: ORC0I (Bit 8) */ +#define SCU_INTERRUPT_SRCLR_ORC0I_Msk (0x100UL) /*!< SCU_INTERRUPT SRCLR: ORC0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC1I_Pos (9UL) /*!< SCU_INTERRUPT SRCLR: ORC1I (Bit 9) */ +#define SCU_INTERRUPT_SRCLR_ORC1I_Msk (0x200UL) /*!< SCU_INTERRUPT SRCLR: ORC1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC2I_Pos (10UL) /*!< SCU_INTERRUPT SRCLR: ORC2I (Bit 10) */ +#define SCU_INTERRUPT_SRCLR_ORC2I_Msk (0x400UL) /*!< SCU_INTERRUPT SRCLR: ORC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC3I_Pos (11UL) /*!< SCU_INTERRUPT SRCLR: ORC3I (Bit 11) */ +#define SCU_INTERRUPT_SRCLR_ORC3I_Msk (0x800UL) /*!< SCU_INTERRUPT SRCLR: ORC3I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC4I_Pos (12UL) /*!< SCU_INTERRUPT SRCLR: ORC4I (Bit 12) */ +#define SCU_INTERRUPT_SRCLR_ORC4I_Msk (0x1000UL) /*!< SCU_INTERRUPT SRCLR: ORC4I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC5I_Pos (13UL) /*!< SCU_INTERRUPT SRCLR: ORC5I (Bit 13) */ +#define SCU_INTERRUPT_SRCLR_ORC5I_Msk (0x2000UL) /*!< SCU_INTERRUPT SRCLR: ORC5I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC6I_Pos (14UL) /*!< SCU_INTERRUPT SRCLR: ORC6I (Bit 14) */ +#define SCU_INTERRUPT_SRCLR_ORC6I_Msk (0x4000UL) /*!< SCU_INTERRUPT SRCLR: ORC6I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_ORC7I_Pos (15UL) /*!< SCU_INTERRUPT SRCLR: ORC7I (Bit 15) */ +#define SCU_INTERRUPT_SRCLR_ORC7I_Msk (0x8000UL) /*!< SCU_INTERRUPT SRCLR: ORC7I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_LOCI_Pos (16UL) /*!< SCU_INTERRUPT SRCLR: LOCI (Bit 16) */ +#define SCU_INTERRUPT_SRCLR_LOCI_Msk (0x10000UL) /*!< SCU_INTERRUPT SRCLR: LOCI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_PESRAMI_Pos (17UL) /*!< SCU_INTERRUPT SRCLR: PESRAMI (Bit 17) */ +#define SCU_INTERRUPT_SRCLR_PESRAMI_Msk (0x20000UL) /*!< SCU_INTERRUPT SRCLR: PESRAMI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_PEU0I_Pos (18UL) /*!< SCU_INTERRUPT SRCLR: PEU0I (Bit 18) */ +#define SCU_INTERRUPT_SRCLR_PEU0I_Msk (0x40000UL) /*!< SCU_INTERRUPT SRCLR: PEU0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_FLECC2I_Pos (19UL) /*!< SCU_INTERRUPT SRCLR: FLECC2I (Bit 19) */ +#define SCU_INTERRUPT_SRCLR_FLECC2I_Msk (0x80000UL) /*!< SCU_INTERRUPT SRCLR: FLECC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_FLCMPLTI_Pos (20UL) /*!< SCU_INTERRUPT SRCLR: FLCMPLTI (Bit 20) */ +#define SCU_INTERRUPT_SRCLR_FLCMPLTI_Msk (0x100000UL) /*!< SCU_INTERRUPT SRCLR: FLCMPLTI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_VCLIPI_Pos (21UL) /*!< SCU_INTERRUPT SRCLR: VCLIPI (Bit 21) */ +#define SCU_INTERRUPT_SRCLR_VCLIPI_Msk (0x200000UL) /*!< SCU_INTERRUPT SRCLR: VCLIPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_SBYCLKFI_Pos (22UL) /*!< SCU_INTERRUPT SRCLR: SBYCLKFI (Bit 22) */ +#define SCU_INTERRUPT_SRCLR_SBYCLKFI_Msk (0x400000UL) /*!< SCU_INTERRUPT SRCLR: SBYCLKFI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_RTC_CTR_Pos (24UL) /*!< SCU_INTERRUPT SRCLR: RTC_CTR (Bit 24) */ +#define SCU_INTERRUPT_SRCLR_RTC_CTR_Msk (0x1000000UL) /*!< SCU_INTERRUPT SRCLR: RTC_CTR (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_RTC_ATIM0_Pos (25UL) /*!< SCU_INTERRUPT SRCLR: RTC_ATIM0 (Bit 25) */ +#define SCU_INTERRUPT_SRCLR_RTC_ATIM0_Msk (0x2000000UL) /*!< SCU_INTERRUPT SRCLR: RTC_ATIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_RTC_ATIM1_Pos (26UL) /*!< SCU_INTERRUPT SRCLR: RTC_ATIM1 (Bit 26) */ +#define SCU_INTERRUPT_SRCLR_RTC_ATIM1_Msk (0x4000000UL) /*!< SCU_INTERRUPT SRCLR: RTC_ATIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_RTC_TIM0_Pos (27UL) /*!< SCU_INTERRUPT SRCLR: RTC_TIM0 (Bit 27) */ +#define SCU_INTERRUPT_SRCLR_RTC_TIM0_Msk (0x8000000UL) /*!< SCU_INTERRUPT SRCLR: RTC_TIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_RTC_TIM1_Pos (28UL) /*!< SCU_INTERRUPT SRCLR: RTC_TIM1 (Bit 28) */ +#define SCU_INTERRUPT_SRCLR_RTC_TIM1_Msk (0x10000000UL) /*!< SCU_INTERRUPT SRCLR: RTC_TIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_TSE_DONE_Pos (29UL) /*!< SCU_INTERRUPT SRCLR: TSE_DONE (Bit 29) */ +#define SCU_INTERRUPT_SRCLR_TSE_DONE_Msk (0x20000000UL) /*!< SCU_INTERRUPT SRCLR: TSE_DONE (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_TSE_HIGH_Pos (30UL) /*!< SCU_INTERRUPT SRCLR: TSE_HIGH (Bit 30) */ +#define SCU_INTERRUPT_SRCLR_TSE_HIGH_Msk (0x40000000UL) /*!< SCU_INTERRUPT SRCLR: TSE_HIGH (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRCLR_TSE_LOW_Pos (31UL) /*!< SCU_INTERRUPT SRCLR: TSE_LOW (Bit 31) */ +#define SCU_INTERRUPT_SRCLR_TSE_LOW_Msk (0x80000000UL) /*!< SCU_INTERRUPT SRCLR: TSE_LOW (Bitfield-Mask: 0x01) */ + +/* ----------------------------- SCU_INTERRUPT_SRSET ---------------------------- */ +#define SCU_INTERRUPT_SRSET_PRWARN_Pos (0UL) /*!< SCU_INTERRUPT SRSET: PRWARN (Bit 0) */ +#define SCU_INTERRUPT_SRSET_PRWARN_Msk (0x1UL) /*!< SCU_INTERRUPT SRSET: PRWARN (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_PI_Pos (1UL) /*!< SCU_INTERRUPT SRSET: PI (Bit 1) */ +#define SCU_INTERRUPT_SRSET_PI_Msk (0x2UL) /*!< SCU_INTERRUPT SRSET: PI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_AI_Pos (2UL) /*!< SCU_INTERRUPT SRSET: AI (Bit 2) */ +#define SCU_INTERRUPT_SRSET_AI_Msk (0x4UL) /*!< SCU_INTERRUPT SRSET: AI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_VDDPI_Pos (3UL) /*!< SCU_INTERRUPT SRSET: VDDPI (Bit 3) */ +#define SCU_INTERRUPT_SRSET_VDDPI_Msk (0x8UL) /*!< SCU_INTERRUPT SRSET: VDDPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ACMP0I_Pos (4UL) /*!< SCU_INTERRUPT SRSET: ACMP0I (Bit 4) */ +#define SCU_INTERRUPT_SRSET_ACMP0I_Msk (0x10UL) /*!< SCU_INTERRUPT SRSET: ACMP0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ACMP1I_Pos (5UL) /*!< SCU_INTERRUPT SRSET: ACMP1I (Bit 5) */ +#define SCU_INTERRUPT_SRSET_ACMP1I_Msk (0x20UL) /*!< SCU_INTERRUPT SRSET: ACMP1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ACMP2I_Pos (6UL) /*!< SCU_INTERRUPT SRSET: ACMP2I (Bit 6) */ +#define SCU_INTERRUPT_SRSET_ACMP2I_Msk (0x40UL) /*!< SCU_INTERRUPT SRSET: ACMP2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_VDROPI_Pos (7UL) /*!< SCU_INTERRUPT SRSET: VDROPI (Bit 7) */ +#define SCU_INTERRUPT_SRSET_VDROPI_Msk (0x80UL) /*!< SCU_INTERRUPT SRSET: VDROPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC0I_Pos (8UL) /*!< SCU_INTERRUPT SRSET: ORC0I (Bit 8) */ +#define SCU_INTERRUPT_SRSET_ORC0I_Msk (0x100UL) /*!< SCU_INTERRUPT SRSET: ORC0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC1I_Pos (9UL) /*!< SCU_INTERRUPT SRSET: ORC1I (Bit 9) */ +#define SCU_INTERRUPT_SRSET_ORC1I_Msk (0x200UL) /*!< SCU_INTERRUPT SRSET: ORC1I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC2I_Pos (10UL) /*!< SCU_INTERRUPT SRSET: ORC2I (Bit 10) */ +#define SCU_INTERRUPT_SRSET_ORC2I_Msk (0x400UL) /*!< SCU_INTERRUPT SRSET: ORC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC3I_Pos (11UL) /*!< SCU_INTERRUPT SRSET: ORC3I (Bit 11) */ +#define SCU_INTERRUPT_SRSET_ORC3I_Msk (0x800UL) /*!< SCU_INTERRUPT SRSET: ORC3I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC4I_Pos (12UL) /*!< SCU_INTERRUPT SRSET: ORC4I (Bit 12) */ +#define SCU_INTERRUPT_SRSET_ORC4I_Msk (0x1000UL) /*!< SCU_INTERRUPT SRSET: ORC4I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC5I_Pos (13UL) /*!< SCU_INTERRUPT SRSET: ORC5I (Bit 13) */ +#define SCU_INTERRUPT_SRSET_ORC5I_Msk (0x2000UL) /*!< SCU_INTERRUPT SRSET: ORC5I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC6I_Pos (14UL) /*!< SCU_INTERRUPT SRSET: ORC6I (Bit 14) */ +#define SCU_INTERRUPT_SRSET_ORC6I_Msk (0x4000UL) /*!< SCU_INTERRUPT SRSET: ORC6I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_ORC7I_Pos (15UL) /*!< SCU_INTERRUPT SRSET: ORC7I (Bit 15) */ +#define SCU_INTERRUPT_SRSET_ORC7I_Msk (0x8000UL) /*!< SCU_INTERRUPT SRSET: ORC7I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_LOCI_Pos (16UL) /*!< SCU_INTERRUPT SRSET: LOCI (Bit 16) */ +#define SCU_INTERRUPT_SRSET_LOCI_Msk (0x10000UL) /*!< SCU_INTERRUPT SRSET: LOCI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_PESRAMI_Pos (17UL) /*!< SCU_INTERRUPT SRSET: PESRAMI (Bit 17) */ +#define SCU_INTERRUPT_SRSET_PESRAMI_Msk (0x20000UL) /*!< SCU_INTERRUPT SRSET: PESRAMI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_PEU0I_Pos (18UL) /*!< SCU_INTERRUPT SRSET: PEU0I (Bit 18) */ +#define SCU_INTERRUPT_SRSET_PEU0I_Msk (0x40000UL) /*!< SCU_INTERRUPT SRSET: PEU0I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_FLECC2I_Pos (19UL) /*!< SCU_INTERRUPT SRSET: FLECC2I (Bit 19) */ +#define SCU_INTERRUPT_SRSET_FLECC2I_Msk (0x80000UL) /*!< SCU_INTERRUPT SRSET: FLECC2I (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_FLCMPLTI_Pos (20UL) /*!< SCU_INTERRUPT SRSET: FLCMPLTI (Bit 20) */ +#define SCU_INTERRUPT_SRSET_FLCMPLTI_Msk (0x100000UL) /*!< SCU_INTERRUPT SRSET: FLCMPLTI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_VCLIPI_Pos (21UL) /*!< SCU_INTERRUPT SRSET: VCLIPI (Bit 21) */ +#define SCU_INTERRUPT_SRSET_VCLIPI_Msk (0x200000UL) /*!< SCU_INTERRUPT SRSET: VCLIPI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_SBYCLKFI_Pos (22UL) /*!< SCU_INTERRUPT SRSET: SBYCLKFI (Bit 22) */ +#define SCU_INTERRUPT_SRSET_SBYCLKFI_Msk (0x400000UL) /*!< SCU_INTERRUPT SRSET: SBYCLKFI (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_RTC_CTR_Pos (24UL) /*!< SCU_INTERRUPT SRSET: RTC_CTR (Bit 24) */ +#define SCU_INTERRUPT_SRSET_RTC_CTR_Msk (0x1000000UL) /*!< SCU_INTERRUPT SRSET: RTC_CTR (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_RTC_ATIM0_Pos (25UL) /*!< SCU_INTERRUPT SRSET: RTC_ATIM0 (Bit 25) */ +#define SCU_INTERRUPT_SRSET_RTC_ATIM0_Msk (0x2000000UL) /*!< SCU_INTERRUPT SRSET: RTC_ATIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_RTC_ATIM1_Pos (26UL) /*!< SCU_INTERRUPT SRSET: RTC_ATIM1 (Bit 26) */ +#define SCU_INTERRUPT_SRSET_RTC_ATIM1_Msk (0x4000000UL) /*!< SCU_INTERRUPT SRSET: RTC_ATIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_RTC_TIM0_Pos (27UL) /*!< SCU_INTERRUPT SRSET: RTC_TIM0 (Bit 27) */ +#define SCU_INTERRUPT_SRSET_RTC_TIM0_Msk (0x8000000UL) /*!< SCU_INTERRUPT SRSET: RTC_TIM0 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_RTC_TIM1_Pos (28UL) /*!< SCU_INTERRUPT SRSET: RTC_TIM1 (Bit 28) */ +#define SCU_INTERRUPT_SRSET_RTC_TIM1_Msk (0x10000000UL) /*!< SCU_INTERRUPT SRSET: RTC_TIM1 (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_TSE_DONE_Pos (29UL) /*!< SCU_INTERRUPT SRSET: TSE_DONE (Bit 29) */ +#define SCU_INTERRUPT_SRSET_TSE_DONE_Msk (0x20000000UL) /*!< SCU_INTERRUPT SRSET: TSE_DONE (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_TSE_HIGH_Pos (30UL) /*!< SCU_INTERRUPT SRSET: TSE_HIGH (Bit 30) */ +#define SCU_INTERRUPT_SRSET_TSE_HIGH_Msk (0x40000000UL) /*!< SCU_INTERRUPT SRSET: TSE_HIGH (Bitfield-Mask: 0x01) */ +#define SCU_INTERRUPT_SRSET_TSE_LOW_Pos (31UL) /*!< SCU_INTERRUPT SRSET: TSE_LOW (Bit 31) */ +#define SCU_INTERRUPT_SRSET_TSE_LOW_Msk (0x80000000UL) /*!< SCU_INTERRUPT SRSET: TSE_LOW (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'SCU_POWER' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ------------------------------- SCU_POWER_VDESR ------------------------------ */ +#define SCU_POWER_VDESR_VCLIP_Pos (0UL) /*!< SCU_POWER VDESR: VCLIP (Bit 0) */ +#define SCU_POWER_VDESR_VCLIP_Msk (0x1UL) /*!< SCU_POWER VDESR: VCLIP (Bitfield-Mask: 0x01) */ +#define SCU_POWER_VDESR_VDDPPW_Pos (1UL) /*!< SCU_POWER VDESR: VDDPPW (Bit 1) */ +#define SCU_POWER_VDESR_VDDPPW_Msk (0x2UL) /*!< SCU_POWER VDESR: VDDPPW (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'SCU_CLK' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- SCU_CLK_CLKCR ------------------------------- */ +#define SCU_CLK_CLKCR_FDIV_Pos (0UL) /*!< SCU_CLK CLKCR: FDIV (Bit 0) */ +#define SCU_CLK_CLKCR_FDIV_Msk (0xffUL) /*!< SCU_CLK CLKCR: FDIV (Bitfield-Mask: 0xff) */ +#define SCU_CLK_CLKCR_IDIV_Pos (8UL) /*!< SCU_CLK CLKCR: IDIV (Bit 8) */ +#define SCU_CLK_CLKCR_IDIV_Msk (0xff00UL) /*!< SCU_CLK CLKCR: IDIV (Bitfield-Mask: 0xff) */ +#define SCU_CLK_CLKCR_PCLKSEL_Pos (16UL) /*!< SCU_CLK CLKCR: PCLKSEL (Bit 16) */ +#define SCU_CLK_CLKCR_PCLKSEL_Msk (0x10000UL) /*!< SCU_CLK CLKCR: PCLKSEL (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CLKCR_RTCCLKSEL_Pos (17UL) /*!< SCU_CLK CLKCR: RTCCLKSEL (Bit 17) */ +#define SCU_CLK_CLKCR_RTCCLKSEL_Msk (0xe0000UL) /*!< SCU_CLK CLKCR: RTCCLKSEL (Bitfield-Mask: 0x07) */ +#define SCU_CLK_CLKCR_CNTADJ_Pos (20UL) /*!< SCU_CLK CLKCR: CNTADJ (Bit 20) */ +#define SCU_CLK_CLKCR_CNTADJ_Msk (0x3ff00000UL) /*!< SCU_CLK CLKCR: CNTADJ (Bitfield-Mask: 0x3ff) */ +#define SCU_CLK_CLKCR_VDDC2LOW_Pos (30UL) /*!< SCU_CLK CLKCR: VDDC2LOW (Bit 30) */ +#define SCU_CLK_CLKCR_VDDC2LOW_Msk (0x40000000UL) /*!< SCU_CLK CLKCR: VDDC2LOW (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CLKCR_VDDC2HIGH_Pos (31UL) /*!< SCU_CLK CLKCR: VDDC2HIGH (Bit 31) */ +#define SCU_CLK_CLKCR_VDDC2HIGH_Msk (0x80000000UL) /*!< SCU_CLK CLKCR: VDDC2HIGH (Bitfield-Mask: 0x01) */ + +/* ------------------------------- SCU_CLK_PWRSVCR ------------------------------ */ +#define SCU_CLK_PWRSVCR_FPD_Pos (0UL) /*!< SCU_CLK PWRSVCR: FPD (Bit 0) */ +#define SCU_CLK_PWRSVCR_FPD_Msk (0x1UL) /*!< SCU_CLK PWRSVCR: FPD (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_CLK_CGATSTAT0 ----------------------------- */ +#define SCU_CLK_CGATSTAT0_VADC_Pos (0UL) /*!< SCU_CLK CGATSTAT0: VADC (Bit 0) */ +#define SCU_CLK_CGATSTAT0_VADC_Msk (0x1UL) /*!< SCU_CLK CGATSTAT0: VADC (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_CCU80_Pos (1UL) /*!< SCU_CLK CGATSTAT0: CCU80 (Bit 1) */ +#define SCU_CLK_CGATSTAT0_CCU80_Msk (0x2UL) /*!< SCU_CLK CGATSTAT0: CCU80 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_CCU40_Pos (2UL) /*!< SCU_CLK CGATSTAT0: CCU40 (Bit 2) */ +#define SCU_CLK_CGATSTAT0_CCU40_Msk (0x4UL) /*!< SCU_CLK CGATSTAT0: CCU40 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_USIC0_Pos (3UL) /*!< SCU_CLK CGATSTAT0: USIC0 (Bit 3) */ +#define SCU_CLK_CGATSTAT0_USIC0_Msk (0x8UL) /*!< SCU_CLK CGATSTAT0: USIC0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_BCCU0_Pos (4UL) /*!< SCU_CLK CGATSTAT0: BCCU0 (Bit 4) */ +#define SCU_CLK_CGATSTAT0_BCCU0_Msk (0x10UL) /*!< SCU_CLK CGATSTAT0: BCCU0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_POSIF0_Pos (7UL) /*!< SCU_CLK CGATSTAT0: POSIF0 (Bit 7) */ +#define SCU_CLK_CGATSTAT0_POSIF0_Msk (0x80UL) /*!< SCU_CLK CGATSTAT0: POSIF0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_MATH_Pos (8UL) /*!< SCU_CLK CGATSTAT0: MATH (Bit 8) */ +#define SCU_CLK_CGATSTAT0_MATH_Msk (0x100UL) /*!< SCU_CLK CGATSTAT0: MATH (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_WDT_Pos (9UL) /*!< SCU_CLK CGATSTAT0: WDT (Bit 9) */ +#define SCU_CLK_CGATSTAT0_WDT_Msk (0x200UL) /*!< SCU_CLK CGATSTAT0: WDT (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSTAT0_RTC_Pos (10UL) /*!< SCU_CLK CGATSTAT0: RTC (Bit 10) */ +#define SCU_CLK_CGATSTAT0_RTC_Msk (0x400UL) /*!< SCU_CLK CGATSTAT0: RTC (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_CLK_CGATSET0 ------------------------------ */ +#define SCU_CLK_CGATSET0_VADC_Pos (0UL) /*!< SCU_CLK CGATSET0: VADC (Bit 0) */ +#define SCU_CLK_CGATSET0_VADC_Msk (0x1UL) /*!< SCU_CLK CGATSET0: VADC (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_CCU80_Pos (1UL) /*!< SCU_CLK CGATSET0: CCU80 (Bit 1) */ +#define SCU_CLK_CGATSET0_CCU80_Msk (0x2UL) /*!< SCU_CLK CGATSET0: CCU80 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_CCU40_Pos (2UL) /*!< SCU_CLK CGATSET0: CCU40 (Bit 2) */ +#define SCU_CLK_CGATSET0_CCU40_Msk (0x4UL) /*!< SCU_CLK CGATSET0: CCU40 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_USIC0_Pos (3UL) /*!< SCU_CLK CGATSET0: USIC0 (Bit 3) */ +#define SCU_CLK_CGATSET0_USIC0_Msk (0x8UL) /*!< SCU_CLK CGATSET0: USIC0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_BCCU0_Pos (4UL) /*!< SCU_CLK CGATSET0: BCCU0 (Bit 4) */ +#define SCU_CLK_CGATSET0_BCCU0_Msk (0x10UL) /*!< SCU_CLK CGATSET0: BCCU0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_POSIF0_Pos (7UL) /*!< SCU_CLK CGATSET0: POSIF0 (Bit 7) */ +#define SCU_CLK_CGATSET0_POSIF0_Msk (0x80UL) /*!< SCU_CLK CGATSET0: POSIF0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_MATH_Pos (8UL) /*!< SCU_CLK CGATSET0: MATH (Bit 8) */ +#define SCU_CLK_CGATSET0_MATH_Msk (0x100UL) /*!< SCU_CLK CGATSET0: MATH (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_WDT_Pos (9UL) /*!< SCU_CLK CGATSET0: WDT (Bit 9) */ +#define SCU_CLK_CGATSET0_WDT_Msk (0x200UL) /*!< SCU_CLK CGATSET0: WDT (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATSET0_RTC_Pos (10UL) /*!< SCU_CLK CGATSET0: RTC (Bit 10) */ +#define SCU_CLK_CGATSET0_RTC_Msk (0x400UL) /*!< SCU_CLK CGATSET0: RTC (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_CLK_CGATCLR0 ------------------------------ */ +#define SCU_CLK_CGATCLR0_VADC_Pos (0UL) /*!< SCU_CLK CGATCLR0: VADC (Bit 0) */ +#define SCU_CLK_CGATCLR0_VADC_Msk (0x1UL) /*!< SCU_CLK CGATCLR0: VADC (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_CCU80_Pos (1UL) /*!< SCU_CLK CGATCLR0: CCU80 (Bit 1) */ +#define SCU_CLK_CGATCLR0_CCU80_Msk (0x2UL) /*!< SCU_CLK CGATCLR0: CCU80 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_CCU40_Pos (2UL) /*!< SCU_CLK CGATCLR0: CCU40 (Bit 2) */ +#define SCU_CLK_CGATCLR0_CCU40_Msk (0x4UL) /*!< SCU_CLK CGATCLR0: CCU40 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_USIC0_Pos (3UL) /*!< SCU_CLK CGATCLR0: USIC0 (Bit 3) */ +#define SCU_CLK_CGATCLR0_USIC0_Msk (0x8UL) /*!< SCU_CLK CGATCLR0: USIC0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_BCCU0_Pos (4UL) /*!< SCU_CLK CGATCLR0: BCCU0 (Bit 4) */ +#define SCU_CLK_CGATCLR0_BCCU0_Msk (0x10UL) /*!< SCU_CLK CGATCLR0: BCCU0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_POSIF0_Pos (7UL) /*!< SCU_CLK CGATCLR0: POSIF0 (Bit 7) */ +#define SCU_CLK_CGATCLR0_POSIF0_Msk (0x80UL) /*!< SCU_CLK CGATCLR0: POSIF0 (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_MATH_Pos (8UL) /*!< SCU_CLK CGATCLR0: MATH (Bit 8) */ +#define SCU_CLK_CGATCLR0_MATH_Msk (0x100UL) /*!< SCU_CLK CGATCLR0: MATH (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_WDT_Pos (9UL) /*!< SCU_CLK CGATCLR0: WDT (Bit 9) */ +#define SCU_CLK_CGATCLR0_WDT_Msk (0x200UL) /*!< SCU_CLK CGATCLR0: WDT (Bitfield-Mask: 0x01) */ +#define SCU_CLK_CGATCLR0_RTC_Pos (10UL) /*!< SCU_CLK CGATCLR0: RTC (Bit 10) */ +#define SCU_CLK_CGATCLR0_RTC_Msk (0x400UL) /*!< SCU_CLK CGATCLR0: RTC (Bitfield-Mask: 0x01) */ + +/* ------------------------------- SCU_CLK_OSCCSR ------------------------------- */ +#define SCU_CLK_OSCCSR_OSC2L_Pos (0UL) /*!< SCU_CLK OSCCSR: OSC2L (Bit 0) */ +#define SCU_CLK_OSCCSR_OSC2L_Msk (0x1UL) /*!< SCU_CLK OSCCSR: OSC2L (Bitfield-Mask: 0x01) */ +#define SCU_CLK_OSCCSR_OSC2H_Pos (1UL) /*!< SCU_CLK OSCCSR: OSC2H (Bit 1) */ +#define SCU_CLK_OSCCSR_OSC2H_Msk (0x2UL) /*!< SCU_CLK OSCCSR: OSC2H (Bitfield-Mask: 0x01) */ +#define SCU_CLK_OSCCSR_OWDRES_Pos (16UL) /*!< SCU_CLK OSCCSR: OWDRES (Bit 16) */ +#define SCU_CLK_OSCCSR_OWDRES_Msk (0x10000UL) /*!< SCU_CLK OSCCSR: OWDRES (Bitfield-Mask: 0x01) */ +#define SCU_CLK_OSCCSR_OWDEN_Pos (17UL) /*!< SCU_CLK OSCCSR: OWDEN (Bit 17) */ +#define SCU_CLK_OSCCSR_OWDEN_Msk (0x20000UL) /*!< SCU_CLK OSCCSR: OWDEN (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'SCU_RESET' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ------------------------------ SCU_RESET_RSTSTAT ----------------------------- */ +#define SCU_RESET_RSTSTAT_RSTSTAT_Pos (0UL) /*!< SCU_RESET RSTSTAT: RSTSTAT (Bit 0) */ +#define SCU_RESET_RSTSTAT_RSTSTAT_Msk (0x3ffUL) /*!< SCU_RESET RSTSTAT: RSTSTAT (Bitfield-Mask: 0x3ff) */ +#define SCU_RESET_RSTSTAT_LCKEN_Pos (10UL) /*!< SCU_RESET RSTSTAT: LCKEN (Bit 10) */ +#define SCU_RESET_RSTSTAT_LCKEN_Msk (0x400UL) /*!< SCU_RESET RSTSTAT: LCKEN (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_RESET_RSTSET ------------------------------ */ +#define SCU_RESET_RSTSET_LCKEN_Pos (10UL) /*!< SCU_RESET RSTSET: LCKEN (Bit 10) */ +#define SCU_RESET_RSTSET_LCKEN_Msk (0x400UL) /*!< SCU_RESET RSTSET: LCKEN (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_RESET_RSTCLR ------------------------------ */ +#define SCU_RESET_RSTCLR_RSCLR_Pos (0UL) /*!< SCU_RESET RSTCLR: RSCLR (Bit 0) */ +#define SCU_RESET_RSTCLR_RSCLR_Msk (0x1UL) /*!< SCU_RESET RSTCLR: RSCLR (Bitfield-Mask: 0x01) */ +#define SCU_RESET_RSTCLR_LCKEN_Pos (10UL) /*!< SCU_RESET RSTCLR: LCKEN (Bit 10) */ +#define SCU_RESET_RSTCLR_LCKEN_Msk (0x400UL) /*!< SCU_RESET RSTCLR: LCKEN (Bitfield-Mask: 0x01) */ + +/* ------------------------------ SCU_RESET_RSTCON ------------------------------ */ +#define SCU_RESET_RSTCON_ECCRSTEN_Pos (0UL) /*!< SCU_RESET RSTCON: ECCRSTEN (Bit 0) */ +#define SCU_RESET_RSTCON_ECCRSTEN_Msk (0x1UL) /*!< SCU_RESET RSTCON: ECCRSTEN (Bitfield-Mask: 0x01) */ +#define SCU_RESET_RSTCON_LOCRSTEN_Pos (1UL) /*!< SCU_RESET RSTCON: LOCRSTEN (Bit 1) */ +#define SCU_RESET_RSTCON_LOCRSTEN_Msk (0x2UL) /*!< SCU_RESET RSTCON: LOCRSTEN (Bitfield-Mask: 0x01) */ +#define SCU_RESET_RSTCON_SPERSTEN_Pos (2UL) /*!< SCU_RESET RSTCON: SPERSTEN (Bit 2) */ +#define SCU_RESET_RSTCON_SPERSTEN_Msk (0x4UL) /*!< SCU_RESET RSTCON: SPERSTEN (Bitfield-Mask: 0x01) */ +#define SCU_RESET_RSTCON_U0PERSTEN_Pos (3UL) /*!< SCU_RESET RSTCON: U0PERSTEN (Bit 3) */ +#define SCU_RESET_RSTCON_U0PERSTEN_Msk (0x8UL) /*!< SCU_RESET RSTCON: U0PERSTEN (Bitfield-Mask: 0x01) */ +#define SCU_RESET_RSTCON_MRSTEN_Pos (16UL) /*!< SCU_RESET RSTCON: MRSTEN (Bit 16) */ +#define SCU_RESET_RSTCON_MRSTEN_Msk (0x10000UL) /*!< SCU_RESET RSTCON: MRSTEN (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'COMPARATOR' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ----------------------------- COMPARATOR_ORCCTRL ----------------------------- */ +#define COMPARATOR_ORCCTRL_ENORC0_Pos (0UL) /*!< COMPARATOR ORCCTRL: ENORC0 (Bit 0) */ +#define COMPARATOR_ORCCTRL_ENORC0_Msk (0x1UL) /*!< COMPARATOR ORCCTRL: ENORC0 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC1_Pos (1UL) /*!< COMPARATOR ORCCTRL: ENORC1 (Bit 1) */ +#define COMPARATOR_ORCCTRL_ENORC1_Msk (0x2UL) /*!< COMPARATOR ORCCTRL: ENORC1 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC2_Pos (2UL) /*!< COMPARATOR ORCCTRL: ENORC2 (Bit 2) */ +#define COMPARATOR_ORCCTRL_ENORC2_Msk (0x4UL) /*!< COMPARATOR ORCCTRL: ENORC2 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC3_Pos (3UL) /*!< COMPARATOR ORCCTRL: ENORC3 (Bit 3) */ +#define COMPARATOR_ORCCTRL_ENORC3_Msk (0x8UL) /*!< COMPARATOR ORCCTRL: ENORC3 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC4_Pos (4UL) /*!< COMPARATOR ORCCTRL: ENORC4 (Bit 4) */ +#define COMPARATOR_ORCCTRL_ENORC4_Msk (0x10UL) /*!< COMPARATOR ORCCTRL: ENORC4 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC5_Pos (5UL) /*!< COMPARATOR ORCCTRL: ENORC5 (Bit 5) */ +#define COMPARATOR_ORCCTRL_ENORC5_Msk (0x20UL) /*!< COMPARATOR ORCCTRL: ENORC5 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC6_Pos (6UL) /*!< COMPARATOR ORCCTRL: ENORC6 (Bit 6) */ +#define COMPARATOR_ORCCTRL_ENORC6_Msk (0x40UL) /*!< COMPARATOR ORCCTRL: ENORC6 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_ENORC7_Pos (7UL) /*!< COMPARATOR ORCCTRL: ENORC7 (Bit 7) */ +#define COMPARATOR_ORCCTRL_ENORC7_Msk (0x80UL) /*!< COMPARATOR ORCCTRL: ENORC7 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF0_Pos (16UL) /*!< COMPARATOR ORCCTRL: CNF0 (Bit 16) */ +#define COMPARATOR_ORCCTRL_CNF0_Msk (0x10000UL) /*!< COMPARATOR ORCCTRL: CNF0 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF1_Pos (17UL) /*!< COMPARATOR ORCCTRL: CNF1 (Bit 17) */ +#define COMPARATOR_ORCCTRL_CNF1_Msk (0x20000UL) /*!< COMPARATOR ORCCTRL: CNF1 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF2_Pos (18UL) /*!< COMPARATOR ORCCTRL: CNF2 (Bit 18) */ +#define COMPARATOR_ORCCTRL_CNF2_Msk (0x40000UL) /*!< COMPARATOR ORCCTRL: CNF2 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF3_Pos (19UL) /*!< COMPARATOR ORCCTRL: CNF3 (Bit 19) */ +#define COMPARATOR_ORCCTRL_CNF3_Msk (0x80000UL) /*!< COMPARATOR ORCCTRL: CNF3 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF4_Pos (20UL) /*!< COMPARATOR ORCCTRL: CNF4 (Bit 20) */ +#define COMPARATOR_ORCCTRL_CNF4_Msk (0x100000UL) /*!< COMPARATOR ORCCTRL: CNF4 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF5_Pos (21UL) /*!< COMPARATOR ORCCTRL: CNF5 (Bit 21) */ +#define COMPARATOR_ORCCTRL_CNF5_Msk (0x200000UL) /*!< COMPARATOR ORCCTRL: CNF5 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF6_Pos (22UL) /*!< COMPARATOR ORCCTRL: CNF6 (Bit 22) */ +#define COMPARATOR_ORCCTRL_CNF6_Msk (0x400000UL) /*!< COMPARATOR ORCCTRL: CNF6 (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ORCCTRL_CNF7_Pos (23UL) /*!< COMPARATOR ORCCTRL: CNF7 (Bit 23) */ +#define COMPARATOR_ORCCTRL_CNF7_Msk (0x800000UL) /*!< COMPARATOR ORCCTRL: CNF7 (Bitfield-Mask: 0x01) */ + +/* ----------------------------- COMPARATOR_ANACMP0 ----------------------------- */ +#define COMPARATOR_ANACMP0_CMP_EN_Pos (0UL) /*!< COMPARATOR ANACMP0: CMP_EN (Bit 0) */ +#define COMPARATOR_ANACMP0_CMP_EN_Msk (0x1UL) /*!< COMPARATOR ANACMP0: CMP_EN (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP0_CMP_FLT_OFF_Pos (1UL) /*!< COMPARATOR ANACMP0: CMP_FLT_OFF (Bit 1) */ +#define COMPARATOR_ANACMP0_CMP_FLT_OFF_Msk (0x2UL) /*!< COMPARATOR ANACMP0: CMP_FLT_OFF (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP0_CMP_INV_OUT_Pos (3UL) /*!< COMPARATOR ANACMP0: CMP_INV_OUT (Bit 3) */ +#define COMPARATOR_ANACMP0_CMP_INV_OUT_Msk (0x8UL) /*!< COMPARATOR ANACMP0: CMP_INV_OUT (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP0_CMP_HYST_ADJ_Pos (4UL) /*!< COMPARATOR ANACMP0: CMP_HYST_ADJ (Bit 4) */ +#define COMPARATOR_ANACMP0_CMP_HYST_ADJ_Msk (0x30UL) /*!< COMPARATOR ANACMP0: CMP_HYST_ADJ (Bitfield-Mask: 0x03) */ +#define COMPARATOR_ANACMP0_ACMP0_SEL_Pos (6UL) /*!< COMPARATOR ANACMP0: ACMP0_SEL (Bit 6) */ +#define COMPARATOR_ANACMP0_ACMP0_SEL_Msk (0x40UL) /*!< COMPARATOR ANACMP0: ACMP0_SEL (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP0_CMP_LPWR_Pos (8UL) /*!< COMPARATOR ANACMP0: CMP_LPWR (Bit 8) */ +#define COMPARATOR_ANACMP0_CMP_LPWR_Msk (0x100UL) /*!< COMPARATOR ANACMP0: CMP_LPWR (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP0_CMP_OUT_Pos (15UL) /*!< COMPARATOR ANACMP0: CMP_OUT (Bit 15) */ +#define COMPARATOR_ANACMP0_CMP_OUT_Msk (0x8000UL) /*!< COMPARATOR ANACMP0: CMP_OUT (Bitfield-Mask: 0x01) */ + +/* ----------------------------- COMPARATOR_ANACMP1 ----------------------------- */ +#define COMPARATOR_ANACMP1_CMP_EN_Pos (0UL) /*!< COMPARATOR ANACMP1: CMP_EN (Bit 0) */ +#define COMPARATOR_ANACMP1_CMP_EN_Msk (0x1UL) /*!< COMPARATOR ANACMP1: CMP_EN (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP1_CMP_FLT_OFF_Pos (1UL) /*!< COMPARATOR ANACMP1: CMP_FLT_OFF (Bit 1) */ +#define COMPARATOR_ANACMP1_CMP_FLT_OFF_Msk (0x2UL) /*!< COMPARATOR ANACMP1: CMP_FLT_OFF (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP1_CMP_INV_OUT_Pos (3UL) /*!< COMPARATOR ANACMP1: CMP_INV_OUT (Bit 3) */ +#define COMPARATOR_ANACMP1_CMP_INV_OUT_Msk (0x8UL) /*!< COMPARATOR ANACMP1: CMP_INV_OUT (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP1_CMP_HYST_ADJ_Pos (4UL) /*!< COMPARATOR ANACMP1: CMP_HYST_ADJ (Bit 4) */ +#define COMPARATOR_ANACMP1_CMP_HYST_ADJ_Msk (0x30UL) /*!< COMPARATOR ANACMP1: CMP_HYST_ADJ (Bitfield-Mask: 0x03) */ +#define COMPARATOR_ANACMP1_REF_DIV_EN_Pos (6UL) /*!< COMPARATOR ANACMP1: REF_DIV_EN (Bit 6) */ +#define COMPARATOR_ANACMP1_REF_DIV_EN_Msk (0x40UL) /*!< COMPARATOR ANACMP1: REF_DIV_EN (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP1_CMP_OUT_Pos (15UL) /*!< COMPARATOR ANACMP1: CMP_OUT (Bit 15) */ +#define COMPARATOR_ANACMP1_CMP_OUT_Msk (0x8000UL) /*!< COMPARATOR ANACMP1: CMP_OUT (Bitfield-Mask: 0x01) */ + +/* ----------------------------- COMPARATOR_ANACMP2 ----------------------------- */ +#define COMPARATOR_ANACMP2_CMP_EN_Pos (0UL) /*!< COMPARATOR ANACMP2: CMP_EN (Bit 0) */ +#define COMPARATOR_ANACMP2_CMP_EN_Msk (0x1UL) /*!< COMPARATOR ANACMP2: CMP_EN (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP2_CMP_FLT_OFF_Pos (1UL) /*!< COMPARATOR ANACMP2: CMP_FLT_OFF (Bit 1) */ +#define COMPARATOR_ANACMP2_CMP_FLT_OFF_Msk (0x2UL) /*!< COMPARATOR ANACMP2: CMP_FLT_OFF (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP2_CMP_INV_OUT_Pos (3UL) /*!< COMPARATOR ANACMP2: CMP_INV_OUT (Bit 3) */ +#define COMPARATOR_ANACMP2_CMP_INV_OUT_Msk (0x8UL) /*!< COMPARATOR ANACMP2: CMP_INV_OUT (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP2_CMP_HYST_ADJ_Pos (4UL) /*!< COMPARATOR ANACMP2: CMP_HYST_ADJ (Bit 4) */ +#define COMPARATOR_ANACMP2_CMP_HYST_ADJ_Msk (0x30UL) /*!< COMPARATOR ANACMP2: CMP_HYST_ADJ (Bitfield-Mask: 0x03) */ +#define COMPARATOR_ANACMP2_ACMP2_SEL_Pos (6UL) /*!< COMPARATOR ANACMP2: ACMP2_SEL (Bit 6) */ +#define COMPARATOR_ANACMP2_ACMP2_SEL_Msk (0x40UL) /*!< COMPARATOR ANACMP2: ACMP2_SEL (Bitfield-Mask: 0x01) */ +#define COMPARATOR_ANACMP2_CMP_OUT_Pos (15UL) /*!< COMPARATOR ANACMP2: CMP_OUT (Bit 15) */ +#define COMPARATOR_ANACMP2_CMP_OUT_Msk (0x8000UL) /*!< COMPARATOR ANACMP2: CMP_OUT (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'SCU_ANALOG' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------- SCU_ANALOG_ANATSECTRL --------------------------- */ +#define SCU_ANALOG_ANATSECTRL_TSE_EN_Pos (0UL) /*!< SCU_ANALOG ANATSECTRL: TSE_EN (Bit 0) */ +#define SCU_ANALOG_ANATSECTRL_TSE_EN_Msk (0x1UL) /*!< SCU_ANALOG ANATSECTRL: TSE_EN (Bitfield-Mask: 0x01) */ + +/* ----------------------------- SCU_ANALOG_ANATSEIH ---------------------------- */ +#define SCU_ANALOG_ANATSEIH_TSE_IH_Pos (0UL) /*!< SCU_ANALOG ANATSEIH: TSE_IH (Bit 0) */ +#define SCU_ANALOG_ANATSEIH_TSE_IH_Msk (0xffffUL) /*!< SCU_ANALOG ANATSEIH: TSE_IH (Bitfield-Mask: 0xffff) */ + +/* ----------------------------- SCU_ANALOG_ANATSEIL ---------------------------- */ +#define SCU_ANALOG_ANATSEIL_TSE_IL_Pos (0UL) /*!< SCU_ANALOG ANATSEIL: TSE_IL (Bit 0) */ +#define SCU_ANALOG_ANATSEIL_TSE_IL_Msk (0xffffUL) /*!< SCU_ANALOG ANATSEIL: TSE_IL (Bitfield-Mask: 0xffff) */ + +/* ---------------------------- SCU_ANALOG_ANATSEMON ---------------------------- */ +#define SCU_ANALOG_ANATSEMON_TSE_MON_Pos (0UL) /*!< SCU_ANALOG ANATSEMON: TSE_MON (Bit 0) */ +#define SCU_ANALOG_ANATSEMON_TSE_MON_Msk (0xffffUL) /*!< SCU_ANALOG ANATSEMON: TSE_MON (Bitfield-Mask: 0xffff) */ + +/* ----------------------------- SCU_ANALOG_ANAVDEL ----------------------------- */ +#define SCU_ANALOG_ANAVDEL_VDEL_SELECT_Pos (0UL) /*!< SCU_ANALOG ANAVDEL: VDEL_SELECT (Bit 0) */ +#define SCU_ANALOG_ANAVDEL_VDEL_SELECT_Msk (0x3UL) /*!< SCU_ANALOG ANAVDEL: VDEL_SELECT (Bitfield-Mask: 0x03) */ +#define SCU_ANALOG_ANAVDEL_VDEL_TIM_ADJ_Pos (2UL) /*!< SCU_ANALOG ANAVDEL: VDEL_TIM_ADJ (Bit 2) */ +#define SCU_ANALOG_ANAVDEL_VDEL_TIM_ADJ_Msk (0xcUL) /*!< SCU_ANALOG ANAVDEL: VDEL_TIM_ADJ (Bitfield-Mask: 0x03) */ +#define SCU_ANALOG_ANAVDEL_VDEL_EN_Pos (4UL) /*!< SCU_ANALOG ANAVDEL: VDEL_EN (Bit 4) */ +#define SCU_ANALOG_ANAVDEL_VDEL_EN_Msk (0x10UL) /*!< SCU_ANALOG ANAVDEL: VDEL_EN (Bitfield-Mask: 0x01) */ + +/* ---------------------------- SCU_ANALOG_ANAOFFSET ---------------------------- */ +#define SCU_ANALOG_ANAOFFSET_ADJL_OFFSET_Pos (0UL) /*!< SCU_ANALOG ANAOFFSET: ADJL_OFFSET (Bit 0) */ +#define SCU_ANALOG_ANAOFFSET_ADJL_OFFSET_Msk (0xfUL) /*!< SCU_ANALOG ANAOFFSET: ADJL_OFFSET (Bitfield-Mask: 0x0f) */ + + +/* ================================================================================ */ +/* ================ Group 'CCU4' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- CCU4_GCTRL --------------------------------- */ +#define CCU4_GCTRL_PRBC_Pos (0UL) /*!< CCU4 GCTRL: PRBC (Bit 0) */ +#define CCU4_GCTRL_PRBC_Msk (0x7UL) /*!< CCU4 GCTRL: PRBC (Bitfield-Mask: 0x07) */ +#define CCU4_GCTRL_PCIS_Pos (4UL) /*!< CCU4 GCTRL: PCIS (Bit 4) */ +#define CCU4_GCTRL_PCIS_Msk (0x30UL) /*!< CCU4 GCTRL: PCIS (Bitfield-Mask: 0x03) */ +#define CCU4_GCTRL_SUSCFG_Pos (8UL) /*!< CCU4 GCTRL: SUSCFG (Bit 8) */ +#define CCU4_GCTRL_SUSCFG_Msk (0x300UL) /*!< CCU4 GCTRL: SUSCFG (Bitfield-Mask: 0x03) */ +#define CCU4_GCTRL_MSE0_Pos (10UL) /*!< CCU4 GCTRL: MSE0 (Bit 10) */ +#define CCU4_GCTRL_MSE0_Msk (0x400UL) /*!< CCU4 GCTRL: MSE0 (Bitfield-Mask: 0x01) */ +#define CCU4_GCTRL_MSE1_Pos (11UL) /*!< CCU4 GCTRL: MSE1 (Bit 11) */ +#define CCU4_GCTRL_MSE1_Msk (0x800UL) /*!< CCU4 GCTRL: MSE1 (Bitfield-Mask: 0x01) */ +#define CCU4_GCTRL_MSE2_Pos (12UL) /*!< CCU4 GCTRL: MSE2 (Bit 12) */ +#define CCU4_GCTRL_MSE2_Msk (0x1000UL) /*!< CCU4 GCTRL: MSE2 (Bitfield-Mask: 0x01) */ +#define CCU4_GCTRL_MSE3_Pos (13UL) /*!< CCU4 GCTRL: MSE3 (Bit 13) */ +#define CCU4_GCTRL_MSE3_Msk (0x2000UL) /*!< CCU4 GCTRL: MSE3 (Bitfield-Mask: 0x01) */ +#define CCU4_GCTRL_MSDE_Pos (14UL) /*!< CCU4 GCTRL: MSDE (Bit 14) */ +#define CCU4_GCTRL_MSDE_Msk (0xc000UL) /*!< CCU4 GCTRL: MSDE (Bitfield-Mask: 0x03) */ + +/* --------------------------------- CCU4_GSTAT --------------------------------- */ +#define CCU4_GSTAT_S0I_Pos (0UL) /*!< CCU4 GSTAT: S0I (Bit 0) */ +#define CCU4_GSTAT_S0I_Msk (0x1UL) /*!< CCU4 GSTAT: S0I (Bitfield-Mask: 0x01) */ +#define CCU4_GSTAT_S1I_Pos (1UL) /*!< CCU4 GSTAT: S1I (Bit 1) */ +#define CCU4_GSTAT_S1I_Msk (0x2UL) /*!< CCU4 GSTAT: S1I (Bitfield-Mask: 0x01) */ +#define CCU4_GSTAT_S2I_Pos (2UL) /*!< CCU4 GSTAT: S2I (Bit 2) */ +#define CCU4_GSTAT_S2I_Msk (0x4UL) /*!< CCU4 GSTAT: S2I (Bitfield-Mask: 0x01) */ +#define CCU4_GSTAT_S3I_Pos (3UL) /*!< CCU4 GSTAT: S3I (Bit 3) */ +#define CCU4_GSTAT_S3I_Msk (0x8UL) /*!< CCU4 GSTAT: S3I (Bitfield-Mask: 0x01) */ +#define CCU4_GSTAT_PRB_Pos (8UL) /*!< CCU4 GSTAT: PRB (Bit 8) */ +#define CCU4_GSTAT_PRB_Msk (0x100UL) /*!< CCU4 GSTAT: PRB (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU4_GIDLS --------------------------------- */ +#define CCU4_GIDLS_SS0I_Pos (0UL) /*!< CCU4 GIDLS: SS0I (Bit 0) */ +#define CCU4_GIDLS_SS0I_Msk (0x1UL) /*!< CCU4 GIDLS: SS0I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLS_SS1I_Pos (1UL) /*!< CCU4 GIDLS: SS1I (Bit 1) */ +#define CCU4_GIDLS_SS1I_Msk (0x2UL) /*!< CCU4 GIDLS: SS1I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLS_SS2I_Pos (2UL) /*!< CCU4 GIDLS: SS2I (Bit 2) */ +#define CCU4_GIDLS_SS2I_Msk (0x4UL) /*!< CCU4 GIDLS: SS2I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLS_SS3I_Pos (3UL) /*!< CCU4 GIDLS: SS3I (Bit 3) */ +#define CCU4_GIDLS_SS3I_Msk (0x8UL) /*!< CCU4 GIDLS: SS3I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLS_CPRB_Pos (8UL) /*!< CCU4 GIDLS: CPRB (Bit 8) */ +#define CCU4_GIDLS_CPRB_Msk (0x100UL) /*!< CCU4 GIDLS: CPRB (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLS_PSIC_Pos (9UL) /*!< CCU4 GIDLS: PSIC (Bit 9) */ +#define CCU4_GIDLS_PSIC_Msk (0x200UL) /*!< CCU4 GIDLS: PSIC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU4_GIDLC --------------------------------- */ +#define CCU4_GIDLC_CS0I_Pos (0UL) /*!< CCU4 GIDLC: CS0I (Bit 0) */ +#define CCU4_GIDLC_CS0I_Msk (0x1UL) /*!< CCU4 GIDLC: CS0I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLC_CS1I_Pos (1UL) /*!< CCU4 GIDLC: CS1I (Bit 1) */ +#define CCU4_GIDLC_CS1I_Msk (0x2UL) /*!< CCU4 GIDLC: CS1I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLC_CS2I_Pos (2UL) /*!< CCU4 GIDLC: CS2I (Bit 2) */ +#define CCU4_GIDLC_CS2I_Msk (0x4UL) /*!< CCU4 GIDLC: CS2I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLC_CS3I_Pos (3UL) /*!< CCU4 GIDLC: CS3I (Bit 3) */ +#define CCU4_GIDLC_CS3I_Msk (0x8UL) /*!< CCU4 GIDLC: CS3I (Bitfield-Mask: 0x01) */ +#define CCU4_GIDLC_SPRB_Pos (8UL) /*!< CCU4 GIDLC: SPRB (Bit 8) */ +#define CCU4_GIDLC_SPRB_Msk (0x100UL) /*!< CCU4 GIDLC: SPRB (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU4_GCSS --------------------------------- */ +#define CCU4_GCSS_S0SE_Pos (0UL) /*!< CCU4 GCSS: S0SE (Bit 0) */ +#define CCU4_GCSS_S0SE_Msk (0x1UL) /*!< CCU4 GCSS: S0SE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S0DSE_Pos (1UL) /*!< CCU4 GCSS: S0DSE (Bit 1) */ +#define CCU4_GCSS_S0DSE_Msk (0x2UL) /*!< CCU4 GCSS: S0DSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S0PSE_Pos (2UL) /*!< CCU4 GCSS: S0PSE (Bit 2) */ +#define CCU4_GCSS_S0PSE_Msk (0x4UL) /*!< CCU4 GCSS: S0PSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S1SE_Pos (4UL) /*!< CCU4 GCSS: S1SE (Bit 4) */ +#define CCU4_GCSS_S1SE_Msk (0x10UL) /*!< CCU4 GCSS: S1SE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S1DSE_Pos (5UL) /*!< CCU4 GCSS: S1DSE (Bit 5) */ +#define CCU4_GCSS_S1DSE_Msk (0x20UL) /*!< CCU4 GCSS: S1DSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S1PSE_Pos (6UL) /*!< CCU4 GCSS: S1PSE (Bit 6) */ +#define CCU4_GCSS_S1PSE_Msk (0x40UL) /*!< CCU4 GCSS: S1PSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S2SE_Pos (8UL) /*!< CCU4 GCSS: S2SE (Bit 8) */ +#define CCU4_GCSS_S2SE_Msk (0x100UL) /*!< CCU4 GCSS: S2SE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S2DSE_Pos (9UL) /*!< CCU4 GCSS: S2DSE (Bit 9) */ +#define CCU4_GCSS_S2DSE_Msk (0x200UL) /*!< CCU4 GCSS: S2DSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S2PSE_Pos (10UL) /*!< CCU4 GCSS: S2PSE (Bit 10) */ +#define CCU4_GCSS_S2PSE_Msk (0x400UL) /*!< CCU4 GCSS: S2PSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S3SE_Pos (12UL) /*!< CCU4 GCSS: S3SE (Bit 12) */ +#define CCU4_GCSS_S3SE_Msk (0x1000UL) /*!< CCU4 GCSS: S3SE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S3DSE_Pos (13UL) /*!< CCU4 GCSS: S3DSE (Bit 13) */ +#define CCU4_GCSS_S3DSE_Msk (0x2000UL) /*!< CCU4 GCSS: S3DSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S3PSE_Pos (14UL) /*!< CCU4 GCSS: S3PSE (Bit 14) */ +#define CCU4_GCSS_S3PSE_Msk (0x4000UL) /*!< CCU4 GCSS: S3PSE (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S0STS_Pos (16UL) /*!< CCU4 GCSS: S0STS (Bit 16) */ +#define CCU4_GCSS_S0STS_Msk (0x10000UL) /*!< CCU4 GCSS: S0STS (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S1STS_Pos (17UL) /*!< CCU4 GCSS: S1STS (Bit 17) */ +#define CCU4_GCSS_S1STS_Msk (0x20000UL) /*!< CCU4 GCSS: S1STS (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S2STS_Pos (18UL) /*!< CCU4 GCSS: S2STS (Bit 18) */ +#define CCU4_GCSS_S2STS_Msk (0x40000UL) /*!< CCU4 GCSS: S2STS (Bitfield-Mask: 0x01) */ +#define CCU4_GCSS_S3STS_Pos (19UL) /*!< CCU4 GCSS: S3STS (Bit 19) */ +#define CCU4_GCSS_S3STS_Msk (0x80000UL) /*!< CCU4 GCSS: S3STS (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU4_GCSC --------------------------------- */ +#define CCU4_GCSC_S0SC_Pos (0UL) /*!< CCU4 GCSC: S0SC (Bit 0) */ +#define CCU4_GCSC_S0SC_Msk (0x1UL) /*!< CCU4 GCSC: S0SC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S0DSC_Pos (1UL) /*!< CCU4 GCSC: S0DSC (Bit 1) */ +#define CCU4_GCSC_S0DSC_Msk (0x2UL) /*!< CCU4 GCSC: S0DSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S0PSC_Pos (2UL) /*!< CCU4 GCSC: S0PSC (Bit 2) */ +#define CCU4_GCSC_S0PSC_Msk (0x4UL) /*!< CCU4 GCSC: S0PSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S1SC_Pos (4UL) /*!< CCU4 GCSC: S1SC (Bit 4) */ +#define CCU4_GCSC_S1SC_Msk (0x10UL) /*!< CCU4 GCSC: S1SC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S1DSC_Pos (5UL) /*!< CCU4 GCSC: S1DSC (Bit 5) */ +#define CCU4_GCSC_S1DSC_Msk (0x20UL) /*!< CCU4 GCSC: S1DSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S1PSC_Pos (6UL) /*!< CCU4 GCSC: S1PSC (Bit 6) */ +#define CCU4_GCSC_S1PSC_Msk (0x40UL) /*!< CCU4 GCSC: S1PSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S2SC_Pos (8UL) /*!< CCU4 GCSC: S2SC (Bit 8) */ +#define CCU4_GCSC_S2SC_Msk (0x100UL) /*!< CCU4 GCSC: S2SC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S2DSC_Pos (9UL) /*!< CCU4 GCSC: S2DSC (Bit 9) */ +#define CCU4_GCSC_S2DSC_Msk (0x200UL) /*!< CCU4 GCSC: S2DSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S2PSC_Pos (10UL) /*!< CCU4 GCSC: S2PSC (Bit 10) */ +#define CCU4_GCSC_S2PSC_Msk (0x400UL) /*!< CCU4 GCSC: S2PSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S3SC_Pos (12UL) /*!< CCU4 GCSC: S3SC (Bit 12) */ +#define CCU4_GCSC_S3SC_Msk (0x1000UL) /*!< CCU4 GCSC: S3SC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S3DSC_Pos (13UL) /*!< CCU4 GCSC: S3DSC (Bit 13) */ +#define CCU4_GCSC_S3DSC_Msk (0x2000UL) /*!< CCU4 GCSC: S3DSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S3PSC_Pos (14UL) /*!< CCU4 GCSC: S3PSC (Bit 14) */ +#define CCU4_GCSC_S3PSC_Msk (0x4000UL) /*!< CCU4 GCSC: S3PSC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S0STC_Pos (16UL) /*!< CCU4 GCSC: S0STC (Bit 16) */ +#define CCU4_GCSC_S0STC_Msk (0x10000UL) /*!< CCU4 GCSC: S0STC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S1STC_Pos (17UL) /*!< CCU4 GCSC: S1STC (Bit 17) */ +#define CCU4_GCSC_S1STC_Msk (0x20000UL) /*!< CCU4 GCSC: S1STC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S2STC_Pos (18UL) /*!< CCU4 GCSC: S2STC (Bit 18) */ +#define CCU4_GCSC_S2STC_Msk (0x40000UL) /*!< CCU4 GCSC: S2STC (Bitfield-Mask: 0x01) */ +#define CCU4_GCSC_S3STC_Pos (19UL) /*!< CCU4 GCSC: S3STC (Bit 19) */ +#define CCU4_GCSC_S3STC_Msk (0x80000UL) /*!< CCU4 GCSC: S3STC (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU4_GCST --------------------------------- */ +#define CCU4_GCST_S0SS_Pos (0UL) /*!< CCU4 GCST: S0SS (Bit 0) */ +#define CCU4_GCST_S0SS_Msk (0x1UL) /*!< CCU4 GCST: S0SS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S0DSS_Pos (1UL) /*!< CCU4 GCST: S0DSS (Bit 1) */ +#define CCU4_GCST_S0DSS_Msk (0x2UL) /*!< CCU4 GCST: S0DSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S0PSS_Pos (2UL) /*!< CCU4 GCST: S0PSS (Bit 2) */ +#define CCU4_GCST_S0PSS_Msk (0x4UL) /*!< CCU4 GCST: S0PSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S1SS_Pos (4UL) /*!< CCU4 GCST: S1SS (Bit 4) */ +#define CCU4_GCST_S1SS_Msk (0x10UL) /*!< CCU4 GCST: S1SS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S1DSS_Pos (5UL) /*!< CCU4 GCST: S1DSS (Bit 5) */ +#define CCU4_GCST_S1DSS_Msk (0x20UL) /*!< CCU4 GCST: S1DSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S1PSS_Pos (6UL) /*!< CCU4 GCST: S1PSS (Bit 6) */ +#define CCU4_GCST_S1PSS_Msk (0x40UL) /*!< CCU4 GCST: S1PSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S2SS_Pos (8UL) /*!< CCU4 GCST: S2SS (Bit 8) */ +#define CCU4_GCST_S2SS_Msk (0x100UL) /*!< CCU4 GCST: S2SS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S2DSS_Pos (9UL) /*!< CCU4 GCST: S2DSS (Bit 9) */ +#define CCU4_GCST_S2DSS_Msk (0x200UL) /*!< CCU4 GCST: S2DSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S2PSS_Pos (10UL) /*!< CCU4 GCST: S2PSS (Bit 10) */ +#define CCU4_GCST_S2PSS_Msk (0x400UL) /*!< CCU4 GCST: S2PSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S3SS_Pos (12UL) /*!< CCU4 GCST: S3SS (Bit 12) */ +#define CCU4_GCST_S3SS_Msk (0x1000UL) /*!< CCU4 GCST: S3SS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S3DSS_Pos (13UL) /*!< CCU4 GCST: S3DSS (Bit 13) */ +#define CCU4_GCST_S3DSS_Msk (0x2000UL) /*!< CCU4 GCST: S3DSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_S3PSS_Pos (14UL) /*!< CCU4 GCST: S3PSS (Bit 14) */ +#define CCU4_GCST_S3PSS_Msk (0x4000UL) /*!< CCU4 GCST: S3PSS (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_CC40ST_Pos (16UL) /*!< CCU4 GCST: CC40ST (Bit 16) */ +#define CCU4_GCST_CC40ST_Msk (0x10000UL) /*!< CCU4 GCST: CC40ST (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_CC41ST_Pos (17UL) /*!< CCU4 GCST: CC41ST (Bit 17) */ +#define CCU4_GCST_CC41ST_Msk (0x20000UL) /*!< CCU4 GCST: CC41ST (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_CC42ST_Pos (18UL) /*!< CCU4 GCST: CC42ST (Bit 18) */ +#define CCU4_GCST_CC42ST_Msk (0x40000UL) /*!< CCU4 GCST: CC42ST (Bitfield-Mask: 0x01) */ +#define CCU4_GCST_CC43ST_Pos (19UL) /*!< CCU4 GCST: CC43ST (Bit 19) */ +#define CCU4_GCST_CC43ST_Msk (0x80000UL) /*!< CCU4 GCST: CC43ST (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU4_MIDR --------------------------------- */ +#define CCU4_MIDR_MODR_Pos (0UL) /*!< CCU4 MIDR: MODR (Bit 0) */ +#define CCU4_MIDR_MODR_Msk (0xffUL) /*!< CCU4 MIDR: MODR (Bitfield-Mask: 0xff) */ +#define CCU4_MIDR_MODT_Pos (8UL) /*!< CCU4 MIDR: MODT (Bit 8) */ +#define CCU4_MIDR_MODT_Msk (0xff00UL) /*!< CCU4 MIDR: MODT (Bitfield-Mask: 0xff) */ +#define CCU4_MIDR_MODN_Pos (16UL) /*!< CCU4 MIDR: MODN (Bit 16) */ +#define CCU4_MIDR_MODN_Msk (0xffff0000UL) /*!< CCU4 MIDR: MODN (Bitfield-Mask: 0xffff) */ + + +/* ================================================================================ */ +/* ================ Group 'CCU4_CC4' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- CCU4_CC4_INS -------------------------------- */ +#define CCU4_CC4_INS_EV0IS_Pos (0UL) /*!< CCU4_CC4 INS: EV0IS (Bit 0) */ +#define CCU4_CC4_INS_EV0IS_Msk (0xfUL) /*!< CCU4_CC4 INS: EV0IS (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_INS_EV1IS_Pos (4UL) /*!< CCU4_CC4 INS: EV1IS (Bit 4) */ +#define CCU4_CC4_INS_EV1IS_Msk (0xf0UL) /*!< CCU4_CC4 INS: EV1IS (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_INS_EV2IS_Pos (8UL) /*!< CCU4_CC4 INS: EV2IS (Bit 8) */ +#define CCU4_CC4_INS_EV2IS_Msk (0xf00UL) /*!< CCU4_CC4 INS: EV2IS (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_INS_EV0EM_Pos (16UL) /*!< CCU4_CC4 INS: EV0EM (Bit 16) */ +#define CCU4_CC4_INS_EV0EM_Msk (0x30000UL) /*!< CCU4_CC4 INS: EV0EM (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_INS_EV1EM_Pos (18UL) /*!< CCU4_CC4 INS: EV1EM (Bit 18) */ +#define CCU4_CC4_INS_EV1EM_Msk (0xc0000UL) /*!< CCU4_CC4 INS: EV1EM (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_INS_EV2EM_Pos (20UL) /*!< CCU4_CC4 INS: EV2EM (Bit 20) */ +#define CCU4_CC4_INS_EV2EM_Msk (0x300000UL) /*!< CCU4_CC4 INS: EV2EM (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_INS_EV0LM_Pos (22UL) /*!< CCU4_CC4 INS: EV0LM (Bit 22) */ +#define CCU4_CC4_INS_EV0LM_Msk (0x400000UL) /*!< CCU4_CC4 INS: EV0LM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INS_EV1LM_Pos (23UL) /*!< CCU4_CC4 INS: EV1LM (Bit 23) */ +#define CCU4_CC4_INS_EV1LM_Msk (0x800000UL) /*!< CCU4_CC4 INS: EV1LM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INS_EV2LM_Pos (24UL) /*!< CCU4_CC4 INS: EV2LM (Bit 24) */ +#define CCU4_CC4_INS_EV2LM_Msk (0x1000000UL) /*!< CCU4_CC4 INS: EV2LM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INS_LPF0M_Pos (25UL) /*!< CCU4_CC4 INS: LPF0M (Bit 25) */ +#define CCU4_CC4_INS_LPF0M_Msk (0x6000000UL) /*!< CCU4_CC4 INS: LPF0M (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_INS_LPF1M_Pos (27UL) /*!< CCU4_CC4 INS: LPF1M (Bit 27) */ +#define CCU4_CC4_INS_LPF1M_Msk (0x18000000UL) /*!< CCU4_CC4 INS: LPF1M (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_INS_LPF2M_Pos (29UL) /*!< CCU4_CC4 INS: LPF2M (Bit 29) */ +#define CCU4_CC4_INS_LPF2M_Msk (0x60000000UL) /*!< CCU4_CC4 INS: LPF2M (Bitfield-Mask: 0x03) */ + +/* -------------------------------- CCU4_CC4_CMC -------------------------------- */ +#define CCU4_CC4_CMC_STRTS_Pos (0UL) /*!< CCU4_CC4 CMC: STRTS (Bit 0) */ +#define CCU4_CC4_CMC_STRTS_Msk (0x3UL) /*!< CCU4_CC4 CMC: STRTS (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_ENDS_Pos (2UL) /*!< CCU4_CC4 CMC: ENDS (Bit 2) */ +#define CCU4_CC4_CMC_ENDS_Msk (0xcUL) /*!< CCU4_CC4 CMC: ENDS (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_CAP0S_Pos (4UL) /*!< CCU4_CC4 CMC: CAP0S (Bit 4) */ +#define CCU4_CC4_CMC_CAP0S_Msk (0x30UL) /*!< CCU4_CC4 CMC: CAP0S (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_CAP1S_Pos (6UL) /*!< CCU4_CC4 CMC: CAP1S (Bit 6) */ +#define CCU4_CC4_CMC_CAP1S_Msk (0xc0UL) /*!< CCU4_CC4 CMC: CAP1S (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_GATES_Pos (8UL) /*!< CCU4_CC4 CMC: GATES (Bit 8) */ +#define CCU4_CC4_CMC_GATES_Msk (0x300UL) /*!< CCU4_CC4 CMC: GATES (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_UDS_Pos (10UL) /*!< CCU4_CC4 CMC: UDS (Bit 10) */ +#define CCU4_CC4_CMC_UDS_Msk (0xc00UL) /*!< CCU4_CC4 CMC: UDS (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_LDS_Pos (12UL) /*!< CCU4_CC4 CMC: LDS (Bit 12) */ +#define CCU4_CC4_CMC_LDS_Msk (0x3000UL) /*!< CCU4_CC4 CMC: LDS (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_CNTS_Pos (14UL) /*!< CCU4_CC4 CMC: CNTS (Bit 14) */ +#define CCU4_CC4_CMC_CNTS_Msk (0xc000UL) /*!< CCU4_CC4 CMC: CNTS (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_OFS_Pos (16UL) /*!< CCU4_CC4 CMC: OFS (Bit 16) */ +#define CCU4_CC4_CMC_OFS_Msk (0x10000UL) /*!< CCU4_CC4 CMC: OFS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_CMC_TS_Pos (17UL) /*!< CCU4_CC4 CMC: TS (Bit 17) */ +#define CCU4_CC4_CMC_TS_Msk (0x20000UL) /*!< CCU4_CC4 CMC: TS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_CMC_MOS_Pos (18UL) /*!< CCU4_CC4 CMC: MOS (Bit 18) */ +#define CCU4_CC4_CMC_MOS_Msk (0xc0000UL) /*!< CCU4_CC4 CMC: MOS (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_CMC_TCE_Pos (20UL) /*!< CCU4_CC4 CMC: TCE (Bit 20) */ +#define CCU4_CC4_CMC_TCE_Msk (0x100000UL) /*!< CCU4_CC4 CMC: TCE (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_TCST ------------------------------- */ +#define CCU4_CC4_TCST_TRB_Pos (0UL) /*!< CCU4_CC4 TCST: TRB (Bit 0) */ +#define CCU4_CC4_TCST_TRB_Msk (0x1UL) /*!< CCU4_CC4 TCST: TRB (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TCST_CDIR_Pos (1UL) /*!< CCU4_CC4 TCST: CDIR (Bit 1) */ +#define CCU4_CC4_TCST_CDIR_Msk (0x2UL) /*!< CCU4_CC4 TCST: CDIR (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU4_CC4_TCSET ------------------------------- */ +#define CCU4_CC4_TCSET_TRBS_Pos (0UL) /*!< CCU4_CC4 TCSET: TRBS (Bit 0) */ +#define CCU4_CC4_TCSET_TRBS_Msk (0x1UL) /*!< CCU4_CC4 TCSET: TRBS (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU4_CC4_TCCLR ------------------------------- */ +#define CCU4_CC4_TCCLR_TRBC_Pos (0UL) /*!< CCU4_CC4 TCCLR: TRBC (Bit 0) */ +#define CCU4_CC4_TCCLR_TRBC_Msk (0x1UL) /*!< CCU4_CC4 TCCLR: TRBC (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TCCLR_TCC_Pos (1UL) /*!< CCU4_CC4 TCCLR: TCC (Bit 1) */ +#define CCU4_CC4_TCCLR_TCC_Msk (0x2UL) /*!< CCU4_CC4 TCCLR: TCC (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TCCLR_DITC_Pos (2UL) /*!< CCU4_CC4 TCCLR: DITC (Bit 2) */ +#define CCU4_CC4_TCCLR_DITC_Msk (0x4UL) /*!< CCU4_CC4 TCCLR: DITC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU4_CC4_TC -------------------------------- */ +#define CCU4_CC4_TC_TCM_Pos (0UL) /*!< CCU4_CC4 TC: TCM (Bit 0) */ +#define CCU4_CC4_TC_TCM_Msk (0x1UL) /*!< CCU4_CC4 TC: TCM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_TSSM_Pos (1UL) /*!< CCU4_CC4 TC: TSSM (Bit 1) */ +#define CCU4_CC4_TC_TSSM_Msk (0x2UL) /*!< CCU4_CC4 TC: TSSM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_CLST_Pos (2UL) /*!< CCU4_CC4 TC: CLST (Bit 2) */ +#define CCU4_CC4_TC_CLST_Msk (0x4UL) /*!< CCU4_CC4 TC: CLST (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_CMOD_Pos (3UL) /*!< CCU4_CC4 TC: CMOD (Bit 3) */ +#define CCU4_CC4_TC_CMOD_Msk (0x8UL) /*!< CCU4_CC4 TC: CMOD (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_ECM_Pos (4UL) /*!< CCU4_CC4 TC: ECM (Bit 4) */ +#define CCU4_CC4_TC_ECM_Msk (0x10UL) /*!< CCU4_CC4 TC: ECM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_CAPC_Pos (5UL) /*!< CCU4_CC4 TC: CAPC (Bit 5) */ +#define CCU4_CC4_TC_CAPC_Msk (0x60UL) /*!< CCU4_CC4 TC: CAPC (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_TC_ENDM_Pos (8UL) /*!< CCU4_CC4 TC: ENDM (Bit 8) */ +#define CCU4_CC4_TC_ENDM_Msk (0x300UL) /*!< CCU4_CC4 TC: ENDM (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_TC_STRM_Pos (10UL) /*!< CCU4_CC4 TC: STRM (Bit 10) */ +#define CCU4_CC4_TC_STRM_Msk (0x400UL) /*!< CCU4_CC4 TC: STRM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_SCE_Pos (11UL) /*!< CCU4_CC4 TC: SCE (Bit 11) */ +#define CCU4_CC4_TC_SCE_Msk (0x800UL) /*!< CCU4_CC4 TC: SCE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_CCS_Pos (12UL) /*!< CCU4_CC4 TC: CCS (Bit 12) */ +#define CCU4_CC4_TC_CCS_Msk (0x1000UL) /*!< CCU4_CC4 TC: CCS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_DITHE_Pos (13UL) /*!< CCU4_CC4 TC: DITHE (Bit 13) */ +#define CCU4_CC4_TC_DITHE_Msk (0x6000UL) /*!< CCU4_CC4 TC: DITHE (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_TC_DIM_Pos (15UL) /*!< CCU4_CC4 TC: DIM (Bit 15) */ +#define CCU4_CC4_TC_DIM_Msk (0x8000UL) /*!< CCU4_CC4 TC: DIM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_FPE_Pos (16UL) /*!< CCU4_CC4 TC: FPE (Bit 16) */ +#define CCU4_CC4_TC_FPE_Msk (0x10000UL) /*!< CCU4_CC4 TC: FPE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_TRAPE_Pos (17UL) /*!< CCU4_CC4 TC: TRAPE (Bit 17) */ +#define CCU4_CC4_TC_TRAPE_Msk (0x20000UL) /*!< CCU4_CC4 TC: TRAPE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_TRPSE_Pos (21UL) /*!< CCU4_CC4 TC: TRPSE (Bit 21) */ +#define CCU4_CC4_TC_TRPSE_Msk (0x200000UL) /*!< CCU4_CC4 TC: TRPSE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_TRPSW_Pos (22UL) /*!< CCU4_CC4 TC: TRPSW (Bit 22) */ +#define CCU4_CC4_TC_TRPSW_Msk (0x400000UL) /*!< CCU4_CC4 TC: TRPSW (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_EMS_Pos (23UL) /*!< CCU4_CC4 TC: EMS (Bit 23) */ +#define CCU4_CC4_TC_EMS_Msk (0x800000UL) /*!< CCU4_CC4 TC: EMS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_EMT_Pos (24UL) /*!< CCU4_CC4 TC: EMT (Bit 24) */ +#define CCU4_CC4_TC_EMT_Msk (0x1000000UL) /*!< CCU4_CC4 TC: EMT (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_TC_MCME_Pos (25UL) /*!< CCU4_CC4 TC: MCME (Bit 25) */ +#define CCU4_CC4_TC_MCME_Msk (0x2000000UL) /*!< CCU4_CC4 TC: MCME (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_PSL -------------------------------- */ +#define CCU4_CC4_PSL_PSL_Pos (0UL) /*!< CCU4_CC4 PSL: PSL (Bit 0) */ +#define CCU4_CC4_PSL_PSL_Msk (0x1UL) /*!< CCU4_CC4 PSL: PSL (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_DIT -------------------------------- */ +#define CCU4_CC4_DIT_DCV_Pos (0UL) /*!< CCU4_CC4 DIT: DCV (Bit 0) */ +#define CCU4_CC4_DIT_DCV_Msk (0xfUL) /*!< CCU4_CC4 DIT: DCV (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_DIT_DCNT_Pos (8UL) /*!< CCU4_CC4 DIT: DCNT (Bit 8) */ +#define CCU4_CC4_DIT_DCNT_Msk (0xf00UL) /*!< CCU4_CC4 DIT: DCNT (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU4_CC4_DITS ------------------------------- */ +#define CCU4_CC4_DITS_DCVS_Pos (0UL) /*!< CCU4_CC4 DITS: DCVS (Bit 0) */ +#define CCU4_CC4_DITS_DCVS_Msk (0xfUL) /*!< CCU4_CC4 DITS: DCVS (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU4_CC4_PSC -------------------------------- */ +#define CCU4_CC4_PSC_PSIV_Pos (0UL) /*!< CCU4_CC4 PSC: PSIV (Bit 0) */ +#define CCU4_CC4_PSC_PSIV_Msk (0xfUL) /*!< CCU4_CC4 PSC: PSIV (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU4_CC4_FPC -------------------------------- */ +#define CCU4_CC4_FPC_PCMP_Pos (0UL) /*!< CCU4_CC4 FPC: PCMP (Bit 0) */ +#define CCU4_CC4_FPC_PCMP_Msk (0xfUL) /*!< CCU4_CC4 FPC: PCMP (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_FPC_PVAL_Pos (8UL) /*!< CCU4_CC4 FPC: PVAL (Bit 8) */ +#define CCU4_CC4_FPC_PVAL_Msk (0xf00UL) /*!< CCU4_CC4 FPC: PVAL (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU4_CC4_FPCS ------------------------------- */ +#define CCU4_CC4_FPCS_PCMP_Pos (0UL) /*!< CCU4_CC4 FPCS: PCMP (Bit 0) */ +#define CCU4_CC4_FPCS_PCMP_Msk (0xfUL) /*!< CCU4_CC4 FPCS: PCMP (Bitfield-Mask: 0x0f) */ + +/* --------------------------------- CCU4_CC4_PR -------------------------------- */ +#define CCU4_CC4_PR_PR_Pos (0UL) /*!< CCU4_CC4 PR: PR (Bit 0) */ +#define CCU4_CC4_PR_PR_Msk (0xffffUL) /*!< CCU4_CC4 PR: PR (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU4_CC4_PRS -------------------------------- */ +#define CCU4_CC4_PRS_PRS_Pos (0UL) /*!< CCU4_CC4 PRS: PRS (Bit 0) */ +#define CCU4_CC4_PRS_PRS_Msk (0xffffUL) /*!< CCU4_CC4 PRS: PRS (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- CCU4_CC4_CR -------------------------------- */ +#define CCU4_CC4_CR_CR_Pos (0UL) /*!< CCU4_CC4 CR: CR (Bit 0) */ +#define CCU4_CC4_CR_CR_Msk (0xffffUL) /*!< CCU4_CC4 CR: CR (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU4_CC4_CRS -------------------------------- */ +#define CCU4_CC4_CRS_CRS_Pos (0UL) /*!< CCU4_CC4 CRS: CRS (Bit 0) */ +#define CCU4_CC4_CRS_CRS_Msk (0xffffUL) /*!< CCU4_CC4 CRS: CRS (Bitfield-Mask: 0xffff) */ + +/* ------------------------------- CCU4_CC4_TIMER ------------------------------- */ +#define CCU4_CC4_TIMER_TVAL_Pos (0UL) /*!< CCU4_CC4 TIMER: TVAL (Bit 0) */ +#define CCU4_CC4_TIMER_TVAL_Msk (0xffffUL) /*!< CCU4_CC4 TIMER: TVAL (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- CCU4_CC4_CV -------------------------------- */ +#define CCU4_CC4_CV_CAPTV_Pos (0UL) /*!< CCU4_CC4 CV: CAPTV (Bit 0) */ +#define CCU4_CC4_CV_CAPTV_Msk (0xffffUL) /*!< CCU4_CC4 CV: CAPTV (Bitfield-Mask: 0xffff) */ +#define CCU4_CC4_CV_FPCV_Pos (16UL) /*!< CCU4_CC4 CV: FPCV (Bit 16) */ +#define CCU4_CC4_CV_FPCV_Msk (0xf0000UL) /*!< CCU4_CC4 CV: FPCV (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_CV_FFL_Pos (20UL) /*!< CCU4_CC4 CV: FFL (Bit 20) */ +#define CCU4_CC4_CV_FFL_Msk (0x100000UL) /*!< CCU4_CC4 CV: FFL (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_INTS ------------------------------- */ +#define CCU4_CC4_INTS_PMUS_Pos (0UL) /*!< CCU4_CC4 INTS: PMUS (Bit 0) */ +#define CCU4_CC4_INTS_PMUS_Msk (0x1UL) /*!< CCU4_CC4 INTS: PMUS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_OMDS_Pos (1UL) /*!< CCU4_CC4 INTS: OMDS (Bit 1) */ +#define CCU4_CC4_INTS_OMDS_Msk (0x2UL) /*!< CCU4_CC4 INTS: OMDS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_CMUS_Pos (2UL) /*!< CCU4_CC4 INTS: CMUS (Bit 2) */ +#define CCU4_CC4_INTS_CMUS_Msk (0x4UL) /*!< CCU4_CC4 INTS: CMUS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_CMDS_Pos (3UL) /*!< CCU4_CC4 INTS: CMDS (Bit 3) */ +#define CCU4_CC4_INTS_CMDS_Msk (0x8UL) /*!< CCU4_CC4 INTS: CMDS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_E0AS_Pos (8UL) /*!< CCU4_CC4 INTS: E0AS (Bit 8) */ +#define CCU4_CC4_INTS_E0AS_Msk (0x100UL) /*!< CCU4_CC4 INTS: E0AS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_E1AS_Pos (9UL) /*!< CCU4_CC4 INTS: E1AS (Bit 9) */ +#define CCU4_CC4_INTS_E1AS_Msk (0x200UL) /*!< CCU4_CC4 INTS: E1AS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_E2AS_Pos (10UL) /*!< CCU4_CC4 INTS: E2AS (Bit 10) */ +#define CCU4_CC4_INTS_E2AS_Msk (0x400UL) /*!< CCU4_CC4 INTS: E2AS (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTS_TRPF_Pos (11UL) /*!< CCU4_CC4 INTS: TRPF (Bit 11) */ +#define CCU4_CC4_INTS_TRPF_Msk (0x800UL) /*!< CCU4_CC4 INTS: TRPF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_INTE ------------------------------- */ +#define CCU4_CC4_INTE_PME_Pos (0UL) /*!< CCU4_CC4 INTE: PME (Bit 0) */ +#define CCU4_CC4_INTE_PME_Msk (0x1UL) /*!< CCU4_CC4 INTE: PME (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTE_OME_Pos (1UL) /*!< CCU4_CC4 INTE: OME (Bit 1) */ +#define CCU4_CC4_INTE_OME_Msk (0x2UL) /*!< CCU4_CC4 INTE: OME (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTE_CMUE_Pos (2UL) /*!< CCU4_CC4 INTE: CMUE (Bit 2) */ +#define CCU4_CC4_INTE_CMUE_Msk (0x4UL) /*!< CCU4_CC4 INTE: CMUE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTE_CMDE_Pos (3UL) /*!< CCU4_CC4 INTE: CMDE (Bit 3) */ +#define CCU4_CC4_INTE_CMDE_Msk (0x8UL) /*!< CCU4_CC4 INTE: CMDE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTE_E0AE_Pos (8UL) /*!< CCU4_CC4 INTE: E0AE (Bit 8) */ +#define CCU4_CC4_INTE_E0AE_Msk (0x100UL) /*!< CCU4_CC4 INTE: E0AE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTE_E1AE_Pos (9UL) /*!< CCU4_CC4 INTE: E1AE (Bit 9) */ +#define CCU4_CC4_INTE_E1AE_Msk (0x200UL) /*!< CCU4_CC4 INTE: E1AE (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_INTE_E2AE_Pos (10UL) /*!< CCU4_CC4 INTE: E2AE (Bit 10) */ +#define CCU4_CC4_INTE_E2AE_Msk (0x400UL) /*!< CCU4_CC4 INTE: E2AE (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_SRS -------------------------------- */ +#define CCU4_CC4_SRS_POSR_Pos (0UL) /*!< CCU4_CC4 SRS: POSR (Bit 0) */ +#define CCU4_CC4_SRS_POSR_Msk (0x3UL) /*!< CCU4_CC4 SRS: POSR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_SRS_CMSR_Pos (2UL) /*!< CCU4_CC4 SRS: CMSR (Bit 2) */ +#define CCU4_CC4_SRS_CMSR_Msk (0xcUL) /*!< CCU4_CC4 SRS: CMSR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_SRS_E0SR_Pos (8UL) /*!< CCU4_CC4 SRS: E0SR (Bit 8) */ +#define CCU4_CC4_SRS_E0SR_Msk (0x300UL) /*!< CCU4_CC4 SRS: E0SR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_SRS_E1SR_Pos (10UL) /*!< CCU4_CC4 SRS: E1SR (Bit 10) */ +#define CCU4_CC4_SRS_E1SR_Msk (0xc00UL) /*!< CCU4_CC4 SRS: E1SR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_SRS_E2SR_Pos (12UL) /*!< CCU4_CC4 SRS: E2SR (Bit 12) */ +#define CCU4_CC4_SRS_E2SR_Msk (0x3000UL) /*!< CCU4_CC4 SRS: E2SR (Bitfield-Mask: 0x03) */ + +/* -------------------------------- CCU4_CC4_SWS -------------------------------- */ +#define CCU4_CC4_SWS_SPM_Pos (0UL) /*!< CCU4_CC4 SWS: SPM (Bit 0) */ +#define CCU4_CC4_SWS_SPM_Msk (0x1UL) /*!< CCU4_CC4 SWS: SPM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_SOM_Pos (1UL) /*!< CCU4_CC4 SWS: SOM (Bit 1) */ +#define CCU4_CC4_SWS_SOM_Msk (0x2UL) /*!< CCU4_CC4 SWS: SOM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_SCMU_Pos (2UL) /*!< CCU4_CC4 SWS: SCMU (Bit 2) */ +#define CCU4_CC4_SWS_SCMU_Msk (0x4UL) /*!< CCU4_CC4 SWS: SCMU (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_SCMD_Pos (3UL) /*!< CCU4_CC4 SWS: SCMD (Bit 3) */ +#define CCU4_CC4_SWS_SCMD_Msk (0x8UL) /*!< CCU4_CC4 SWS: SCMD (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_SE0A_Pos (8UL) /*!< CCU4_CC4 SWS: SE0A (Bit 8) */ +#define CCU4_CC4_SWS_SE0A_Msk (0x100UL) /*!< CCU4_CC4 SWS: SE0A (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_SE1A_Pos (9UL) /*!< CCU4_CC4 SWS: SE1A (Bit 9) */ +#define CCU4_CC4_SWS_SE1A_Msk (0x200UL) /*!< CCU4_CC4 SWS: SE1A (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_SE2A_Pos (10UL) /*!< CCU4_CC4 SWS: SE2A (Bit 10) */ +#define CCU4_CC4_SWS_SE2A_Msk (0x400UL) /*!< CCU4_CC4 SWS: SE2A (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWS_STRPF_Pos (11UL) /*!< CCU4_CC4 SWS: STRPF (Bit 11) */ +#define CCU4_CC4_SWS_STRPF_Msk (0x800UL) /*!< CCU4_CC4 SWS: STRPF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU4_CC4_SWR -------------------------------- */ +#define CCU4_CC4_SWR_RPM_Pos (0UL) /*!< CCU4_CC4 SWR: RPM (Bit 0) */ +#define CCU4_CC4_SWR_RPM_Msk (0x1UL) /*!< CCU4_CC4 SWR: RPM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_ROM_Pos (1UL) /*!< CCU4_CC4 SWR: ROM (Bit 1) */ +#define CCU4_CC4_SWR_ROM_Msk (0x2UL) /*!< CCU4_CC4 SWR: ROM (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_RCMU_Pos (2UL) /*!< CCU4_CC4 SWR: RCMU (Bit 2) */ +#define CCU4_CC4_SWR_RCMU_Msk (0x4UL) /*!< CCU4_CC4 SWR: RCMU (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_RCMD_Pos (3UL) /*!< CCU4_CC4 SWR: RCMD (Bit 3) */ +#define CCU4_CC4_SWR_RCMD_Msk (0x8UL) /*!< CCU4_CC4 SWR: RCMD (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_RE0A_Pos (8UL) /*!< CCU4_CC4 SWR: RE0A (Bit 8) */ +#define CCU4_CC4_SWR_RE0A_Msk (0x100UL) /*!< CCU4_CC4 SWR: RE0A (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_RE1A_Pos (9UL) /*!< CCU4_CC4 SWR: RE1A (Bit 9) */ +#define CCU4_CC4_SWR_RE1A_Msk (0x200UL) /*!< CCU4_CC4 SWR: RE1A (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_RE2A_Pos (10UL) /*!< CCU4_CC4 SWR: RE2A (Bit 10) */ +#define CCU4_CC4_SWR_RE2A_Msk (0x400UL) /*!< CCU4_CC4 SWR: RE2A (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_SWR_RTRPF_Pos (11UL) /*!< CCU4_CC4 SWR: RTRPF (Bit 11) */ +#define CCU4_CC4_SWR_RTRPF_Msk (0x800UL) /*!< CCU4_CC4 SWR: RTRPF (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU4_CC4_ECRD0 ------------------------------- */ +#define CCU4_CC4_ECRD0_CAPV_Pos (0UL) /*!< CCU4_CC4 ECRD0: CAPV (Bit 0) */ +#define CCU4_CC4_ECRD0_CAPV_Msk (0xffffUL) /*!< CCU4_CC4 ECRD0: CAPV (Bitfield-Mask: 0xffff) */ +#define CCU4_CC4_ECRD0_FPCV_Pos (16UL) /*!< CCU4_CC4 ECRD0: FPCV (Bit 16) */ +#define CCU4_CC4_ECRD0_FPCV_Msk (0xf0000UL) /*!< CCU4_CC4 ECRD0: FPCV (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_ECRD0_SPTR_Pos (20UL) /*!< CCU4_CC4 ECRD0: SPTR (Bit 20) */ +#define CCU4_CC4_ECRD0_SPTR_Msk (0x300000UL) /*!< CCU4_CC4 ECRD0: SPTR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_ECRD0_VPTR_Pos (22UL) /*!< CCU4_CC4 ECRD0: VPTR (Bit 22) */ +#define CCU4_CC4_ECRD0_VPTR_Msk (0xc00000UL) /*!< CCU4_CC4 ECRD0: VPTR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_ECRD0_FFL_Pos (24UL) /*!< CCU4_CC4 ECRD0: FFL (Bit 24) */ +#define CCU4_CC4_ECRD0_FFL_Msk (0x1000000UL) /*!< CCU4_CC4 ECRD0: FFL (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_ECRD0_LCV_Pos (25UL) /*!< CCU4_CC4 ECRD0: LCV (Bit 25) */ +#define CCU4_CC4_ECRD0_LCV_Msk (0x2000000UL) /*!< CCU4_CC4 ECRD0: LCV (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU4_CC4_ECRD1 ------------------------------- */ +#define CCU4_CC4_ECRD1_CAPV_Pos (0UL) /*!< CCU4_CC4 ECRD1: CAPV (Bit 0) */ +#define CCU4_CC4_ECRD1_CAPV_Msk (0xffffUL) /*!< CCU4_CC4 ECRD1: CAPV (Bitfield-Mask: 0xffff) */ +#define CCU4_CC4_ECRD1_FPCV_Pos (16UL) /*!< CCU4_CC4 ECRD1: FPCV (Bit 16) */ +#define CCU4_CC4_ECRD1_FPCV_Msk (0xf0000UL) /*!< CCU4_CC4 ECRD1: FPCV (Bitfield-Mask: 0x0f) */ +#define CCU4_CC4_ECRD1_SPTR_Pos (20UL) /*!< CCU4_CC4 ECRD1: SPTR (Bit 20) */ +#define CCU4_CC4_ECRD1_SPTR_Msk (0x300000UL) /*!< CCU4_CC4 ECRD1: SPTR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_ECRD1_VPTR_Pos (22UL) /*!< CCU4_CC4 ECRD1: VPTR (Bit 22) */ +#define CCU4_CC4_ECRD1_VPTR_Msk (0xc00000UL) /*!< CCU4_CC4 ECRD1: VPTR (Bitfield-Mask: 0x03) */ +#define CCU4_CC4_ECRD1_FFL_Pos (24UL) /*!< CCU4_CC4 ECRD1: FFL (Bit 24) */ +#define CCU4_CC4_ECRD1_FFL_Msk (0x1000000UL) /*!< CCU4_CC4 ECRD1: FFL (Bitfield-Mask: 0x01) */ +#define CCU4_CC4_ECRD1_LCV_Pos (25UL) /*!< CCU4_CC4 ECRD1: LCV (Bit 25) */ +#define CCU4_CC4_ECRD1_LCV_Msk (0x2000000UL) /*!< CCU4_CC4 ECRD1: LCV (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ Group 'CCU8' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- CCU8_GCTRL --------------------------------- */ +#define CCU8_GCTRL_PRBC_Pos (0UL) /*!< CCU8 GCTRL: PRBC (Bit 0) */ +#define CCU8_GCTRL_PRBC_Msk (0x7UL) /*!< CCU8 GCTRL: PRBC (Bitfield-Mask: 0x07) */ +#define CCU8_GCTRL_PCIS_Pos (4UL) /*!< CCU8 GCTRL: PCIS (Bit 4) */ +#define CCU8_GCTRL_PCIS_Msk (0x30UL) /*!< CCU8 GCTRL: PCIS (Bitfield-Mask: 0x03) */ +#define CCU8_GCTRL_SUSCFG_Pos (8UL) /*!< CCU8 GCTRL: SUSCFG (Bit 8) */ +#define CCU8_GCTRL_SUSCFG_Msk (0x300UL) /*!< CCU8 GCTRL: SUSCFG (Bitfield-Mask: 0x03) */ +#define CCU8_GCTRL_MSE0_Pos (10UL) /*!< CCU8 GCTRL: MSE0 (Bit 10) */ +#define CCU8_GCTRL_MSE0_Msk (0x400UL) /*!< CCU8 GCTRL: MSE0 (Bitfield-Mask: 0x01) */ +#define CCU8_GCTRL_MSE1_Pos (11UL) /*!< CCU8 GCTRL: MSE1 (Bit 11) */ +#define CCU8_GCTRL_MSE1_Msk (0x800UL) /*!< CCU8 GCTRL: MSE1 (Bitfield-Mask: 0x01) */ +#define CCU8_GCTRL_MSE2_Pos (12UL) /*!< CCU8 GCTRL: MSE2 (Bit 12) */ +#define CCU8_GCTRL_MSE2_Msk (0x1000UL) /*!< CCU8 GCTRL: MSE2 (Bitfield-Mask: 0x01) */ +#define CCU8_GCTRL_MSE3_Pos (13UL) /*!< CCU8 GCTRL: MSE3 (Bit 13) */ +#define CCU8_GCTRL_MSE3_Msk (0x2000UL) /*!< CCU8 GCTRL: MSE3 (Bitfield-Mask: 0x01) */ +#define CCU8_GCTRL_MSDE_Pos (14UL) /*!< CCU8 GCTRL: MSDE (Bit 14) */ +#define CCU8_GCTRL_MSDE_Msk (0xc000UL) /*!< CCU8 GCTRL: MSDE (Bitfield-Mask: 0x03) */ + +/* --------------------------------- CCU8_GSTAT --------------------------------- */ +#define CCU8_GSTAT_S0I_Pos (0UL) /*!< CCU8 GSTAT: S0I (Bit 0) */ +#define CCU8_GSTAT_S0I_Msk (0x1UL) /*!< CCU8 GSTAT: S0I (Bitfield-Mask: 0x01) */ +#define CCU8_GSTAT_S1I_Pos (1UL) /*!< CCU8 GSTAT: S1I (Bit 1) */ +#define CCU8_GSTAT_S1I_Msk (0x2UL) /*!< CCU8 GSTAT: S1I (Bitfield-Mask: 0x01) */ +#define CCU8_GSTAT_S2I_Pos (2UL) /*!< CCU8 GSTAT: S2I (Bit 2) */ +#define CCU8_GSTAT_S2I_Msk (0x4UL) /*!< CCU8 GSTAT: S2I (Bitfield-Mask: 0x01) */ +#define CCU8_GSTAT_S3I_Pos (3UL) /*!< CCU8 GSTAT: S3I (Bit 3) */ +#define CCU8_GSTAT_S3I_Msk (0x8UL) /*!< CCU8 GSTAT: S3I (Bitfield-Mask: 0x01) */ +#define CCU8_GSTAT_PRB_Pos (8UL) /*!< CCU8 GSTAT: PRB (Bit 8) */ +#define CCU8_GSTAT_PRB_Msk (0x100UL) /*!< CCU8 GSTAT: PRB (Bitfield-Mask: 0x01) */ +#define CCU8_GSTAT_PCRB_Pos (10UL) /*!< CCU8 GSTAT: PCRB (Bit 10) */ +#define CCU8_GSTAT_PCRB_Msk (0x400UL) /*!< CCU8 GSTAT: PCRB (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU8_GIDLS --------------------------------- */ +#define CCU8_GIDLS_SS0I_Pos (0UL) /*!< CCU8 GIDLS: SS0I (Bit 0) */ +#define CCU8_GIDLS_SS0I_Msk (0x1UL) /*!< CCU8 GIDLS: SS0I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLS_SS1I_Pos (1UL) /*!< CCU8 GIDLS: SS1I (Bit 1) */ +#define CCU8_GIDLS_SS1I_Msk (0x2UL) /*!< CCU8 GIDLS: SS1I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLS_SS2I_Pos (2UL) /*!< CCU8 GIDLS: SS2I (Bit 2) */ +#define CCU8_GIDLS_SS2I_Msk (0x4UL) /*!< CCU8 GIDLS: SS2I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLS_SS3I_Pos (3UL) /*!< CCU8 GIDLS: SS3I (Bit 3) */ +#define CCU8_GIDLS_SS3I_Msk (0x8UL) /*!< CCU8 GIDLS: SS3I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLS_CPRB_Pos (8UL) /*!< CCU8 GIDLS: CPRB (Bit 8) */ +#define CCU8_GIDLS_CPRB_Msk (0x100UL) /*!< CCU8 GIDLS: CPRB (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLS_PSIC_Pos (9UL) /*!< CCU8 GIDLS: PSIC (Bit 9) */ +#define CCU8_GIDLS_PSIC_Msk (0x200UL) /*!< CCU8 GIDLS: PSIC (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLS_CPCH_Pos (10UL) /*!< CCU8 GIDLS: CPCH (Bit 10) */ +#define CCU8_GIDLS_CPCH_Msk (0x400UL) /*!< CCU8 GIDLS: CPCH (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU8_GIDLC --------------------------------- */ +#define CCU8_GIDLC_CS0I_Pos (0UL) /*!< CCU8 GIDLC: CS0I (Bit 0) */ +#define CCU8_GIDLC_CS0I_Msk (0x1UL) /*!< CCU8 GIDLC: CS0I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLC_CS1I_Pos (1UL) /*!< CCU8 GIDLC: CS1I (Bit 1) */ +#define CCU8_GIDLC_CS1I_Msk (0x2UL) /*!< CCU8 GIDLC: CS1I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLC_CS2I_Pos (2UL) /*!< CCU8 GIDLC: CS2I (Bit 2) */ +#define CCU8_GIDLC_CS2I_Msk (0x4UL) /*!< CCU8 GIDLC: CS2I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLC_CS3I_Pos (3UL) /*!< CCU8 GIDLC: CS3I (Bit 3) */ +#define CCU8_GIDLC_CS3I_Msk (0x8UL) /*!< CCU8 GIDLC: CS3I (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLC_SPRB_Pos (8UL) /*!< CCU8 GIDLC: SPRB (Bit 8) */ +#define CCU8_GIDLC_SPRB_Msk (0x100UL) /*!< CCU8 GIDLC: SPRB (Bitfield-Mask: 0x01) */ +#define CCU8_GIDLC_SPCH_Pos (10UL) /*!< CCU8 GIDLC: SPCH (Bit 10) */ +#define CCU8_GIDLC_SPCH_Msk (0x400UL) /*!< CCU8 GIDLC: SPCH (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU8_GCSS --------------------------------- */ +#define CCU8_GCSS_S0SE_Pos (0UL) /*!< CCU8 GCSS: S0SE (Bit 0) */ +#define CCU8_GCSS_S0SE_Msk (0x1UL) /*!< CCU8 GCSS: S0SE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S0DSE_Pos (1UL) /*!< CCU8 GCSS: S0DSE (Bit 1) */ +#define CCU8_GCSS_S0DSE_Msk (0x2UL) /*!< CCU8 GCSS: S0DSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S0PSE_Pos (2UL) /*!< CCU8 GCSS: S0PSE (Bit 2) */ +#define CCU8_GCSS_S0PSE_Msk (0x4UL) /*!< CCU8 GCSS: S0PSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S1SE_Pos (4UL) /*!< CCU8 GCSS: S1SE (Bit 4) */ +#define CCU8_GCSS_S1SE_Msk (0x10UL) /*!< CCU8 GCSS: S1SE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S1DSE_Pos (5UL) /*!< CCU8 GCSS: S1DSE (Bit 5) */ +#define CCU8_GCSS_S1DSE_Msk (0x20UL) /*!< CCU8 GCSS: S1DSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S1PSE_Pos (6UL) /*!< CCU8 GCSS: S1PSE (Bit 6) */ +#define CCU8_GCSS_S1PSE_Msk (0x40UL) /*!< CCU8 GCSS: S1PSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S2SE_Pos (8UL) /*!< CCU8 GCSS: S2SE (Bit 8) */ +#define CCU8_GCSS_S2SE_Msk (0x100UL) /*!< CCU8 GCSS: S2SE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S2DSE_Pos (9UL) /*!< CCU8 GCSS: S2DSE (Bit 9) */ +#define CCU8_GCSS_S2DSE_Msk (0x200UL) /*!< CCU8 GCSS: S2DSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S2PSE_Pos (10UL) /*!< CCU8 GCSS: S2PSE (Bit 10) */ +#define CCU8_GCSS_S2PSE_Msk (0x400UL) /*!< CCU8 GCSS: S2PSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S3SE_Pos (12UL) /*!< CCU8 GCSS: S3SE (Bit 12) */ +#define CCU8_GCSS_S3SE_Msk (0x1000UL) /*!< CCU8 GCSS: S3SE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S3DSE_Pos (13UL) /*!< CCU8 GCSS: S3DSE (Bit 13) */ +#define CCU8_GCSS_S3DSE_Msk (0x2000UL) /*!< CCU8 GCSS: S3DSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S3PSE_Pos (14UL) /*!< CCU8 GCSS: S3PSE (Bit 14) */ +#define CCU8_GCSS_S3PSE_Msk (0x4000UL) /*!< CCU8 GCSS: S3PSE (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S0ST1S_Pos (16UL) /*!< CCU8 GCSS: S0ST1S (Bit 16) */ +#define CCU8_GCSS_S0ST1S_Msk (0x10000UL) /*!< CCU8 GCSS: S0ST1S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S1ST1S_Pos (17UL) /*!< CCU8 GCSS: S1ST1S (Bit 17) */ +#define CCU8_GCSS_S1ST1S_Msk (0x20000UL) /*!< CCU8 GCSS: S1ST1S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S2ST1S_Pos (18UL) /*!< CCU8 GCSS: S2ST1S (Bit 18) */ +#define CCU8_GCSS_S2ST1S_Msk (0x40000UL) /*!< CCU8 GCSS: S2ST1S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S3ST1S_Pos (19UL) /*!< CCU8 GCSS: S3ST1S (Bit 19) */ +#define CCU8_GCSS_S3ST1S_Msk (0x80000UL) /*!< CCU8 GCSS: S3ST1S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S0ST2S_Pos (20UL) /*!< CCU8 GCSS: S0ST2S (Bit 20) */ +#define CCU8_GCSS_S0ST2S_Msk (0x100000UL) /*!< CCU8 GCSS: S0ST2S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S1ST2S_Pos (21UL) /*!< CCU8 GCSS: S1ST2S (Bit 21) */ +#define CCU8_GCSS_S1ST2S_Msk (0x200000UL) /*!< CCU8 GCSS: S1ST2S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S2ST2S_Pos (22UL) /*!< CCU8 GCSS: S2ST2S (Bit 22) */ +#define CCU8_GCSS_S2ST2S_Msk (0x400000UL) /*!< CCU8 GCSS: S2ST2S (Bitfield-Mask: 0x01) */ +#define CCU8_GCSS_S3ST2S_Pos (23UL) /*!< CCU8 GCSS: S3ST2S (Bit 23) */ +#define CCU8_GCSS_S3ST2S_Msk (0x800000UL) /*!< CCU8 GCSS: S3ST2S (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU8_GCSC --------------------------------- */ +#define CCU8_GCSC_S0SC_Pos (0UL) /*!< CCU8 GCSC: S0SC (Bit 0) */ +#define CCU8_GCSC_S0SC_Msk (0x1UL) /*!< CCU8 GCSC: S0SC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S0DSC_Pos (1UL) /*!< CCU8 GCSC: S0DSC (Bit 1) */ +#define CCU8_GCSC_S0DSC_Msk (0x2UL) /*!< CCU8 GCSC: S0DSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S0PSC_Pos (2UL) /*!< CCU8 GCSC: S0PSC (Bit 2) */ +#define CCU8_GCSC_S0PSC_Msk (0x4UL) /*!< CCU8 GCSC: S0PSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S1SC_Pos (4UL) /*!< CCU8 GCSC: S1SC (Bit 4) */ +#define CCU8_GCSC_S1SC_Msk (0x10UL) /*!< CCU8 GCSC: S1SC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S1DSC_Pos (5UL) /*!< CCU8 GCSC: S1DSC (Bit 5) */ +#define CCU8_GCSC_S1DSC_Msk (0x20UL) /*!< CCU8 GCSC: S1DSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S1PSC_Pos (6UL) /*!< CCU8 GCSC: S1PSC (Bit 6) */ +#define CCU8_GCSC_S1PSC_Msk (0x40UL) /*!< CCU8 GCSC: S1PSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S2SC_Pos (8UL) /*!< CCU8 GCSC: S2SC (Bit 8) */ +#define CCU8_GCSC_S2SC_Msk (0x100UL) /*!< CCU8 GCSC: S2SC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S2DSC_Pos (9UL) /*!< CCU8 GCSC: S2DSC (Bit 9) */ +#define CCU8_GCSC_S2DSC_Msk (0x200UL) /*!< CCU8 GCSC: S2DSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S2PSC_Pos (10UL) /*!< CCU8 GCSC: S2PSC (Bit 10) */ +#define CCU8_GCSC_S2PSC_Msk (0x400UL) /*!< CCU8 GCSC: S2PSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S3SC_Pos (12UL) /*!< CCU8 GCSC: S3SC (Bit 12) */ +#define CCU8_GCSC_S3SC_Msk (0x1000UL) /*!< CCU8 GCSC: S3SC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S3DSC_Pos (13UL) /*!< CCU8 GCSC: S3DSC (Bit 13) */ +#define CCU8_GCSC_S3DSC_Msk (0x2000UL) /*!< CCU8 GCSC: S3DSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S3PSC_Pos (14UL) /*!< CCU8 GCSC: S3PSC (Bit 14) */ +#define CCU8_GCSC_S3PSC_Msk (0x4000UL) /*!< CCU8 GCSC: S3PSC (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S0ST1C_Pos (16UL) /*!< CCU8 GCSC: S0ST1C (Bit 16) */ +#define CCU8_GCSC_S0ST1C_Msk (0x10000UL) /*!< CCU8 GCSC: S0ST1C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S1ST1C_Pos (17UL) /*!< CCU8 GCSC: S1ST1C (Bit 17) */ +#define CCU8_GCSC_S1ST1C_Msk (0x20000UL) /*!< CCU8 GCSC: S1ST1C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S2ST1C_Pos (18UL) /*!< CCU8 GCSC: S2ST1C (Bit 18) */ +#define CCU8_GCSC_S2ST1C_Msk (0x40000UL) /*!< CCU8 GCSC: S2ST1C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S3ST1C_Pos (19UL) /*!< CCU8 GCSC: S3ST1C (Bit 19) */ +#define CCU8_GCSC_S3ST1C_Msk (0x80000UL) /*!< CCU8 GCSC: S3ST1C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S0ST2C_Pos (20UL) /*!< CCU8 GCSC: S0ST2C (Bit 20) */ +#define CCU8_GCSC_S0ST2C_Msk (0x100000UL) /*!< CCU8 GCSC: S0ST2C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S1ST2C_Pos (21UL) /*!< CCU8 GCSC: S1ST2C (Bit 21) */ +#define CCU8_GCSC_S1ST2C_Msk (0x200000UL) /*!< CCU8 GCSC: S1ST2C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S2ST2C_Pos (22UL) /*!< CCU8 GCSC: S2ST2C (Bit 22) */ +#define CCU8_GCSC_S2ST2C_Msk (0x400000UL) /*!< CCU8 GCSC: S2ST2C (Bitfield-Mask: 0x01) */ +#define CCU8_GCSC_S3ST2C_Pos (23UL) /*!< CCU8 GCSC: S3ST2C (Bit 23) */ +#define CCU8_GCSC_S3ST2C_Msk (0x800000UL) /*!< CCU8 GCSC: S3ST2C (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- CCU8_GCST --------------------------------- */ +#define CCU8_GCST_S0SS_Pos (0UL) /*!< CCU8 GCST: S0SS (Bit 0) */ +#define CCU8_GCST_S0SS_Msk (0x1UL) /*!< CCU8 GCST: S0SS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S0DSS_Pos (1UL) /*!< CCU8 GCST: S0DSS (Bit 1) */ +#define CCU8_GCST_S0DSS_Msk (0x2UL) /*!< CCU8 GCST: S0DSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S0PSS_Pos (2UL) /*!< CCU8 GCST: S0PSS (Bit 2) */ +#define CCU8_GCST_S0PSS_Msk (0x4UL) /*!< CCU8 GCST: S0PSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S1SS_Pos (4UL) /*!< CCU8 GCST: S1SS (Bit 4) */ +#define CCU8_GCST_S1SS_Msk (0x10UL) /*!< CCU8 GCST: S1SS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S1DSS_Pos (5UL) /*!< CCU8 GCST: S1DSS (Bit 5) */ +#define CCU8_GCST_S1DSS_Msk (0x20UL) /*!< CCU8 GCST: S1DSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S1PSS_Pos (6UL) /*!< CCU8 GCST: S1PSS (Bit 6) */ +#define CCU8_GCST_S1PSS_Msk (0x40UL) /*!< CCU8 GCST: S1PSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S2SS_Pos (8UL) /*!< CCU8 GCST: S2SS (Bit 8) */ +#define CCU8_GCST_S2SS_Msk (0x100UL) /*!< CCU8 GCST: S2SS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S2DSS_Pos (9UL) /*!< CCU8 GCST: S2DSS (Bit 9) */ +#define CCU8_GCST_S2DSS_Msk (0x200UL) /*!< CCU8 GCST: S2DSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S2PSS_Pos (10UL) /*!< CCU8 GCST: S2PSS (Bit 10) */ +#define CCU8_GCST_S2PSS_Msk (0x400UL) /*!< CCU8 GCST: S2PSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S3SS_Pos (12UL) /*!< CCU8 GCST: S3SS (Bit 12) */ +#define CCU8_GCST_S3SS_Msk (0x1000UL) /*!< CCU8 GCST: S3SS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S3DSS_Pos (13UL) /*!< CCU8 GCST: S3DSS (Bit 13) */ +#define CCU8_GCST_S3DSS_Msk (0x2000UL) /*!< CCU8 GCST: S3DSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_S3PSS_Pos (14UL) /*!< CCU8 GCST: S3PSS (Bit 14) */ +#define CCU8_GCST_S3PSS_Msk (0x4000UL) /*!< CCU8 GCST: S3PSS (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC80ST1_Pos (16UL) /*!< CCU8 GCST: CC80ST1 (Bit 16) */ +#define CCU8_GCST_CC80ST1_Msk (0x10000UL) /*!< CCU8 GCST: CC80ST1 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC81ST1_Pos (17UL) /*!< CCU8 GCST: CC81ST1 (Bit 17) */ +#define CCU8_GCST_CC81ST1_Msk (0x20000UL) /*!< CCU8 GCST: CC81ST1 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC82ST1_Pos (18UL) /*!< CCU8 GCST: CC82ST1 (Bit 18) */ +#define CCU8_GCST_CC82ST1_Msk (0x40000UL) /*!< CCU8 GCST: CC82ST1 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC83ST1_Pos (19UL) /*!< CCU8 GCST: CC83ST1 (Bit 19) */ +#define CCU8_GCST_CC83ST1_Msk (0x80000UL) /*!< CCU8 GCST: CC83ST1 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC80ST2_Pos (20UL) /*!< CCU8 GCST: CC80ST2 (Bit 20) */ +#define CCU8_GCST_CC80ST2_Msk (0x100000UL) /*!< CCU8 GCST: CC80ST2 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC81ST2_Pos (21UL) /*!< CCU8 GCST: CC81ST2 (Bit 21) */ +#define CCU8_GCST_CC81ST2_Msk (0x200000UL) /*!< CCU8 GCST: CC81ST2 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC82ST2_Pos (22UL) /*!< CCU8 GCST: CC82ST2 (Bit 22) */ +#define CCU8_GCST_CC82ST2_Msk (0x400000UL) /*!< CCU8 GCST: CC82ST2 (Bitfield-Mask: 0x01) */ +#define CCU8_GCST_CC83ST2_Pos (23UL) /*!< CCU8 GCST: CC83ST2 (Bit 23) */ +#define CCU8_GCST_CC83ST2_Msk (0x800000UL) /*!< CCU8 GCST: CC83ST2 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU8_GPCHK --------------------------------- */ +#define CCU8_GPCHK_PASE_Pos (0UL) /*!< CCU8 GPCHK: PASE (Bit 0) */ +#define CCU8_GPCHK_PASE_Msk (0x1UL) /*!< CCU8 GPCHK: PASE (Bitfield-Mask: 0x01) */ +#define CCU8_GPCHK_PACS_Pos (1UL) /*!< CCU8 GPCHK: PACS (Bit 1) */ +#define CCU8_GPCHK_PACS_Msk (0x6UL) /*!< CCU8 GPCHK: PACS (Bitfield-Mask: 0x03) */ +#define CCU8_GPCHK_PISEL_Pos (3UL) /*!< CCU8 GPCHK: PISEL (Bit 3) */ +#define CCU8_GPCHK_PISEL_Msk (0x18UL) /*!< CCU8 GPCHK: PISEL (Bitfield-Mask: 0x03) */ +#define CCU8_GPCHK_PCDS_Pos (5UL) /*!< CCU8 GPCHK: PCDS (Bit 5) */ +#define CCU8_GPCHK_PCDS_Msk (0x60UL) /*!< CCU8 GPCHK: PCDS (Bitfield-Mask: 0x03) */ +#define CCU8_GPCHK_PCTS_Pos (7UL) /*!< CCU8 GPCHK: PCTS (Bit 7) */ +#define CCU8_GPCHK_PCTS_Msk (0x80UL) /*!< CCU8 GPCHK: PCTS (Bitfield-Mask: 0x01) */ +#define CCU8_GPCHK_PCST_Pos (15UL) /*!< CCU8 GPCHK: PCST (Bit 15) */ +#define CCU8_GPCHK_PCST_Msk (0x8000UL) /*!< CCU8 GPCHK: PCST (Bitfield-Mask: 0x01) */ +#define CCU8_GPCHK_PCSEL0_Pos (16UL) /*!< CCU8 GPCHK: PCSEL0 (Bit 16) */ +#define CCU8_GPCHK_PCSEL0_Msk (0xf0000UL) /*!< CCU8 GPCHK: PCSEL0 (Bitfield-Mask: 0x0f) */ +#define CCU8_GPCHK_PCSEL1_Pos (20UL) /*!< CCU8 GPCHK: PCSEL1 (Bit 20) */ +#define CCU8_GPCHK_PCSEL1_Msk (0xf00000UL) /*!< CCU8 GPCHK: PCSEL1 (Bitfield-Mask: 0x0f) */ +#define CCU8_GPCHK_PCSEL2_Pos (24UL) /*!< CCU8 GPCHK: PCSEL2 (Bit 24) */ +#define CCU8_GPCHK_PCSEL2_Msk (0xf000000UL) /*!< CCU8 GPCHK: PCSEL2 (Bitfield-Mask: 0x0f) */ +#define CCU8_GPCHK_PCSEL3_Pos (28UL) /*!< CCU8 GPCHK: PCSEL3 (Bit 28) */ +#define CCU8_GPCHK_PCSEL3_Msk (0xf0000000UL) /*!< CCU8 GPCHK: PCSEL3 (Bitfield-Mask: 0x0f) */ + +/* ---------------------------------- CCU8_MIDR --------------------------------- */ +#define CCU8_MIDR_MODR_Pos (0UL) /*!< CCU8 MIDR: MODR (Bit 0) */ +#define CCU8_MIDR_MODR_Msk (0xffUL) /*!< CCU8 MIDR: MODR (Bitfield-Mask: 0xff) */ +#define CCU8_MIDR_MODT_Pos (8UL) /*!< CCU8 MIDR: MODT (Bit 8) */ +#define CCU8_MIDR_MODT_Msk (0xff00UL) /*!< CCU8 MIDR: MODT (Bitfield-Mask: 0xff) */ +#define CCU8_MIDR_MODN_Pos (16UL) /*!< CCU8 MIDR: MODN (Bit 16) */ +#define CCU8_MIDR_MODN_Msk (0xffff0000UL) /*!< CCU8 MIDR: MODN (Bitfield-Mask: 0xffff) */ + + +/* ================================================================================ */ +/* ================ Group 'CCU8_CC8' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- CCU8_CC8_INS -------------------------------- */ +#define CCU8_CC8_INS_EV0IS_Pos (0UL) /*!< CCU8_CC8 INS: EV0IS (Bit 0) */ +#define CCU8_CC8_INS_EV0IS_Msk (0xfUL) /*!< CCU8_CC8 INS: EV0IS (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_INS_EV1IS_Pos (4UL) /*!< CCU8_CC8 INS: EV1IS (Bit 4) */ +#define CCU8_CC8_INS_EV1IS_Msk (0xf0UL) /*!< CCU8_CC8 INS: EV1IS (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_INS_EV2IS_Pos (8UL) /*!< CCU8_CC8 INS: EV2IS (Bit 8) */ +#define CCU8_CC8_INS_EV2IS_Msk (0xf00UL) /*!< CCU8_CC8 INS: EV2IS (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_INS_EV0EM_Pos (16UL) /*!< CCU8_CC8 INS: EV0EM (Bit 16) */ +#define CCU8_CC8_INS_EV0EM_Msk (0x30000UL) /*!< CCU8_CC8 INS: EV0EM (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_INS_EV1EM_Pos (18UL) /*!< CCU8_CC8 INS: EV1EM (Bit 18) */ +#define CCU8_CC8_INS_EV1EM_Msk (0xc0000UL) /*!< CCU8_CC8 INS: EV1EM (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_INS_EV2EM_Pos (20UL) /*!< CCU8_CC8 INS: EV2EM (Bit 20) */ +#define CCU8_CC8_INS_EV2EM_Msk (0x300000UL) /*!< CCU8_CC8 INS: EV2EM (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_INS_EV0LM_Pos (22UL) /*!< CCU8_CC8 INS: EV0LM (Bit 22) */ +#define CCU8_CC8_INS_EV0LM_Msk (0x400000UL) /*!< CCU8_CC8 INS: EV0LM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INS_EV1LM_Pos (23UL) /*!< CCU8_CC8 INS: EV1LM (Bit 23) */ +#define CCU8_CC8_INS_EV1LM_Msk (0x800000UL) /*!< CCU8_CC8 INS: EV1LM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INS_EV2LM_Pos (24UL) /*!< CCU8_CC8 INS: EV2LM (Bit 24) */ +#define CCU8_CC8_INS_EV2LM_Msk (0x1000000UL) /*!< CCU8_CC8 INS: EV2LM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INS_LPF0M_Pos (25UL) /*!< CCU8_CC8 INS: LPF0M (Bit 25) */ +#define CCU8_CC8_INS_LPF0M_Msk (0x6000000UL) /*!< CCU8_CC8 INS: LPF0M (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_INS_LPF1M_Pos (27UL) /*!< CCU8_CC8 INS: LPF1M (Bit 27) */ +#define CCU8_CC8_INS_LPF1M_Msk (0x18000000UL) /*!< CCU8_CC8 INS: LPF1M (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_INS_LPF2M_Pos (29UL) /*!< CCU8_CC8 INS: LPF2M (Bit 29) */ +#define CCU8_CC8_INS_LPF2M_Msk (0x60000000UL) /*!< CCU8_CC8 INS: LPF2M (Bitfield-Mask: 0x03) */ + +/* -------------------------------- CCU8_CC8_CMC -------------------------------- */ +#define CCU8_CC8_CMC_STRTS_Pos (0UL) /*!< CCU8_CC8 CMC: STRTS (Bit 0) */ +#define CCU8_CC8_CMC_STRTS_Msk (0x3UL) /*!< CCU8_CC8 CMC: STRTS (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_ENDS_Pos (2UL) /*!< CCU8_CC8 CMC: ENDS (Bit 2) */ +#define CCU8_CC8_CMC_ENDS_Msk (0xcUL) /*!< CCU8_CC8 CMC: ENDS (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_CAP0S_Pos (4UL) /*!< CCU8_CC8 CMC: CAP0S (Bit 4) */ +#define CCU8_CC8_CMC_CAP0S_Msk (0x30UL) /*!< CCU8_CC8 CMC: CAP0S (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_CAP1S_Pos (6UL) /*!< CCU8_CC8 CMC: CAP1S (Bit 6) */ +#define CCU8_CC8_CMC_CAP1S_Msk (0xc0UL) /*!< CCU8_CC8 CMC: CAP1S (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_GATES_Pos (8UL) /*!< CCU8_CC8 CMC: GATES (Bit 8) */ +#define CCU8_CC8_CMC_GATES_Msk (0x300UL) /*!< CCU8_CC8 CMC: GATES (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_UDS_Pos (10UL) /*!< CCU8_CC8 CMC: UDS (Bit 10) */ +#define CCU8_CC8_CMC_UDS_Msk (0xc00UL) /*!< CCU8_CC8 CMC: UDS (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_LDS_Pos (12UL) /*!< CCU8_CC8 CMC: LDS (Bit 12) */ +#define CCU8_CC8_CMC_LDS_Msk (0x3000UL) /*!< CCU8_CC8 CMC: LDS (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_CNTS_Pos (14UL) /*!< CCU8_CC8 CMC: CNTS (Bit 14) */ +#define CCU8_CC8_CMC_CNTS_Msk (0xc000UL) /*!< CCU8_CC8 CMC: CNTS (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_OFS_Pos (16UL) /*!< CCU8_CC8 CMC: OFS (Bit 16) */ +#define CCU8_CC8_CMC_OFS_Msk (0x10000UL) /*!< CCU8_CC8 CMC: OFS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_CMC_TS_Pos (17UL) /*!< CCU8_CC8 CMC: TS (Bit 17) */ +#define CCU8_CC8_CMC_TS_Msk (0x20000UL) /*!< CCU8_CC8 CMC: TS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_CMC_MOS_Pos (18UL) /*!< CCU8_CC8 CMC: MOS (Bit 18) */ +#define CCU8_CC8_CMC_MOS_Msk (0xc0000UL) /*!< CCU8_CC8 CMC: MOS (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_CMC_TCE_Pos (20UL) /*!< CCU8_CC8 CMC: TCE (Bit 20) */ +#define CCU8_CC8_CMC_TCE_Msk (0x100000UL) /*!< CCU8_CC8 CMC: TCE (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_TCST ------------------------------- */ +#define CCU8_CC8_TCST_TRB_Pos (0UL) /*!< CCU8_CC8 TCST: TRB (Bit 0) */ +#define CCU8_CC8_TCST_TRB_Msk (0x1UL) /*!< CCU8_CC8 TCST: TRB (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCST_CDIR_Pos (1UL) /*!< CCU8_CC8 TCST: CDIR (Bit 1) */ +#define CCU8_CC8_TCST_CDIR_Msk (0x2UL) /*!< CCU8_CC8 TCST: CDIR (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCST_DTR1_Pos (3UL) /*!< CCU8_CC8 TCST: DTR1 (Bit 3) */ +#define CCU8_CC8_TCST_DTR1_Msk (0x8UL) /*!< CCU8_CC8 TCST: DTR1 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCST_DTR2_Pos (4UL) /*!< CCU8_CC8 TCST: DTR2 (Bit 4) */ +#define CCU8_CC8_TCST_DTR2_Msk (0x10UL) /*!< CCU8_CC8 TCST: DTR2 (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU8_CC8_TCSET ------------------------------- */ +#define CCU8_CC8_TCSET_TRBS_Pos (0UL) /*!< CCU8_CC8 TCSET: TRBS (Bit 0) */ +#define CCU8_CC8_TCSET_TRBS_Msk (0x1UL) /*!< CCU8_CC8 TCSET: TRBS (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU8_CC8_TCCLR ------------------------------- */ +#define CCU8_CC8_TCCLR_TRBC_Pos (0UL) /*!< CCU8_CC8 TCCLR: TRBC (Bit 0) */ +#define CCU8_CC8_TCCLR_TRBC_Msk (0x1UL) /*!< CCU8_CC8 TCCLR: TRBC (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCCLR_TCC_Pos (1UL) /*!< CCU8_CC8 TCCLR: TCC (Bit 1) */ +#define CCU8_CC8_TCCLR_TCC_Msk (0x2UL) /*!< CCU8_CC8 TCCLR: TCC (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCCLR_DITC_Pos (2UL) /*!< CCU8_CC8 TCCLR: DITC (Bit 2) */ +#define CCU8_CC8_TCCLR_DITC_Msk (0x4UL) /*!< CCU8_CC8 TCCLR: DITC (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCCLR_DTC1C_Pos (3UL) /*!< CCU8_CC8 TCCLR: DTC1C (Bit 3) */ +#define CCU8_CC8_TCCLR_DTC1C_Msk (0x8UL) /*!< CCU8_CC8 TCCLR: DTC1C (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TCCLR_DTC2C_Pos (4UL) /*!< CCU8_CC8 TCCLR: DTC2C (Bit 4) */ +#define CCU8_CC8_TCCLR_DTC2C_Msk (0x10UL) /*!< CCU8_CC8 TCCLR: DTC2C (Bitfield-Mask: 0x01) */ + +/* --------------------------------- CCU8_CC8_TC -------------------------------- */ +#define CCU8_CC8_TC_TCM_Pos (0UL) /*!< CCU8_CC8 TC: TCM (Bit 0) */ +#define CCU8_CC8_TC_TCM_Msk (0x1UL) /*!< CCU8_CC8 TC: TCM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TSSM_Pos (1UL) /*!< CCU8_CC8 TC: TSSM (Bit 1) */ +#define CCU8_CC8_TC_TSSM_Msk (0x2UL) /*!< CCU8_CC8 TC: TSSM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_CLST_Pos (2UL) /*!< CCU8_CC8 TC: CLST (Bit 2) */ +#define CCU8_CC8_TC_CLST_Msk (0x4UL) /*!< CCU8_CC8 TC: CLST (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_CMOD_Pos (3UL) /*!< CCU8_CC8 TC: CMOD (Bit 3) */ +#define CCU8_CC8_TC_CMOD_Msk (0x8UL) /*!< CCU8_CC8 TC: CMOD (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_ECM_Pos (4UL) /*!< CCU8_CC8 TC: ECM (Bit 4) */ +#define CCU8_CC8_TC_ECM_Msk (0x10UL) /*!< CCU8_CC8 TC: ECM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_CAPC_Pos (5UL) /*!< CCU8_CC8 TC: CAPC (Bit 5) */ +#define CCU8_CC8_TC_CAPC_Msk (0x60UL) /*!< CCU8_CC8 TC: CAPC (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_TC_TLS_Pos (7UL) /*!< CCU8_CC8 TC: TLS (Bit 7) */ +#define CCU8_CC8_TC_TLS_Msk (0x80UL) /*!< CCU8_CC8 TC: TLS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_ENDM_Pos (8UL) /*!< CCU8_CC8 TC: ENDM (Bit 8) */ +#define CCU8_CC8_TC_ENDM_Msk (0x300UL) /*!< CCU8_CC8 TC: ENDM (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_TC_STRM_Pos (10UL) /*!< CCU8_CC8 TC: STRM (Bit 10) */ +#define CCU8_CC8_TC_STRM_Msk (0x400UL) /*!< CCU8_CC8 TC: STRM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_SCE_Pos (11UL) /*!< CCU8_CC8 TC: SCE (Bit 11) */ +#define CCU8_CC8_TC_SCE_Msk (0x800UL) /*!< CCU8_CC8 TC: SCE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_CCS_Pos (12UL) /*!< CCU8_CC8 TC: CCS (Bit 12) */ +#define CCU8_CC8_TC_CCS_Msk (0x1000UL) /*!< CCU8_CC8 TC: CCS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_DITHE_Pos (13UL) /*!< CCU8_CC8 TC: DITHE (Bit 13) */ +#define CCU8_CC8_TC_DITHE_Msk (0x6000UL) /*!< CCU8_CC8 TC: DITHE (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_TC_DIM_Pos (15UL) /*!< CCU8_CC8 TC: DIM (Bit 15) */ +#define CCU8_CC8_TC_DIM_Msk (0x8000UL) /*!< CCU8_CC8 TC: DIM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_FPE_Pos (16UL) /*!< CCU8_CC8 TC: FPE (Bit 16) */ +#define CCU8_CC8_TC_FPE_Msk (0x10000UL) /*!< CCU8_CC8 TC: FPE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TRAPE0_Pos (17UL) /*!< CCU8_CC8 TC: TRAPE0 (Bit 17) */ +#define CCU8_CC8_TC_TRAPE0_Msk (0x20000UL) /*!< CCU8_CC8 TC: TRAPE0 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TRAPE1_Pos (18UL) /*!< CCU8_CC8 TC: TRAPE1 (Bit 18) */ +#define CCU8_CC8_TC_TRAPE1_Msk (0x40000UL) /*!< CCU8_CC8 TC: TRAPE1 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TRAPE2_Pos (19UL) /*!< CCU8_CC8 TC: TRAPE2 (Bit 19) */ +#define CCU8_CC8_TC_TRAPE2_Msk (0x80000UL) /*!< CCU8_CC8 TC: TRAPE2 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TRAPE3_Pos (20UL) /*!< CCU8_CC8 TC: TRAPE3 (Bit 20) */ +#define CCU8_CC8_TC_TRAPE3_Msk (0x100000UL) /*!< CCU8_CC8 TC: TRAPE3 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TRPSE_Pos (21UL) /*!< CCU8_CC8 TC: TRPSE (Bit 21) */ +#define CCU8_CC8_TC_TRPSE_Msk (0x200000UL) /*!< CCU8_CC8 TC: TRPSE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_TRPSW_Pos (22UL) /*!< CCU8_CC8 TC: TRPSW (Bit 22) */ +#define CCU8_CC8_TC_TRPSW_Msk (0x400000UL) /*!< CCU8_CC8 TC: TRPSW (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_EMS_Pos (23UL) /*!< CCU8_CC8 TC: EMS (Bit 23) */ +#define CCU8_CC8_TC_EMS_Msk (0x800000UL) /*!< CCU8_CC8 TC: EMS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_EMT_Pos (24UL) /*!< CCU8_CC8 TC: EMT (Bit 24) */ +#define CCU8_CC8_TC_EMT_Msk (0x1000000UL) /*!< CCU8_CC8 TC: EMT (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_MCME1_Pos (25UL) /*!< CCU8_CC8 TC: MCME1 (Bit 25) */ +#define CCU8_CC8_TC_MCME1_Msk (0x2000000UL) /*!< CCU8_CC8 TC: MCME1 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_MCME2_Pos (26UL) /*!< CCU8_CC8 TC: MCME2 (Bit 26) */ +#define CCU8_CC8_TC_MCME2_Msk (0x4000000UL) /*!< CCU8_CC8 TC: MCME2 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_TC_EME_Pos (27UL) /*!< CCU8_CC8 TC: EME (Bit 27) */ +#define CCU8_CC8_TC_EME_Msk (0x18000000UL) /*!< CCU8_CC8 TC: EME (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_TC_STOS_Pos (29UL) /*!< CCU8_CC8 TC: STOS (Bit 29) */ +#define CCU8_CC8_TC_STOS_Msk (0x60000000UL) /*!< CCU8_CC8 TC: STOS (Bitfield-Mask: 0x03) */ + +/* -------------------------------- CCU8_CC8_PSL -------------------------------- */ +#define CCU8_CC8_PSL_PSL11_Pos (0UL) /*!< CCU8_CC8 PSL: PSL11 (Bit 0) */ +#define CCU8_CC8_PSL_PSL11_Msk (0x1UL) /*!< CCU8_CC8 PSL: PSL11 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_PSL_PSL12_Pos (1UL) /*!< CCU8_CC8 PSL: PSL12 (Bit 1) */ +#define CCU8_CC8_PSL_PSL12_Msk (0x2UL) /*!< CCU8_CC8 PSL: PSL12 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_PSL_PSL21_Pos (2UL) /*!< CCU8_CC8 PSL: PSL21 (Bit 2) */ +#define CCU8_CC8_PSL_PSL21_Msk (0x4UL) /*!< CCU8_CC8 PSL: PSL21 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_PSL_PSL22_Pos (3UL) /*!< CCU8_CC8 PSL: PSL22 (Bit 3) */ +#define CCU8_CC8_PSL_PSL22_Msk (0x8UL) /*!< CCU8_CC8 PSL: PSL22 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_DIT -------------------------------- */ +#define CCU8_CC8_DIT_DCV_Pos (0UL) /*!< CCU8_CC8 DIT: DCV (Bit 0) */ +#define CCU8_CC8_DIT_DCV_Msk (0xfUL) /*!< CCU8_CC8 DIT: DCV (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_DIT_DCNT_Pos (8UL) /*!< CCU8_CC8 DIT: DCNT (Bit 8) */ +#define CCU8_CC8_DIT_DCNT_Msk (0xf00UL) /*!< CCU8_CC8 DIT: DCNT (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU8_CC8_DITS ------------------------------- */ +#define CCU8_CC8_DITS_DCVS_Pos (0UL) /*!< CCU8_CC8 DITS: DCVS (Bit 0) */ +#define CCU8_CC8_DITS_DCVS_Msk (0xfUL) /*!< CCU8_CC8 DITS: DCVS (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU8_CC8_PSC -------------------------------- */ +#define CCU8_CC8_PSC_PSIV_Pos (0UL) /*!< CCU8_CC8 PSC: PSIV (Bit 0) */ +#define CCU8_CC8_PSC_PSIV_Msk (0xfUL) /*!< CCU8_CC8 PSC: PSIV (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU8_CC8_FPC -------------------------------- */ +#define CCU8_CC8_FPC_PCMP_Pos (0UL) /*!< CCU8_CC8 FPC: PCMP (Bit 0) */ +#define CCU8_CC8_FPC_PCMP_Msk (0xfUL) /*!< CCU8_CC8 FPC: PCMP (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_FPC_PVAL_Pos (8UL) /*!< CCU8_CC8 FPC: PVAL (Bit 8) */ +#define CCU8_CC8_FPC_PVAL_Msk (0xf00UL) /*!< CCU8_CC8 FPC: PVAL (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- CCU8_CC8_FPCS ------------------------------- */ +#define CCU8_CC8_FPCS_PCMP_Pos (0UL) /*!< CCU8_CC8 FPCS: PCMP (Bit 0) */ +#define CCU8_CC8_FPCS_PCMP_Msk (0xfUL) /*!< CCU8_CC8 FPCS: PCMP (Bitfield-Mask: 0x0f) */ + +/* --------------------------------- CCU8_CC8_PR -------------------------------- */ +#define CCU8_CC8_PR_PR_Pos (0UL) /*!< CCU8_CC8 PR: PR (Bit 0) */ +#define CCU8_CC8_PR_PR_Msk (0xffffUL) /*!< CCU8_CC8 PR: PR (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU8_CC8_PRS -------------------------------- */ +#define CCU8_CC8_PRS_PRS_Pos (0UL) /*!< CCU8_CC8 PRS: PRS (Bit 0) */ +#define CCU8_CC8_PRS_PRS_Msk (0xffffUL) /*!< CCU8_CC8 PRS: PRS (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU8_CC8_CR1 -------------------------------- */ +#define CCU8_CC8_CR1_CR1_Pos (0UL) /*!< CCU8_CC8 CR1: CR1 (Bit 0) */ +#define CCU8_CC8_CR1_CR1_Msk (0xffffUL) /*!< CCU8_CC8 CR1: CR1 (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU8_CC8_CR1S ------------------------------- */ +#define CCU8_CC8_CR1S_CR1S_Pos (0UL) /*!< CCU8_CC8 CR1S: CR1S (Bit 0) */ +#define CCU8_CC8_CR1S_CR1S_Msk (0xffffUL) /*!< CCU8_CC8 CR1S: CR1S (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU8_CC8_CR2 -------------------------------- */ +#define CCU8_CC8_CR2_CR2_Pos (0UL) /*!< CCU8_CC8 CR2: CR2 (Bit 0) */ +#define CCU8_CC8_CR2_CR2_Msk (0xffffUL) /*!< CCU8_CC8 CR2: CR2 (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU8_CC8_CR2S ------------------------------- */ +#define CCU8_CC8_CR2S_CR2S_Pos (0UL) /*!< CCU8_CC8 CR2S: CR2S (Bit 0) */ +#define CCU8_CC8_CR2S_CR2S_Msk (0xffffUL) /*!< CCU8_CC8 CR2S: CR2S (Bitfield-Mask: 0xffff) */ + +/* -------------------------------- CCU8_CC8_CHC -------------------------------- */ +#define CCU8_CC8_CHC_ASE_Pos (0UL) /*!< CCU8_CC8 CHC: ASE (Bit 0) */ +#define CCU8_CC8_CHC_ASE_Msk (0x1UL) /*!< CCU8_CC8 CHC: ASE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_CHC_OCS1_Pos (1UL) /*!< CCU8_CC8 CHC: OCS1 (Bit 1) */ +#define CCU8_CC8_CHC_OCS1_Msk (0x2UL) /*!< CCU8_CC8 CHC: OCS1 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_CHC_OCS2_Pos (2UL) /*!< CCU8_CC8 CHC: OCS2 (Bit 2) */ +#define CCU8_CC8_CHC_OCS2_Msk (0x4UL) /*!< CCU8_CC8 CHC: OCS2 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_CHC_OCS3_Pos (3UL) /*!< CCU8_CC8 CHC: OCS3 (Bit 3) */ +#define CCU8_CC8_CHC_OCS3_Msk (0x8UL) /*!< CCU8_CC8 CHC: OCS3 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_CHC_OCS4_Pos (4UL) /*!< CCU8_CC8 CHC: OCS4 (Bit 4) */ +#define CCU8_CC8_CHC_OCS4_Msk (0x10UL) /*!< CCU8_CC8 CHC: OCS4 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_DTC -------------------------------- */ +#define CCU8_CC8_DTC_DTE1_Pos (0UL) /*!< CCU8_CC8 DTC: DTE1 (Bit 0) */ +#define CCU8_CC8_DTC_DTE1_Msk (0x1UL) /*!< CCU8_CC8 DTC: DTE1 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_DTC_DTE2_Pos (1UL) /*!< CCU8_CC8 DTC: DTE2 (Bit 1) */ +#define CCU8_CC8_DTC_DTE2_Msk (0x2UL) /*!< CCU8_CC8 DTC: DTE2 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_DTC_DCEN1_Pos (2UL) /*!< CCU8_CC8 DTC: DCEN1 (Bit 2) */ +#define CCU8_CC8_DTC_DCEN1_Msk (0x4UL) /*!< CCU8_CC8 DTC: DCEN1 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_DTC_DCEN2_Pos (3UL) /*!< CCU8_CC8 DTC: DCEN2 (Bit 3) */ +#define CCU8_CC8_DTC_DCEN2_Msk (0x8UL) /*!< CCU8_CC8 DTC: DCEN2 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_DTC_DCEN3_Pos (4UL) /*!< CCU8_CC8 DTC: DCEN3 (Bit 4) */ +#define CCU8_CC8_DTC_DCEN3_Msk (0x10UL) /*!< CCU8_CC8 DTC: DCEN3 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_DTC_DCEN4_Pos (5UL) /*!< CCU8_CC8 DTC: DCEN4 (Bit 5) */ +#define CCU8_CC8_DTC_DCEN4_Msk (0x20UL) /*!< CCU8_CC8 DTC: DCEN4 (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_DTC_DTCC_Pos (6UL) /*!< CCU8_CC8 DTC: DTCC (Bit 6) */ +#define CCU8_CC8_DTC_DTCC_Msk (0xc0UL) /*!< CCU8_CC8 DTC: DTCC (Bitfield-Mask: 0x03) */ + +/* -------------------------------- CCU8_CC8_DC1R ------------------------------- */ +#define CCU8_CC8_DC1R_DT1R_Pos (0UL) /*!< CCU8_CC8 DC1R: DT1R (Bit 0) */ +#define CCU8_CC8_DC1R_DT1R_Msk (0xffUL) /*!< CCU8_CC8 DC1R: DT1R (Bitfield-Mask: 0xff) */ +#define CCU8_CC8_DC1R_DT1F_Pos (8UL) /*!< CCU8_CC8 DC1R: DT1F (Bit 8) */ +#define CCU8_CC8_DC1R_DT1F_Msk (0xff00UL) /*!< CCU8_CC8 DC1R: DT1F (Bitfield-Mask: 0xff) */ + +/* -------------------------------- CCU8_CC8_DC2R ------------------------------- */ +#define CCU8_CC8_DC2R_DT2R_Pos (0UL) /*!< CCU8_CC8 DC2R: DT2R (Bit 0) */ +#define CCU8_CC8_DC2R_DT2R_Msk (0xffUL) /*!< CCU8_CC8 DC2R: DT2R (Bitfield-Mask: 0xff) */ +#define CCU8_CC8_DC2R_DT2F_Pos (8UL) /*!< CCU8_CC8 DC2R: DT2F (Bit 8) */ +#define CCU8_CC8_DC2R_DT2F_Msk (0xff00UL) /*!< CCU8_CC8 DC2R: DT2F (Bitfield-Mask: 0xff) */ + +/* ------------------------------- CCU8_CC8_TIMER ------------------------------- */ +#define CCU8_CC8_TIMER_TVAL_Pos (0UL) /*!< CCU8_CC8 TIMER: TVAL (Bit 0) */ +#define CCU8_CC8_TIMER_TVAL_Msk (0xffffUL) /*!< CCU8_CC8 TIMER: TVAL (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- CCU8_CC8_CV -------------------------------- */ +#define CCU8_CC8_CV_CAPTV_Pos (0UL) /*!< CCU8_CC8 CV: CAPTV (Bit 0) */ +#define CCU8_CC8_CV_CAPTV_Msk (0xffffUL) /*!< CCU8_CC8 CV: CAPTV (Bitfield-Mask: 0xffff) */ +#define CCU8_CC8_CV_FPCV_Pos (16UL) /*!< CCU8_CC8 CV: FPCV (Bit 16) */ +#define CCU8_CC8_CV_FPCV_Msk (0xf0000UL) /*!< CCU8_CC8 CV: FPCV (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_CV_FFL_Pos (20UL) /*!< CCU8_CC8 CV: FFL (Bit 20) */ +#define CCU8_CC8_CV_FFL_Msk (0x100000UL) /*!< CCU8_CC8 CV: FFL (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_INTS ------------------------------- */ +#define CCU8_CC8_INTS_PMUS_Pos (0UL) /*!< CCU8_CC8 INTS: PMUS (Bit 0) */ +#define CCU8_CC8_INTS_PMUS_Msk (0x1UL) /*!< CCU8_CC8 INTS: PMUS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_OMDS_Pos (1UL) /*!< CCU8_CC8 INTS: OMDS (Bit 1) */ +#define CCU8_CC8_INTS_OMDS_Msk (0x2UL) /*!< CCU8_CC8 INTS: OMDS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_CMU1S_Pos (2UL) /*!< CCU8_CC8 INTS: CMU1S (Bit 2) */ +#define CCU8_CC8_INTS_CMU1S_Msk (0x4UL) /*!< CCU8_CC8 INTS: CMU1S (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_CMD1S_Pos (3UL) /*!< CCU8_CC8 INTS: CMD1S (Bit 3) */ +#define CCU8_CC8_INTS_CMD1S_Msk (0x8UL) /*!< CCU8_CC8 INTS: CMD1S (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_CMU2S_Pos (4UL) /*!< CCU8_CC8 INTS: CMU2S (Bit 4) */ +#define CCU8_CC8_INTS_CMU2S_Msk (0x10UL) /*!< CCU8_CC8 INTS: CMU2S (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_CMD2S_Pos (5UL) /*!< CCU8_CC8 INTS: CMD2S (Bit 5) */ +#define CCU8_CC8_INTS_CMD2S_Msk (0x20UL) /*!< CCU8_CC8 INTS: CMD2S (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_E0AS_Pos (8UL) /*!< CCU8_CC8 INTS: E0AS (Bit 8) */ +#define CCU8_CC8_INTS_E0AS_Msk (0x100UL) /*!< CCU8_CC8 INTS: E0AS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_E1AS_Pos (9UL) /*!< CCU8_CC8 INTS: E1AS (Bit 9) */ +#define CCU8_CC8_INTS_E1AS_Msk (0x200UL) /*!< CCU8_CC8 INTS: E1AS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_E2AS_Pos (10UL) /*!< CCU8_CC8 INTS: E2AS (Bit 10) */ +#define CCU8_CC8_INTS_E2AS_Msk (0x400UL) /*!< CCU8_CC8 INTS: E2AS (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTS_TRPF_Pos (11UL) /*!< CCU8_CC8 INTS: TRPF (Bit 11) */ +#define CCU8_CC8_INTS_TRPF_Msk (0x800UL) /*!< CCU8_CC8 INTS: TRPF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_INTE ------------------------------- */ +#define CCU8_CC8_INTE_PME_Pos (0UL) /*!< CCU8_CC8 INTE: PME (Bit 0) */ +#define CCU8_CC8_INTE_PME_Msk (0x1UL) /*!< CCU8_CC8 INTE: PME (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_OME_Pos (1UL) /*!< CCU8_CC8 INTE: OME (Bit 1) */ +#define CCU8_CC8_INTE_OME_Msk (0x2UL) /*!< CCU8_CC8 INTE: OME (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_CMU1E_Pos (2UL) /*!< CCU8_CC8 INTE: CMU1E (Bit 2) */ +#define CCU8_CC8_INTE_CMU1E_Msk (0x4UL) /*!< CCU8_CC8 INTE: CMU1E (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_CMD1E_Pos (3UL) /*!< CCU8_CC8 INTE: CMD1E (Bit 3) */ +#define CCU8_CC8_INTE_CMD1E_Msk (0x8UL) /*!< CCU8_CC8 INTE: CMD1E (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_CMU2E_Pos (4UL) /*!< CCU8_CC8 INTE: CMU2E (Bit 4) */ +#define CCU8_CC8_INTE_CMU2E_Msk (0x10UL) /*!< CCU8_CC8 INTE: CMU2E (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_CMD2E_Pos (5UL) /*!< CCU8_CC8 INTE: CMD2E (Bit 5) */ +#define CCU8_CC8_INTE_CMD2E_Msk (0x20UL) /*!< CCU8_CC8 INTE: CMD2E (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_E0AE_Pos (8UL) /*!< CCU8_CC8 INTE: E0AE (Bit 8) */ +#define CCU8_CC8_INTE_E0AE_Msk (0x100UL) /*!< CCU8_CC8 INTE: E0AE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_E1AE_Pos (9UL) /*!< CCU8_CC8 INTE: E1AE (Bit 9) */ +#define CCU8_CC8_INTE_E1AE_Msk (0x200UL) /*!< CCU8_CC8 INTE: E1AE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_INTE_E2AE_Pos (10UL) /*!< CCU8_CC8 INTE: E2AE (Bit 10) */ +#define CCU8_CC8_INTE_E2AE_Msk (0x400UL) /*!< CCU8_CC8 INTE: E2AE (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_SRS -------------------------------- */ +#define CCU8_CC8_SRS_POSR_Pos (0UL) /*!< CCU8_CC8 SRS: POSR (Bit 0) */ +#define CCU8_CC8_SRS_POSR_Msk (0x3UL) /*!< CCU8_CC8 SRS: POSR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_SRS_CM1SR_Pos (2UL) /*!< CCU8_CC8 SRS: CM1SR (Bit 2) */ +#define CCU8_CC8_SRS_CM1SR_Msk (0xcUL) /*!< CCU8_CC8 SRS: CM1SR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_SRS_CM2SR_Pos (4UL) /*!< CCU8_CC8 SRS: CM2SR (Bit 4) */ +#define CCU8_CC8_SRS_CM2SR_Msk (0x30UL) /*!< CCU8_CC8 SRS: CM2SR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_SRS_E0SR_Pos (8UL) /*!< CCU8_CC8 SRS: E0SR (Bit 8) */ +#define CCU8_CC8_SRS_E0SR_Msk (0x300UL) /*!< CCU8_CC8 SRS: E0SR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_SRS_E1SR_Pos (10UL) /*!< CCU8_CC8 SRS: E1SR (Bit 10) */ +#define CCU8_CC8_SRS_E1SR_Msk (0xc00UL) /*!< CCU8_CC8 SRS: E1SR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_SRS_E2SR_Pos (12UL) /*!< CCU8_CC8 SRS: E2SR (Bit 12) */ +#define CCU8_CC8_SRS_E2SR_Msk (0x3000UL) /*!< CCU8_CC8 SRS: E2SR (Bitfield-Mask: 0x03) */ + +/* -------------------------------- CCU8_CC8_SWS -------------------------------- */ +#define CCU8_CC8_SWS_SPM_Pos (0UL) /*!< CCU8_CC8 SWS: SPM (Bit 0) */ +#define CCU8_CC8_SWS_SPM_Msk (0x1UL) /*!< CCU8_CC8 SWS: SPM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SOM_Pos (1UL) /*!< CCU8_CC8 SWS: SOM (Bit 1) */ +#define CCU8_CC8_SWS_SOM_Msk (0x2UL) /*!< CCU8_CC8 SWS: SOM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SCM1U_Pos (2UL) /*!< CCU8_CC8 SWS: SCM1U (Bit 2) */ +#define CCU8_CC8_SWS_SCM1U_Msk (0x4UL) /*!< CCU8_CC8 SWS: SCM1U (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SCM1D_Pos (3UL) /*!< CCU8_CC8 SWS: SCM1D (Bit 3) */ +#define CCU8_CC8_SWS_SCM1D_Msk (0x8UL) /*!< CCU8_CC8 SWS: SCM1D (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SCM2U_Pos (4UL) /*!< CCU8_CC8 SWS: SCM2U (Bit 4) */ +#define CCU8_CC8_SWS_SCM2U_Msk (0x10UL) /*!< CCU8_CC8 SWS: SCM2U (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SCM2D_Pos (5UL) /*!< CCU8_CC8 SWS: SCM2D (Bit 5) */ +#define CCU8_CC8_SWS_SCM2D_Msk (0x20UL) /*!< CCU8_CC8 SWS: SCM2D (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SE0A_Pos (8UL) /*!< CCU8_CC8 SWS: SE0A (Bit 8) */ +#define CCU8_CC8_SWS_SE0A_Msk (0x100UL) /*!< CCU8_CC8 SWS: SE0A (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SE1A_Pos (9UL) /*!< CCU8_CC8 SWS: SE1A (Bit 9) */ +#define CCU8_CC8_SWS_SE1A_Msk (0x200UL) /*!< CCU8_CC8 SWS: SE1A (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_SE2A_Pos (10UL) /*!< CCU8_CC8 SWS: SE2A (Bit 10) */ +#define CCU8_CC8_SWS_SE2A_Msk (0x400UL) /*!< CCU8_CC8 SWS: SE2A (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWS_STRPF_Pos (11UL) /*!< CCU8_CC8 SWS: STRPF (Bit 11) */ +#define CCU8_CC8_SWS_STRPF_Msk (0x800UL) /*!< CCU8_CC8 SWS: STRPF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_SWR -------------------------------- */ +#define CCU8_CC8_SWR_RPM_Pos (0UL) /*!< CCU8_CC8 SWR: RPM (Bit 0) */ +#define CCU8_CC8_SWR_RPM_Msk (0x1UL) /*!< CCU8_CC8 SWR: RPM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_ROM_Pos (1UL) /*!< CCU8_CC8 SWR: ROM (Bit 1) */ +#define CCU8_CC8_SWR_ROM_Msk (0x2UL) /*!< CCU8_CC8 SWR: ROM (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RCM1U_Pos (2UL) /*!< CCU8_CC8 SWR: RCM1U (Bit 2) */ +#define CCU8_CC8_SWR_RCM1U_Msk (0x4UL) /*!< CCU8_CC8 SWR: RCM1U (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RCM1D_Pos (3UL) /*!< CCU8_CC8 SWR: RCM1D (Bit 3) */ +#define CCU8_CC8_SWR_RCM1D_Msk (0x8UL) /*!< CCU8_CC8 SWR: RCM1D (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RCM2U_Pos (4UL) /*!< CCU8_CC8 SWR: RCM2U (Bit 4) */ +#define CCU8_CC8_SWR_RCM2U_Msk (0x10UL) /*!< CCU8_CC8 SWR: RCM2U (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RCM2D_Pos (5UL) /*!< CCU8_CC8 SWR: RCM2D (Bit 5) */ +#define CCU8_CC8_SWR_RCM2D_Msk (0x20UL) /*!< CCU8_CC8 SWR: RCM2D (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RE0A_Pos (8UL) /*!< CCU8_CC8 SWR: RE0A (Bit 8) */ +#define CCU8_CC8_SWR_RE0A_Msk (0x100UL) /*!< CCU8_CC8 SWR: RE0A (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RE1A_Pos (9UL) /*!< CCU8_CC8 SWR: RE1A (Bit 9) */ +#define CCU8_CC8_SWR_RE1A_Msk (0x200UL) /*!< CCU8_CC8 SWR: RE1A (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RE2A_Pos (10UL) /*!< CCU8_CC8 SWR: RE2A (Bit 10) */ +#define CCU8_CC8_SWR_RE2A_Msk (0x400UL) /*!< CCU8_CC8 SWR: RE2A (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_SWR_RTRPF_Pos (11UL) /*!< CCU8_CC8 SWR: RTRPF (Bit 11) */ +#define CCU8_CC8_SWR_RTRPF_Msk (0x800UL) /*!< CCU8_CC8 SWR: RTRPF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- CCU8_CC8_STC -------------------------------- */ +#define CCU8_CC8_STC_CSE_Pos (0UL) /*!< CCU8_CC8 STC: CSE (Bit 0) */ +#define CCU8_CC8_STC_CSE_Msk (0x1UL) /*!< CCU8_CC8 STC: CSE (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_STC_STM_Pos (1UL) /*!< CCU8_CC8 STC: STM (Bit 1) */ +#define CCU8_CC8_STC_STM_Msk (0x6UL) /*!< CCU8_CC8 STC: STM (Bitfield-Mask: 0x03) */ + +/* ------------------------------- CCU8_CC8_ECRD0 ------------------------------- */ +#define CCU8_CC8_ECRD0_CAPV_Pos (0UL) /*!< CCU8_CC8 ECRD0: CAPV (Bit 0) */ +#define CCU8_CC8_ECRD0_CAPV_Msk (0xffffUL) /*!< CCU8_CC8 ECRD0: CAPV (Bitfield-Mask: 0xffff) */ +#define CCU8_CC8_ECRD0_FPCV_Pos (16UL) /*!< CCU8_CC8 ECRD0: FPCV (Bit 16) */ +#define CCU8_CC8_ECRD0_FPCV_Msk (0xf0000UL) /*!< CCU8_CC8 ECRD0: FPCV (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_ECRD0_SPTR_Pos (20UL) /*!< CCU8_CC8 ECRD0: SPTR (Bit 20) */ +#define CCU8_CC8_ECRD0_SPTR_Msk (0x300000UL) /*!< CCU8_CC8 ECRD0: SPTR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_ECRD0_VPTR_Pos (22UL) /*!< CCU8_CC8 ECRD0: VPTR (Bit 22) */ +#define CCU8_CC8_ECRD0_VPTR_Msk (0xc00000UL) /*!< CCU8_CC8 ECRD0: VPTR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_ECRD0_FFL_Pos (24UL) /*!< CCU8_CC8 ECRD0: FFL (Bit 24) */ +#define CCU8_CC8_ECRD0_FFL_Msk (0x1000000UL) /*!< CCU8_CC8 ECRD0: FFL (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_ECRD0_LCV_Pos (25UL) /*!< CCU8_CC8 ECRD0: LCV (Bit 25) */ +#define CCU8_CC8_ECRD0_LCV_Msk (0x2000000UL) /*!< CCU8_CC8 ECRD0: LCV (Bitfield-Mask: 0x01) */ + +/* ------------------------------- CCU8_CC8_ECRD1 ------------------------------- */ +#define CCU8_CC8_ECRD1_CAPV_Pos (0UL) /*!< CCU8_CC8 ECRD1: CAPV (Bit 0) */ +#define CCU8_CC8_ECRD1_CAPV_Msk (0xffffUL) /*!< CCU8_CC8 ECRD1: CAPV (Bitfield-Mask: 0xffff) */ +#define CCU8_CC8_ECRD1_FPCV_Pos (16UL) /*!< CCU8_CC8 ECRD1: FPCV (Bit 16) */ +#define CCU8_CC8_ECRD1_FPCV_Msk (0xf0000UL) /*!< CCU8_CC8 ECRD1: FPCV (Bitfield-Mask: 0x0f) */ +#define CCU8_CC8_ECRD1_SPTR_Pos (20UL) /*!< CCU8_CC8 ECRD1: SPTR (Bit 20) */ +#define CCU8_CC8_ECRD1_SPTR_Msk (0x300000UL) /*!< CCU8_CC8 ECRD1: SPTR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_ECRD1_VPTR_Pos (22UL) /*!< CCU8_CC8 ECRD1: VPTR (Bit 22) */ +#define CCU8_CC8_ECRD1_VPTR_Msk (0xc00000UL) /*!< CCU8_CC8 ECRD1: VPTR (Bitfield-Mask: 0x03) */ +#define CCU8_CC8_ECRD1_FFL_Pos (24UL) /*!< CCU8_CC8 ECRD1: FFL (Bit 24) */ +#define CCU8_CC8_ECRD1_FFL_Msk (0x1000000UL) /*!< CCU8_CC8 ECRD1: FFL (Bitfield-Mask: 0x01) */ +#define CCU8_CC8_ECRD1_LCV_Pos (25UL) /*!< CCU8_CC8 ECRD1: LCV (Bit 25) */ +#define CCU8_CC8_ECRD1_LCV_Msk (0x2000000UL) /*!< CCU8_CC8 ECRD1: LCV (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ Group 'POSIF' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- POSIF_PCONF -------------------------------- */ +#define POSIF_PCONF_FSEL_Pos (0UL) /*!< POSIF PCONF: FSEL (Bit 0) */ +#define POSIF_PCONF_FSEL_Msk (0x3UL) /*!< POSIF PCONF: FSEL (Bitfield-Mask: 0x03) */ +#define POSIF_PCONF_QDCM_Pos (2UL) /*!< POSIF PCONF: QDCM (Bit 2) */ +#define POSIF_PCONF_QDCM_Msk (0x4UL) /*!< POSIF PCONF: QDCM (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_HIDG_Pos (4UL) /*!< POSIF PCONF: HIDG (Bit 4) */ +#define POSIF_PCONF_HIDG_Msk (0x10UL) /*!< POSIF PCONF: HIDG (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_MCUE_Pos (5UL) /*!< POSIF PCONF: MCUE (Bit 5) */ +#define POSIF_PCONF_MCUE_Msk (0x20UL) /*!< POSIF PCONF: MCUE (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_INSEL0_Pos (8UL) /*!< POSIF PCONF: INSEL0 (Bit 8) */ +#define POSIF_PCONF_INSEL0_Msk (0x300UL) /*!< POSIF PCONF: INSEL0 (Bitfield-Mask: 0x03) */ +#define POSIF_PCONF_INSEL1_Pos (10UL) /*!< POSIF PCONF: INSEL1 (Bit 10) */ +#define POSIF_PCONF_INSEL1_Msk (0xc00UL) /*!< POSIF PCONF: INSEL1 (Bitfield-Mask: 0x03) */ +#define POSIF_PCONF_INSEL2_Pos (12UL) /*!< POSIF PCONF: INSEL2 (Bit 12) */ +#define POSIF_PCONF_INSEL2_Msk (0x3000UL) /*!< POSIF PCONF: INSEL2 (Bitfield-Mask: 0x03) */ +#define POSIF_PCONF_DSEL_Pos (16UL) /*!< POSIF PCONF: DSEL (Bit 16) */ +#define POSIF_PCONF_DSEL_Msk (0x10000UL) /*!< POSIF PCONF: DSEL (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_SPES_Pos (17UL) /*!< POSIF PCONF: SPES (Bit 17) */ +#define POSIF_PCONF_SPES_Msk (0x20000UL) /*!< POSIF PCONF: SPES (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_MSETS_Pos (18UL) /*!< POSIF PCONF: MSETS (Bit 18) */ +#define POSIF_PCONF_MSETS_Msk (0x1c0000UL) /*!< POSIF PCONF: MSETS (Bitfield-Mask: 0x07) */ +#define POSIF_PCONF_MSES_Pos (21UL) /*!< POSIF PCONF: MSES (Bit 21) */ +#define POSIF_PCONF_MSES_Msk (0x200000UL) /*!< POSIF PCONF: MSES (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_MSYNS_Pos (22UL) /*!< POSIF PCONF: MSYNS (Bit 22) */ +#define POSIF_PCONF_MSYNS_Msk (0xc00000UL) /*!< POSIF PCONF: MSYNS (Bitfield-Mask: 0x03) */ +#define POSIF_PCONF_EWIS_Pos (24UL) /*!< POSIF PCONF: EWIS (Bit 24) */ +#define POSIF_PCONF_EWIS_Msk (0x3000000UL) /*!< POSIF PCONF: EWIS (Bitfield-Mask: 0x03) */ +#define POSIF_PCONF_EWIE_Pos (26UL) /*!< POSIF PCONF: EWIE (Bit 26) */ +#define POSIF_PCONF_EWIE_Msk (0x4000000UL) /*!< POSIF PCONF: EWIE (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_EWIL_Pos (27UL) /*!< POSIF PCONF: EWIL (Bit 27) */ +#define POSIF_PCONF_EWIL_Msk (0x8000000UL) /*!< POSIF PCONF: EWIL (Bitfield-Mask: 0x01) */ +#define POSIF_PCONF_LPC_Pos (28UL) /*!< POSIF PCONF: LPC (Bit 28) */ +#define POSIF_PCONF_LPC_Msk (0x70000000UL) /*!< POSIF PCONF: LPC (Bitfield-Mask: 0x07) */ + +/* --------------------------------- POSIF_PSUS --------------------------------- */ +#define POSIF_PSUS_QSUS_Pos (0UL) /*!< POSIF PSUS: QSUS (Bit 0) */ +#define POSIF_PSUS_QSUS_Msk (0x3UL) /*!< POSIF PSUS: QSUS (Bitfield-Mask: 0x03) */ +#define POSIF_PSUS_MSUS_Pos (2UL) /*!< POSIF PSUS: MSUS (Bit 2) */ +#define POSIF_PSUS_MSUS_Msk (0xcUL) /*!< POSIF PSUS: MSUS (Bitfield-Mask: 0x03) */ + +/* --------------------------------- POSIF_PRUNS -------------------------------- */ +#define POSIF_PRUNS_SRB_Pos (0UL) /*!< POSIF PRUNS: SRB (Bit 0) */ +#define POSIF_PRUNS_SRB_Msk (0x1UL) /*!< POSIF PRUNS: SRB (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_PRUNC -------------------------------- */ +#define POSIF_PRUNC_CRB_Pos (0UL) /*!< POSIF PRUNC: CRB (Bit 0) */ +#define POSIF_PRUNC_CRB_Msk (0x1UL) /*!< POSIF PRUNC: CRB (Bitfield-Mask: 0x01) */ +#define POSIF_PRUNC_CSM_Pos (1UL) /*!< POSIF PRUNC: CSM (Bit 1) */ +#define POSIF_PRUNC_CSM_Msk (0x2UL) /*!< POSIF PRUNC: CSM (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_PRUN --------------------------------- */ +#define POSIF_PRUN_RB_Pos (0UL) /*!< POSIF PRUN: RB (Bit 0) */ +#define POSIF_PRUN_RB_Msk (0x1UL) /*!< POSIF PRUN: RB (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_MIDR --------------------------------- */ +#define POSIF_MIDR_MODR_Pos (0UL) /*!< POSIF MIDR: MODR (Bit 0) */ +#define POSIF_MIDR_MODR_Msk (0xffUL) /*!< POSIF MIDR: MODR (Bitfield-Mask: 0xff) */ +#define POSIF_MIDR_MODT_Pos (8UL) /*!< POSIF MIDR: MODT (Bit 8) */ +#define POSIF_MIDR_MODT_Msk (0xff00UL) /*!< POSIF MIDR: MODT (Bitfield-Mask: 0xff) */ +#define POSIF_MIDR_MODN_Pos (16UL) /*!< POSIF MIDR: MODN (Bit 16) */ +#define POSIF_MIDR_MODN_Msk (0xffff0000UL) /*!< POSIF MIDR: MODN (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- POSIF_HALP --------------------------------- */ +#define POSIF_HALP_HCP_Pos (0UL) /*!< POSIF HALP: HCP (Bit 0) */ +#define POSIF_HALP_HCP_Msk (0x7UL) /*!< POSIF HALP: HCP (Bitfield-Mask: 0x07) */ +#define POSIF_HALP_HEP_Pos (3UL) /*!< POSIF HALP: HEP (Bit 3) */ +#define POSIF_HALP_HEP_Msk (0x38UL) /*!< POSIF HALP: HEP (Bitfield-Mask: 0x07) */ + +/* --------------------------------- POSIF_HALPS -------------------------------- */ +#define POSIF_HALPS_HCPS_Pos (0UL) /*!< POSIF HALPS: HCPS (Bit 0) */ +#define POSIF_HALPS_HCPS_Msk (0x7UL) /*!< POSIF HALPS: HCPS (Bitfield-Mask: 0x07) */ +#define POSIF_HALPS_HEPS_Pos (3UL) /*!< POSIF HALPS: HEPS (Bit 3) */ +#define POSIF_HALPS_HEPS_Msk (0x38UL) /*!< POSIF HALPS: HEPS (Bitfield-Mask: 0x07) */ + +/* ---------------------------------- POSIF_MCM --------------------------------- */ +#define POSIF_MCM_MCMP_Pos (0UL) /*!< POSIF MCM: MCMP (Bit 0) */ +#define POSIF_MCM_MCMP_Msk (0xffffUL) /*!< POSIF MCM: MCMP (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- POSIF_MCSM --------------------------------- */ +#define POSIF_MCSM_MCMPS_Pos (0UL) /*!< POSIF MCSM: MCMPS (Bit 0) */ +#define POSIF_MCSM_MCMPS_Msk (0xffffUL) /*!< POSIF MCSM: MCMPS (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- POSIF_MCMS --------------------------------- */ +#define POSIF_MCMS_MNPS_Pos (0UL) /*!< POSIF MCMS: MNPS (Bit 0) */ +#define POSIF_MCMS_MNPS_Msk (0x1UL) /*!< POSIF MCMS: MNPS (Bitfield-Mask: 0x01) */ +#define POSIF_MCMS_STHR_Pos (1UL) /*!< POSIF MCMS: STHR (Bit 1) */ +#define POSIF_MCMS_STHR_Msk (0x2UL) /*!< POSIF MCMS: STHR (Bitfield-Mask: 0x01) */ +#define POSIF_MCMS_STMR_Pos (2UL) /*!< POSIF MCMS: STMR (Bit 2) */ +#define POSIF_MCMS_STMR_Msk (0x4UL) /*!< POSIF MCMS: STMR (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_MCMC --------------------------------- */ +#define POSIF_MCMC_MNPC_Pos (0UL) /*!< POSIF MCMC: MNPC (Bit 0) */ +#define POSIF_MCMC_MNPC_Msk (0x1UL) /*!< POSIF MCMC: MNPC (Bitfield-Mask: 0x01) */ +#define POSIF_MCMC_MPC_Pos (1UL) /*!< POSIF MCMC: MPC (Bit 1) */ +#define POSIF_MCMC_MPC_Msk (0x2UL) /*!< POSIF MCMC: MPC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_MCMF --------------------------------- */ +#define POSIF_MCMF_MSS_Pos (0UL) /*!< POSIF MCMF: MSS (Bit 0) */ +#define POSIF_MCMF_MSS_Msk (0x1UL) /*!< POSIF MCMF: MSS (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- POSIF_QDC --------------------------------- */ +#define POSIF_QDC_PALS_Pos (0UL) /*!< POSIF QDC: PALS (Bit 0) */ +#define POSIF_QDC_PALS_Msk (0x1UL) /*!< POSIF QDC: PALS (Bitfield-Mask: 0x01) */ +#define POSIF_QDC_PBLS_Pos (1UL) /*!< POSIF QDC: PBLS (Bit 1) */ +#define POSIF_QDC_PBLS_Msk (0x2UL) /*!< POSIF QDC: PBLS (Bitfield-Mask: 0x01) */ +#define POSIF_QDC_PHS_Pos (2UL) /*!< POSIF QDC: PHS (Bit 2) */ +#define POSIF_QDC_PHS_Msk (0x4UL) /*!< POSIF QDC: PHS (Bitfield-Mask: 0x01) */ +#define POSIF_QDC_ICM_Pos (4UL) /*!< POSIF QDC: ICM (Bit 4) */ +#define POSIF_QDC_ICM_Msk (0x30UL) /*!< POSIF QDC: ICM (Bitfield-Mask: 0x03) */ +#define POSIF_QDC_DVAL_Pos (8UL) /*!< POSIF QDC: DVAL (Bit 8) */ +#define POSIF_QDC_DVAL_Msk (0x100UL) /*!< POSIF QDC: DVAL (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_PFLG --------------------------------- */ +#define POSIF_PFLG_CHES_Pos (0UL) /*!< POSIF PFLG: CHES (Bit 0) */ +#define POSIF_PFLG_CHES_Msk (0x1UL) /*!< POSIF PFLG: CHES (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_WHES_Pos (1UL) /*!< POSIF PFLG: WHES (Bit 1) */ +#define POSIF_PFLG_WHES_Msk (0x2UL) /*!< POSIF PFLG: WHES (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_HIES_Pos (2UL) /*!< POSIF PFLG: HIES (Bit 2) */ +#define POSIF_PFLG_HIES_Msk (0x4UL) /*!< POSIF PFLG: HIES (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_MSTS_Pos (4UL) /*!< POSIF PFLG: MSTS (Bit 4) */ +#define POSIF_PFLG_MSTS_Msk (0x10UL) /*!< POSIF PFLG: MSTS (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_INDXS_Pos (8UL) /*!< POSIF PFLG: INDXS (Bit 8) */ +#define POSIF_PFLG_INDXS_Msk (0x100UL) /*!< POSIF PFLG: INDXS (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_ERRS_Pos (9UL) /*!< POSIF PFLG: ERRS (Bit 9) */ +#define POSIF_PFLG_ERRS_Msk (0x200UL) /*!< POSIF PFLG: ERRS (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_CNTS_Pos (10UL) /*!< POSIF PFLG: CNTS (Bit 10) */ +#define POSIF_PFLG_CNTS_Msk (0x400UL) /*!< POSIF PFLG: CNTS (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_DIRS_Pos (11UL) /*!< POSIF PFLG: DIRS (Bit 11) */ +#define POSIF_PFLG_DIRS_Msk (0x800UL) /*!< POSIF PFLG: DIRS (Bitfield-Mask: 0x01) */ +#define POSIF_PFLG_PCLKS_Pos (12UL) /*!< POSIF PFLG: PCLKS (Bit 12) */ +#define POSIF_PFLG_PCLKS_Msk (0x1000UL) /*!< POSIF PFLG: PCLKS (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_PFLGE -------------------------------- */ +#define POSIF_PFLGE_ECHE_Pos (0UL) /*!< POSIF PFLGE: ECHE (Bit 0) */ +#define POSIF_PFLGE_ECHE_Msk (0x1UL) /*!< POSIF PFLGE: ECHE (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EWHE_Pos (1UL) /*!< POSIF PFLGE: EWHE (Bit 1) */ +#define POSIF_PFLGE_EWHE_Msk (0x2UL) /*!< POSIF PFLGE: EWHE (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EHIE_Pos (2UL) /*!< POSIF PFLGE: EHIE (Bit 2) */ +#define POSIF_PFLGE_EHIE_Msk (0x4UL) /*!< POSIF PFLGE: EHIE (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EMST_Pos (4UL) /*!< POSIF PFLGE: EMST (Bit 4) */ +#define POSIF_PFLGE_EMST_Msk (0x10UL) /*!< POSIF PFLGE: EMST (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EINDX_Pos (8UL) /*!< POSIF PFLGE: EINDX (Bit 8) */ +#define POSIF_PFLGE_EINDX_Msk (0x100UL) /*!< POSIF PFLGE: EINDX (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EERR_Pos (9UL) /*!< POSIF PFLGE: EERR (Bit 9) */ +#define POSIF_PFLGE_EERR_Msk (0x200UL) /*!< POSIF PFLGE: EERR (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_ECNT_Pos (10UL) /*!< POSIF PFLGE: ECNT (Bit 10) */ +#define POSIF_PFLGE_ECNT_Msk (0x400UL) /*!< POSIF PFLGE: ECNT (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EDIR_Pos (11UL) /*!< POSIF PFLGE: EDIR (Bit 11) */ +#define POSIF_PFLGE_EDIR_Msk (0x800UL) /*!< POSIF PFLGE: EDIR (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_EPCLK_Pos (12UL) /*!< POSIF PFLGE: EPCLK (Bit 12) */ +#define POSIF_PFLGE_EPCLK_Msk (0x1000UL) /*!< POSIF PFLGE: EPCLK (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_CHESEL_Pos (16UL) /*!< POSIF PFLGE: CHESEL (Bit 16) */ +#define POSIF_PFLGE_CHESEL_Msk (0x10000UL) /*!< POSIF PFLGE: CHESEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_WHESEL_Pos (17UL) /*!< POSIF PFLGE: WHESEL (Bit 17) */ +#define POSIF_PFLGE_WHESEL_Msk (0x20000UL) /*!< POSIF PFLGE: WHESEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_HIESEL_Pos (18UL) /*!< POSIF PFLGE: HIESEL (Bit 18) */ +#define POSIF_PFLGE_HIESEL_Msk (0x40000UL) /*!< POSIF PFLGE: HIESEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_MSTSEL_Pos (20UL) /*!< POSIF PFLGE: MSTSEL (Bit 20) */ +#define POSIF_PFLGE_MSTSEL_Msk (0x100000UL) /*!< POSIF PFLGE: MSTSEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_INDSEL_Pos (24UL) /*!< POSIF PFLGE: INDSEL (Bit 24) */ +#define POSIF_PFLGE_INDSEL_Msk (0x1000000UL) /*!< POSIF PFLGE: INDSEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_ERRSEL_Pos (25UL) /*!< POSIF PFLGE: ERRSEL (Bit 25) */ +#define POSIF_PFLGE_ERRSEL_Msk (0x2000000UL) /*!< POSIF PFLGE: ERRSEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_CNTSEL_Pos (26UL) /*!< POSIF PFLGE: CNTSEL (Bit 26) */ +#define POSIF_PFLGE_CNTSEL_Msk (0x4000000UL) /*!< POSIF PFLGE: CNTSEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_DIRSEL_Pos (27UL) /*!< POSIF PFLGE: DIRSEL (Bit 27) */ +#define POSIF_PFLGE_DIRSEL_Msk (0x8000000UL) /*!< POSIF PFLGE: DIRSEL (Bitfield-Mask: 0x01) */ +#define POSIF_PFLGE_PCLSEL_Pos (28UL) /*!< POSIF PFLGE: PCLSEL (Bit 28) */ +#define POSIF_PFLGE_PCLSEL_Msk (0x10000000UL) /*!< POSIF PFLGE: PCLSEL (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_SPFLG -------------------------------- */ +#define POSIF_SPFLG_SCHE_Pos (0UL) /*!< POSIF SPFLG: SCHE (Bit 0) */ +#define POSIF_SPFLG_SCHE_Msk (0x1UL) /*!< POSIF SPFLG: SCHE (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SWHE_Pos (1UL) /*!< POSIF SPFLG: SWHE (Bit 1) */ +#define POSIF_SPFLG_SWHE_Msk (0x2UL) /*!< POSIF SPFLG: SWHE (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SHIE_Pos (2UL) /*!< POSIF SPFLG: SHIE (Bit 2) */ +#define POSIF_SPFLG_SHIE_Msk (0x4UL) /*!< POSIF SPFLG: SHIE (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SMST_Pos (4UL) /*!< POSIF SPFLG: SMST (Bit 4) */ +#define POSIF_SPFLG_SMST_Msk (0x10UL) /*!< POSIF SPFLG: SMST (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SINDX_Pos (8UL) /*!< POSIF SPFLG: SINDX (Bit 8) */ +#define POSIF_SPFLG_SINDX_Msk (0x100UL) /*!< POSIF SPFLG: SINDX (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SERR_Pos (9UL) /*!< POSIF SPFLG: SERR (Bit 9) */ +#define POSIF_SPFLG_SERR_Msk (0x200UL) /*!< POSIF SPFLG: SERR (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SCNT_Pos (10UL) /*!< POSIF SPFLG: SCNT (Bit 10) */ +#define POSIF_SPFLG_SCNT_Msk (0x400UL) /*!< POSIF SPFLG: SCNT (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SDIR_Pos (11UL) /*!< POSIF SPFLG: SDIR (Bit 11) */ +#define POSIF_SPFLG_SDIR_Msk (0x800UL) /*!< POSIF SPFLG: SDIR (Bitfield-Mask: 0x01) */ +#define POSIF_SPFLG_SPCLK_Pos (12UL) /*!< POSIF SPFLG: SPCLK (Bit 12) */ +#define POSIF_SPFLG_SPCLK_Msk (0x1000UL) /*!< POSIF SPFLG: SPCLK (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_RPFLG -------------------------------- */ +#define POSIF_RPFLG_RCHE_Pos (0UL) /*!< POSIF RPFLG: RCHE (Bit 0) */ +#define POSIF_RPFLG_RCHE_Msk (0x1UL) /*!< POSIF RPFLG: RCHE (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RWHE_Pos (1UL) /*!< POSIF RPFLG: RWHE (Bit 1) */ +#define POSIF_RPFLG_RWHE_Msk (0x2UL) /*!< POSIF RPFLG: RWHE (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RHIE_Pos (2UL) /*!< POSIF RPFLG: RHIE (Bit 2) */ +#define POSIF_RPFLG_RHIE_Msk (0x4UL) /*!< POSIF RPFLG: RHIE (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RMST_Pos (4UL) /*!< POSIF RPFLG: RMST (Bit 4) */ +#define POSIF_RPFLG_RMST_Msk (0x10UL) /*!< POSIF RPFLG: RMST (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RINDX_Pos (8UL) /*!< POSIF RPFLG: RINDX (Bit 8) */ +#define POSIF_RPFLG_RINDX_Msk (0x100UL) /*!< POSIF RPFLG: RINDX (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RERR_Pos (9UL) /*!< POSIF RPFLG: RERR (Bit 9) */ +#define POSIF_RPFLG_RERR_Msk (0x200UL) /*!< POSIF RPFLG: RERR (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RCNT_Pos (10UL) /*!< POSIF RPFLG: RCNT (Bit 10) */ +#define POSIF_RPFLG_RCNT_Msk (0x400UL) /*!< POSIF RPFLG: RCNT (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RDIR_Pos (11UL) /*!< POSIF RPFLG: RDIR (Bit 11) */ +#define POSIF_RPFLG_RDIR_Msk (0x800UL) /*!< POSIF RPFLG: RDIR (Bitfield-Mask: 0x01) */ +#define POSIF_RPFLG_RPCLK_Pos (12UL) /*!< POSIF RPFLG: RPCLK (Bit 12) */ +#define POSIF_RPFLG_RPCLK_Msk (0x1000UL) /*!< POSIF RPFLG: RPCLK (Bitfield-Mask: 0x01) */ + +/* --------------------------------- POSIF_PDBG --------------------------------- */ +#define POSIF_PDBG_QCSV_Pos (0UL) /*!< POSIF PDBG: QCSV (Bit 0) */ +#define POSIF_PDBG_QCSV_Msk (0x3UL) /*!< POSIF PDBG: QCSV (Bitfield-Mask: 0x03) */ +#define POSIF_PDBG_QPSV_Pos (2UL) /*!< POSIF PDBG: QPSV (Bit 2) */ +#define POSIF_PDBG_QPSV_Msk (0xcUL) /*!< POSIF PDBG: QPSV (Bitfield-Mask: 0x03) */ +#define POSIF_PDBG_IVAL_Pos (4UL) /*!< POSIF PDBG: IVAL (Bit 4) */ +#define POSIF_PDBG_IVAL_Msk (0x10UL) /*!< POSIF PDBG: IVAL (Bitfield-Mask: 0x01) */ +#define POSIF_PDBG_HSP_Pos (5UL) /*!< POSIF PDBG: HSP (Bit 5) */ +#define POSIF_PDBG_HSP_Msk (0xe0UL) /*!< POSIF PDBG: HSP (Bitfield-Mask: 0x07) */ +#define POSIF_PDBG_LPP0_Pos (8UL) /*!< POSIF PDBG: LPP0 (Bit 8) */ +#define POSIF_PDBG_LPP0_Msk (0x3f00UL) /*!< POSIF PDBG: LPP0 (Bitfield-Mask: 0x3f) */ +#define POSIF_PDBG_LPP1_Pos (16UL) /*!< POSIF PDBG: LPP1 (Bit 16) */ +#define POSIF_PDBG_LPP1_Msk (0x3f0000UL) /*!< POSIF PDBG: LPP1 (Bitfield-Mask: 0x3f) */ +#define POSIF_PDBG_LPP2_Pos (22UL) /*!< POSIF PDBG: LPP2 (Bit 22) */ +#define POSIF_PDBG_LPP2_Msk (0xfc00000UL) /*!< POSIF PDBG: LPP2 (Bitfield-Mask: 0x3f) */ + + +/* ================================================================================ */ +/* ================ Group 'VADC' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------------- VADC_CLC ---------------------------------- */ +#define VADC_CLC_DISR_Pos (0UL) /*!< VADC CLC: DISR (Bit 0) */ +#define VADC_CLC_DISR_Msk (0x1UL) /*!< VADC CLC: DISR (Bitfield-Mask: 0x01) */ +#define VADC_CLC_DISS_Pos (1UL) /*!< VADC CLC: DISS (Bit 1) */ +#define VADC_CLC_DISS_Msk (0x2UL) /*!< VADC CLC: DISS (Bitfield-Mask: 0x01) */ +#define VADC_CLC_EDIS_Pos (3UL) /*!< VADC CLC: EDIS (Bit 3) */ +#define VADC_CLC_EDIS_Msk (0x8UL) /*!< VADC CLC: EDIS (Bitfield-Mask: 0x01) */ + +/* ----------------------------------- VADC_ID ---------------------------------- */ +#define VADC_ID_MOD_REV_Pos (0UL) /*!< VADC ID: MOD_REV (Bit 0) */ +#define VADC_ID_MOD_REV_Msk (0xffUL) /*!< VADC ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define VADC_ID_MOD_TYPE_Pos (8UL) /*!< VADC ID: MOD_TYPE (Bit 8) */ +#define VADC_ID_MOD_TYPE_Msk (0xff00UL) /*!< VADC ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define VADC_ID_MOD_NUMBER_Pos (16UL) /*!< VADC ID: MOD_NUMBER (Bit 16) */ +#define VADC_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< VADC ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* ---------------------------------- VADC_OCS ---------------------------------- */ +#define VADC_OCS_TGS_Pos (0UL) /*!< VADC OCS: TGS (Bit 0) */ +#define VADC_OCS_TGS_Msk (0x3UL) /*!< VADC OCS: TGS (Bitfield-Mask: 0x03) */ +#define VADC_OCS_TGB_Pos (2UL) /*!< VADC OCS: TGB (Bit 2) */ +#define VADC_OCS_TGB_Msk (0x4UL) /*!< VADC OCS: TGB (Bitfield-Mask: 0x01) */ +#define VADC_OCS_TG_P_Pos (3UL) /*!< VADC OCS: TG_P (Bit 3) */ +#define VADC_OCS_TG_P_Msk (0x8UL) /*!< VADC OCS: TG_P (Bitfield-Mask: 0x01) */ +#define VADC_OCS_SUS_Pos (24UL) /*!< VADC OCS: SUS (Bit 24) */ +#define VADC_OCS_SUS_Msk (0xf000000UL) /*!< VADC OCS: SUS (Bitfield-Mask: 0x0f) */ +#define VADC_OCS_SUS_P_Pos (28UL) /*!< VADC OCS: SUS_P (Bit 28) */ +#define VADC_OCS_SUS_P_Msk (0x10000000UL) /*!< VADC OCS: SUS_P (Bitfield-Mask: 0x01) */ +#define VADC_OCS_SUSSTA_Pos (29UL) /*!< VADC OCS: SUSSTA (Bit 29) */ +#define VADC_OCS_SUSSTA_Msk (0x20000000UL) /*!< VADC OCS: SUSSTA (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_GLOBCFG -------------------------------- */ +#define VADC_GLOBCFG_DIVA_Pos (0UL) /*!< VADC GLOBCFG: DIVA (Bit 0) */ +#define VADC_GLOBCFG_DIVA_Msk (0x1fUL) /*!< VADC GLOBCFG: DIVA (Bitfield-Mask: 0x1f) */ +#define VADC_GLOBCFG_DCMSB_Pos (7UL) /*!< VADC GLOBCFG: DCMSB (Bit 7) */ +#define VADC_GLOBCFG_DCMSB_Msk (0x80UL) /*!< VADC GLOBCFG: DCMSB (Bitfield-Mask: 0x01) */ +#define VADC_GLOBCFG_DIVD_Pos (8UL) /*!< VADC GLOBCFG: DIVD (Bit 8) */ +#define VADC_GLOBCFG_DIVD_Msk (0x300UL) /*!< VADC GLOBCFG: DIVD (Bitfield-Mask: 0x03) */ +#define VADC_GLOBCFG_DIVWC_Pos (15UL) /*!< VADC GLOBCFG: DIVWC (Bit 15) */ +#define VADC_GLOBCFG_DIVWC_Msk (0x8000UL) /*!< VADC GLOBCFG: DIVWC (Bitfield-Mask: 0x01) */ +#define VADC_GLOBCFG_DPCAL0_Pos (16UL) /*!< VADC GLOBCFG: DPCAL0 (Bit 16) */ +#define VADC_GLOBCFG_DPCAL0_Msk (0x10000UL) /*!< VADC GLOBCFG: DPCAL0 (Bitfield-Mask: 0x01) */ +#define VADC_GLOBCFG_DPCAL1_Pos (17UL) /*!< VADC GLOBCFG: DPCAL1 (Bit 17) */ +#define VADC_GLOBCFG_DPCAL1_Msk (0x20000UL) /*!< VADC GLOBCFG: DPCAL1 (Bitfield-Mask: 0x01) */ +#define VADC_GLOBCFG_SUCAL_Pos (31UL) /*!< VADC GLOBCFG: SUCAL (Bit 31) */ +#define VADC_GLOBCFG_SUCAL_Msk (0x80000000UL) /*!< VADC GLOBCFG: SUCAL (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_ACCPROT0 ------------------------------- */ +#define VADC_ACCPROT0_APC0_Pos (0UL) /*!< VADC ACCPROT0: APC0 (Bit 0) */ +#define VADC_ACCPROT0_APC0_Msk (0x1UL) /*!< VADC ACCPROT0: APC0 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT0_APC1_Pos (1UL) /*!< VADC ACCPROT0: APC1 (Bit 1) */ +#define VADC_ACCPROT0_APC1_Msk (0x2UL) /*!< VADC ACCPROT0: APC1 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT0_APEM_Pos (15UL) /*!< VADC ACCPROT0: APEM (Bit 15) */ +#define VADC_ACCPROT0_APEM_Msk (0x8000UL) /*!< VADC ACCPROT0: APEM (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT0_API0_Pos (16UL) /*!< VADC ACCPROT0: API0 (Bit 16) */ +#define VADC_ACCPROT0_API0_Msk (0x10000UL) /*!< VADC ACCPROT0: API0 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT0_API1_Pos (17UL) /*!< VADC ACCPROT0: API1 (Bit 17) */ +#define VADC_ACCPROT0_API1_Msk (0x20000UL) /*!< VADC ACCPROT0: API1 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT0_APGC_Pos (31UL) /*!< VADC ACCPROT0: APGC (Bit 31) */ +#define VADC_ACCPROT0_APGC_Msk (0x80000000UL) /*!< VADC ACCPROT0: APGC (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_ACCPROT1 ------------------------------- */ +#define VADC_ACCPROT1_APS0_Pos (0UL) /*!< VADC ACCPROT1: APS0 (Bit 0) */ +#define VADC_ACCPROT1_APS0_Msk (0x1UL) /*!< VADC ACCPROT1: APS0 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT1_APS1_Pos (1UL) /*!< VADC ACCPROT1: APS1 (Bit 1) */ +#define VADC_ACCPROT1_APS1_Msk (0x2UL) /*!< VADC ACCPROT1: APS1 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT1_APTF_Pos (15UL) /*!< VADC ACCPROT1: APTF (Bit 15) */ +#define VADC_ACCPROT1_APTF_Msk (0x8000UL) /*!< VADC ACCPROT1: APTF (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT1_APR0_Pos (16UL) /*!< VADC ACCPROT1: APR0 (Bit 16) */ +#define VADC_ACCPROT1_APR0_Msk (0x10000UL) /*!< VADC ACCPROT1: APR0 (Bitfield-Mask: 0x01) */ +#define VADC_ACCPROT1_APR1_Pos (17UL) /*!< VADC ACCPROT1: APR1 (Bit 17) */ +#define VADC_ACCPROT1_APR1_Msk (0x20000UL) /*!< VADC ACCPROT1: APR1 (Bitfield-Mask: 0x01) */ + +/* ------------------------------- VADC_GLOBICLASS ------------------------------ */ +#define VADC_GLOBICLASS_STCS_Pos (0UL) /*!< VADC GLOBICLASS: STCS (Bit 0) */ +#define VADC_GLOBICLASS_STCS_Msk (0x1fUL) /*!< VADC GLOBICLASS: STCS (Bitfield-Mask: 0x1f) */ +#define VADC_GLOBICLASS_CMS_Pos (8UL) /*!< VADC GLOBICLASS: CMS (Bit 8) */ +#define VADC_GLOBICLASS_CMS_Msk (0x700UL) /*!< VADC GLOBICLASS: CMS (Bitfield-Mask: 0x07) */ +#define VADC_GLOBICLASS_STCE_Pos (16UL) /*!< VADC GLOBICLASS: STCE (Bit 16) */ +#define VADC_GLOBICLASS_STCE_Msk (0x1f0000UL) /*!< VADC GLOBICLASS: STCE (Bitfield-Mask: 0x1f) */ +#define VADC_GLOBICLASS_CME_Pos (24UL) /*!< VADC GLOBICLASS: CME (Bit 24) */ +#define VADC_GLOBICLASS_CME_Msk (0x7000000UL) /*!< VADC GLOBICLASS: CME (Bitfield-Mask: 0x07) */ + +/* ------------------------------- VADC_GLOBBOUND ------------------------------- */ +#define VADC_GLOBBOUND_BOUNDARY0_Pos (0UL) /*!< VADC GLOBBOUND: BOUNDARY0 (Bit 0) */ +#define VADC_GLOBBOUND_BOUNDARY0_Msk (0xfffUL) /*!< VADC GLOBBOUND: BOUNDARY0 (Bitfield-Mask: 0xfff) */ +#define VADC_GLOBBOUND_BOUNDARY1_Pos (16UL) /*!< VADC GLOBBOUND: BOUNDARY1 (Bit 16) */ +#define VADC_GLOBBOUND_BOUNDARY1_Msk (0xfff0000UL) /*!< VADC GLOBBOUND: BOUNDARY1 (Bitfield-Mask: 0xfff) */ + +/* ------------------------------- VADC_GLOBEFLAG ------------------------------- */ +#define VADC_GLOBEFLAG_SEVGLB_Pos (0UL) /*!< VADC GLOBEFLAG: SEVGLB (Bit 0) */ +#define VADC_GLOBEFLAG_SEVGLB_Msk (0x1UL) /*!< VADC GLOBEFLAG: SEVGLB (Bitfield-Mask: 0x01) */ +#define VADC_GLOBEFLAG_REVGLB_Pos (8UL) /*!< VADC GLOBEFLAG: REVGLB (Bit 8) */ +#define VADC_GLOBEFLAG_REVGLB_Msk (0x100UL) /*!< VADC GLOBEFLAG: REVGLB (Bitfield-Mask: 0x01) */ +#define VADC_GLOBEFLAG_SEVGLBCLR_Pos (16UL) /*!< VADC GLOBEFLAG: SEVGLBCLR (Bit 16) */ +#define VADC_GLOBEFLAG_SEVGLBCLR_Msk (0x10000UL) /*!< VADC GLOBEFLAG: SEVGLBCLR (Bitfield-Mask: 0x01) */ +#define VADC_GLOBEFLAG_REVGLBCLR_Pos (24UL) /*!< VADC GLOBEFLAG: REVGLBCLR (Bit 24) */ +#define VADC_GLOBEFLAG_REVGLBCLR_Msk (0x1000000UL) /*!< VADC GLOBEFLAG: REVGLBCLR (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_GLOBEVNP ------------------------------- */ +#define VADC_GLOBEVNP_SEV0NP_Pos (0UL) /*!< VADC GLOBEVNP: SEV0NP (Bit 0) */ +#define VADC_GLOBEVNP_SEV0NP_Msk (0xfUL) /*!< VADC GLOBEVNP: SEV0NP (Bitfield-Mask: 0x0f) */ +#define VADC_GLOBEVNP_REV0NP_Pos (16UL) /*!< VADC GLOBEVNP: REV0NP (Bit 16) */ +#define VADC_GLOBEVNP_REV0NP_Msk (0xf0000UL) /*!< VADC GLOBEVNP: REV0NP (Bitfield-Mask: 0x0f) */ + +/* --------------------------------- VADC_BRSSEL -------------------------------- */ +#define VADC_BRSSEL_CHSELG0_Pos (0UL) /*!< VADC BRSSEL: CHSELG0 (Bit 0) */ +#define VADC_BRSSEL_CHSELG0_Msk (0x1UL) /*!< VADC BRSSEL: CHSELG0 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG1_Pos (1UL) /*!< VADC BRSSEL: CHSELG1 (Bit 1) */ +#define VADC_BRSSEL_CHSELG1_Msk (0x2UL) /*!< VADC BRSSEL: CHSELG1 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG2_Pos (2UL) /*!< VADC BRSSEL: CHSELG2 (Bit 2) */ +#define VADC_BRSSEL_CHSELG2_Msk (0x4UL) /*!< VADC BRSSEL: CHSELG2 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG3_Pos (3UL) /*!< VADC BRSSEL: CHSELG3 (Bit 3) */ +#define VADC_BRSSEL_CHSELG3_Msk (0x8UL) /*!< VADC BRSSEL: CHSELG3 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG4_Pos (4UL) /*!< VADC BRSSEL: CHSELG4 (Bit 4) */ +#define VADC_BRSSEL_CHSELG4_Msk (0x10UL) /*!< VADC BRSSEL: CHSELG4 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG5_Pos (5UL) /*!< VADC BRSSEL: CHSELG5 (Bit 5) */ +#define VADC_BRSSEL_CHSELG5_Msk (0x20UL) /*!< VADC BRSSEL: CHSELG5 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG6_Pos (6UL) /*!< VADC BRSSEL: CHSELG6 (Bit 6) */ +#define VADC_BRSSEL_CHSELG6_Msk (0x40UL) /*!< VADC BRSSEL: CHSELG6 (Bitfield-Mask: 0x01) */ +#define VADC_BRSSEL_CHSELG7_Pos (7UL) /*!< VADC BRSSEL: CHSELG7 (Bit 7) */ +#define VADC_BRSSEL_CHSELG7_Msk (0x80UL) /*!< VADC BRSSEL: CHSELG7 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_BRSPND -------------------------------- */ +#define VADC_BRSPND_CHPNDG0_Pos (0UL) /*!< VADC BRSPND: CHPNDG0 (Bit 0) */ +#define VADC_BRSPND_CHPNDG0_Msk (0x1UL) /*!< VADC BRSPND: CHPNDG0 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG1_Pos (1UL) /*!< VADC BRSPND: CHPNDG1 (Bit 1) */ +#define VADC_BRSPND_CHPNDG1_Msk (0x2UL) /*!< VADC BRSPND: CHPNDG1 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG2_Pos (2UL) /*!< VADC BRSPND: CHPNDG2 (Bit 2) */ +#define VADC_BRSPND_CHPNDG2_Msk (0x4UL) /*!< VADC BRSPND: CHPNDG2 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG3_Pos (3UL) /*!< VADC BRSPND: CHPNDG3 (Bit 3) */ +#define VADC_BRSPND_CHPNDG3_Msk (0x8UL) /*!< VADC BRSPND: CHPNDG3 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG4_Pos (4UL) /*!< VADC BRSPND: CHPNDG4 (Bit 4) */ +#define VADC_BRSPND_CHPNDG4_Msk (0x10UL) /*!< VADC BRSPND: CHPNDG4 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG5_Pos (5UL) /*!< VADC BRSPND: CHPNDG5 (Bit 5) */ +#define VADC_BRSPND_CHPNDG5_Msk (0x20UL) /*!< VADC BRSPND: CHPNDG5 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG6_Pos (6UL) /*!< VADC BRSPND: CHPNDG6 (Bit 6) */ +#define VADC_BRSPND_CHPNDG6_Msk (0x40UL) /*!< VADC BRSPND: CHPNDG6 (Bitfield-Mask: 0x01) */ +#define VADC_BRSPND_CHPNDG7_Pos (7UL) /*!< VADC BRSPND: CHPNDG7 (Bit 7) */ +#define VADC_BRSPND_CHPNDG7_Msk (0x80UL) /*!< VADC BRSPND: CHPNDG7 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_BRSCTRL -------------------------------- */ +#define VADC_BRSCTRL_SRCRESREG_Pos (0UL) /*!< VADC BRSCTRL: SRCRESREG (Bit 0) */ +#define VADC_BRSCTRL_SRCRESREG_Msk (0xfUL) /*!< VADC BRSCTRL: SRCRESREG (Bitfield-Mask: 0x0f) */ +#define VADC_BRSCTRL_XTSEL_Pos (8UL) /*!< VADC BRSCTRL: XTSEL (Bit 8) */ +#define VADC_BRSCTRL_XTSEL_Msk (0xf00UL) /*!< VADC BRSCTRL: XTSEL (Bitfield-Mask: 0x0f) */ +#define VADC_BRSCTRL_XTLVL_Pos (12UL) /*!< VADC BRSCTRL: XTLVL (Bit 12) */ +#define VADC_BRSCTRL_XTLVL_Msk (0x1000UL) /*!< VADC BRSCTRL: XTLVL (Bitfield-Mask: 0x01) */ +#define VADC_BRSCTRL_XTMODE_Pos (13UL) /*!< VADC BRSCTRL: XTMODE (Bit 13) */ +#define VADC_BRSCTRL_XTMODE_Msk (0x6000UL) /*!< VADC BRSCTRL: XTMODE (Bitfield-Mask: 0x03) */ +#define VADC_BRSCTRL_XTWC_Pos (15UL) /*!< VADC BRSCTRL: XTWC (Bit 15) */ +#define VADC_BRSCTRL_XTWC_Msk (0x8000UL) /*!< VADC BRSCTRL: XTWC (Bitfield-Mask: 0x01) */ +#define VADC_BRSCTRL_GTSEL_Pos (16UL) /*!< VADC BRSCTRL: GTSEL (Bit 16) */ +#define VADC_BRSCTRL_GTSEL_Msk (0xf0000UL) /*!< VADC BRSCTRL: GTSEL (Bitfield-Mask: 0x0f) */ +#define VADC_BRSCTRL_GTLVL_Pos (20UL) /*!< VADC BRSCTRL: GTLVL (Bit 20) */ +#define VADC_BRSCTRL_GTLVL_Msk (0x100000UL) /*!< VADC BRSCTRL: GTLVL (Bitfield-Mask: 0x01) */ +#define VADC_BRSCTRL_GTWC_Pos (23UL) /*!< VADC BRSCTRL: GTWC (Bit 23) */ +#define VADC_BRSCTRL_GTWC_Msk (0x800000UL) /*!< VADC BRSCTRL: GTWC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_BRSMR --------------------------------- */ +#define VADC_BRSMR_ENGT_Pos (0UL) /*!< VADC BRSMR: ENGT (Bit 0) */ +#define VADC_BRSMR_ENGT_Msk (0x3UL) /*!< VADC BRSMR: ENGT (Bitfield-Mask: 0x03) */ +#define VADC_BRSMR_ENTR_Pos (2UL) /*!< VADC BRSMR: ENTR (Bit 2) */ +#define VADC_BRSMR_ENTR_Msk (0x4UL) /*!< VADC BRSMR: ENTR (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_ENSI_Pos (3UL) /*!< VADC BRSMR: ENSI (Bit 3) */ +#define VADC_BRSMR_ENSI_Msk (0x8UL) /*!< VADC BRSMR: ENSI (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_SCAN_Pos (4UL) /*!< VADC BRSMR: SCAN (Bit 4) */ +#define VADC_BRSMR_SCAN_Msk (0x10UL) /*!< VADC BRSMR: SCAN (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_LDM_Pos (5UL) /*!< VADC BRSMR: LDM (Bit 5) */ +#define VADC_BRSMR_LDM_Msk (0x20UL) /*!< VADC BRSMR: LDM (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_REQGT_Pos (7UL) /*!< VADC BRSMR: REQGT (Bit 7) */ +#define VADC_BRSMR_REQGT_Msk (0x80UL) /*!< VADC BRSMR: REQGT (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_CLRPND_Pos (8UL) /*!< VADC BRSMR: CLRPND (Bit 8) */ +#define VADC_BRSMR_CLRPND_Msk (0x100UL) /*!< VADC BRSMR: CLRPND (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_LDEV_Pos (9UL) /*!< VADC BRSMR: LDEV (Bit 9) */ +#define VADC_BRSMR_LDEV_Msk (0x200UL) /*!< VADC BRSMR: LDEV (Bitfield-Mask: 0x01) */ +#define VADC_BRSMR_RPTDIS_Pos (16UL) /*!< VADC BRSMR: RPTDIS (Bit 16) */ +#define VADC_BRSMR_RPTDIS_Msk (0x10000UL) /*!< VADC BRSMR: RPTDIS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_GLOBRCR -------------------------------- */ +#define VADC_GLOBRCR_DRCTR_Pos (16UL) /*!< VADC GLOBRCR: DRCTR (Bit 16) */ +#define VADC_GLOBRCR_DRCTR_Msk (0xf0000UL) /*!< VADC GLOBRCR: DRCTR (Bitfield-Mask: 0x0f) */ +#define VADC_GLOBRCR_WFR_Pos (24UL) /*!< VADC GLOBRCR: WFR (Bit 24) */ +#define VADC_GLOBRCR_WFR_Msk (0x1000000UL) /*!< VADC GLOBRCR: WFR (Bitfield-Mask: 0x01) */ +#define VADC_GLOBRCR_SRGEN_Pos (31UL) /*!< VADC GLOBRCR: SRGEN (Bit 31) */ +#define VADC_GLOBRCR_SRGEN_Msk (0x80000000UL) /*!< VADC GLOBRCR: SRGEN (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_GLOBRES -------------------------------- */ +#define VADC_GLOBRES_RESULT_Pos (0UL) /*!< VADC GLOBRES: RESULT (Bit 0) */ +#define VADC_GLOBRES_RESULT_Msk (0xffffUL) /*!< VADC GLOBRES: RESULT (Bitfield-Mask: 0xffff) */ +#define VADC_GLOBRES_GNR_Pos (16UL) /*!< VADC GLOBRES: GNR (Bit 16) */ +#define VADC_GLOBRES_GNR_Msk (0xf0000UL) /*!< VADC GLOBRES: GNR (Bitfield-Mask: 0x0f) */ +#define VADC_GLOBRES_CHNR_Pos (20UL) /*!< VADC GLOBRES: CHNR (Bit 20) */ +#define VADC_GLOBRES_CHNR_Msk (0x1f00000UL) /*!< VADC GLOBRES: CHNR (Bitfield-Mask: 0x1f) */ +#define VADC_GLOBRES_EMUX_Pos (25UL) /*!< VADC GLOBRES: EMUX (Bit 25) */ +#define VADC_GLOBRES_EMUX_Msk (0xe000000UL) /*!< VADC GLOBRES: EMUX (Bitfield-Mask: 0x07) */ +#define VADC_GLOBRES_CRS_Pos (28UL) /*!< VADC GLOBRES: CRS (Bit 28) */ +#define VADC_GLOBRES_CRS_Msk (0x30000000UL) /*!< VADC GLOBRES: CRS (Bitfield-Mask: 0x03) */ +#define VADC_GLOBRES_FCR_Pos (30UL) /*!< VADC GLOBRES: FCR (Bit 30) */ +#define VADC_GLOBRES_FCR_Msk (0x40000000UL) /*!< VADC GLOBRES: FCR (Bitfield-Mask: 0x01) */ +#define VADC_GLOBRES_VF_Pos (31UL) /*!< VADC GLOBRES: VF (Bit 31) */ +#define VADC_GLOBRES_VF_Msk (0x80000000UL) /*!< VADC GLOBRES: VF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_GLOBRESD ------------------------------- */ +#define VADC_GLOBRESD_RESULT_Pos (0UL) /*!< VADC GLOBRESD: RESULT (Bit 0) */ +#define VADC_GLOBRESD_RESULT_Msk (0xffffUL) /*!< VADC GLOBRESD: RESULT (Bitfield-Mask: 0xffff) */ +#define VADC_GLOBRESD_GNR_Pos (16UL) /*!< VADC GLOBRESD: GNR (Bit 16) */ +#define VADC_GLOBRESD_GNR_Msk (0xf0000UL) /*!< VADC GLOBRESD: GNR (Bitfield-Mask: 0x0f) */ +#define VADC_GLOBRESD_CHNR_Pos (20UL) /*!< VADC GLOBRESD: CHNR (Bit 20) */ +#define VADC_GLOBRESD_CHNR_Msk (0x1f00000UL) /*!< VADC GLOBRESD: CHNR (Bitfield-Mask: 0x1f) */ +#define VADC_GLOBRESD_EMUX_Pos (25UL) /*!< VADC GLOBRESD: EMUX (Bit 25) */ +#define VADC_GLOBRESD_EMUX_Msk (0xe000000UL) /*!< VADC GLOBRESD: EMUX (Bitfield-Mask: 0x07) */ +#define VADC_GLOBRESD_CRS_Pos (28UL) /*!< VADC GLOBRESD: CRS (Bit 28) */ +#define VADC_GLOBRESD_CRS_Msk (0x30000000UL) /*!< VADC GLOBRESD: CRS (Bitfield-Mask: 0x03) */ +#define VADC_GLOBRESD_FCR_Pos (30UL) /*!< VADC GLOBRESD: FCR (Bit 30) */ +#define VADC_GLOBRESD_FCR_Msk (0x40000000UL) /*!< VADC GLOBRESD: FCR (Bitfield-Mask: 0x01) */ +#define VADC_GLOBRESD_VF_Pos (31UL) /*!< VADC GLOBRESD: VF (Bit 31) */ +#define VADC_GLOBRESD_VF_Msk (0x80000000UL) /*!< VADC GLOBRESD: VF (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_EMUXSEL -------------------------------- */ +#define VADC_EMUXSEL_EMUXGRP0_Pos (0UL) /*!< VADC EMUXSEL: EMUXGRP0 (Bit 0) */ +#define VADC_EMUXSEL_EMUXGRP0_Msk (0xfUL) /*!< VADC EMUXSEL: EMUXGRP0 (Bitfield-Mask: 0x0f) */ +#define VADC_EMUXSEL_EMUXGRP1_Pos (4UL) /*!< VADC EMUXSEL: EMUXGRP1 (Bit 4) */ +#define VADC_EMUXSEL_EMUXGRP1_Msk (0xf0UL) /*!< VADC EMUXSEL: EMUXGRP1 (Bitfield-Mask: 0x0f) */ + + +/* ================================================================================ */ +/* ================ Group 'VADC_G' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- VADC_G_ARBCFG ------------------------------- */ +#define VADC_G_ARBCFG_ANONC_Pos (0UL) /*!< VADC_G ARBCFG: ANONC (Bit 0) */ +#define VADC_G_ARBCFG_ANONC_Msk (0x3UL) /*!< VADC_G ARBCFG: ANONC (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBCFG_ARBRND_Pos (4UL) /*!< VADC_G ARBCFG: ARBRND (Bit 4) */ +#define VADC_G_ARBCFG_ARBRND_Msk (0x30UL) /*!< VADC_G ARBCFG: ARBRND (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBCFG_ARBM_Pos (7UL) /*!< VADC_G ARBCFG: ARBM (Bit 7) */ +#define VADC_G_ARBCFG_ARBM_Msk (0x80UL) /*!< VADC_G ARBCFG: ARBM (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBCFG_ANONS_Pos (16UL) /*!< VADC_G ARBCFG: ANONS (Bit 16) */ +#define VADC_G_ARBCFG_ANONS_Msk (0x30000UL) /*!< VADC_G ARBCFG: ANONS (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBCFG_CSRC_Pos (18UL) /*!< VADC_G ARBCFG: CSRC (Bit 18) */ +#define VADC_G_ARBCFG_CSRC_Msk (0xc0000UL) /*!< VADC_G ARBCFG: CSRC (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBCFG_CHNR_Pos (20UL) /*!< VADC_G ARBCFG: CHNR (Bit 20) */ +#define VADC_G_ARBCFG_CHNR_Msk (0x1f00000UL) /*!< VADC_G ARBCFG: CHNR (Bitfield-Mask: 0x1f) */ +#define VADC_G_ARBCFG_SYNRUN_Pos (25UL) /*!< VADC_G ARBCFG: SYNRUN (Bit 25) */ +#define VADC_G_ARBCFG_SYNRUN_Msk (0x2000000UL) /*!< VADC_G ARBCFG: SYNRUN (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBCFG_CAL_Pos (28UL) /*!< VADC_G ARBCFG: CAL (Bit 28) */ +#define VADC_G_ARBCFG_CAL_Msk (0x10000000UL) /*!< VADC_G ARBCFG: CAL (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBCFG_CALS_Pos (29UL) /*!< VADC_G ARBCFG: CALS (Bit 29) */ +#define VADC_G_ARBCFG_CALS_Msk (0x20000000UL) /*!< VADC_G ARBCFG: CALS (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBCFG_BUSY_Pos (30UL) /*!< VADC_G ARBCFG: BUSY (Bit 30) */ +#define VADC_G_ARBCFG_BUSY_Msk (0x40000000UL) /*!< VADC_G ARBCFG: BUSY (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBCFG_SAMPLE_Pos (31UL) /*!< VADC_G ARBCFG: SAMPLE (Bit 31) */ +#define VADC_G_ARBCFG_SAMPLE_Msk (0x80000000UL) /*!< VADC_G ARBCFG: SAMPLE (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_ARBPR -------------------------------- */ +#define VADC_G_ARBPR_PRIO0_Pos (0UL) /*!< VADC_G ARBPR: PRIO0 (Bit 0) */ +#define VADC_G_ARBPR_PRIO0_Msk (0x3UL) /*!< VADC_G ARBPR: PRIO0 (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBPR_CSM0_Pos (3UL) /*!< VADC_G ARBPR: CSM0 (Bit 3) */ +#define VADC_G_ARBPR_CSM0_Msk (0x8UL) /*!< VADC_G ARBPR: CSM0 (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBPR_PRIO1_Pos (4UL) /*!< VADC_G ARBPR: PRIO1 (Bit 4) */ +#define VADC_G_ARBPR_PRIO1_Msk (0x30UL) /*!< VADC_G ARBPR: PRIO1 (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBPR_CSM1_Pos (7UL) /*!< VADC_G ARBPR: CSM1 (Bit 7) */ +#define VADC_G_ARBPR_CSM1_Msk (0x80UL) /*!< VADC_G ARBPR: CSM1 (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBPR_PRIO2_Pos (8UL) /*!< VADC_G ARBPR: PRIO2 (Bit 8) */ +#define VADC_G_ARBPR_PRIO2_Msk (0x300UL) /*!< VADC_G ARBPR: PRIO2 (Bitfield-Mask: 0x03) */ +#define VADC_G_ARBPR_CSM2_Pos (11UL) /*!< VADC_G ARBPR: CSM2 (Bit 11) */ +#define VADC_G_ARBPR_CSM2_Msk (0x800UL) /*!< VADC_G ARBPR: CSM2 (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBPR_ASEN0_Pos (24UL) /*!< VADC_G ARBPR: ASEN0 (Bit 24) */ +#define VADC_G_ARBPR_ASEN0_Msk (0x1000000UL) /*!< VADC_G ARBPR: ASEN0 (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBPR_ASEN1_Pos (25UL) /*!< VADC_G ARBPR: ASEN1 (Bit 25) */ +#define VADC_G_ARBPR_ASEN1_Msk (0x2000000UL) /*!< VADC_G ARBPR: ASEN1 (Bitfield-Mask: 0x01) */ +#define VADC_G_ARBPR_ASEN2_Pos (26UL) /*!< VADC_G ARBPR: ASEN2 (Bit 26) */ +#define VADC_G_ARBPR_ASEN2_Msk (0x4000000UL) /*!< VADC_G ARBPR: ASEN2 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_CHASS -------------------------------- */ +#define VADC_G_CHASS_ASSCH0_Pos (0UL) /*!< VADC_G CHASS: ASSCH0 (Bit 0) */ +#define VADC_G_CHASS_ASSCH0_Msk (0x1UL) /*!< VADC_G CHASS: ASSCH0 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH1_Pos (1UL) /*!< VADC_G CHASS: ASSCH1 (Bit 1) */ +#define VADC_G_CHASS_ASSCH1_Msk (0x2UL) /*!< VADC_G CHASS: ASSCH1 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH2_Pos (2UL) /*!< VADC_G CHASS: ASSCH2 (Bit 2) */ +#define VADC_G_CHASS_ASSCH2_Msk (0x4UL) /*!< VADC_G CHASS: ASSCH2 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH3_Pos (3UL) /*!< VADC_G CHASS: ASSCH3 (Bit 3) */ +#define VADC_G_CHASS_ASSCH3_Msk (0x8UL) /*!< VADC_G CHASS: ASSCH3 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH4_Pos (4UL) /*!< VADC_G CHASS: ASSCH4 (Bit 4) */ +#define VADC_G_CHASS_ASSCH4_Msk (0x10UL) /*!< VADC_G CHASS: ASSCH4 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH5_Pos (5UL) /*!< VADC_G CHASS: ASSCH5 (Bit 5) */ +#define VADC_G_CHASS_ASSCH5_Msk (0x20UL) /*!< VADC_G CHASS: ASSCH5 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH6_Pos (6UL) /*!< VADC_G CHASS: ASSCH6 (Bit 6) */ +#define VADC_G_CHASS_ASSCH6_Msk (0x40UL) /*!< VADC_G CHASS: ASSCH6 (Bitfield-Mask: 0x01) */ +#define VADC_G_CHASS_ASSCH7_Pos (7UL) /*!< VADC_G CHASS: ASSCH7 (Bit 7) */ +#define VADC_G_CHASS_ASSCH7_Msk (0x80UL) /*!< VADC_G CHASS: ASSCH7 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_RRASS -------------------------------- */ +#define VADC_G_RRASS_ASSRR0_Pos (0UL) /*!< VADC_G RRASS: ASSRR0 (Bit 0) */ +#define VADC_G_RRASS_ASSRR0_Msk (0x1UL) /*!< VADC_G RRASS: ASSRR0 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR1_Pos (1UL) /*!< VADC_G RRASS: ASSRR1 (Bit 1) */ +#define VADC_G_RRASS_ASSRR1_Msk (0x2UL) /*!< VADC_G RRASS: ASSRR1 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR2_Pos (2UL) /*!< VADC_G RRASS: ASSRR2 (Bit 2) */ +#define VADC_G_RRASS_ASSRR2_Msk (0x4UL) /*!< VADC_G RRASS: ASSRR2 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR3_Pos (3UL) /*!< VADC_G RRASS: ASSRR3 (Bit 3) */ +#define VADC_G_RRASS_ASSRR3_Msk (0x8UL) /*!< VADC_G RRASS: ASSRR3 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR4_Pos (4UL) /*!< VADC_G RRASS: ASSRR4 (Bit 4) */ +#define VADC_G_RRASS_ASSRR4_Msk (0x10UL) /*!< VADC_G RRASS: ASSRR4 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR5_Pos (5UL) /*!< VADC_G RRASS: ASSRR5 (Bit 5) */ +#define VADC_G_RRASS_ASSRR5_Msk (0x20UL) /*!< VADC_G RRASS: ASSRR5 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR6_Pos (6UL) /*!< VADC_G RRASS: ASSRR6 (Bit 6) */ +#define VADC_G_RRASS_ASSRR6_Msk (0x40UL) /*!< VADC_G RRASS: ASSRR6 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR7_Pos (7UL) /*!< VADC_G RRASS: ASSRR7 (Bit 7) */ +#define VADC_G_RRASS_ASSRR7_Msk (0x80UL) /*!< VADC_G RRASS: ASSRR7 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR8_Pos (8UL) /*!< VADC_G RRASS: ASSRR8 (Bit 8) */ +#define VADC_G_RRASS_ASSRR8_Msk (0x100UL) /*!< VADC_G RRASS: ASSRR8 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR9_Pos (9UL) /*!< VADC_G RRASS: ASSRR9 (Bit 9) */ +#define VADC_G_RRASS_ASSRR9_Msk (0x200UL) /*!< VADC_G RRASS: ASSRR9 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR10_Pos (10UL) /*!< VADC_G RRASS: ASSRR10 (Bit 10) */ +#define VADC_G_RRASS_ASSRR10_Msk (0x400UL) /*!< VADC_G RRASS: ASSRR10 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR11_Pos (11UL) /*!< VADC_G RRASS: ASSRR11 (Bit 11) */ +#define VADC_G_RRASS_ASSRR11_Msk (0x800UL) /*!< VADC_G RRASS: ASSRR11 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR12_Pos (12UL) /*!< VADC_G RRASS: ASSRR12 (Bit 12) */ +#define VADC_G_RRASS_ASSRR12_Msk (0x1000UL) /*!< VADC_G RRASS: ASSRR12 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR13_Pos (13UL) /*!< VADC_G RRASS: ASSRR13 (Bit 13) */ +#define VADC_G_RRASS_ASSRR13_Msk (0x2000UL) /*!< VADC_G RRASS: ASSRR13 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR14_Pos (14UL) /*!< VADC_G RRASS: ASSRR14 (Bit 14) */ +#define VADC_G_RRASS_ASSRR14_Msk (0x4000UL) /*!< VADC_G RRASS: ASSRR14 (Bitfield-Mask: 0x01) */ +#define VADC_G_RRASS_ASSRR15_Pos (15UL) /*!< VADC_G RRASS: ASSRR15 (Bit 15) */ +#define VADC_G_RRASS_ASSRR15_Msk (0x8000UL) /*!< VADC_G RRASS: ASSRR15 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_ICLASS ------------------------------- */ +#define VADC_G_ICLASS_STCS_Pos (0UL) /*!< VADC_G ICLASS: STCS (Bit 0) */ +#define VADC_G_ICLASS_STCS_Msk (0x1fUL) /*!< VADC_G ICLASS: STCS (Bitfield-Mask: 0x1f) */ +#define VADC_G_ICLASS_CMS_Pos (8UL) /*!< VADC_G ICLASS: CMS (Bit 8) */ +#define VADC_G_ICLASS_CMS_Msk (0x700UL) /*!< VADC_G ICLASS: CMS (Bitfield-Mask: 0x07) */ +#define VADC_G_ICLASS_STCE_Pos (16UL) /*!< VADC_G ICLASS: STCE (Bit 16) */ +#define VADC_G_ICLASS_STCE_Msk (0x1f0000UL) /*!< VADC_G ICLASS: STCE (Bitfield-Mask: 0x1f) */ +#define VADC_G_ICLASS_CME_Pos (24UL) /*!< VADC_G ICLASS: CME (Bit 24) */ +#define VADC_G_ICLASS_CME_Msk (0x7000000UL) /*!< VADC_G ICLASS: CME (Bitfield-Mask: 0x07) */ + +/* -------------------------------- VADC_G_ALIAS -------------------------------- */ +#define VADC_G_ALIAS_ALIAS0_Pos (0UL) /*!< VADC_G ALIAS: ALIAS0 (Bit 0) */ +#define VADC_G_ALIAS_ALIAS0_Msk (0x1fUL) /*!< VADC_G ALIAS: ALIAS0 (Bitfield-Mask: 0x1f) */ +#define VADC_G_ALIAS_ALIAS1_Pos (8UL) /*!< VADC_G ALIAS: ALIAS1 (Bit 8) */ +#define VADC_G_ALIAS_ALIAS1_Msk (0x1f00UL) /*!< VADC_G ALIAS: ALIAS1 (Bitfield-Mask: 0x1f) */ + +/* -------------------------------- VADC_G_BOUND -------------------------------- */ +#define VADC_G_BOUND_BOUNDARY0_Pos (0UL) /*!< VADC_G BOUND: BOUNDARY0 (Bit 0) */ +#define VADC_G_BOUND_BOUNDARY0_Msk (0xfffUL) /*!< VADC_G BOUND: BOUNDARY0 (Bitfield-Mask: 0xfff) */ +#define VADC_G_BOUND_BOUNDARY1_Pos (16UL) /*!< VADC_G BOUND: BOUNDARY1 (Bit 16) */ +#define VADC_G_BOUND_BOUNDARY1_Msk (0xfff0000UL) /*!< VADC_G BOUND: BOUNDARY1 (Bitfield-Mask: 0xfff) */ + +/* -------------------------------- VADC_G_SYNCTR ------------------------------- */ +#define VADC_G_SYNCTR_STSEL_Pos (0UL) /*!< VADC_G SYNCTR: STSEL (Bit 0) */ +#define VADC_G_SYNCTR_STSEL_Msk (0x3UL) /*!< VADC_G SYNCTR: STSEL (Bitfield-Mask: 0x03) */ +#define VADC_G_SYNCTR_EVALR1_Pos (4UL) /*!< VADC_G SYNCTR: EVALR1 (Bit 4) */ +#define VADC_G_SYNCTR_EVALR1_Msk (0x10UL) /*!< VADC_G SYNCTR: EVALR1 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_BFL --------------------------------- */ +#define VADC_G_BFL_BFL0_Pos (0UL) /*!< VADC_G BFL: BFL0 (Bit 0) */ +#define VADC_G_BFL_BFL0_Msk (0x1UL) /*!< VADC_G BFL: BFL0 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFL1_Pos (1UL) /*!< VADC_G BFL: BFL1 (Bit 1) */ +#define VADC_G_BFL_BFL1_Msk (0x2UL) /*!< VADC_G BFL: BFL1 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFL2_Pos (2UL) /*!< VADC_G BFL: BFL2 (Bit 2) */ +#define VADC_G_BFL_BFL2_Msk (0x4UL) /*!< VADC_G BFL: BFL2 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFL3_Pos (3UL) /*!< VADC_G BFL: BFL3 (Bit 3) */ +#define VADC_G_BFL_BFL3_Msk (0x8UL) /*!< VADC_G BFL: BFL3 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFA0_Pos (8UL) /*!< VADC_G BFL: BFA0 (Bit 8) */ +#define VADC_G_BFL_BFA0_Msk (0x100UL) /*!< VADC_G BFL: BFA0 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFA1_Pos (9UL) /*!< VADC_G BFL: BFA1 (Bit 9) */ +#define VADC_G_BFL_BFA1_Msk (0x200UL) /*!< VADC_G BFL: BFA1 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFA2_Pos (10UL) /*!< VADC_G BFL: BFA2 (Bit 10) */ +#define VADC_G_BFL_BFA2_Msk (0x400UL) /*!< VADC_G BFL: BFA2 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFA3_Pos (11UL) /*!< VADC_G BFL: BFA3 (Bit 11) */ +#define VADC_G_BFL_BFA3_Msk (0x800UL) /*!< VADC_G BFL: BFA3 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFI0_Pos (16UL) /*!< VADC_G BFL: BFI0 (Bit 16) */ +#define VADC_G_BFL_BFI0_Msk (0x10000UL) /*!< VADC_G BFL: BFI0 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFI1_Pos (17UL) /*!< VADC_G BFL: BFI1 (Bit 17) */ +#define VADC_G_BFL_BFI1_Msk (0x20000UL) /*!< VADC_G BFL: BFI1 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFI2_Pos (18UL) /*!< VADC_G BFL: BFI2 (Bit 18) */ +#define VADC_G_BFL_BFI2_Msk (0x40000UL) /*!< VADC_G BFL: BFI2 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFL_BFI3_Pos (19UL) /*!< VADC_G BFL: BFI3 (Bit 19) */ +#define VADC_G_BFL_BFI3_Msk (0x80000UL) /*!< VADC_G BFL: BFI3 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_BFLS -------------------------------- */ +#define VADC_G_BFLS_BFC0_Pos (0UL) /*!< VADC_G BFLS: BFC0 (Bit 0) */ +#define VADC_G_BFLS_BFC0_Msk (0x1UL) /*!< VADC_G BFLS: BFC0 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFC1_Pos (1UL) /*!< VADC_G BFLS: BFC1 (Bit 1) */ +#define VADC_G_BFLS_BFC1_Msk (0x2UL) /*!< VADC_G BFLS: BFC1 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFC2_Pos (2UL) /*!< VADC_G BFLS: BFC2 (Bit 2) */ +#define VADC_G_BFLS_BFC2_Msk (0x4UL) /*!< VADC_G BFLS: BFC2 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFC3_Pos (3UL) /*!< VADC_G BFLS: BFC3 (Bit 3) */ +#define VADC_G_BFLS_BFC3_Msk (0x8UL) /*!< VADC_G BFLS: BFC3 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFS0_Pos (16UL) /*!< VADC_G BFLS: BFS0 (Bit 16) */ +#define VADC_G_BFLS_BFS0_Msk (0x10000UL) /*!< VADC_G BFLS: BFS0 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFS1_Pos (17UL) /*!< VADC_G BFLS: BFS1 (Bit 17) */ +#define VADC_G_BFLS_BFS1_Msk (0x20000UL) /*!< VADC_G BFLS: BFS1 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFS2_Pos (18UL) /*!< VADC_G BFLS: BFS2 (Bit 18) */ +#define VADC_G_BFLS_BFS2_Msk (0x40000UL) /*!< VADC_G BFLS: BFS2 (Bitfield-Mask: 0x01) */ +#define VADC_G_BFLS_BFS3_Pos (19UL) /*!< VADC_G BFLS: BFS3 (Bit 19) */ +#define VADC_G_BFLS_BFS3_Msk (0x80000UL) /*!< VADC_G BFLS: BFS3 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_BFLC -------------------------------- */ +#define VADC_G_BFLC_BFM0_Pos (0UL) /*!< VADC_G BFLC: BFM0 (Bit 0) */ +#define VADC_G_BFLC_BFM0_Msk (0xfUL) /*!< VADC_G BFLC: BFM0 (Bitfield-Mask: 0x0f) */ +#define VADC_G_BFLC_BFM1_Pos (4UL) /*!< VADC_G BFLC: BFM1 (Bit 4) */ +#define VADC_G_BFLC_BFM1_Msk (0xf0UL) /*!< VADC_G BFLC: BFM1 (Bitfield-Mask: 0x0f) */ +#define VADC_G_BFLC_BFM2_Pos (8UL) /*!< VADC_G BFLC: BFM2 (Bit 8) */ +#define VADC_G_BFLC_BFM2_Msk (0xf00UL) /*!< VADC_G BFLC: BFM2 (Bitfield-Mask: 0x0f) */ +#define VADC_G_BFLC_BFM3_Pos (12UL) /*!< VADC_G BFLC: BFM3 (Bit 12) */ +#define VADC_G_BFLC_BFM3_Msk (0xf000UL) /*!< VADC_G BFLC: BFM3 (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- VADC_G_BFLNP -------------------------------- */ +#define VADC_G_BFLNP_BFL0NP_Pos (0UL) /*!< VADC_G BFLNP: BFL0NP (Bit 0) */ +#define VADC_G_BFLNP_BFL0NP_Msk (0xfUL) /*!< VADC_G BFLNP: BFL0NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_BFLNP_BFL1NP_Pos (4UL) /*!< VADC_G BFLNP: BFL1NP (Bit 4) */ +#define VADC_G_BFLNP_BFL1NP_Msk (0xf0UL) /*!< VADC_G BFLNP: BFL1NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_BFLNP_BFL2NP_Pos (8UL) /*!< VADC_G BFLNP: BFL2NP (Bit 8) */ +#define VADC_G_BFLNP_BFL2NP_Msk (0xf00UL) /*!< VADC_G BFLNP: BFL2NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_BFLNP_BFL3NP_Pos (12UL) /*!< VADC_G BFLNP: BFL3NP (Bit 12) */ +#define VADC_G_BFLNP_BFL3NP_Msk (0xf000UL) /*!< VADC_G BFLNP: BFL3NP (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- VADC_G_QCTRL0 ------------------------------- */ +#define VADC_G_QCTRL0_SRCRESREG_Pos (0UL) /*!< VADC_G QCTRL0: SRCRESREG (Bit 0) */ +#define VADC_G_QCTRL0_SRCRESREG_Msk (0xfUL) /*!< VADC_G QCTRL0: SRCRESREG (Bitfield-Mask: 0x0f) */ +#define VADC_G_QCTRL0_XTSEL_Pos (8UL) /*!< VADC_G QCTRL0: XTSEL (Bit 8) */ +#define VADC_G_QCTRL0_XTSEL_Msk (0xf00UL) /*!< VADC_G QCTRL0: XTSEL (Bitfield-Mask: 0x0f) */ +#define VADC_G_QCTRL0_XTLVL_Pos (12UL) /*!< VADC_G QCTRL0: XTLVL (Bit 12) */ +#define VADC_G_QCTRL0_XTLVL_Msk (0x1000UL) /*!< VADC_G QCTRL0: XTLVL (Bitfield-Mask: 0x01) */ +#define VADC_G_QCTRL0_XTMODE_Pos (13UL) /*!< VADC_G QCTRL0: XTMODE (Bit 13) */ +#define VADC_G_QCTRL0_XTMODE_Msk (0x6000UL) /*!< VADC_G QCTRL0: XTMODE (Bitfield-Mask: 0x03) */ +#define VADC_G_QCTRL0_XTWC_Pos (15UL) /*!< VADC_G QCTRL0: XTWC (Bit 15) */ +#define VADC_G_QCTRL0_XTWC_Msk (0x8000UL) /*!< VADC_G QCTRL0: XTWC (Bitfield-Mask: 0x01) */ +#define VADC_G_QCTRL0_GTSEL_Pos (16UL) /*!< VADC_G QCTRL0: GTSEL (Bit 16) */ +#define VADC_G_QCTRL0_GTSEL_Msk (0xf0000UL) /*!< VADC_G QCTRL0: GTSEL (Bitfield-Mask: 0x0f) */ +#define VADC_G_QCTRL0_GTLVL_Pos (20UL) /*!< VADC_G QCTRL0: GTLVL (Bit 20) */ +#define VADC_G_QCTRL0_GTLVL_Msk (0x100000UL) /*!< VADC_G QCTRL0: GTLVL (Bitfield-Mask: 0x01) */ +#define VADC_G_QCTRL0_GTWC_Pos (23UL) /*!< VADC_G QCTRL0: GTWC (Bit 23) */ +#define VADC_G_QCTRL0_GTWC_Msk (0x800000UL) /*!< VADC_G QCTRL0: GTWC (Bitfield-Mask: 0x01) */ +#define VADC_G_QCTRL0_TMEN_Pos (28UL) /*!< VADC_G QCTRL0: TMEN (Bit 28) */ +#define VADC_G_QCTRL0_TMEN_Msk (0x10000000UL) /*!< VADC_G QCTRL0: TMEN (Bitfield-Mask: 0x01) */ +#define VADC_G_QCTRL0_TMWC_Pos (31UL) /*!< VADC_G QCTRL0: TMWC (Bit 31) */ +#define VADC_G_QCTRL0_TMWC_Msk (0x80000000UL) /*!< VADC_G QCTRL0: TMWC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_QMR0 -------------------------------- */ +#define VADC_G_QMR0_ENGT_Pos (0UL) /*!< VADC_G QMR0: ENGT (Bit 0) */ +#define VADC_G_QMR0_ENGT_Msk (0x3UL) /*!< VADC_G QMR0: ENGT (Bitfield-Mask: 0x03) */ +#define VADC_G_QMR0_ENTR_Pos (2UL) /*!< VADC_G QMR0: ENTR (Bit 2) */ +#define VADC_G_QMR0_ENTR_Msk (0x4UL) /*!< VADC_G QMR0: ENTR (Bitfield-Mask: 0x01) */ +#define VADC_G_QMR0_CLRV_Pos (8UL) /*!< VADC_G QMR0: CLRV (Bit 8) */ +#define VADC_G_QMR0_CLRV_Msk (0x100UL) /*!< VADC_G QMR0: CLRV (Bitfield-Mask: 0x01) */ +#define VADC_G_QMR0_TREV_Pos (9UL) /*!< VADC_G QMR0: TREV (Bit 9) */ +#define VADC_G_QMR0_TREV_Msk (0x200UL) /*!< VADC_G QMR0: TREV (Bitfield-Mask: 0x01) */ +#define VADC_G_QMR0_FLUSH_Pos (10UL) /*!< VADC_G QMR0: FLUSH (Bit 10) */ +#define VADC_G_QMR0_FLUSH_Msk (0x400UL) /*!< VADC_G QMR0: FLUSH (Bitfield-Mask: 0x01) */ +#define VADC_G_QMR0_CEV_Pos (11UL) /*!< VADC_G QMR0: CEV (Bit 11) */ +#define VADC_G_QMR0_CEV_Msk (0x800UL) /*!< VADC_G QMR0: CEV (Bitfield-Mask: 0x01) */ +#define VADC_G_QMR0_RPTDIS_Pos (16UL) /*!< VADC_G QMR0: RPTDIS (Bit 16) */ +#define VADC_G_QMR0_RPTDIS_Msk (0x10000UL) /*!< VADC_G QMR0: RPTDIS (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_QSR0 -------------------------------- */ +#define VADC_G_QSR0_FILL_Pos (0UL) /*!< VADC_G QSR0: FILL (Bit 0) */ +#define VADC_G_QSR0_FILL_Msk (0xfUL) /*!< VADC_G QSR0: FILL (Bitfield-Mask: 0x0f) */ +#define VADC_G_QSR0_EMPTY_Pos (5UL) /*!< VADC_G QSR0: EMPTY (Bit 5) */ +#define VADC_G_QSR0_EMPTY_Msk (0x20UL) /*!< VADC_G QSR0: EMPTY (Bitfield-Mask: 0x01) */ +#define VADC_G_QSR0_REQGT_Pos (7UL) /*!< VADC_G QSR0: REQGT (Bit 7) */ +#define VADC_G_QSR0_REQGT_Msk (0x80UL) /*!< VADC_G QSR0: REQGT (Bitfield-Mask: 0x01) */ +#define VADC_G_QSR0_EV_Pos (8UL) /*!< VADC_G QSR0: EV (Bit 8) */ +#define VADC_G_QSR0_EV_Msk (0x100UL) /*!< VADC_G QSR0: EV (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_Q0R0 -------------------------------- */ +#define VADC_G_Q0R0_REQCHNR_Pos (0UL) /*!< VADC_G Q0R0: REQCHNR (Bit 0) */ +#define VADC_G_Q0R0_REQCHNR_Msk (0x1fUL) /*!< VADC_G Q0R0: REQCHNR (Bitfield-Mask: 0x1f) */ +#define VADC_G_Q0R0_RF_Pos (5UL) /*!< VADC_G Q0R0: RF (Bit 5) */ +#define VADC_G_Q0R0_RF_Msk (0x20UL) /*!< VADC_G Q0R0: RF (Bitfield-Mask: 0x01) */ +#define VADC_G_Q0R0_ENSI_Pos (6UL) /*!< VADC_G Q0R0: ENSI (Bit 6) */ +#define VADC_G_Q0R0_ENSI_Msk (0x40UL) /*!< VADC_G Q0R0: ENSI (Bitfield-Mask: 0x01) */ +#define VADC_G_Q0R0_EXTR_Pos (7UL) /*!< VADC_G Q0R0: EXTR (Bit 7) */ +#define VADC_G_Q0R0_EXTR_Msk (0x80UL) /*!< VADC_G Q0R0: EXTR (Bitfield-Mask: 0x01) */ +#define VADC_G_Q0R0_V_Pos (8UL) /*!< VADC_G Q0R0: V (Bit 8) */ +#define VADC_G_Q0R0_V_Msk (0x100UL) /*!< VADC_G Q0R0: V (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_QINR0 -------------------------------- */ +#define VADC_G_QINR0_REQCHNR_Pos (0UL) /*!< VADC_G QINR0: REQCHNR (Bit 0) */ +#define VADC_G_QINR0_REQCHNR_Msk (0x1fUL) /*!< VADC_G QINR0: REQCHNR (Bitfield-Mask: 0x1f) */ +#define VADC_G_QINR0_RF_Pos (5UL) /*!< VADC_G QINR0: RF (Bit 5) */ +#define VADC_G_QINR0_RF_Msk (0x20UL) /*!< VADC_G QINR0: RF (Bitfield-Mask: 0x01) */ +#define VADC_G_QINR0_ENSI_Pos (6UL) /*!< VADC_G QINR0: ENSI (Bit 6) */ +#define VADC_G_QINR0_ENSI_Msk (0x40UL) /*!< VADC_G QINR0: ENSI (Bitfield-Mask: 0x01) */ +#define VADC_G_QINR0_EXTR_Pos (7UL) /*!< VADC_G QINR0: EXTR (Bit 7) */ +#define VADC_G_QINR0_EXTR_Msk (0x80UL) /*!< VADC_G QINR0: EXTR (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_QBUR0 -------------------------------- */ +#define VADC_G_QBUR0_REQCHNR_Pos (0UL) /*!< VADC_G QBUR0: REQCHNR (Bit 0) */ +#define VADC_G_QBUR0_REQCHNR_Msk (0x1fUL) /*!< VADC_G QBUR0: REQCHNR (Bitfield-Mask: 0x1f) */ +#define VADC_G_QBUR0_RF_Pos (5UL) /*!< VADC_G QBUR0: RF (Bit 5) */ +#define VADC_G_QBUR0_RF_Msk (0x20UL) /*!< VADC_G QBUR0: RF (Bitfield-Mask: 0x01) */ +#define VADC_G_QBUR0_ENSI_Pos (6UL) /*!< VADC_G QBUR0: ENSI (Bit 6) */ +#define VADC_G_QBUR0_ENSI_Msk (0x40UL) /*!< VADC_G QBUR0: ENSI (Bitfield-Mask: 0x01) */ +#define VADC_G_QBUR0_EXTR_Pos (7UL) /*!< VADC_G QBUR0: EXTR (Bit 7) */ +#define VADC_G_QBUR0_EXTR_Msk (0x80UL) /*!< VADC_G QBUR0: EXTR (Bitfield-Mask: 0x01) */ +#define VADC_G_QBUR0_V_Pos (8UL) /*!< VADC_G QBUR0: V (Bit 8) */ +#define VADC_G_QBUR0_V_Msk (0x100UL) /*!< VADC_G QBUR0: V (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_ASCTRL ------------------------------- */ +#define VADC_G_ASCTRL_SRCRESREG_Pos (0UL) /*!< VADC_G ASCTRL: SRCRESREG (Bit 0) */ +#define VADC_G_ASCTRL_SRCRESREG_Msk (0xfUL) /*!< VADC_G ASCTRL: SRCRESREG (Bitfield-Mask: 0x0f) */ +#define VADC_G_ASCTRL_XTSEL_Pos (8UL) /*!< VADC_G ASCTRL: XTSEL (Bit 8) */ +#define VADC_G_ASCTRL_XTSEL_Msk (0xf00UL) /*!< VADC_G ASCTRL: XTSEL (Bitfield-Mask: 0x0f) */ +#define VADC_G_ASCTRL_XTLVL_Pos (12UL) /*!< VADC_G ASCTRL: XTLVL (Bit 12) */ +#define VADC_G_ASCTRL_XTLVL_Msk (0x1000UL) /*!< VADC_G ASCTRL: XTLVL (Bitfield-Mask: 0x01) */ +#define VADC_G_ASCTRL_XTMODE_Pos (13UL) /*!< VADC_G ASCTRL: XTMODE (Bit 13) */ +#define VADC_G_ASCTRL_XTMODE_Msk (0x6000UL) /*!< VADC_G ASCTRL: XTMODE (Bitfield-Mask: 0x03) */ +#define VADC_G_ASCTRL_XTWC_Pos (15UL) /*!< VADC_G ASCTRL: XTWC (Bit 15) */ +#define VADC_G_ASCTRL_XTWC_Msk (0x8000UL) /*!< VADC_G ASCTRL: XTWC (Bitfield-Mask: 0x01) */ +#define VADC_G_ASCTRL_GTSEL_Pos (16UL) /*!< VADC_G ASCTRL: GTSEL (Bit 16) */ +#define VADC_G_ASCTRL_GTSEL_Msk (0xf0000UL) /*!< VADC_G ASCTRL: GTSEL (Bitfield-Mask: 0x0f) */ +#define VADC_G_ASCTRL_GTLVL_Pos (20UL) /*!< VADC_G ASCTRL: GTLVL (Bit 20) */ +#define VADC_G_ASCTRL_GTLVL_Msk (0x100000UL) /*!< VADC_G ASCTRL: GTLVL (Bitfield-Mask: 0x01) */ +#define VADC_G_ASCTRL_GTWC_Pos (23UL) /*!< VADC_G ASCTRL: GTWC (Bit 23) */ +#define VADC_G_ASCTRL_GTWC_Msk (0x800000UL) /*!< VADC_G ASCTRL: GTWC (Bitfield-Mask: 0x01) */ +#define VADC_G_ASCTRL_TMEN_Pos (28UL) /*!< VADC_G ASCTRL: TMEN (Bit 28) */ +#define VADC_G_ASCTRL_TMEN_Msk (0x10000000UL) /*!< VADC_G ASCTRL: TMEN (Bitfield-Mask: 0x01) */ +#define VADC_G_ASCTRL_TMWC_Pos (31UL) /*!< VADC_G ASCTRL: TMWC (Bit 31) */ +#define VADC_G_ASCTRL_TMWC_Msk (0x80000000UL) /*!< VADC_G ASCTRL: TMWC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_ASMR -------------------------------- */ +#define VADC_G_ASMR_ENGT_Pos (0UL) /*!< VADC_G ASMR: ENGT (Bit 0) */ +#define VADC_G_ASMR_ENGT_Msk (0x3UL) /*!< VADC_G ASMR: ENGT (Bitfield-Mask: 0x03) */ +#define VADC_G_ASMR_ENTR_Pos (2UL) /*!< VADC_G ASMR: ENTR (Bit 2) */ +#define VADC_G_ASMR_ENTR_Msk (0x4UL) /*!< VADC_G ASMR: ENTR (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_ENSI_Pos (3UL) /*!< VADC_G ASMR: ENSI (Bit 3) */ +#define VADC_G_ASMR_ENSI_Msk (0x8UL) /*!< VADC_G ASMR: ENSI (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_SCAN_Pos (4UL) /*!< VADC_G ASMR: SCAN (Bit 4) */ +#define VADC_G_ASMR_SCAN_Msk (0x10UL) /*!< VADC_G ASMR: SCAN (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_LDM_Pos (5UL) /*!< VADC_G ASMR: LDM (Bit 5) */ +#define VADC_G_ASMR_LDM_Msk (0x20UL) /*!< VADC_G ASMR: LDM (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_REQGT_Pos (7UL) /*!< VADC_G ASMR: REQGT (Bit 7) */ +#define VADC_G_ASMR_REQGT_Msk (0x80UL) /*!< VADC_G ASMR: REQGT (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_CLRPND_Pos (8UL) /*!< VADC_G ASMR: CLRPND (Bit 8) */ +#define VADC_G_ASMR_CLRPND_Msk (0x100UL) /*!< VADC_G ASMR: CLRPND (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_LDEV_Pos (9UL) /*!< VADC_G ASMR: LDEV (Bit 9) */ +#define VADC_G_ASMR_LDEV_Msk (0x200UL) /*!< VADC_G ASMR: LDEV (Bitfield-Mask: 0x01) */ +#define VADC_G_ASMR_RPTDIS_Pos (16UL) /*!< VADC_G ASMR: RPTDIS (Bit 16) */ +#define VADC_G_ASMR_RPTDIS_Msk (0x10000UL) /*!< VADC_G ASMR: RPTDIS (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_ASSEL -------------------------------- */ +#define VADC_G_ASSEL_CHSEL0_Pos (0UL) /*!< VADC_G ASSEL: CHSEL0 (Bit 0) */ +#define VADC_G_ASSEL_CHSEL0_Msk (0x1UL) /*!< VADC_G ASSEL: CHSEL0 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL1_Pos (1UL) /*!< VADC_G ASSEL: CHSEL1 (Bit 1) */ +#define VADC_G_ASSEL_CHSEL1_Msk (0x2UL) /*!< VADC_G ASSEL: CHSEL1 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL2_Pos (2UL) /*!< VADC_G ASSEL: CHSEL2 (Bit 2) */ +#define VADC_G_ASSEL_CHSEL2_Msk (0x4UL) /*!< VADC_G ASSEL: CHSEL2 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL3_Pos (3UL) /*!< VADC_G ASSEL: CHSEL3 (Bit 3) */ +#define VADC_G_ASSEL_CHSEL3_Msk (0x8UL) /*!< VADC_G ASSEL: CHSEL3 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL4_Pos (4UL) /*!< VADC_G ASSEL: CHSEL4 (Bit 4) */ +#define VADC_G_ASSEL_CHSEL4_Msk (0x10UL) /*!< VADC_G ASSEL: CHSEL4 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL5_Pos (5UL) /*!< VADC_G ASSEL: CHSEL5 (Bit 5) */ +#define VADC_G_ASSEL_CHSEL5_Msk (0x20UL) /*!< VADC_G ASSEL: CHSEL5 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL6_Pos (6UL) /*!< VADC_G ASSEL: CHSEL6 (Bit 6) */ +#define VADC_G_ASSEL_CHSEL6_Msk (0x40UL) /*!< VADC_G ASSEL: CHSEL6 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASSEL_CHSEL7_Pos (7UL) /*!< VADC_G ASSEL: CHSEL7 (Bit 7) */ +#define VADC_G_ASSEL_CHSEL7_Msk (0x80UL) /*!< VADC_G ASSEL: CHSEL7 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_ASPND -------------------------------- */ +#define VADC_G_ASPND_CHPND0_Pos (0UL) /*!< VADC_G ASPND: CHPND0 (Bit 0) */ +#define VADC_G_ASPND_CHPND0_Msk (0x1UL) /*!< VADC_G ASPND: CHPND0 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND1_Pos (1UL) /*!< VADC_G ASPND: CHPND1 (Bit 1) */ +#define VADC_G_ASPND_CHPND1_Msk (0x2UL) /*!< VADC_G ASPND: CHPND1 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND2_Pos (2UL) /*!< VADC_G ASPND: CHPND2 (Bit 2) */ +#define VADC_G_ASPND_CHPND2_Msk (0x4UL) /*!< VADC_G ASPND: CHPND2 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND3_Pos (3UL) /*!< VADC_G ASPND: CHPND3 (Bit 3) */ +#define VADC_G_ASPND_CHPND3_Msk (0x8UL) /*!< VADC_G ASPND: CHPND3 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND4_Pos (4UL) /*!< VADC_G ASPND: CHPND4 (Bit 4) */ +#define VADC_G_ASPND_CHPND4_Msk (0x10UL) /*!< VADC_G ASPND: CHPND4 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND5_Pos (5UL) /*!< VADC_G ASPND: CHPND5 (Bit 5) */ +#define VADC_G_ASPND_CHPND5_Msk (0x20UL) /*!< VADC_G ASPND: CHPND5 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND6_Pos (6UL) /*!< VADC_G ASPND: CHPND6 (Bit 6) */ +#define VADC_G_ASPND_CHPND6_Msk (0x40UL) /*!< VADC_G ASPND: CHPND6 (Bitfield-Mask: 0x01) */ +#define VADC_G_ASPND_CHPND7_Pos (7UL) /*!< VADC_G ASPND: CHPND7 (Bit 7) */ +#define VADC_G_ASPND_CHPND7_Msk (0x80UL) /*!< VADC_G ASPND: CHPND7 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_CEFLAG ------------------------------- */ +#define VADC_G_CEFLAG_CEV0_Pos (0UL) /*!< VADC_G CEFLAG: CEV0 (Bit 0) */ +#define VADC_G_CEFLAG_CEV0_Msk (0x1UL) /*!< VADC_G CEFLAG: CEV0 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV1_Pos (1UL) /*!< VADC_G CEFLAG: CEV1 (Bit 1) */ +#define VADC_G_CEFLAG_CEV1_Msk (0x2UL) /*!< VADC_G CEFLAG: CEV1 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV2_Pos (2UL) /*!< VADC_G CEFLAG: CEV2 (Bit 2) */ +#define VADC_G_CEFLAG_CEV2_Msk (0x4UL) /*!< VADC_G CEFLAG: CEV2 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV3_Pos (3UL) /*!< VADC_G CEFLAG: CEV3 (Bit 3) */ +#define VADC_G_CEFLAG_CEV3_Msk (0x8UL) /*!< VADC_G CEFLAG: CEV3 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV4_Pos (4UL) /*!< VADC_G CEFLAG: CEV4 (Bit 4) */ +#define VADC_G_CEFLAG_CEV4_Msk (0x10UL) /*!< VADC_G CEFLAG: CEV4 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV5_Pos (5UL) /*!< VADC_G CEFLAG: CEV5 (Bit 5) */ +#define VADC_G_CEFLAG_CEV5_Msk (0x20UL) /*!< VADC_G CEFLAG: CEV5 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV6_Pos (6UL) /*!< VADC_G CEFLAG: CEV6 (Bit 6) */ +#define VADC_G_CEFLAG_CEV6_Msk (0x40UL) /*!< VADC_G CEFLAG: CEV6 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFLAG_CEV7_Pos (7UL) /*!< VADC_G CEFLAG: CEV7 (Bit 7) */ +#define VADC_G_CEFLAG_CEV7_Msk (0x80UL) /*!< VADC_G CEFLAG: CEV7 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_REFLAG ------------------------------- */ +#define VADC_G_REFLAG_REV0_Pos (0UL) /*!< VADC_G REFLAG: REV0 (Bit 0) */ +#define VADC_G_REFLAG_REV0_Msk (0x1UL) /*!< VADC_G REFLAG: REV0 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV1_Pos (1UL) /*!< VADC_G REFLAG: REV1 (Bit 1) */ +#define VADC_G_REFLAG_REV1_Msk (0x2UL) /*!< VADC_G REFLAG: REV1 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV2_Pos (2UL) /*!< VADC_G REFLAG: REV2 (Bit 2) */ +#define VADC_G_REFLAG_REV2_Msk (0x4UL) /*!< VADC_G REFLAG: REV2 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV3_Pos (3UL) /*!< VADC_G REFLAG: REV3 (Bit 3) */ +#define VADC_G_REFLAG_REV3_Msk (0x8UL) /*!< VADC_G REFLAG: REV3 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV4_Pos (4UL) /*!< VADC_G REFLAG: REV4 (Bit 4) */ +#define VADC_G_REFLAG_REV4_Msk (0x10UL) /*!< VADC_G REFLAG: REV4 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV5_Pos (5UL) /*!< VADC_G REFLAG: REV5 (Bit 5) */ +#define VADC_G_REFLAG_REV5_Msk (0x20UL) /*!< VADC_G REFLAG: REV5 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV6_Pos (6UL) /*!< VADC_G REFLAG: REV6 (Bit 6) */ +#define VADC_G_REFLAG_REV6_Msk (0x40UL) /*!< VADC_G REFLAG: REV6 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV7_Pos (7UL) /*!< VADC_G REFLAG: REV7 (Bit 7) */ +#define VADC_G_REFLAG_REV7_Msk (0x80UL) /*!< VADC_G REFLAG: REV7 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV8_Pos (8UL) /*!< VADC_G REFLAG: REV8 (Bit 8) */ +#define VADC_G_REFLAG_REV8_Msk (0x100UL) /*!< VADC_G REFLAG: REV8 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV9_Pos (9UL) /*!< VADC_G REFLAG: REV9 (Bit 9) */ +#define VADC_G_REFLAG_REV9_Msk (0x200UL) /*!< VADC_G REFLAG: REV9 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV10_Pos (10UL) /*!< VADC_G REFLAG: REV10 (Bit 10) */ +#define VADC_G_REFLAG_REV10_Msk (0x400UL) /*!< VADC_G REFLAG: REV10 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV11_Pos (11UL) /*!< VADC_G REFLAG: REV11 (Bit 11) */ +#define VADC_G_REFLAG_REV11_Msk (0x800UL) /*!< VADC_G REFLAG: REV11 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV12_Pos (12UL) /*!< VADC_G REFLAG: REV12 (Bit 12) */ +#define VADC_G_REFLAG_REV12_Msk (0x1000UL) /*!< VADC_G REFLAG: REV12 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV13_Pos (13UL) /*!< VADC_G REFLAG: REV13 (Bit 13) */ +#define VADC_G_REFLAG_REV13_Msk (0x2000UL) /*!< VADC_G REFLAG: REV13 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV14_Pos (14UL) /*!< VADC_G REFLAG: REV14 (Bit 14) */ +#define VADC_G_REFLAG_REV14_Msk (0x4000UL) /*!< VADC_G REFLAG: REV14 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFLAG_REV15_Pos (15UL) /*!< VADC_G REFLAG: REV15 (Bit 15) */ +#define VADC_G_REFLAG_REV15_Msk (0x8000UL) /*!< VADC_G REFLAG: REV15 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_SEFLAG ------------------------------- */ +#define VADC_G_SEFLAG_SEV0_Pos (0UL) /*!< VADC_G SEFLAG: SEV0 (Bit 0) */ +#define VADC_G_SEFLAG_SEV0_Msk (0x1UL) /*!< VADC_G SEFLAG: SEV0 (Bitfield-Mask: 0x01) */ +#define VADC_G_SEFLAG_SEV1_Pos (1UL) /*!< VADC_G SEFLAG: SEV1 (Bit 1) */ +#define VADC_G_SEFLAG_SEV1_Msk (0x2UL) /*!< VADC_G SEFLAG: SEV1 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_CEFCLR ------------------------------- */ +#define VADC_G_CEFCLR_CEV0_Pos (0UL) /*!< VADC_G CEFCLR: CEV0 (Bit 0) */ +#define VADC_G_CEFCLR_CEV0_Msk (0x1UL) /*!< VADC_G CEFCLR: CEV0 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV1_Pos (1UL) /*!< VADC_G CEFCLR: CEV1 (Bit 1) */ +#define VADC_G_CEFCLR_CEV1_Msk (0x2UL) /*!< VADC_G CEFCLR: CEV1 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV2_Pos (2UL) /*!< VADC_G CEFCLR: CEV2 (Bit 2) */ +#define VADC_G_CEFCLR_CEV2_Msk (0x4UL) /*!< VADC_G CEFCLR: CEV2 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV3_Pos (3UL) /*!< VADC_G CEFCLR: CEV3 (Bit 3) */ +#define VADC_G_CEFCLR_CEV3_Msk (0x8UL) /*!< VADC_G CEFCLR: CEV3 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV4_Pos (4UL) /*!< VADC_G CEFCLR: CEV4 (Bit 4) */ +#define VADC_G_CEFCLR_CEV4_Msk (0x10UL) /*!< VADC_G CEFCLR: CEV4 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV5_Pos (5UL) /*!< VADC_G CEFCLR: CEV5 (Bit 5) */ +#define VADC_G_CEFCLR_CEV5_Msk (0x20UL) /*!< VADC_G CEFCLR: CEV5 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV6_Pos (6UL) /*!< VADC_G CEFCLR: CEV6 (Bit 6) */ +#define VADC_G_CEFCLR_CEV6_Msk (0x40UL) /*!< VADC_G CEFCLR: CEV6 (Bitfield-Mask: 0x01) */ +#define VADC_G_CEFCLR_CEV7_Pos (7UL) /*!< VADC_G CEFCLR: CEV7 (Bit 7) */ +#define VADC_G_CEFCLR_CEV7_Msk (0x80UL) /*!< VADC_G CEFCLR: CEV7 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_REFCLR ------------------------------- */ +#define VADC_G_REFCLR_REV0_Pos (0UL) /*!< VADC_G REFCLR: REV0 (Bit 0) */ +#define VADC_G_REFCLR_REV0_Msk (0x1UL) /*!< VADC_G REFCLR: REV0 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV1_Pos (1UL) /*!< VADC_G REFCLR: REV1 (Bit 1) */ +#define VADC_G_REFCLR_REV1_Msk (0x2UL) /*!< VADC_G REFCLR: REV1 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV2_Pos (2UL) /*!< VADC_G REFCLR: REV2 (Bit 2) */ +#define VADC_G_REFCLR_REV2_Msk (0x4UL) /*!< VADC_G REFCLR: REV2 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV3_Pos (3UL) /*!< VADC_G REFCLR: REV3 (Bit 3) */ +#define VADC_G_REFCLR_REV3_Msk (0x8UL) /*!< VADC_G REFCLR: REV3 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV4_Pos (4UL) /*!< VADC_G REFCLR: REV4 (Bit 4) */ +#define VADC_G_REFCLR_REV4_Msk (0x10UL) /*!< VADC_G REFCLR: REV4 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV5_Pos (5UL) /*!< VADC_G REFCLR: REV5 (Bit 5) */ +#define VADC_G_REFCLR_REV5_Msk (0x20UL) /*!< VADC_G REFCLR: REV5 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV6_Pos (6UL) /*!< VADC_G REFCLR: REV6 (Bit 6) */ +#define VADC_G_REFCLR_REV6_Msk (0x40UL) /*!< VADC_G REFCLR: REV6 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV7_Pos (7UL) /*!< VADC_G REFCLR: REV7 (Bit 7) */ +#define VADC_G_REFCLR_REV7_Msk (0x80UL) /*!< VADC_G REFCLR: REV7 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV8_Pos (8UL) /*!< VADC_G REFCLR: REV8 (Bit 8) */ +#define VADC_G_REFCLR_REV8_Msk (0x100UL) /*!< VADC_G REFCLR: REV8 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV9_Pos (9UL) /*!< VADC_G REFCLR: REV9 (Bit 9) */ +#define VADC_G_REFCLR_REV9_Msk (0x200UL) /*!< VADC_G REFCLR: REV9 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV10_Pos (10UL) /*!< VADC_G REFCLR: REV10 (Bit 10) */ +#define VADC_G_REFCLR_REV10_Msk (0x400UL) /*!< VADC_G REFCLR: REV10 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV11_Pos (11UL) /*!< VADC_G REFCLR: REV11 (Bit 11) */ +#define VADC_G_REFCLR_REV11_Msk (0x800UL) /*!< VADC_G REFCLR: REV11 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV12_Pos (12UL) /*!< VADC_G REFCLR: REV12 (Bit 12) */ +#define VADC_G_REFCLR_REV12_Msk (0x1000UL) /*!< VADC_G REFCLR: REV12 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV13_Pos (13UL) /*!< VADC_G REFCLR: REV13 (Bit 13) */ +#define VADC_G_REFCLR_REV13_Msk (0x2000UL) /*!< VADC_G REFCLR: REV13 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV14_Pos (14UL) /*!< VADC_G REFCLR: REV14 (Bit 14) */ +#define VADC_G_REFCLR_REV14_Msk (0x4000UL) /*!< VADC_G REFCLR: REV14 (Bitfield-Mask: 0x01) */ +#define VADC_G_REFCLR_REV15_Pos (15UL) /*!< VADC_G REFCLR: REV15 (Bit 15) */ +#define VADC_G_REFCLR_REV15_Msk (0x8000UL) /*!< VADC_G REFCLR: REV15 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_SEFCLR ------------------------------- */ +#define VADC_G_SEFCLR_SEV0_Pos (0UL) /*!< VADC_G SEFCLR: SEV0 (Bit 0) */ +#define VADC_G_SEFCLR_SEV0_Msk (0x1UL) /*!< VADC_G SEFCLR: SEV0 (Bitfield-Mask: 0x01) */ +#define VADC_G_SEFCLR_SEV1_Pos (1UL) /*!< VADC_G SEFCLR: SEV1 (Bit 1) */ +#define VADC_G_SEFCLR_SEV1_Msk (0x2UL) /*!< VADC_G SEFCLR: SEV1 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_CEVNP0 ------------------------------- */ +#define VADC_G_CEVNP0_CEV0NP_Pos (0UL) /*!< VADC_G CEVNP0: CEV0NP (Bit 0) */ +#define VADC_G_CEVNP0_CEV0NP_Msk (0xfUL) /*!< VADC_G CEVNP0: CEV0NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV1NP_Pos (4UL) /*!< VADC_G CEVNP0: CEV1NP (Bit 4) */ +#define VADC_G_CEVNP0_CEV1NP_Msk (0xf0UL) /*!< VADC_G CEVNP0: CEV1NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV2NP_Pos (8UL) /*!< VADC_G CEVNP0: CEV2NP (Bit 8) */ +#define VADC_G_CEVNP0_CEV2NP_Msk (0xf00UL) /*!< VADC_G CEVNP0: CEV2NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV3NP_Pos (12UL) /*!< VADC_G CEVNP0: CEV3NP (Bit 12) */ +#define VADC_G_CEVNP0_CEV3NP_Msk (0xf000UL) /*!< VADC_G CEVNP0: CEV3NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV4NP_Pos (16UL) /*!< VADC_G CEVNP0: CEV4NP (Bit 16) */ +#define VADC_G_CEVNP0_CEV4NP_Msk (0xf0000UL) /*!< VADC_G CEVNP0: CEV4NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV5NP_Pos (20UL) /*!< VADC_G CEVNP0: CEV5NP (Bit 20) */ +#define VADC_G_CEVNP0_CEV5NP_Msk (0xf00000UL) /*!< VADC_G CEVNP0: CEV5NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV6NP_Pos (24UL) /*!< VADC_G CEVNP0: CEV6NP (Bit 24) */ +#define VADC_G_CEVNP0_CEV6NP_Msk (0xf000000UL) /*!< VADC_G CEVNP0: CEV6NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_CEVNP0_CEV7NP_Pos (28UL) /*!< VADC_G CEVNP0: CEV7NP (Bit 28) */ +#define VADC_G_CEVNP0_CEV7NP_Msk (0xf0000000UL) /*!< VADC_G CEVNP0: CEV7NP (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- VADC_G_REVNP0 ------------------------------- */ +#define VADC_G_REVNP0_REV0NP_Pos (0UL) /*!< VADC_G REVNP0: REV0NP (Bit 0) */ +#define VADC_G_REVNP0_REV0NP_Msk (0xfUL) /*!< VADC_G REVNP0: REV0NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV1NP_Pos (4UL) /*!< VADC_G REVNP0: REV1NP (Bit 4) */ +#define VADC_G_REVNP0_REV1NP_Msk (0xf0UL) /*!< VADC_G REVNP0: REV1NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV2NP_Pos (8UL) /*!< VADC_G REVNP0: REV2NP (Bit 8) */ +#define VADC_G_REVNP0_REV2NP_Msk (0xf00UL) /*!< VADC_G REVNP0: REV2NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV3NP_Pos (12UL) /*!< VADC_G REVNP0: REV3NP (Bit 12) */ +#define VADC_G_REVNP0_REV3NP_Msk (0xf000UL) /*!< VADC_G REVNP0: REV3NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV4NP_Pos (16UL) /*!< VADC_G REVNP0: REV4NP (Bit 16) */ +#define VADC_G_REVNP0_REV4NP_Msk (0xf0000UL) /*!< VADC_G REVNP0: REV4NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV5NP_Pos (20UL) /*!< VADC_G REVNP0: REV5NP (Bit 20) */ +#define VADC_G_REVNP0_REV5NP_Msk (0xf00000UL) /*!< VADC_G REVNP0: REV5NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV6NP_Pos (24UL) /*!< VADC_G REVNP0: REV6NP (Bit 24) */ +#define VADC_G_REVNP0_REV6NP_Msk (0xf000000UL) /*!< VADC_G REVNP0: REV6NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP0_REV7NP_Pos (28UL) /*!< VADC_G REVNP0: REV7NP (Bit 28) */ +#define VADC_G_REVNP0_REV7NP_Msk (0xf0000000UL) /*!< VADC_G REVNP0: REV7NP (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- VADC_G_REVNP1 ------------------------------- */ +#define VADC_G_REVNP1_REV8NP_Pos (0UL) /*!< VADC_G REVNP1: REV8NP (Bit 0) */ +#define VADC_G_REVNP1_REV8NP_Msk (0xfUL) /*!< VADC_G REVNP1: REV8NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV9NP_Pos (4UL) /*!< VADC_G REVNP1: REV9NP (Bit 4) */ +#define VADC_G_REVNP1_REV9NP_Msk (0xf0UL) /*!< VADC_G REVNP1: REV9NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV10NP_Pos (8UL) /*!< VADC_G REVNP1: REV10NP (Bit 8) */ +#define VADC_G_REVNP1_REV10NP_Msk (0xf00UL) /*!< VADC_G REVNP1: REV10NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV11NP_Pos (12UL) /*!< VADC_G REVNP1: REV11NP (Bit 12) */ +#define VADC_G_REVNP1_REV11NP_Msk (0xf000UL) /*!< VADC_G REVNP1: REV11NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV12NP_Pos (16UL) /*!< VADC_G REVNP1: REV12NP (Bit 16) */ +#define VADC_G_REVNP1_REV12NP_Msk (0xf0000UL) /*!< VADC_G REVNP1: REV12NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV13NP_Pos (20UL) /*!< VADC_G REVNP1: REV13NP (Bit 20) */ +#define VADC_G_REVNP1_REV13NP_Msk (0xf00000UL) /*!< VADC_G REVNP1: REV13NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV14NP_Pos (24UL) /*!< VADC_G REVNP1: REV14NP (Bit 24) */ +#define VADC_G_REVNP1_REV14NP_Msk (0xf000000UL) /*!< VADC_G REVNP1: REV14NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_REVNP1_REV15NP_Pos (28UL) /*!< VADC_G REVNP1: REV15NP (Bit 28) */ +#define VADC_G_REVNP1_REV15NP_Msk (0xf0000000UL) /*!< VADC_G REVNP1: REV15NP (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- VADC_G_SEVNP -------------------------------- */ +#define VADC_G_SEVNP_SEV0NP_Pos (0UL) /*!< VADC_G SEVNP: SEV0NP (Bit 0) */ +#define VADC_G_SEVNP_SEV0NP_Msk (0xfUL) /*!< VADC_G SEVNP: SEV0NP (Bitfield-Mask: 0x0f) */ +#define VADC_G_SEVNP_SEV1NP_Pos (4UL) /*!< VADC_G SEVNP: SEV1NP (Bit 4) */ +#define VADC_G_SEVNP_SEV1NP_Msk (0xf0UL) /*!< VADC_G SEVNP: SEV1NP (Bitfield-Mask: 0x0f) */ + +/* -------------------------------- VADC_G_SRACT -------------------------------- */ +#define VADC_G_SRACT_AGSR0_Pos (0UL) /*!< VADC_G SRACT: AGSR0 (Bit 0) */ +#define VADC_G_SRACT_AGSR0_Msk (0x1UL) /*!< VADC_G SRACT: AGSR0 (Bitfield-Mask: 0x01) */ +#define VADC_G_SRACT_AGSR1_Pos (1UL) /*!< VADC_G SRACT: AGSR1 (Bit 1) */ +#define VADC_G_SRACT_AGSR1_Msk (0x2UL) /*!< VADC_G SRACT: AGSR1 (Bitfield-Mask: 0x01) */ +#define VADC_G_SRACT_ASSR0_Pos (8UL) /*!< VADC_G SRACT: ASSR0 (Bit 8) */ +#define VADC_G_SRACT_ASSR0_Msk (0x100UL) /*!< VADC_G SRACT: ASSR0 (Bitfield-Mask: 0x01) */ +#define VADC_G_SRACT_ASSR1_Pos (9UL) /*!< VADC_G SRACT: ASSR1 (Bit 9) */ +#define VADC_G_SRACT_ASSR1_Msk (0x200UL) /*!< VADC_G SRACT: ASSR1 (Bitfield-Mask: 0x01) */ +#define VADC_G_SRACT_ASSR2_Pos (10UL) /*!< VADC_G SRACT: ASSR2 (Bit 10) */ +#define VADC_G_SRACT_ASSR2_Msk (0x400UL) /*!< VADC_G SRACT: ASSR2 (Bitfield-Mask: 0x01) */ +#define VADC_G_SRACT_ASSR3_Pos (11UL) /*!< VADC_G SRACT: ASSR3 (Bit 11) */ +#define VADC_G_SRACT_ASSR3_Msk (0x800UL) /*!< VADC_G SRACT: ASSR3 (Bitfield-Mask: 0x01) */ + +/* ------------------------------- VADC_G_EMUXCTR ------------------------------- */ +#define VADC_G_EMUXCTR_EMUXSET_Pos (0UL) /*!< VADC_G EMUXCTR: EMUXSET (Bit 0) */ +#define VADC_G_EMUXCTR_EMUXSET_Msk (0x7UL) /*!< VADC_G EMUXCTR: EMUXSET (Bitfield-Mask: 0x07) */ +#define VADC_G_EMUXCTR_EMUXACT_Pos (8UL) /*!< VADC_G EMUXCTR: EMUXACT (Bit 8) */ +#define VADC_G_EMUXCTR_EMUXACT_Msk (0x700UL) /*!< VADC_G EMUXCTR: EMUXACT (Bitfield-Mask: 0x07) */ +#define VADC_G_EMUXCTR_EMUXCH_Pos (16UL) /*!< VADC_G EMUXCTR: EMUXCH (Bit 16) */ +#define VADC_G_EMUXCTR_EMUXCH_Msk (0x3ff0000UL) /*!< VADC_G EMUXCTR: EMUXCH (Bitfield-Mask: 0x3ff) */ +#define VADC_G_EMUXCTR_EMUXMODE_Pos (26UL) /*!< VADC_G EMUXCTR: EMUXMODE (Bit 26) */ +#define VADC_G_EMUXCTR_EMUXMODE_Msk (0xc000000UL) /*!< VADC_G EMUXCTR: EMUXMODE (Bitfield-Mask: 0x03) */ +#define VADC_G_EMUXCTR_EMXCOD_Pos (28UL) /*!< VADC_G EMUXCTR: EMXCOD (Bit 28) */ +#define VADC_G_EMUXCTR_EMXCOD_Msk (0x10000000UL) /*!< VADC_G EMUXCTR: EMXCOD (Bitfield-Mask: 0x01) */ +#define VADC_G_EMUXCTR_EMXST_Pos (29UL) /*!< VADC_G EMUXCTR: EMXST (Bit 29) */ +#define VADC_G_EMUXCTR_EMXST_Msk (0x20000000UL) /*!< VADC_G EMUXCTR: EMXST (Bitfield-Mask: 0x01) */ +#define VADC_G_EMUXCTR_EMXCSS_Pos (30UL) /*!< VADC_G EMUXCTR: EMXCSS (Bit 30) */ +#define VADC_G_EMUXCTR_EMXCSS_Msk (0x40000000UL) /*!< VADC_G EMUXCTR: EMXCSS (Bitfield-Mask: 0x01) */ +#define VADC_G_EMUXCTR_EMXWC_Pos (31UL) /*!< VADC_G EMUXCTR: EMXWC (Bit 31) */ +#define VADC_G_EMUXCTR_EMXWC_Msk (0x80000000UL) /*!< VADC_G EMUXCTR: EMXWC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_VFR --------------------------------- */ +#define VADC_G_VFR_VF0_Pos (0UL) /*!< VADC_G VFR: VF0 (Bit 0) */ +#define VADC_G_VFR_VF0_Msk (0x1UL) /*!< VADC_G VFR: VF0 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF1_Pos (1UL) /*!< VADC_G VFR: VF1 (Bit 1) */ +#define VADC_G_VFR_VF1_Msk (0x2UL) /*!< VADC_G VFR: VF1 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF2_Pos (2UL) /*!< VADC_G VFR: VF2 (Bit 2) */ +#define VADC_G_VFR_VF2_Msk (0x4UL) /*!< VADC_G VFR: VF2 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF3_Pos (3UL) /*!< VADC_G VFR: VF3 (Bit 3) */ +#define VADC_G_VFR_VF3_Msk (0x8UL) /*!< VADC_G VFR: VF3 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF4_Pos (4UL) /*!< VADC_G VFR: VF4 (Bit 4) */ +#define VADC_G_VFR_VF4_Msk (0x10UL) /*!< VADC_G VFR: VF4 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF5_Pos (5UL) /*!< VADC_G VFR: VF5 (Bit 5) */ +#define VADC_G_VFR_VF5_Msk (0x20UL) /*!< VADC_G VFR: VF5 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF6_Pos (6UL) /*!< VADC_G VFR: VF6 (Bit 6) */ +#define VADC_G_VFR_VF6_Msk (0x40UL) /*!< VADC_G VFR: VF6 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF7_Pos (7UL) /*!< VADC_G VFR: VF7 (Bit 7) */ +#define VADC_G_VFR_VF7_Msk (0x80UL) /*!< VADC_G VFR: VF7 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF8_Pos (8UL) /*!< VADC_G VFR: VF8 (Bit 8) */ +#define VADC_G_VFR_VF8_Msk (0x100UL) /*!< VADC_G VFR: VF8 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF9_Pos (9UL) /*!< VADC_G VFR: VF9 (Bit 9) */ +#define VADC_G_VFR_VF9_Msk (0x200UL) /*!< VADC_G VFR: VF9 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF10_Pos (10UL) /*!< VADC_G VFR: VF10 (Bit 10) */ +#define VADC_G_VFR_VF10_Msk (0x400UL) /*!< VADC_G VFR: VF10 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF11_Pos (11UL) /*!< VADC_G VFR: VF11 (Bit 11) */ +#define VADC_G_VFR_VF11_Msk (0x800UL) /*!< VADC_G VFR: VF11 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF12_Pos (12UL) /*!< VADC_G VFR: VF12 (Bit 12) */ +#define VADC_G_VFR_VF12_Msk (0x1000UL) /*!< VADC_G VFR: VF12 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF13_Pos (13UL) /*!< VADC_G VFR: VF13 (Bit 13) */ +#define VADC_G_VFR_VF13_Msk (0x2000UL) /*!< VADC_G VFR: VF13 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF14_Pos (14UL) /*!< VADC_G VFR: VF14 (Bit 14) */ +#define VADC_G_VFR_VF14_Msk (0x4000UL) /*!< VADC_G VFR: VF14 (Bitfield-Mask: 0x01) */ +#define VADC_G_VFR_VF15_Pos (15UL) /*!< VADC_G VFR: VF15 (Bit 15) */ +#define VADC_G_VFR_VF15_Msk (0x8000UL) /*!< VADC_G VFR: VF15 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- VADC_G_CHCTR -------------------------------- */ +#define VADC_G_CHCTR_ICLSEL_Pos (0UL) /*!< VADC_G CHCTR: ICLSEL (Bit 0) */ +#define VADC_G_CHCTR_ICLSEL_Msk (0x3UL) /*!< VADC_G CHCTR: ICLSEL (Bitfield-Mask: 0x03) */ +#define VADC_G_CHCTR_BNDSELL_Pos (4UL) /*!< VADC_G CHCTR: BNDSELL (Bit 4) */ +#define VADC_G_CHCTR_BNDSELL_Msk (0x30UL) /*!< VADC_G CHCTR: BNDSELL (Bitfield-Mask: 0x03) */ +#define VADC_G_CHCTR_BNDSELU_Pos (6UL) /*!< VADC_G CHCTR: BNDSELU (Bit 6) */ +#define VADC_G_CHCTR_BNDSELU_Msk (0xc0UL) /*!< VADC_G CHCTR: BNDSELU (Bitfield-Mask: 0x03) */ +#define VADC_G_CHCTR_CHEVMODE_Pos (8UL) /*!< VADC_G CHCTR: CHEVMODE (Bit 8) */ +#define VADC_G_CHCTR_CHEVMODE_Msk (0x300UL) /*!< VADC_G CHCTR: CHEVMODE (Bitfield-Mask: 0x03) */ +#define VADC_G_CHCTR_SYNC_Pos (10UL) /*!< VADC_G CHCTR: SYNC (Bit 10) */ +#define VADC_G_CHCTR_SYNC_Msk (0x400UL) /*!< VADC_G CHCTR: SYNC (Bitfield-Mask: 0x01) */ +#define VADC_G_CHCTR_REFSEL_Pos (11UL) /*!< VADC_G CHCTR: REFSEL (Bit 11) */ +#define VADC_G_CHCTR_REFSEL_Msk (0x800UL) /*!< VADC_G CHCTR: REFSEL (Bitfield-Mask: 0x01) */ +#define VADC_G_CHCTR_BNDSELX_Pos (12UL) /*!< VADC_G CHCTR: BNDSELX (Bit 12) */ +#define VADC_G_CHCTR_BNDSELX_Msk (0xf000UL) /*!< VADC_G CHCTR: BNDSELX (Bitfield-Mask: 0x0f) */ +#define VADC_G_CHCTR_RESREG_Pos (16UL) /*!< VADC_G CHCTR: RESREG (Bit 16) */ +#define VADC_G_CHCTR_RESREG_Msk (0xf0000UL) /*!< VADC_G CHCTR: RESREG (Bitfield-Mask: 0x0f) */ +#define VADC_G_CHCTR_RESTBS_Pos (20UL) /*!< VADC_G CHCTR: RESTBS (Bit 20) */ +#define VADC_G_CHCTR_RESTBS_Msk (0x100000UL) /*!< VADC_G CHCTR: RESTBS (Bitfield-Mask: 0x01) */ +#define VADC_G_CHCTR_RESPOS_Pos (21UL) /*!< VADC_G CHCTR: RESPOS (Bit 21) */ +#define VADC_G_CHCTR_RESPOS_Msk (0x200000UL) /*!< VADC_G CHCTR: RESPOS (Bitfield-Mask: 0x01) */ +#define VADC_G_CHCTR_BWDCH_Pos (28UL) /*!< VADC_G CHCTR: BWDCH (Bit 28) */ +#define VADC_G_CHCTR_BWDCH_Msk (0x30000000UL) /*!< VADC_G CHCTR: BWDCH (Bitfield-Mask: 0x03) */ +#define VADC_G_CHCTR_BWDEN_Pos (30UL) /*!< VADC_G CHCTR: BWDEN (Bit 30) */ +#define VADC_G_CHCTR_BWDEN_Msk (0x40000000UL) /*!< VADC_G CHCTR: BWDEN (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_RCR --------------------------------- */ +#define VADC_G_RCR_DRCTR_Pos (16UL) /*!< VADC_G RCR: DRCTR (Bit 16) */ +#define VADC_G_RCR_DRCTR_Msk (0xf0000UL) /*!< VADC_G RCR: DRCTR (Bitfield-Mask: 0x0f) */ +#define VADC_G_RCR_DMM_Pos (20UL) /*!< VADC_G RCR: DMM (Bit 20) */ +#define VADC_G_RCR_DMM_Msk (0x300000UL) /*!< VADC_G RCR: DMM (Bitfield-Mask: 0x03) */ +#define VADC_G_RCR_WFR_Pos (24UL) /*!< VADC_G RCR: WFR (Bit 24) */ +#define VADC_G_RCR_WFR_Msk (0x1000000UL) /*!< VADC_G RCR: WFR (Bitfield-Mask: 0x01) */ +#define VADC_G_RCR_FEN_Pos (25UL) /*!< VADC_G RCR: FEN (Bit 25) */ +#define VADC_G_RCR_FEN_Msk (0x6000000UL) /*!< VADC_G RCR: FEN (Bitfield-Mask: 0x03) */ +#define VADC_G_RCR_SRGEN_Pos (31UL) /*!< VADC_G RCR: SRGEN (Bit 31) */ +#define VADC_G_RCR_SRGEN_Msk (0x80000000UL) /*!< VADC_G RCR: SRGEN (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_RES --------------------------------- */ +#define VADC_G_RES_RESULT_Pos (0UL) /*!< VADC_G RES: RESULT (Bit 0) */ +#define VADC_G_RES_RESULT_Msk (0xffffUL) /*!< VADC_G RES: RESULT (Bitfield-Mask: 0xffff) */ +#define VADC_G_RES_DRC_Pos (16UL) /*!< VADC_G RES: DRC (Bit 16) */ +#define VADC_G_RES_DRC_Msk (0xf0000UL) /*!< VADC_G RES: DRC (Bitfield-Mask: 0x0f) */ +#define VADC_G_RES_CHNR_Pos (20UL) /*!< VADC_G RES: CHNR (Bit 20) */ +#define VADC_G_RES_CHNR_Msk (0x1f00000UL) /*!< VADC_G RES: CHNR (Bitfield-Mask: 0x1f) */ +#define VADC_G_RES_EMUX_Pos (25UL) /*!< VADC_G RES: EMUX (Bit 25) */ +#define VADC_G_RES_EMUX_Msk (0xe000000UL) /*!< VADC_G RES: EMUX (Bitfield-Mask: 0x07) */ +#define VADC_G_RES_CRS_Pos (28UL) /*!< VADC_G RES: CRS (Bit 28) */ +#define VADC_G_RES_CRS_Msk (0x30000000UL) /*!< VADC_G RES: CRS (Bitfield-Mask: 0x03) */ +#define VADC_G_RES_FCR_Pos (30UL) /*!< VADC_G RES: FCR (Bit 30) */ +#define VADC_G_RES_FCR_Msk (0x40000000UL) /*!< VADC_G RES: FCR (Bitfield-Mask: 0x01) */ +#define VADC_G_RES_VF_Pos (31UL) /*!< VADC_G RES: VF (Bit 31) */ +#define VADC_G_RES_VF_Msk (0x80000000UL) /*!< VADC_G RES: VF (Bitfield-Mask: 0x01) */ + +/* --------------------------------- VADC_G_RESD -------------------------------- */ +#define VADC_G_RESD_RESULT_Pos (0UL) /*!< VADC_G RESD: RESULT (Bit 0) */ +#define VADC_G_RESD_RESULT_Msk (0xffffUL) /*!< VADC_G RESD: RESULT (Bitfield-Mask: 0xffff) */ +#define VADC_G_RESD_DRC_Pos (16UL) /*!< VADC_G RESD: DRC (Bit 16) */ +#define VADC_G_RESD_DRC_Msk (0xf0000UL) /*!< VADC_G RESD: DRC (Bitfield-Mask: 0x0f) */ +#define VADC_G_RESD_CHNR_Pos (20UL) /*!< VADC_G RESD: CHNR (Bit 20) */ +#define VADC_G_RESD_CHNR_Msk (0x1f00000UL) /*!< VADC_G RESD: CHNR (Bitfield-Mask: 0x1f) */ +#define VADC_G_RESD_EMUX_Pos (25UL) /*!< VADC_G RESD: EMUX (Bit 25) */ +#define VADC_G_RESD_EMUX_Msk (0xe000000UL) /*!< VADC_G RESD: EMUX (Bitfield-Mask: 0x07) */ +#define VADC_G_RESD_CRS_Pos (28UL) /*!< VADC_G RESD: CRS (Bit 28) */ +#define VADC_G_RESD_CRS_Msk (0x30000000UL) /*!< VADC_G RESD: CRS (Bitfield-Mask: 0x03) */ +#define VADC_G_RESD_FCR_Pos (30UL) /*!< VADC_G RESD: FCR (Bit 30) */ +#define VADC_G_RESD_FCR_Msk (0x40000000UL) /*!< VADC_G RESD: FCR (Bitfield-Mask: 0x01) */ +#define VADC_G_RESD_VF_Pos (31UL) /*!< VADC_G RESD: VF (Bit 31) */ +#define VADC_G_RESD_VF_Msk (0x80000000UL) /*!< VADC_G RESD: VF (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ Group 'SHS' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ----------------------------------- SHS_ID ----------------------------------- */ +#define SHS_ID_MOD_REV_Pos (0UL) /*!< SHS ID: MOD_REV (Bit 0) */ +#define SHS_ID_MOD_REV_Msk (0xffUL) /*!< SHS ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define SHS_ID_MOD_TYPE_Pos (8UL) /*!< SHS ID: MOD_TYPE (Bit 8) */ +#define SHS_ID_MOD_TYPE_Msk (0xff00UL) /*!< SHS ID: MOD_TYPE (Bitfield-Mask: 0xff) */ +#define SHS_ID_MOD_NUMBER_Pos (16UL) /*!< SHS ID: MOD_NUMBER (Bit 16) */ +#define SHS_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< SHS ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* --------------------------------- SHS_SHSCFG --------------------------------- */ +#define SHS_SHSCFG_DIVS_Pos (0UL) /*!< SHS SHSCFG: DIVS (Bit 0) */ +#define SHS_SHSCFG_DIVS_Msk (0xfUL) /*!< SHS SHSCFG: DIVS (Bitfield-Mask: 0x0f) */ +#define SHS_SHSCFG_AREF_Pos (10UL) /*!< SHS SHSCFG: AREF (Bit 10) */ +#define SHS_SHSCFG_AREF_Msk (0xc00UL) /*!< SHS SHSCFG: AREF (Bitfield-Mask: 0x03) */ +#define SHS_SHSCFG_ANOFF_Pos (12UL) /*!< SHS SHSCFG: ANOFF (Bit 12) */ +#define SHS_SHSCFG_ANOFF_Msk (0x1000UL) /*!< SHS SHSCFG: ANOFF (Bitfield-Mask: 0x01) */ +#define SHS_SHSCFG_ANRDY_Pos (14UL) /*!< SHS SHSCFG: ANRDY (Bit 14) */ +#define SHS_SHSCFG_ANRDY_Msk (0x4000UL) /*!< SHS SHSCFG: ANRDY (Bitfield-Mask: 0x01) */ +#define SHS_SHSCFG_SCWC_Pos (15UL) /*!< SHS SHSCFG: SCWC (Bit 15) */ +#define SHS_SHSCFG_SCWC_Msk (0x8000UL) /*!< SHS SHSCFG: SCWC (Bitfield-Mask: 0x01) */ +#define SHS_SHSCFG_SP0_Pos (16UL) /*!< SHS SHSCFG: SP0 (Bit 16) */ +#define SHS_SHSCFG_SP0_Msk (0x10000UL) /*!< SHS SHSCFG: SP0 (Bitfield-Mask: 0x01) */ +#define SHS_SHSCFG_SP1_Pos (17UL) /*!< SHS SHSCFG: SP1 (Bit 17) */ +#define SHS_SHSCFG_SP1_Msk (0x20000UL) /*!< SHS SHSCFG: SP1 (Bitfield-Mask: 0x01) */ +#define SHS_SHSCFG_TC_Pos (24UL) /*!< SHS SHSCFG: TC (Bit 24) */ +#define SHS_SHSCFG_TC_Msk (0xf000000UL) /*!< SHS SHSCFG: TC (Bitfield-Mask: 0x0f) */ +#define SHS_SHSCFG_STATE_Pos (28UL) /*!< SHS SHSCFG: STATE (Bit 28) */ +#define SHS_SHSCFG_STATE_Msk (0xf0000000UL) /*!< SHS SHSCFG: STATE (Bitfield-Mask: 0x0f) */ + +/* --------------------------------- SHS_STEPCFG -------------------------------- */ +#define SHS_STEPCFG_KSEL0_Pos (0UL) /*!< SHS STEPCFG: KSEL0 (Bit 0) */ +#define SHS_STEPCFG_KSEL0_Msk (0x7UL) /*!< SHS STEPCFG: KSEL0 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN0_Pos (3UL) /*!< SHS STEPCFG: SEN0 (Bit 3) */ +#define SHS_STEPCFG_SEN0_Msk (0x8UL) /*!< SHS STEPCFG: SEN0 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL1_Pos (4UL) /*!< SHS STEPCFG: KSEL1 (Bit 4) */ +#define SHS_STEPCFG_KSEL1_Msk (0x70UL) /*!< SHS STEPCFG: KSEL1 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN1_Pos (7UL) /*!< SHS STEPCFG: SEN1 (Bit 7) */ +#define SHS_STEPCFG_SEN1_Msk (0x80UL) /*!< SHS STEPCFG: SEN1 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL2_Pos (8UL) /*!< SHS STEPCFG: KSEL2 (Bit 8) */ +#define SHS_STEPCFG_KSEL2_Msk (0x700UL) /*!< SHS STEPCFG: KSEL2 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN2_Pos (11UL) /*!< SHS STEPCFG: SEN2 (Bit 11) */ +#define SHS_STEPCFG_SEN2_Msk (0x800UL) /*!< SHS STEPCFG: SEN2 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL3_Pos (12UL) /*!< SHS STEPCFG: KSEL3 (Bit 12) */ +#define SHS_STEPCFG_KSEL3_Msk (0x7000UL) /*!< SHS STEPCFG: KSEL3 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN3_Pos (15UL) /*!< SHS STEPCFG: SEN3 (Bit 15) */ +#define SHS_STEPCFG_SEN3_Msk (0x8000UL) /*!< SHS STEPCFG: SEN3 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL4_Pos (16UL) /*!< SHS STEPCFG: KSEL4 (Bit 16) */ +#define SHS_STEPCFG_KSEL4_Msk (0x70000UL) /*!< SHS STEPCFG: KSEL4 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN4_Pos (19UL) /*!< SHS STEPCFG: SEN4 (Bit 19) */ +#define SHS_STEPCFG_SEN4_Msk (0x80000UL) /*!< SHS STEPCFG: SEN4 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL5_Pos (20UL) /*!< SHS STEPCFG: KSEL5 (Bit 20) */ +#define SHS_STEPCFG_KSEL5_Msk (0x700000UL) /*!< SHS STEPCFG: KSEL5 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN5_Pos (23UL) /*!< SHS STEPCFG: SEN5 (Bit 23) */ +#define SHS_STEPCFG_SEN5_Msk (0x800000UL) /*!< SHS STEPCFG: SEN5 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL6_Pos (24UL) /*!< SHS STEPCFG: KSEL6 (Bit 24) */ +#define SHS_STEPCFG_KSEL6_Msk (0x7000000UL) /*!< SHS STEPCFG: KSEL6 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN6_Pos (27UL) /*!< SHS STEPCFG: SEN6 (Bit 27) */ +#define SHS_STEPCFG_SEN6_Msk (0x8000000UL) /*!< SHS STEPCFG: SEN6 (Bitfield-Mask: 0x01) */ +#define SHS_STEPCFG_KSEL7_Pos (28UL) /*!< SHS STEPCFG: KSEL7 (Bit 28) */ +#define SHS_STEPCFG_KSEL7_Msk (0x70000000UL) /*!< SHS STEPCFG: KSEL7 (Bitfield-Mask: 0x07) */ +#define SHS_STEPCFG_SEN7_Pos (31UL) /*!< SHS STEPCFG: SEN7 (Bit 31) */ +#define SHS_STEPCFG_SEN7_Msk (0x80000000UL) /*!< SHS STEPCFG: SEN7 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- SHS_LOOP ---------------------------------- */ +#define SHS_LOOP_LPCH0_Pos (0UL) /*!< SHS LOOP: LPCH0 (Bit 0) */ +#define SHS_LOOP_LPCH0_Msk (0x1fUL) /*!< SHS LOOP: LPCH0 (Bitfield-Mask: 0x1f) */ +#define SHS_LOOP_LPSH0_Pos (8UL) /*!< SHS LOOP: LPSH0 (Bit 8) */ +#define SHS_LOOP_LPSH0_Msk (0x100UL) /*!< SHS LOOP: LPSH0 (Bitfield-Mask: 0x01) */ +#define SHS_LOOP_LPEN0_Pos (15UL) /*!< SHS LOOP: LPEN0 (Bit 15) */ +#define SHS_LOOP_LPEN0_Msk (0x8000UL) /*!< SHS LOOP: LPEN0 (Bitfield-Mask: 0x01) */ +#define SHS_LOOP_LPCH1_Pos (16UL) /*!< SHS LOOP: LPCH1 (Bit 16) */ +#define SHS_LOOP_LPCH1_Msk (0x1f0000UL) /*!< SHS LOOP: LPCH1 (Bitfield-Mask: 0x1f) */ +#define SHS_LOOP_LPSH1_Pos (24UL) /*!< SHS LOOP: LPSH1 (Bit 24) */ +#define SHS_LOOP_LPSH1_Msk (0x1000000UL) /*!< SHS LOOP: LPSH1 (Bitfield-Mask: 0x01) */ +#define SHS_LOOP_LPEN1_Pos (31UL) /*!< SHS LOOP: LPEN1 (Bit 31) */ +#define SHS_LOOP_LPEN1_Msk (0x80000000UL) /*!< SHS LOOP: LPEN1 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- SHS_TIMCFG0 -------------------------------- */ +#define SHS_TIMCFG0_AT_Pos (0UL) /*!< SHS TIMCFG0: AT (Bit 0) */ +#define SHS_TIMCFG0_AT_Msk (0x1UL) /*!< SHS TIMCFG0: AT (Bitfield-Mask: 0x01) */ +#define SHS_TIMCFG0_FCRT_Pos (4UL) /*!< SHS TIMCFG0: FCRT (Bit 4) */ +#define SHS_TIMCFG0_FCRT_Msk (0xf0UL) /*!< SHS TIMCFG0: FCRT (Bitfield-Mask: 0x0f) */ +#define SHS_TIMCFG0_SST_Pos (8UL) /*!< SHS TIMCFG0: SST (Bit 8) */ +#define SHS_TIMCFG0_SST_Msk (0x3f00UL) /*!< SHS TIMCFG0: SST (Bitfield-Mask: 0x3f) */ +#define SHS_TIMCFG0_TGEN_Pos (16UL) /*!< SHS TIMCFG0: TGEN (Bit 16) */ +#define SHS_TIMCFG0_TGEN_Msk (0x3fff0000UL) /*!< SHS TIMCFG0: TGEN (Bitfield-Mask: 0x3fff) */ + +/* --------------------------------- SHS_TIMCFG1 -------------------------------- */ +#define SHS_TIMCFG1_AT_Pos (0UL) /*!< SHS TIMCFG1: AT (Bit 0) */ +#define SHS_TIMCFG1_AT_Msk (0x1UL) /*!< SHS TIMCFG1: AT (Bitfield-Mask: 0x01) */ +#define SHS_TIMCFG1_FCRT_Pos (4UL) /*!< SHS TIMCFG1: FCRT (Bit 4) */ +#define SHS_TIMCFG1_FCRT_Msk (0xf0UL) /*!< SHS TIMCFG1: FCRT (Bitfield-Mask: 0x0f) */ +#define SHS_TIMCFG1_SST_Pos (8UL) /*!< SHS TIMCFG1: SST (Bit 8) */ +#define SHS_TIMCFG1_SST_Msk (0x3f00UL) /*!< SHS TIMCFG1: SST (Bitfield-Mask: 0x3f) */ +#define SHS_TIMCFG1_TGEN_Pos (16UL) /*!< SHS TIMCFG1: TGEN (Bit 16) */ +#define SHS_TIMCFG1_TGEN_Msk (0x3fff0000UL) /*!< SHS TIMCFG1: TGEN (Bitfield-Mask: 0x3fff) */ + +/* --------------------------------- SHS_CALCTR --------------------------------- */ +#define SHS_CALCTR_CALORD_Pos (0UL) /*!< SHS CALCTR: CALORD (Bit 0) */ +#define SHS_CALCTR_CALORD_Msk (0x1UL) /*!< SHS CALCTR: CALORD (Bitfield-Mask: 0x01) */ +#define SHS_CALCTR_CALGNSTC_Pos (8UL) /*!< SHS CALCTR: CALGNSTC (Bit 8) */ +#define SHS_CALCTR_CALGNSTC_Msk (0x3f00UL) /*!< SHS CALCTR: CALGNSTC (Bitfield-Mask: 0x3f) */ +#define SHS_CALCTR_SUCALVAL_Pos (16UL) /*!< SHS CALCTR: SUCALVAL (Bit 16) */ +#define SHS_CALCTR_SUCALVAL_Msk (0x7f0000UL) /*!< SHS CALCTR: SUCALVAL (Bitfield-Mask: 0x7f) */ +#define SHS_CALCTR_CALMAX_Pos (24UL) /*!< SHS CALCTR: CALMAX (Bit 24) */ +#define SHS_CALCTR_CALMAX_Msk (0x3f000000UL) /*!< SHS CALCTR: CALMAX (Bitfield-Mask: 0x3f) */ +#define SHS_CALCTR_SUCAL_Pos (31UL) /*!< SHS CALCTR: SUCAL (Bit 31) */ +#define SHS_CALCTR_SUCAL_Msk (0x80000000UL) /*!< SHS CALCTR: SUCAL (Bitfield-Mask: 0x01) */ + +/* --------------------------------- SHS_CALGC0 --------------------------------- */ +#define SHS_CALGC0_CALGNVALS_Pos (0UL) /*!< SHS CALGC0: CALGNVALS (Bit 0) */ +#define SHS_CALGC0_CALGNVALS_Msk (0x3fffUL) /*!< SHS CALGC0: CALGNVALS (Bitfield-Mask: 0x3fff) */ +#define SHS_CALGC0_GNSWC_Pos (15UL) /*!< SHS CALGC0: GNSWC (Bit 15) */ +#define SHS_CALGC0_GNSWC_Msk (0x8000UL) /*!< SHS CALGC0: GNSWC (Bitfield-Mask: 0x01) */ +#define SHS_CALGC0_CALGNVALA_Pos (16UL) /*!< SHS CALGC0: CALGNVALA (Bit 16) */ +#define SHS_CALGC0_CALGNVALA_Msk (0x3fff0000UL) /*!< SHS CALGC0: CALGNVALA (Bitfield-Mask: 0x3fff) */ +#define SHS_CALGC0_GNAWC_Pos (31UL) /*!< SHS CALGC0: GNAWC (Bit 31) */ +#define SHS_CALGC0_GNAWC_Msk (0x80000000UL) /*!< SHS CALGC0: GNAWC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- SHS_CALGC1 --------------------------------- */ +#define SHS_CALGC1_CALGNVALS_Pos (0UL) /*!< SHS CALGC1: CALGNVALS (Bit 0) */ +#define SHS_CALGC1_CALGNVALS_Msk (0x3fffUL) /*!< SHS CALGC1: CALGNVALS (Bitfield-Mask: 0x3fff) */ +#define SHS_CALGC1_GNSWC_Pos (15UL) /*!< SHS CALGC1: GNSWC (Bit 15) */ +#define SHS_CALGC1_GNSWC_Msk (0x8000UL) /*!< SHS CALGC1: GNSWC (Bitfield-Mask: 0x01) */ +#define SHS_CALGC1_CALGNVALA_Pos (16UL) /*!< SHS CALGC1: CALGNVALA (Bit 16) */ +#define SHS_CALGC1_CALGNVALA_Msk (0x3fff0000UL) /*!< SHS CALGC1: CALGNVALA (Bitfield-Mask: 0x3fff) */ +#define SHS_CALGC1_GNAWC_Pos (31UL) /*!< SHS CALGC1: GNAWC (Bit 31) */ +#define SHS_CALGC1_GNAWC_Msk (0x80000000UL) /*!< SHS CALGC1: GNAWC (Bitfield-Mask: 0x01) */ + +/* --------------------------------- SHS_CALOC0 --------------------------------- */ +#define SHS_CALOC0_CALOFFVAL0_Pos (0UL) /*!< SHS CALOC0: CALOFFVAL0 (Bit 0) */ +#define SHS_CALOC0_CALOFFVAL0_Msk (0x7fUL) /*!< SHS CALOC0: CALOFFVAL0 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC0_CALOFFVAL1_Pos (8UL) /*!< SHS CALOC0: CALOFFVAL1 (Bit 8) */ +#define SHS_CALOC0_CALOFFVAL1_Msk (0x7f00UL) /*!< SHS CALOC0: CALOFFVAL1 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC0_OFFWC_Pos (15UL) /*!< SHS CALOC0: OFFWC (Bit 15) */ +#define SHS_CALOC0_OFFWC_Msk (0x8000UL) /*!< SHS CALOC0: OFFWC (Bitfield-Mask: 0x01) */ +#define SHS_CALOC0_CALOFFVAL2_Pos (16UL) /*!< SHS CALOC0: CALOFFVAL2 (Bit 16) */ +#define SHS_CALOC0_CALOFFVAL2_Msk (0x7f0000UL) /*!< SHS CALOC0: CALOFFVAL2 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC0_CALOFFVAL3_Pos (24UL) /*!< SHS CALOC0: CALOFFVAL3 (Bit 24) */ +#define SHS_CALOC0_CALOFFVAL3_Msk (0x7f000000UL) /*!< SHS CALOC0: CALOFFVAL3 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC0_DISCAL_Pos (31UL) /*!< SHS CALOC0: DISCAL (Bit 31) */ +#define SHS_CALOC0_DISCAL_Msk (0x80000000UL) /*!< SHS CALOC0: DISCAL (Bitfield-Mask: 0x01) */ + +/* --------------------------------- SHS_CALOC1 --------------------------------- */ +#define SHS_CALOC1_CALOFFVAL0_Pos (0UL) /*!< SHS CALOC1: CALOFFVAL0 (Bit 0) */ +#define SHS_CALOC1_CALOFFVAL0_Msk (0x7fUL) /*!< SHS CALOC1: CALOFFVAL0 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC1_CALOFFVAL1_Pos (8UL) /*!< SHS CALOC1: CALOFFVAL1 (Bit 8) */ +#define SHS_CALOC1_CALOFFVAL1_Msk (0x7f00UL) /*!< SHS CALOC1: CALOFFVAL1 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC1_OFFWC_Pos (15UL) /*!< SHS CALOC1: OFFWC (Bit 15) */ +#define SHS_CALOC1_OFFWC_Msk (0x8000UL) /*!< SHS CALOC1: OFFWC (Bitfield-Mask: 0x01) */ +#define SHS_CALOC1_CALOFFVAL2_Pos (16UL) /*!< SHS CALOC1: CALOFFVAL2 (Bit 16) */ +#define SHS_CALOC1_CALOFFVAL2_Msk (0x7f0000UL) /*!< SHS CALOC1: CALOFFVAL2 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC1_CALOFFVAL3_Pos (24UL) /*!< SHS CALOC1: CALOFFVAL3 (Bit 24) */ +#define SHS_CALOC1_CALOFFVAL3_Msk (0x7f000000UL) /*!< SHS CALOC1: CALOFFVAL3 (Bitfield-Mask: 0x7f) */ +#define SHS_CALOC1_DISCAL_Pos (31UL) /*!< SHS CALOC1: DISCAL (Bit 31) */ +#define SHS_CALOC1_DISCAL_Msk (0x80000000UL) /*!< SHS CALOC1: DISCAL (Bitfield-Mask: 0x01) */ + +/* --------------------------------- SHS_GNCTR00 -------------------------------- */ +#define SHS_GNCTR00_GAIN0_Pos (0UL) /*!< SHS GNCTR00: GAIN0 (Bit 0) */ +#define SHS_GNCTR00_GAIN0_Msk (0xfUL) /*!< SHS GNCTR00: GAIN0 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN1_Pos (4UL) /*!< SHS GNCTR00: GAIN1 (Bit 4) */ +#define SHS_GNCTR00_GAIN1_Msk (0xf0UL) /*!< SHS GNCTR00: GAIN1 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN2_Pos (8UL) /*!< SHS GNCTR00: GAIN2 (Bit 8) */ +#define SHS_GNCTR00_GAIN2_Msk (0xf00UL) /*!< SHS GNCTR00: GAIN2 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN3_Pos (12UL) /*!< SHS GNCTR00: GAIN3 (Bit 12) */ +#define SHS_GNCTR00_GAIN3_Msk (0xf000UL) /*!< SHS GNCTR00: GAIN3 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN4_Pos (16UL) /*!< SHS GNCTR00: GAIN4 (Bit 16) */ +#define SHS_GNCTR00_GAIN4_Msk (0xf0000UL) /*!< SHS GNCTR00: GAIN4 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN5_Pos (20UL) /*!< SHS GNCTR00: GAIN5 (Bit 20) */ +#define SHS_GNCTR00_GAIN5_Msk (0xf00000UL) /*!< SHS GNCTR00: GAIN5 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN6_Pos (24UL) /*!< SHS GNCTR00: GAIN6 (Bit 24) */ +#define SHS_GNCTR00_GAIN6_Msk (0xf000000UL) /*!< SHS GNCTR00: GAIN6 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR00_GAIN7_Pos (28UL) /*!< SHS GNCTR00: GAIN7 (Bit 28) */ +#define SHS_GNCTR00_GAIN7_Msk (0xf0000000UL) /*!< SHS GNCTR00: GAIN7 (Bitfield-Mask: 0x0f) */ + +/* --------------------------------- SHS_GNCTR10 -------------------------------- */ +#define SHS_GNCTR10_GAIN0_Pos (0UL) /*!< SHS GNCTR10: GAIN0 (Bit 0) */ +#define SHS_GNCTR10_GAIN0_Msk (0xfUL) /*!< SHS GNCTR10: GAIN0 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN1_Pos (4UL) /*!< SHS GNCTR10: GAIN1 (Bit 4) */ +#define SHS_GNCTR10_GAIN1_Msk (0xf0UL) /*!< SHS GNCTR10: GAIN1 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN2_Pos (8UL) /*!< SHS GNCTR10: GAIN2 (Bit 8) */ +#define SHS_GNCTR10_GAIN2_Msk (0xf00UL) /*!< SHS GNCTR10: GAIN2 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN3_Pos (12UL) /*!< SHS GNCTR10: GAIN3 (Bit 12) */ +#define SHS_GNCTR10_GAIN3_Msk (0xf000UL) /*!< SHS GNCTR10: GAIN3 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN4_Pos (16UL) /*!< SHS GNCTR10: GAIN4 (Bit 16) */ +#define SHS_GNCTR10_GAIN4_Msk (0xf0000UL) /*!< SHS GNCTR10: GAIN4 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN5_Pos (20UL) /*!< SHS GNCTR10: GAIN5 (Bit 20) */ +#define SHS_GNCTR10_GAIN5_Msk (0xf00000UL) /*!< SHS GNCTR10: GAIN5 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN6_Pos (24UL) /*!< SHS GNCTR10: GAIN6 (Bit 24) */ +#define SHS_GNCTR10_GAIN6_Msk (0xf000000UL) /*!< SHS GNCTR10: GAIN6 (Bitfield-Mask: 0x0f) */ +#define SHS_GNCTR10_GAIN7_Pos (28UL) /*!< SHS GNCTR10: GAIN7 (Bit 28) */ +#define SHS_GNCTR10_GAIN7_Msk (0xf0000000UL) /*!< SHS GNCTR10: GAIN7 (Bitfield-Mask: 0x0f) */ + + +/* ================================================================================ */ +/* ================ Group 'BCCU' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- BCCU_GLOBCON -------------------------------- */ +#define BCCU_GLOBCON_TM_Pos (0UL) /*!< BCCU GLOBCON: TM (Bit 0) */ +#define BCCU_GLOBCON_TM_Msk (0x1UL) /*!< BCCU GLOBCON: TM (Bitfield-Mask: 0x01) */ +#define BCCU_GLOBCON_TRDEL_Pos (2UL) /*!< BCCU GLOBCON: TRDEL (Bit 2) */ +#define BCCU_GLOBCON_TRDEL_Msk (0xcUL) /*!< BCCU GLOBCON: TRDEL (Bitfield-Mask: 0x03) */ +#define BCCU_GLOBCON_SUSCFG_Pos (4UL) /*!< BCCU GLOBCON: SUSCFG (Bit 4) */ +#define BCCU_GLOBCON_SUSCFG_Msk (0x30UL) /*!< BCCU GLOBCON: SUSCFG (Bitfield-Mask: 0x03) */ +#define BCCU_GLOBCON_TRAPIS_Pos (6UL) /*!< BCCU GLOBCON: TRAPIS (Bit 6) */ +#define BCCU_GLOBCON_TRAPIS_Msk (0x3c0UL) /*!< BCCU GLOBCON: TRAPIS (Bitfield-Mask: 0x0f) */ +#define BCCU_GLOBCON_TRAPED_Pos (10UL) /*!< BCCU GLOBCON: TRAPED (Bit 10) */ +#define BCCU_GLOBCON_TRAPED_Msk (0x400UL) /*!< BCCU GLOBCON: TRAPED (Bitfield-Mask: 0x01) */ +#define BCCU_GLOBCON_LTRS_Pos (12UL) /*!< BCCU GLOBCON: LTRS (Bit 12) */ +#define BCCU_GLOBCON_LTRS_Msk (0xf000UL) /*!< BCCU GLOBCON: LTRS (Bitfield-Mask: 0x0f) */ +#define BCCU_GLOBCON_WDMBN_Pos (16UL) /*!< BCCU GLOBCON: WDMBN (Bit 16) */ +#define BCCU_GLOBCON_WDMBN_Msk (0xfff0000UL) /*!< BCCU GLOBCON: WDMBN (Bitfield-Mask: 0xfff) */ + +/* -------------------------------- BCCU_GLOBCLK -------------------------------- */ +#define BCCU_GLOBCLK_FCLK_PS_Pos (0UL) /*!< BCCU GLOBCLK: FCLK_PS (Bit 0) */ +#define BCCU_GLOBCLK_FCLK_PS_Msk (0xfffUL) /*!< BCCU GLOBCLK: FCLK_PS (Bitfield-Mask: 0xfff) */ +#define BCCU_GLOBCLK_BCS_Pos (15UL) /*!< BCCU GLOBCLK: BCS (Bit 15) */ +#define BCCU_GLOBCLK_BCS_Msk (0x8000UL) /*!< BCCU GLOBCLK: BCS (Bitfield-Mask: 0x01) */ +#define BCCU_GLOBCLK_DCLK_PS_Pos (16UL) /*!< BCCU GLOBCLK: DCLK_PS (Bit 16) */ +#define BCCU_GLOBCLK_DCLK_PS_Msk (0xfff0000UL) /*!< BCCU GLOBCLK: DCLK_PS (Bitfield-Mask: 0xfff) */ + +/* ----------------------------------- BCCU_ID ---------------------------------- */ +#define BCCU_ID_MOD_REV_Pos (0UL) /*!< BCCU ID: MOD_REV (Bit 0) */ +#define BCCU_ID_MOD_REV_Msk (0xffUL) /*!< BCCU ID: MOD_REV (Bitfield-Mask: 0xff) */ +#define BCCU_ID_MOD_TYPE0_Pos (8UL) /*!< BCCU ID: MOD_TYPE0 (Bit 8) */ +#define BCCU_ID_MOD_TYPE0_Msk (0xff00UL) /*!< BCCU ID: MOD_TYPE0 (Bitfield-Mask: 0xff) */ +#define BCCU_ID_MOD_NUMBER_Pos (16UL) /*!< BCCU ID: MOD_NUMBER (Bit 16) */ +#define BCCU_ID_MOD_NUMBER_Msk (0xffff0000UL) /*!< BCCU ID: MOD_NUMBER (Bitfield-Mask: 0xffff) */ + +/* ---------------------------------- BCCU_CHEN --------------------------------- */ +#define BCCU_CHEN_ECH0_Pos (0UL) /*!< BCCU CHEN: ECH0 (Bit 0) */ +#define BCCU_CHEN_ECH0_Msk (0x1UL) /*!< BCCU CHEN: ECH0 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH1_Pos (1UL) /*!< BCCU CHEN: ECH1 (Bit 1) */ +#define BCCU_CHEN_ECH1_Msk (0x2UL) /*!< BCCU CHEN: ECH1 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH2_Pos (2UL) /*!< BCCU CHEN: ECH2 (Bit 2) */ +#define BCCU_CHEN_ECH2_Msk (0x4UL) /*!< BCCU CHEN: ECH2 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH3_Pos (3UL) /*!< BCCU CHEN: ECH3 (Bit 3) */ +#define BCCU_CHEN_ECH3_Msk (0x8UL) /*!< BCCU CHEN: ECH3 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH4_Pos (4UL) /*!< BCCU CHEN: ECH4 (Bit 4) */ +#define BCCU_CHEN_ECH4_Msk (0x10UL) /*!< BCCU CHEN: ECH4 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH5_Pos (5UL) /*!< BCCU CHEN: ECH5 (Bit 5) */ +#define BCCU_CHEN_ECH5_Msk (0x20UL) /*!< BCCU CHEN: ECH5 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH6_Pos (6UL) /*!< BCCU CHEN: ECH6 (Bit 6) */ +#define BCCU_CHEN_ECH6_Msk (0x40UL) /*!< BCCU CHEN: ECH6 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH7_Pos (7UL) /*!< BCCU CHEN: ECH7 (Bit 7) */ +#define BCCU_CHEN_ECH7_Msk (0x80UL) /*!< BCCU CHEN: ECH7 (Bitfield-Mask: 0x01) */ +#define BCCU_CHEN_ECH8_Pos (8UL) /*!< BCCU CHEN: ECH8 (Bit 8) */ +#define BCCU_CHEN_ECH8_Msk (0x100UL) /*!< BCCU CHEN: ECH8 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- BCCU_CHOCON -------------------------------- */ +#define BCCU_CHOCON_CH0OP_Pos (0UL) /*!< BCCU CHOCON: CH0OP (Bit 0) */ +#define BCCU_CHOCON_CH0OP_Msk (0x1UL) /*!< BCCU CHOCON: CH0OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH1OP_Pos (1UL) /*!< BCCU CHOCON: CH1OP (Bit 1) */ +#define BCCU_CHOCON_CH1OP_Msk (0x2UL) /*!< BCCU CHOCON: CH1OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH2OP_Pos (2UL) /*!< BCCU CHOCON: CH2OP (Bit 2) */ +#define BCCU_CHOCON_CH2OP_Msk (0x4UL) /*!< BCCU CHOCON: CH2OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH3OP_Pos (3UL) /*!< BCCU CHOCON: CH3OP (Bit 3) */ +#define BCCU_CHOCON_CH3OP_Msk (0x8UL) /*!< BCCU CHOCON: CH3OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH4OP_Pos (4UL) /*!< BCCU CHOCON: CH4OP (Bit 4) */ +#define BCCU_CHOCON_CH4OP_Msk (0x10UL) /*!< BCCU CHOCON: CH4OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH5OP_Pos (5UL) /*!< BCCU CHOCON: CH5OP (Bit 5) */ +#define BCCU_CHOCON_CH5OP_Msk (0x20UL) /*!< BCCU CHOCON: CH5OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH6OP_Pos (6UL) /*!< BCCU CHOCON: CH6OP (Bit 6) */ +#define BCCU_CHOCON_CH6OP_Msk (0x40UL) /*!< BCCU CHOCON: CH6OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH7OP_Pos (7UL) /*!< BCCU CHOCON: CH7OP (Bit 7) */ +#define BCCU_CHOCON_CH7OP_Msk (0x80UL) /*!< BCCU CHOCON: CH7OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH8OP_Pos (8UL) /*!< BCCU CHOCON: CH8OP (Bit 8) */ +#define BCCU_CHOCON_CH8OP_Msk (0x100UL) /*!< BCCU CHOCON: CH8OP (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH0TPE_Pos (16UL) /*!< BCCU CHOCON: CH0TPE (Bit 16) */ +#define BCCU_CHOCON_CH0TPE_Msk (0x10000UL) /*!< BCCU CHOCON: CH0TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH1TPE_Pos (17UL) /*!< BCCU CHOCON: CH1TPE (Bit 17) */ +#define BCCU_CHOCON_CH1TPE_Msk (0x20000UL) /*!< BCCU CHOCON: CH1TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH2TPE_Pos (18UL) /*!< BCCU CHOCON: CH2TPE (Bit 18) */ +#define BCCU_CHOCON_CH2TPE_Msk (0x40000UL) /*!< BCCU CHOCON: CH2TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH3TPE_Pos (19UL) /*!< BCCU CHOCON: CH3TPE (Bit 19) */ +#define BCCU_CHOCON_CH3TPE_Msk (0x80000UL) /*!< BCCU CHOCON: CH3TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH4TPE_Pos (20UL) /*!< BCCU CHOCON: CH4TPE (Bit 20) */ +#define BCCU_CHOCON_CH4TPE_Msk (0x100000UL) /*!< BCCU CHOCON: CH4TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH5TPE_Pos (21UL) /*!< BCCU CHOCON: CH5TPE (Bit 21) */ +#define BCCU_CHOCON_CH5TPE_Msk (0x200000UL) /*!< BCCU CHOCON: CH5TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH6TPE_Pos (22UL) /*!< BCCU CHOCON: CH6TPE (Bit 22) */ +#define BCCU_CHOCON_CH6TPE_Msk (0x400000UL) /*!< BCCU CHOCON: CH6TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH7TPE_Pos (23UL) /*!< BCCU CHOCON: CH7TPE (Bit 23) */ +#define BCCU_CHOCON_CH7TPE_Msk (0x800000UL) /*!< BCCU CHOCON: CH7TPE (Bitfield-Mask: 0x01) */ +#define BCCU_CHOCON_CH8TPE_Pos (24UL) /*!< BCCU CHOCON: CH8TPE (Bit 24) */ +#define BCCU_CHOCON_CH8TPE_Msk (0x1000000UL) /*!< BCCU CHOCON: CH8TPE (Bitfield-Mask: 0x01) */ + +/* --------------------------------- BCCU_CHTRIG -------------------------------- */ +#define BCCU_CHTRIG_ET0_Pos (0UL) /*!< BCCU CHTRIG: ET0 (Bit 0) */ +#define BCCU_CHTRIG_ET0_Msk (0x1UL) /*!< BCCU CHTRIG: ET0 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET1_Pos (1UL) /*!< BCCU CHTRIG: ET1 (Bit 1) */ +#define BCCU_CHTRIG_ET1_Msk (0x2UL) /*!< BCCU CHTRIG: ET1 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET2_Pos (2UL) /*!< BCCU CHTRIG: ET2 (Bit 2) */ +#define BCCU_CHTRIG_ET2_Msk (0x4UL) /*!< BCCU CHTRIG: ET2 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET3_Pos (3UL) /*!< BCCU CHTRIG: ET3 (Bit 3) */ +#define BCCU_CHTRIG_ET3_Msk (0x8UL) /*!< BCCU CHTRIG: ET3 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET4_Pos (4UL) /*!< BCCU CHTRIG: ET4 (Bit 4) */ +#define BCCU_CHTRIG_ET4_Msk (0x10UL) /*!< BCCU CHTRIG: ET4 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET5_Pos (5UL) /*!< BCCU CHTRIG: ET5 (Bit 5) */ +#define BCCU_CHTRIG_ET5_Msk (0x20UL) /*!< BCCU CHTRIG: ET5 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET6_Pos (6UL) /*!< BCCU CHTRIG: ET6 (Bit 6) */ +#define BCCU_CHTRIG_ET6_Msk (0x40UL) /*!< BCCU CHTRIG: ET6 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET7_Pos (7UL) /*!< BCCU CHTRIG: ET7 (Bit 7) */ +#define BCCU_CHTRIG_ET7_Msk (0x80UL) /*!< BCCU CHTRIG: ET7 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_ET8_Pos (8UL) /*!< BCCU CHTRIG: ET8 (Bit 8) */ +#define BCCU_CHTRIG_ET8_Msk (0x100UL) /*!< BCCU CHTRIG: ET8 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS0_Pos (16UL) /*!< BCCU CHTRIG: TOS0 (Bit 16) */ +#define BCCU_CHTRIG_TOS0_Msk (0x10000UL) /*!< BCCU CHTRIG: TOS0 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS1_Pos (17UL) /*!< BCCU CHTRIG: TOS1 (Bit 17) */ +#define BCCU_CHTRIG_TOS1_Msk (0x20000UL) /*!< BCCU CHTRIG: TOS1 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS2_Pos (18UL) /*!< BCCU CHTRIG: TOS2 (Bit 18) */ +#define BCCU_CHTRIG_TOS2_Msk (0x40000UL) /*!< BCCU CHTRIG: TOS2 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS3_Pos (19UL) /*!< BCCU CHTRIG: TOS3 (Bit 19) */ +#define BCCU_CHTRIG_TOS3_Msk (0x80000UL) /*!< BCCU CHTRIG: TOS3 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS4_Pos (20UL) /*!< BCCU CHTRIG: TOS4 (Bit 20) */ +#define BCCU_CHTRIG_TOS4_Msk (0x100000UL) /*!< BCCU CHTRIG: TOS4 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS5_Pos (21UL) /*!< BCCU CHTRIG: TOS5 (Bit 21) */ +#define BCCU_CHTRIG_TOS5_Msk (0x200000UL) /*!< BCCU CHTRIG: TOS5 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS6_Pos (22UL) /*!< BCCU CHTRIG: TOS6 (Bit 22) */ +#define BCCU_CHTRIG_TOS6_Msk (0x400000UL) /*!< BCCU CHTRIG: TOS6 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS7_Pos (23UL) /*!< BCCU CHTRIG: TOS7 (Bit 23) */ +#define BCCU_CHTRIG_TOS7_Msk (0x800000UL) /*!< BCCU CHTRIG: TOS7 (Bitfield-Mask: 0x01) */ +#define BCCU_CHTRIG_TOS8_Pos (24UL) /*!< BCCU CHTRIG: TOS8 (Bit 24) */ +#define BCCU_CHTRIG_TOS8_Msk (0x1000000UL) /*!< BCCU CHTRIG: TOS8 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- BCCU_CHSTRCON ------------------------------- */ +#define BCCU_CHSTRCON_CH0S_Pos (0UL) /*!< BCCU CHSTRCON: CH0S (Bit 0) */ +#define BCCU_CHSTRCON_CH0S_Msk (0x1UL) /*!< BCCU CHSTRCON: CH0S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH1S_Pos (1UL) /*!< BCCU CHSTRCON: CH1S (Bit 1) */ +#define BCCU_CHSTRCON_CH1S_Msk (0x2UL) /*!< BCCU CHSTRCON: CH1S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH2S_Pos (2UL) /*!< BCCU CHSTRCON: CH2S (Bit 2) */ +#define BCCU_CHSTRCON_CH2S_Msk (0x4UL) /*!< BCCU CHSTRCON: CH2S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH3S_Pos (3UL) /*!< BCCU CHSTRCON: CH3S (Bit 3) */ +#define BCCU_CHSTRCON_CH3S_Msk (0x8UL) /*!< BCCU CHSTRCON: CH3S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH4S_Pos (4UL) /*!< BCCU CHSTRCON: CH4S (Bit 4) */ +#define BCCU_CHSTRCON_CH4S_Msk (0x10UL) /*!< BCCU CHSTRCON: CH4S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH5S_Pos (5UL) /*!< BCCU CHSTRCON: CH5S (Bit 5) */ +#define BCCU_CHSTRCON_CH5S_Msk (0x20UL) /*!< BCCU CHSTRCON: CH5S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH6S_Pos (6UL) /*!< BCCU CHSTRCON: CH6S (Bit 6) */ +#define BCCU_CHSTRCON_CH6S_Msk (0x40UL) /*!< BCCU CHSTRCON: CH6S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH7S_Pos (7UL) /*!< BCCU CHSTRCON: CH7S (Bit 7) */ +#define BCCU_CHSTRCON_CH7S_Msk (0x80UL) /*!< BCCU CHSTRCON: CH7S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH8S_Pos (8UL) /*!< BCCU CHSTRCON: CH8S (Bit 8) */ +#define BCCU_CHSTRCON_CH8S_Msk (0x100UL) /*!< BCCU CHSTRCON: CH8S (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH0A_Pos (16UL) /*!< BCCU CHSTRCON: CH0A (Bit 16) */ +#define BCCU_CHSTRCON_CH0A_Msk (0x10000UL) /*!< BCCU CHSTRCON: CH0A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH1A_Pos (17UL) /*!< BCCU CHSTRCON: CH1A (Bit 17) */ +#define BCCU_CHSTRCON_CH1A_Msk (0x20000UL) /*!< BCCU CHSTRCON: CH1A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH2A_Pos (18UL) /*!< BCCU CHSTRCON: CH2A (Bit 18) */ +#define BCCU_CHSTRCON_CH2A_Msk (0x40000UL) /*!< BCCU CHSTRCON: CH2A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH3A_Pos (19UL) /*!< BCCU CHSTRCON: CH3A (Bit 19) */ +#define BCCU_CHSTRCON_CH3A_Msk (0x80000UL) /*!< BCCU CHSTRCON: CH3A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH4A_Pos (20UL) /*!< BCCU CHSTRCON: CH4A (Bit 20) */ +#define BCCU_CHSTRCON_CH4A_Msk (0x100000UL) /*!< BCCU CHSTRCON: CH4A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH5A_Pos (21UL) /*!< BCCU CHSTRCON: CH5A (Bit 21) */ +#define BCCU_CHSTRCON_CH5A_Msk (0x200000UL) /*!< BCCU CHSTRCON: CH5A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH6A_Pos (22UL) /*!< BCCU CHSTRCON: CH6A (Bit 22) */ +#define BCCU_CHSTRCON_CH6A_Msk (0x400000UL) /*!< BCCU CHSTRCON: CH6A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH7A_Pos (23UL) /*!< BCCU CHSTRCON: CH7A (Bit 23) */ +#define BCCU_CHSTRCON_CH7A_Msk (0x800000UL) /*!< BCCU CHSTRCON: CH7A (Bitfield-Mask: 0x01) */ +#define BCCU_CHSTRCON_CH8A_Pos (24UL) /*!< BCCU CHSTRCON: CH8A (Bit 24) */ +#define BCCU_CHSTRCON_CH8A_Msk (0x1000000UL) /*!< BCCU CHSTRCON: CH8A (Bitfield-Mask: 0x01) */ + +/* --------------------------------- BCCU_LTCHOL -------------------------------- */ +#define BCCU_LTCHOL_LTOL0_Pos (0UL) /*!< BCCU LTCHOL: LTOL0 (Bit 0) */ +#define BCCU_LTCHOL_LTOL0_Msk (0x1UL) /*!< BCCU LTCHOL: LTOL0 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL1_Pos (1UL) /*!< BCCU LTCHOL: LTOL1 (Bit 1) */ +#define BCCU_LTCHOL_LTOL1_Msk (0x2UL) /*!< BCCU LTCHOL: LTOL1 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL2_Pos (2UL) /*!< BCCU LTCHOL: LTOL2 (Bit 2) */ +#define BCCU_LTCHOL_LTOL2_Msk (0x4UL) /*!< BCCU LTCHOL: LTOL2 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL3_Pos (3UL) /*!< BCCU LTCHOL: LTOL3 (Bit 3) */ +#define BCCU_LTCHOL_LTOL3_Msk (0x8UL) /*!< BCCU LTCHOL: LTOL3 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL4_Pos (4UL) /*!< BCCU LTCHOL: LTOL4 (Bit 4) */ +#define BCCU_LTCHOL_LTOL4_Msk (0x10UL) /*!< BCCU LTCHOL: LTOL4 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL5_Pos (5UL) /*!< BCCU LTCHOL: LTOL5 (Bit 5) */ +#define BCCU_LTCHOL_LTOL5_Msk (0x20UL) /*!< BCCU LTCHOL: LTOL5 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL6_Pos (6UL) /*!< BCCU LTCHOL: LTOL6 (Bit 6) */ +#define BCCU_LTCHOL_LTOL6_Msk (0x40UL) /*!< BCCU LTCHOL: LTOL6 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL7_Pos (7UL) /*!< BCCU LTCHOL: LTOL7 (Bit 7) */ +#define BCCU_LTCHOL_LTOL7_Msk (0x80UL) /*!< BCCU LTCHOL: LTOL7 (Bitfield-Mask: 0x01) */ +#define BCCU_LTCHOL_LTOL8_Pos (8UL) /*!< BCCU LTCHOL: LTOL8 (Bit 8) */ +#define BCCU_LTCHOL_LTOL8_Msk (0x100UL) /*!< BCCU LTCHOL: LTOL8 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- BCCU_DEEN --------------------------------- */ +#define BCCU_DEEN_EDE0_Pos (0UL) /*!< BCCU DEEN: EDE0 (Bit 0) */ +#define BCCU_DEEN_EDE0_Msk (0x1UL) /*!< BCCU DEEN: EDE0 (Bitfield-Mask: 0x01) */ +#define BCCU_DEEN_EDE1_Pos (1UL) /*!< BCCU DEEN: EDE1 (Bit 1) */ +#define BCCU_DEEN_EDE1_Msk (0x2UL) /*!< BCCU DEEN: EDE1 (Bitfield-Mask: 0x01) */ +#define BCCU_DEEN_EDE2_Pos (2UL) /*!< BCCU DEEN: EDE2 (Bit 2) */ +#define BCCU_DEEN_EDE2_Msk (0x4UL) /*!< BCCU DEEN: EDE2 (Bitfield-Mask: 0x01) */ + +/* -------------------------------- BCCU_DESTRCON ------------------------------- */ +#define BCCU_DESTRCON_DE0S_Pos (0UL) /*!< BCCU DESTRCON: DE0S (Bit 0) */ +#define BCCU_DESTRCON_DE0S_Msk (0x1UL) /*!< BCCU DESTRCON: DE0S (Bitfield-Mask: 0x01) */ +#define BCCU_DESTRCON_DE1S_Pos (1UL) /*!< BCCU DESTRCON: DE1S (Bit 1) */ +#define BCCU_DESTRCON_DE1S_Msk (0x2UL) /*!< BCCU DESTRCON: DE1S (Bitfield-Mask: 0x01) */ +#define BCCU_DESTRCON_DE2S_Pos (2UL) /*!< BCCU DESTRCON: DE2S (Bit 2) */ +#define BCCU_DESTRCON_DE2S_Msk (0x4UL) /*!< BCCU DESTRCON: DE2S (Bitfield-Mask: 0x01) */ +#define BCCU_DESTRCON_DE0A_Pos (16UL) /*!< BCCU DESTRCON: DE0A (Bit 16) */ +#define BCCU_DESTRCON_DE0A_Msk (0x10000UL) /*!< BCCU DESTRCON: DE0A (Bitfield-Mask: 0x01) */ +#define BCCU_DESTRCON_DE1A_Pos (17UL) /*!< BCCU DESTRCON: DE1A (Bit 17) */ +#define BCCU_DESTRCON_DE1A_Msk (0x20000UL) /*!< BCCU DESTRCON: DE1A (Bitfield-Mask: 0x01) */ +#define BCCU_DESTRCON_DE2A_Pos (18UL) /*!< BCCU DESTRCON: DE2A (Bit 18) */ +#define BCCU_DESTRCON_DE2A_Msk (0x40000UL) /*!< BCCU DESTRCON: DE2A (Bitfield-Mask: 0x01) */ + +/* -------------------------------- BCCU_GLOBDIM -------------------------------- */ +#define BCCU_GLOBDIM_GLOBDIM_Pos (0UL) /*!< BCCU GLOBDIM: GLOBDIM (Bit 0) */ +#define BCCU_GLOBDIM_GLOBDIM_Msk (0xfffUL) /*!< BCCU GLOBDIM: GLOBDIM (Bitfield-Mask: 0xfff) */ + +/* --------------------------------- BCCU_EVIER --------------------------------- */ +#define BCCU_EVIER_T0IEN_Pos (0UL) /*!< BCCU EVIER: T0IEN (Bit 0) */ +#define BCCU_EVIER_T0IEN_Msk (0x1UL) /*!< BCCU EVIER: T0IEN (Bitfield-Mask: 0x01) */ +#define BCCU_EVIER_T1IEN_Pos (1UL) /*!< BCCU EVIER: T1IEN (Bit 1) */ +#define BCCU_EVIER_T1IEN_Msk (0x2UL) /*!< BCCU EVIER: T1IEN (Bitfield-Mask: 0x01) */ +#define BCCU_EVIER_FIEN_Pos (2UL) /*!< BCCU EVIER: FIEN (Bit 2) */ +#define BCCU_EVIER_FIEN_Msk (0x4UL) /*!< BCCU EVIER: FIEN (Bitfield-Mask: 0x01) */ +#define BCCU_EVIER_EIEN_Pos (3UL) /*!< BCCU EVIER: EIEN (Bit 3) */ +#define BCCU_EVIER_EIEN_Msk (0x8UL) /*!< BCCU EVIER: EIEN (Bitfield-Mask: 0x01) */ +#define BCCU_EVIER_TPIEN_Pos (4UL) /*!< BCCU EVIER: TPIEN (Bit 4) */ +#define BCCU_EVIER_TPIEN_Msk (0x10UL) /*!< BCCU EVIER: TPIEN (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- BCCU_EVFR --------------------------------- */ +#define BCCU_EVFR_T0F_Pos (0UL) /*!< BCCU EVFR: T0F (Bit 0) */ +#define BCCU_EVFR_T0F_Msk (0x1UL) /*!< BCCU EVFR: T0F (Bitfield-Mask: 0x01) */ +#define BCCU_EVFR_T1F_Pos (1UL) /*!< BCCU EVFR: T1F (Bit 1) */ +#define BCCU_EVFR_T1F_Msk (0x2UL) /*!< BCCU EVFR: T1F (Bitfield-Mask: 0x01) */ +#define BCCU_EVFR_FF_Pos (2UL) /*!< BCCU EVFR: FF (Bit 2) */ +#define BCCU_EVFR_FF_Msk (0x4UL) /*!< BCCU EVFR: FF (Bitfield-Mask: 0x01) */ +#define BCCU_EVFR_EF_Pos (3UL) /*!< BCCU EVFR: EF (Bit 3) */ +#define BCCU_EVFR_EF_Msk (0x8UL) /*!< BCCU EVFR: EF (Bitfield-Mask: 0x01) */ +#define BCCU_EVFR_TPF_Pos (4UL) /*!< BCCU EVFR: TPF (Bit 4) */ +#define BCCU_EVFR_TPF_Msk (0x10UL) /*!< BCCU EVFR: TPF (Bitfield-Mask: 0x01) */ +#define BCCU_EVFR_TPSF_Pos (6UL) /*!< BCCU EVFR: TPSF (Bit 6) */ +#define BCCU_EVFR_TPSF_Msk (0x40UL) /*!< BCCU EVFR: TPSF (Bitfield-Mask: 0x01) */ +#define BCCU_EVFR_TPINL_Pos (7UL) /*!< BCCU EVFR: TPINL (Bit 7) */ +#define BCCU_EVFR_TPINL_Msk (0x80UL) /*!< BCCU EVFR: TPINL (Bitfield-Mask: 0x01) */ + +/* --------------------------------- BCCU_EVFSR --------------------------------- */ +#define BCCU_EVFSR_T0FS_Pos (0UL) /*!< BCCU EVFSR: T0FS (Bit 0) */ +#define BCCU_EVFSR_T0FS_Msk (0x1UL) /*!< BCCU EVFSR: T0FS (Bitfield-Mask: 0x01) */ +#define BCCU_EVFSR_T1FS_Pos (1UL) /*!< BCCU EVFSR: T1FS (Bit 1) */ +#define BCCU_EVFSR_T1FS_Msk (0x2UL) /*!< BCCU EVFSR: T1FS (Bitfield-Mask: 0x01) */ +#define BCCU_EVFSR_FFS_Pos (2UL) /*!< BCCU EVFSR: FFS (Bit 2) */ +#define BCCU_EVFSR_FFS_Msk (0x4UL) /*!< BCCU EVFSR: FFS (Bitfield-Mask: 0x01) */ +#define BCCU_EVFSR_EFS_Pos (3UL) /*!< BCCU EVFSR: EFS (Bit 3) */ +#define BCCU_EVFSR_EFS_Msk (0x8UL) /*!< BCCU EVFSR: EFS (Bitfield-Mask: 0x01) */ +#define BCCU_EVFSR_TPFS_Pos (4UL) /*!< BCCU EVFSR: TPFS (Bit 4) */ +#define BCCU_EVFSR_TPFS_Msk (0x10UL) /*!< BCCU EVFSR: TPFS (Bitfield-Mask: 0x01) */ +#define BCCU_EVFSR_TPS_Pos (6UL) /*!< BCCU EVFSR: TPS (Bit 6) */ +#define BCCU_EVFSR_TPS_Msk (0x40UL) /*!< BCCU EVFSR: TPS (Bitfield-Mask: 0x01) */ + +/* --------------------------------- BCCU_EVFCR --------------------------------- */ +#define BCCU_EVFCR_T0FC_Pos (0UL) /*!< BCCU EVFCR: T0FC (Bit 0) */ +#define BCCU_EVFCR_T0FC_Msk (0x1UL) /*!< BCCU EVFCR: T0FC (Bitfield-Mask: 0x01) */ +#define BCCU_EVFCR_T1FC_Pos (1UL) /*!< BCCU EVFCR: T1FC (Bit 1) */ +#define BCCU_EVFCR_T1FC_Msk (0x2UL) /*!< BCCU EVFCR: T1FC (Bitfield-Mask: 0x01) */ +#define BCCU_EVFCR_FFC_Pos (2UL) /*!< BCCU EVFCR: FFC (Bit 2) */ +#define BCCU_EVFCR_FFC_Msk (0x4UL) /*!< BCCU EVFCR: FFC (Bitfield-Mask: 0x01) */ +#define BCCU_EVFCR_EFC_Pos (3UL) /*!< BCCU EVFCR: EFC (Bit 3) */ +#define BCCU_EVFCR_EFC_Msk (0x8UL) /*!< BCCU EVFCR: EFC (Bitfield-Mask: 0x01) */ +#define BCCU_EVFCR_TPFC_Pos (4UL) /*!< BCCU EVFCR: TPFC (Bit 4) */ +#define BCCU_EVFCR_TPFC_Msk (0x10UL) /*!< BCCU EVFCR: TPFC (Bitfield-Mask: 0x01) */ +#define BCCU_EVFCR_TPC_Pos (6UL) /*!< BCCU EVFCR: TPC (Bit 6) */ +#define BCCU_EVFCR_TPC_Msk (0x40UL) /*!< BCCU EVFCR: TPC (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ Group 'BCCU_CH' Position & Mask ================ */ +/* ================================================================================ */ + + +/* -------------------------------- BCCU_CH_INTS -------------------------------- */ +#define BCCU_CH_INTS_TCHINT_Pos (0UL) /*!< BCCU_CH INTS: TCHINT (Bit 0) */ +#define BCCU_CH_INTS_TCHINT_Msk (0xfffUL) /*!< BCCU_CH INTS: TCHINT (Bitfield-Mask: 0xfff) */ + +/* --------------------------------- BCCU_CH_INT -------------------------------- */ +#define BCCU_CH_INT_CHINT_Pos (0UL) /*!< BCCU_CH INT: CHINT (Bit 0) */ +#define BCCU_CH_INT_CHINT_Msk (0xfffUL) /*!< BCCU_CH INT: CHINT (Bitfield-Mask: 0xfff) */ + +/* ------------------------------ BCCU_CH_CHCONFIG ------------------------------ */ +#define BCCU_CH_CHCONFIG_PKTH_Pos (0UL) /*!< BCCU_CH CHCONFIG: PKTH (Bit 0) */ +#define BCCU_CH_CHCONFIG_PKTH_Msk (0x7UL) /*!< BCCU_CH CHCONFIG: PKTH (Bitfield-Mask: 0x07) */ +#define BCCU_CH_CHCONFIG_PEN_Pos (3UL) /*!< BCCU_CH CHCONFIG: PEN (Bit 3) */ +#define BCCU_CH_CHCONFIG_PEN_Msk (0x8UL) /*!< BCCU_CH CHCONFIG: PEN (Bitfield-Mask: 0x01) */ +#define BCCU_CH_CHCONFIG_DSEL_Pos (4UL) /*!< BCCU_CH CHCONFIG: DSEL (Bit 4) */ +#define BCCU_CH_CHCONFIG_DSEL_Msk (0x70UL) /*!< BCCU_CH CHCONFIG: DSEL (Bitfield-Mask: 0x07) */ +#define BCCU_CH_CHCONFIG_DBP_Pos (7UL) /*!< BCCU_CH CHCONFIG: DBP (Bit 7) */ +#define BCCU_CH_CHCONFIG_DBP_Msk (0x80UL) /*!< BCCU_CH CHCONFIG: DBP (Bitfield-Mask: 0x01) */ +#define BCCU_CH_CHCONFIG_GEN_Pos (8UL) /*!< BCCU_CH CHCONFIG: GEN (Bit 8) */ +#define BCCU_CH_CHCONFIG_GEN_Msk (0x100UL) /*!< BCCU_CH CHCONFIG: GEN (Bitfield-Mask: 0x01) */ +#define BCCU_CH_CHCONFIG_WEN_Pos (9UL) /*!< BCCU_CH CHCONFIG: WEN (Bit 9) */ +#define BCCU_CH_CHCONFIG_WEN_Msk (0x200UL) /*!< BCCU_CH CHCONFIG: WEN (Bitfield-Mask: 0x01) */ +#define BCCU_CH_CHCONFIG_TRED_Pos (10UL) /*!< BCCU_CH CHCONFIG: TRED (Bit 10) */ +#define BCCU_CH_CHCONFIG_TRED_Msk (0x400UL) /*!< BCCU_CH CHCONFIG: TRED (Bitfield-Mask: 0x01) */ +#define BCCU_CH_CHCONFIG_ENFT_Pos (11UL) /*!< BCCU_CH CHCONFIG: ENFT (Bit 11) */ +#define BCCU_CH_CHCONFIG_ENFT_Msk (0x800UL) /*!< BCCU_CH CHCONFIG: ENFT (Bitfield-Mask: 0x01) */ +#define BCCU_CH_CHCONFIG_LINPRES_Pos (16UL) /*!< BCCU_CH CHCONFIG: LINPRES (Bit 16) */ +#define BCCU_CH_CHCONFIG_LINPRES_Msk (0x3ff0000UL) /*!< BCCU_CH CHCONFIG: LINPRES (Bitfield-Mask: 0x3ff) */ + +/* -------------------------------- BCCU_CH_PKCMP ------------------------------- */ +#define BCCU_CH_PKCMP_OFFCMP_Pos (0UL) /*!< BCCU_CH PKCMP: OFFCMP (Bit 0) */ +#define BCCU_CH_PKCMP_OFFCMP_Msk (0xffUL) /*!< BCCU_CH PKCMP: OFFCMP (Bitfield-Mask: 0xff) */ +#define BCCU_CH_PKCMP_ONCMP_Pos (16UL) /*!< BCCU_CH PKCMP: ONCMP (Bit 16) */ +#define BCCU_CH_PKCMP_ONCMP_Msk (0xff0000UL) /*!< BCCU_CH PKCMP: ONCMP (Bitfield-Mask: 0xff) */ + +/* ------------------------------- BCCU_CH_PKCNTR ------------------------------- */ +#define BCCU_CH_PKCNTR_OFFCNTVAL_Pos (0UL) /*!< BCCU_CH PKCNTR: OFFCNTVAL (Bit 0) */ +#define BCCU_CH_PKCNTR_OFFCNTVAL_Msk (0xffUL) /*!< BCCU_CH PKCNTR: OFFCNTVAL (Bitfield-Mask: 0xff) */ +#define BCCU_CH_PKCNTR_ONCNTVAL_Pos (16UL) /*!< BCCU_CH PKCNTR: ONCNTVAL (Bit 16) */ +#define BCCU_CH_PKCNTR_ONCNTVAL_Msk (0xff0000UL) /*!< BCCU_CH PKCNTR: ONCNTVAL (Bitfield-Mask: 0xff) */ + + +/* ================================================================================ */ +/* ================ Group 'BCCU_DE' Position & Mask ================ */ +/* ================================================================================ */ + + +/* --------------------------------- BCCU_DE_DLS -------------------------------- */ +#define BCCU_DE_DLS_TDLEV_Pos (0UL) /*!< BCCU_DE DLS: TDLEV (Bit 0) */ +#define BCCU_DE_DLS_TDLEV_Msk (0xfffUL) /*!< BCCU_DE DLS: TDLEV (Bitfield-Mask: 0xfff) */ + +/* --------------------------------- BCCU_DE_DL --------------------------------- */ +#define BCCU_DE_DL_DLEV_Pos (0UL) /*!< BCCU_DE DL: DLEV (Bit 0) */ +#define BCCU_DE_DL_DLEV_Msk (0xfffUL) /*!< BCCU_DE DL: DLEV (Bitfield-Mask: 0xfff) */ + +/* --------------------------------- BCCU_DE_DTT -------------------------------- */ +#define BCCU_DE_DTT_DIMDIV_Pos (0UL) /*!< BCCU_DE DTT: DIMDIV (Bit 0) */ +#define BCCU_DE_DTT_DIMDIV_Msk (0x3ffUL) /*!< BCCU_DE DTT: DIMDIV (Bitfield-Mask: 0x3ff) */ +#define BCCU_DE_DTT_DTEN_Pos (16UL) /*!< BCCU_DE DTT: DTEN (Bit 16) */ +#define BCCU_DE_DTT_DTEN_Msk (0x10000UL) /*!< BCCU_DE DTT: DTEN (Bitfield-Mask: 0x01) */ +#define BCCU_DE_DTT_CSEL_Pos (17UL) /*!< BCCU_DE DTT: CSEL (Bit 17) */ +#define BCCU_DE_DTT_CSEL_Msk (0x20000UL) /*!< BCCU_DE DTT: CSEL (Bitfield-Mask: 0x01) */ + + +/* ================================================================================ */ +/* ================ struct 'PORT0' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------------- PORT0_OUT --------------------------------- */ +#define PORT0_OUT_P0_Pos (0UL) /*!< PORT0 OUT: P0 (Bit 0) */ +#define PORT0_OUT_P0_Msk (0x1UL) /*!< PORT0 OUT: P0 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P1_Pos (1UL) /*!< PORT0 OUT: P1 (Bit 1) */ +#define PORT0_OUT_P1_Msk (0x2UL) /*!< PORT0 OUT: P1 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P2_Pos (2UL) /*!< PORT0 OUT: P2 (Bit 2) */ +#define PORT0_OUT_P2_Msk (0x4UL) /*!< PORT0 OUT: P2 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P3_Pos (3UL) /*!< PORT0 OUT: P3 (Bit 3) */ +#define PORT0_OUT_P3_Msk (0x8UL) /*!< PORT0 OUT: P3 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P4_Pos (4UL) /*!< PORT0 OUT: P4 (Bit 4) */ +#define PORT0_OUT_P4_Msk (0x10UL) /*!< PORT0 OUT: P4 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P5_Pos (5UL) /*!< PORT0 OUT: P5 (Bit 5) */ +#define PORT0_OUT_P5_Msk (0x20UL) /*!< PORT0 OUT: P5 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P6_Pos (6UL) /*!< PORT0 OUT: P6 (Bit 6) */ +#define PORT0_OUT_P6_Msk (0x40UL) /*!< PORT0 OUT: P6 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P7_Pos (7UL) /*!< PORT0 OUT: P7 (Bit 7) */ +#define PORT0_OUT_P7_Msk (0x80UL) /*!< PORT0 OUT: P7 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P8_Pos (8UL) /*!< PORT0 OUT: P8 (Bit 8) */ +#define PORT0_OUT_P8_Msk (0x100UL) /*!< PORT0 OUT: P8 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P9_Pos (9UL) /*!< PORT0 OUT: P9 (Bit 9) */ +#define PORT0_OUT_P9_Msk (0x200UL) /*!< PORT0 OUT: P9 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P10_Pos (10UL) /*!< PORT0 OUT: P10 (Bit 10) */ +#define PORT0_OUT_P10_Msk (0x400UL) /*!< PORT0 OUT: P10 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P11_Pos (11UL) /*!< PORT0 OUT: P11 (Bit 11) */ +#define PORT0_OUT_P11_Msk (0x800UL) /*!< PORT0 OUT: P11 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P12_Pos (12UL) /*!< PORT0 OUT: P12 (Bit 12) */ +#define PORT0_OUT_P12_Msk (0x1000UL) /*!< PORT0 OUT: P12 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P13_Pos (13UL) /*!< PORT0 OUT: P13 (Bit 13) */ +#define PORT0_OUT_P13_Msk (0x2000UL) /*!< PORT0 OUT: P13 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P14_Pos (14UL) /*!< PORT0 OUT: P14 (Bit 14) */ +#define PORT0_OUT_P14_Msk (0x4000UL) /*!< PORT0 OUT: P14 (Bitfield-Mask: 0x01) */ +#define PORT0_OUT_P15_Pos (15UL) /*!< PORT0 OUT: P15 (Bit 15) */ +#define PORT0_OUT_P15_Msk (0x8000UL) /*!< PORT0 OUT: P15 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PORT0_OMR --------------------------------- */ +#define PORT0_OMR_PS0_Pos (0UL) /*!< PORT0 OMR: PS0 (Bit 0) */ +#define PORT0_OMR_PS0_Msk (0x1UL) /*!< PORT0 OMR: PS0 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS1_Pos (1UL) /*!< PORT0 OMR: PS1 (Bit 1) */ +#define PORT0_OMR_PS1_Msk (0x2UL) /*!< PORT0 OMR: PS1 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS2_Pos (2UL) /*!< PORT0 OMR: PS2 (Bit 2) */ +#define PORT0_OMR_PS2_Msk (0x4UL) /*!< PORT0 OMR: PS2 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS3_Pos (3UL) /*!< PORT0 OMR: PS3 (Bit 3) */ +#define PORT0_OMR_PS3_Msk (0x8UL) /*!< PORT0 OMR: PS3 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS4_Pos (4UL) /*!< PORT0 OMR: PS4 (Bit 4) */ +#define PORT0_OMR_PS4_Msk (0x10UL) /*!< PORT0 OMR: PS4 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS5_Pos (5UL) /*!< PORT0 OMR: PS5 (Bit 5) */ +#define PORT0_OMR_PS5_Msk (0x20UL) /*!< PORT0 OMR: PS5 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS6_Pos (6UL) /*!< PORT0 OMR: PS6 (Bit 6) */ +#define PORT0_OMR_PS6_Msk (0x40UL) /*!< PORT0 OMR: PS6 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS7_Pos (7UL) /*!< PORT0 OMR: PS7 (Bit 7) */ +#define PORT0_OMR_PS7_Msk (0x80UL) /*!< PORT0 OMR: PS7 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS8_Pos (8UL) /*!< PORT0 OMR: PS8 (Bit 8) */ +#define PORT0_OMR_PS8_Msk (0x100UL) /*!< PORT0 OMR: PS8 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS9_Pos (9UL) /*!< PORT0 OMR: PS9 (Bit 9) */ +#define PORT0_OMR_PS9_Msk (0x200UL) /*!< PORT0 OMR: PS9 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS10_Pos (10UL) /*!< PORT0 OMR: PS10 (Bit 10) */ +#define PORT0_OMR_PS10_Msk (0x400UL) /*!< PORT0 OMR: PS10 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS11_Pos (11UL) /*!< PORT0 OMR: PS11 (Bit 11) */ +#define PORT0_OMR_PS11_Msk (0x800UL) /*!< PORT0 OMR: PS11 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS12_Pos (12UL) /*!< PORT0 OMR: PS12 (Bit 12) */ +#define PORT0_OMR_PS12_Msk (0x1000UL) /*!< PORT0 OMR: PS12 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS13_Pos (13UL) /*!< PORT0 OMR: PS13 (Bit 13) */ +#define PORT0_OMR_PS13_Msk (0x2000UL) /*!< PORT0 OMR: PS13 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS14_Pos (14UL) /*!< PORT0 OMR: PS14 (Bit 14) */ +#define PORT0_OMR_PS14_Msk (0x4000UL) /*!< PORT0 OMR: PS14 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PS15_Pos (15UL) /*!< PORT0 OMR: PS15 (Bit 15) */ +#define PORT0_OMR_PS15_Msk (0x8000UL) /*!< PORT0 OMR: PS15 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR0_Pos (16UL) /*!< PORT0 OMR: PR0 (Bit 16) */ +#define PORT0_OMR_PR0_Msk (0x10000UL) /*!< PORT0 OMR: PR0 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR1_Pos (17UL) /*!< PORT0 OMR: PR1 (Bit 17) */ +#define PORT0_OMR_PR1_Msk (0x20000UL) /*!< PORT0 OMR: PR1 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR2_Pos (18UL) /*!< PORT0 OMR: PR2 (Bit 18) */ +#define PORT0_OMR_PR2_Msk (0x40000UL) /*!< PORT0 OMR: PR2 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR3_Pos (19UL) /*!< PORT0 OMR: PR3 (Bit 19) */ +#define PORT0_OMR_PR3_Msk (0x80000UL) /*!< PORT0 OMR: PR3 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR4_Pos (20UL) /*!< PORT0 OMR: PR4 (Bit 20) */ +#define PORT0_OMR_PR4_Msk (0x100000UL) /*!< PORT0 OMR: PR4 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR5_Pos (21UL) /*!< PORT0 OMR: PR5 (Bit 21) */ +#define PORT0_OMR_PR5_Msk (0x200000UL) /*!< PORT0 OMR: PR5 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR6_Pos (22UL) /*!< PORT0 OMR: PR6 (Bit 22) */ +#define PORT0_OMR_PR6_Msk (0x400000UL) /*!< PORT0 OMR: PR6 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR7_Pos (23UL) /*!< PORT0 OMR: PR7 (Bit 23) */ +#define PORT0_OMR_PR7_Msk (0x800000UL) /*!< PORT0 OMR: PR7 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR8_Pos (24UL) /*!< PORT0 OMR: PR8 (Bit 24) */ +#define PORT0_OMR_PR8_Msk (0x1000000UL) /*!< PORT0 OMR: PR8 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR9_Pos (25UL) /*!< PORT0 OMR: PR9 (Bit 25) */ +#define PORT0_OMR_PR9_Msk (0x2000000UL) /*!< PORT0 OMR: PR9 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR10_Pos (26UL) /*!< PORT0 OMR: PR10 (Bit 26) */ +#define PORT0_OMR_PR10_Msk (0x4000000UL) /*!< PORT0 OMR: PR10 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR11_Pos (27UL) /*!< PORT0 OMR: PR11 (Bit 27) */ +#define PORT0_OMR_PR11_Msk (0x8000000UL) /*!< PORT0 OMR: PR11 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR12_Pos (28UL) /*!< PORT0 OMR: PR12 (Bit 28) */ +#define PORT0_OMR_PR12_Msk (0x10000000UL) /*!< PORT0 OMR: PR12 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR13_Pos (29UL) /*!< PORT0 OMR: PR13 (Bit 29) */ +#define PORT0_OMR_PR13_Msk (0x20000000UL) /*!< PORT0 OMR: PR13 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR14_Pos (30UL) /*!< PORT0 OMR: PR14 (Bit 30) */ +#define PORT0_OMR_PR14_Msk (0x40000000UL) /*!< PORT0 OMR: PR14 (Bitfield-Mask: 0x01) */ +#define PORT0_OMR_PR15_Pos (31UL) /*!< PORT0 OMR: PR15 (Bit 31) */ +#define PORT0_OMR_PR15_Msk (0x80000000UL) /*!< PORT0 OMR: PR15 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT0_IOCR0 -------------------------------- */ +#define PORT0_IOCR0_PC0_Pos (3UL) /*!< PORT0 IOCR0: PC0 (Bit 3) */ +#define PORT0_IOCR0_PC0_Msk (0xf8UL) /*!< PORT0 IOCR0: PC0 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR0_PC1_Pos (11UL) /*!< PORT0 IOCR0: PC1 (Bit 11) */ +#define PORT0_IOCR0_PC1_Msk (0xf800UL) /*!< PORT0 IOCR0: PC1 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR0_PC2_Pos (19UL) /*!< PORT0 IOCR0: PC2 (Bit 19) */ +#define PORT0_IOCR0_PC2_Msk (0xf80000UL) /*!< PORT0 IOCR0: PC2 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR0_PC3_Pos (27UL) /*!< PORT0 IOCR0: PC3 (Bit 27) */ +#define PORT0_IOCR0_PC3_Msk (0xf8000000UL) /*!< PORT0 IOCR0: PC3 (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- PORT0_IOCR4 -------------------------------- */ +#define PORT0_IOCR4_PC4_Pos (3UL) /*!< PORT0 IOCR4: PC4 (Bit 3) */ +#define PORT0_IOCR4_PC4_Msk (0xf8UL) /*!< PORT0 IOCR4: PC4 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR4_PC5_Pos (11UL) /*!< PORT0 IOCR4: PC5 (Bit 11) */ +#define PORT0_IOCR4_PC5_Msk (0xf800UL) /*!< PORT0 IOCR4: PC5 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR4_PC6_Pos (19UL) /*!< PORT0 IOCR4: PC6 (Bit 19) */ +#define PORT0_IOCR4_PC6_Msk (0xf80000UL) /*!< PORT0 IOCR4: PC6 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR4_PC7_Pos (27UL) /*!< PORT0 IOCR4: PC7 (Bit 27) */ +#define PORT0_IOCR4_PC7_Msk (0xf8000000UL) /*!< PORT0 IOCR4: PC7 (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- PORT0_IOCR8 -------------------------------- */ +#define PORT0_IOCR8_PC8_Pos (3UL) /*!< PORT0 IOCR8: PC8 (Bit 3) */ +#define PORT0_IOCR8_PC8_Msk (0xf8UL) /*!< PORT0 IOCR8: PC8 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR8_PC9_Pos (11UL) /*!< PORT0 IOCR8: PC9 (Bit 11) */ +#define PORT0_IOCR8_PC9_Msk (0xf800UL) /*!< PORT0 IOCR8: PC9 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR8_PC10_Pos (19UL) /*!< PORT0 IOCR8: PC10 (Bit 19) */ +#define PORT0_IOCR8_PC10_Msk (0xf80000UL) /*!< PORT0 IOCR8: PC10 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR8_PC11_Pos (27UL) /*!< PORT0 IOCR8: PC11 (Bit 27) */ +#define PORT0_IOCR8_PC11_Msk (0xf8000000UL) /*!< PORT0 IOCR8: PC11 (Bitfield-Mask: 0x1f) */ + +/* -------------------------------- PORT0_IOCR12 -------------------------------- */ +#define PORT0_IOCR12_PC12_Pos (3UL) /*!< PORT0 IOCR12: PC12 (Bit 3) */ +#define PORT0_IOCR12_PC12_Msk (0xf8UL) /*!< PORT0 IOCR12: PC12 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR12_PC13_Pos (11UL) /*!< PORT0 IOCR12: PC13 (Bit 11) */ +#define PORT0_IOCR12_PC13_Msk (0xf800UL) /*!< PORT0 IOCR12: PC13 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR12_PC14_Pos (19UL) /*!< PORT0 IOCR12: PC14 (Bit 19) */ +#define PORT0_IOCR12_PC14_Msk (0xf80000UL) /*!< PORT0 IOCR12: PC14 (Bitfield-Mask: 0x1f) */ +#define PORT0_IOCR12_PC15_Pos (27UL) /*!< PORT0 IOCR12: PC15 (Bit 27) */ +#define PORT0_IOCR12_PC15_Msk (0xf8000000UL) /*!< PORT0 IOCR12: PC15 (Bitfield-Mask: 0x1f) */ + +/* ---------------------------------- PORT0_IN ---------------------------------- */ +#define PORT0_IN_P0_Pos (0UL) /*!< PORT0 IN: P0 (Bit 0) */ +#define PORT0_IN_P0_Msk (0x1UL) /*!< PORT0 IN: P0 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P1_Pos (1UL) /*!< PORT0 IN: P1 (Bit 1) */ +#define PORT0_IN_P1_Msk (0x2UL) /*!< PORT0 IN: P1 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P2_Pos (2UL) /*!< PORT0 IN: P2 (Bit 2) */ +#define PORT0_IN_P2_Msk (0x4UL) /*!< PORT0 IN: P2 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P3_Pos (3UL) /*!< PORT0 IN: P3 (Bit 3) */ +#define PORT0_IN_P3_Msk (0x8UL) /*!< PORT0 IN: P3 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P4_Pos (4UL) /*!< PORT0 IN: P4 (Bit 4) */ +#define PORT0_IN_P4_Msk (0x10UL) /*!< PORT0 IN: P4 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P5_Pos (5UL) /*!< PORT0 IN: P5 (Bit 5) */ +#define PORT0_IN_P5_Msk (0x20UL) /*!< PORT0 IN: P5 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P6_Pos (6UL) /*!< PORT0 IN: P6 (Bit 6) */ +#define PORT0_IN_P6_Msk (0x40UL) /*!< PORT0 IN: P6 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P7_Pos (7UL) /*!< PORT0 IN: P7 (Bit 7) */ +#define PORT0_IN_P7_Msk (0x80UL) /*!< PORT0 IN: P7 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P8_Pos (8UL) /*!< PORT0 IN: P8 (Bit 8) */ +#define PORT0_IN_P8_Msk (0x100UL) /*!< PORT0 IN: P8 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P9_Pos (9UL) /*!< PORT0 IN: P9 (Bit 9) */ +#define PORT0_IN_P9_Msk (0x200UL) /*!< PORT0 IN: P9 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P10_Pos (10UL) /*!< PORT0 IN: P10 (Bit 10) */ +#define PORT0_IN_P10_Msk (0x400UL) /*!< PORT0 IN: P10 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P11_Pos (11UL) /*!< PORT0 IN: P11 (Bit 11) */ +#define PORT0_IN_P11_Msk (0x800UL) /*!< PORT0 IN: P11 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P12_Pos (12UL) /*!< PORT0 IN: P12 (Bit 12) */ +#define PORT0_IN_P12_Msk (0x1000UL) /*!< PORT0 IN: P12 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P13_Pos (13UL) /*!< PORT0 IN: P13 (Bit 13) */ +#define PORT0_IN_P13_Msk (0x2000UL) /*!< PORT0 IN: P13 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P14_Pos (14UL) /*!< PORT0 IN: P14 (Bit 14) */ +#define PORT0_IN_P14_Msk (0x4000UL) /*!< PORT0 IN: P14 (Bitfield-Mask: 0x01) */ +#define PORT0_IN_P15_Pos (15UL) /*!< PORT0 IN: P15 (Bit 15) */ +#define PORT0_IN_P15_Msk (0x8000UL) /*!< PORT0 IN: P15 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT0_PHCR0 -------------------------------- */ +#define PORT0_PHCR0_PH0_Pos (2UL) /*!< PORT0 PHCR0: PH0 (Bit 2) */ +#define PORT0_PHCR0_PH0_Msk (0x4UL) /*!< PORT0 PHCR0: PH0 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH1_Pos (6UL) /*!< PORT0 PHCR0: PH1 (Bit 6) */ +#define PORT0_PHCR0_PH1_Msk (0x40UL) /*!< PORT0 PHCR0: PH1 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH2_Pos (10UL) /*!< PORT0 PHCR0: PH2 (Bit 10) */ +#define PORT0_PHCR0_PH2_Msk (0x400UL) /*!< PORT0 PHCR0: PH2 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH3_Pos (14UL) /*!< PORT0 PHCR0: PH3 (Bit 14) */ +#define PORT0_PHCR0_PH3_Msk (0x4000UL) /*!< PORT0 PHCR0: PH3 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH4_Pos (18UL) /*!< PORT0 PHCR0: PH4 (Bit 18) */ +#define PORT0_PHCR0_PH4_Msk (0x40000UL) /*!< PORT0 PHCR0: PH4 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH5_Pos (22UL) /*!< PORT0 PHCR0: PH5 (Bit 22) */ +#define PORT0_PHCR0_PH5_Msk (0x400000UL) /*!< PORT0 PHCR0: PH5 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH6_Pos (26UL) /*!< PORT0 PHCR0: PH6 (Bit 26) */ +#define PORT0_PHCR0_PH6_Msk (0x4000000UL) /*!< PORT0 PHCR0: PH6 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR0_PH7_Pos (30UL) /*!< PORT0 PHCR0: PH7 (Bit 30) */ +#define PORT0_PHCR0_PH7_Msk (0x40000000UL) /*!< PORT0 PHCR0: PH7 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT0_PHCR1 -------------------------------- */ +#define PORT0_PHCR1_PH8_Pos (2UL) /*!< PORT0 PHCR1: PH8 (Bit 2) */ +#define PORT0_PHCR1_PH8_Msk (0x4UL) /*!< PORT0 PHCR1: PH8 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH9_Pos (6UL) /*!< PORT0 PHCR1: PH9 (Bit 6) */ +#define PORT0_PHCR1_PH9_Msk (0x40UL) /*!< PORT0 PHCR1: PH9 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH10_Pos (10UL) /*!< PORT0 PHCR1: PH10 (Bit 10) */ +#define PORT0_PHCR1_PH10_Msk (0x400UL) /*!< PORT0 PHCR1: PH10 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH11_Pos (14UL) /*!< PORT0 PHCR1: PH11 (Bit 14) */ +#define PORT0_PHCR1_PH11_Msk (0x4000UL) /*!< PORT0 PHCR1: PH11 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH12_Pos (18UL) /*!< PORT0 PHCR1: PH12 (Bit 18) */ +#define PORT0_PHCR1_PH12_Msk (0x40000UL) /*!< PORT0 PHCR1: PH12 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH13_Pos (22UL) /*!< PORT0 PHCR1: PH13 (Bit 22) */ +#define PORT0_PHCR1_PH13_Msk (0x400000UL) /*!< PORT0 PHCR1: PH13 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH14_Pos (26UL) /*!< PORT0 PHCR1: PH14 (Bit 26) */ +#define PORT0_PHCR1_PH14_Msk (0x4000000UL) /*!< PORT0 PHCR1: PH14 (Bitfield-Mask: 0x01) */ +#define PORT0_PHCR1_PH15_Pos (30UL) /*!< PORT0 PHCR1: PH15 (Bit 30) */ +#define PORT0_PHCR1_PH15_Msk (0x40000000UL) /*!< PORT0 PHCR1: PH15 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT0_PDISC -------------------------------- */ +#define PORT0_PDISC_PDIS0_Pos (0UL) /*!< PORT0 PDISC: PDIS0 (Bit 0) */ +#define PORT0_PDISC_PDIS0_Msk (0x1UL) /*!< PORT0 PDISC: PDIS0 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS1_Pos (1UL) /*!< PORT0 PDISC: PDIS1 (Bit 1) */ +#define PORT0_PDISC_PDIS1_Msk (0x2UL) /*!< PORT0 PDISC: PDIS1 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS2_Pos (2UL) /*!< PORT0 PDISC: PDIS2 (Bit 2) */ +#define PORT0_PDISC_PDIS2_Msk (0x4UL) /*!< PORT0 PDISC: PDIS2 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS3_Pos (3UL) /*!< PORT0 PDISC: PDIS3 (Bit 3) */ +#define PORT0_PDISC_PDIS3_Msk (0x8UL) /*!< PORT0 PDISC: PDIS3 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS4_Pos (4UL) /*!< PORT0 PDISC: PDIS4 (Bit 4) */ +#define PORT0_PDISC_PDIS4_Msk (0x10UL) /*!< PORT0 PDISC: PDIS4 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS5_Pos (5UL) /*!< PORT0 PDISC: PDIS5 (Bit 5) */ +#define PORT0_PDISC_PDIS5_Msk (0x20UL) /*!< PORT0 PDISC: PDIS5 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS6_Pos (6UL) /*!< PORT0 PDISC: PDIS6 (Bit 6) */ +#define PORT0_PDISC_PDIS6_Msk (0x40UL) /*!< PORT0 PDISC: PDIS6 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS7_Pos (7UL) /*!< PORT0 PDISC: PDIS7 (Bit 7) */ +#define PORT0_PDISC_PDIS7_Msk (0x80UL) /*!< PORT0 PDISC: PDIS7 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS8_Pos (8UL) /*!< PORT0 PDISC: PDIS8 (Bit 8) */ +#define PORT0_PDISC_PDIS8_Msk (0x100UL) /*!< PORT0 PDISC: PDIS8 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS9_Pos (9UL) /*!< PORT0 PDISC: PDIS9 (Bit 9) */ +#define PORT0_PDISC_PDIS9_Msk (0x200UL) /*!< PORT0 PDISC: PDIS9 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS10_Pos (10UL) /*!< PORT0 PDISC: PDIS10 (Bit 10) */ +#define PORT0_PDISC_PDIS10_Msk (0x400UL) /*!< PORT0 PDISC: PDIS10 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS11_Pos (11UL) /*!< PORT0 PDISC: PDIS11 (Bit 11) */ +#define PORT0_PDISC_PDIS11_Msk (0x800UL) /*!< PORT0 PDISC: PDIS11 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS12_Pos (12UL) /*!< PORT0 PDISC: PDIS12 (Bit 12) */ +#define PORT0_PDISC_PDIS12_Msk (0x1000UL) /*!< PORT0 PDISC: PDIS12 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS13_Pos (13UL) /*!< PORT0 PDISC: PDIS13 (Bit 13) */ +#define PORT0_PDISC_PDIS13_Msk (0x2000UL) /*!< PORT0 PDISC: PDIS13 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS14_Pos (14UL) /*!< PORT0 PDISC: PDIS14 (Bit 14) */ +#define PORT0_PDISC_PDIS14_Msk (0x4000UL) /*!< PORT0 PDISC: PDIS14 (Bitfield-Mask: 0x01) */ +#define PORT0_PDISC_PDIS15_Pos (15UL) /*!< PORT0 PDISC: PDIS15 (Bit 15) */ +#define PORT0_PDISC_PDIS15_Msk (0x8000UL) /*!< PORT0 PDISC: PDIS15 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PORT0_PPS --------------------------------- */ +#define PORT0_PPS_PPS0_Pos (0UL) /*!< PORT0 PPS: PPS0 (Bit 0) */ +#define PORT0_PPS_PPS0_Msk (0x1UL) /*!< PORT0 PPS: PPS0 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS1_Pos (1UL) /*!< PORT0 PPS: PPS1 (Bit 1) */ +#define PORT0_PPS_PPS1_Msk (0x2UL) /*!< PORT0 PPS: PPS1 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS2_Pos (2UL) /*!< PORT0 PPS: PPS2 (Bit 2) */ +#define PORT0_PPS_PPS2_Msk (0x4UL) /*!< PORT0 PPS: PPS2 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS3_Pos (3UL) /*!< PORT0 PPS: PPS3 (Bit 3) */ +#define PORT0_PPS_PPS3_Msk (0x8UL) /*!< PORT0 PPS: PPS3 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS4_Pos (4UL) /*!< PORT0 PPS: PPS4 (Bit 4) */ +#define PORT0_PPS_PPS4_Msk (0x10UL) /*!< PORT0 PPS: PPS4 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS5_Pos (5UL) /*!< PORT0 PPS: PPS5 (Bit 5) */ +#define PORT0_PPS_PPS5_Msk (0x20UL) /*!< PORT0 PPS: PPS5 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS6_Pos (6UL) /*!< PORT0 PPS: PPS6 (Bit 6) */ +#define PORT0_PPS_PPS6_Msk (0x40UL) /*!< PORT0 PPS: PPS6 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS7_Pos (7UL) /*!< PORT0 PPS: PPS7 (Bit 7) */ +#define PORT0_PPS_PPS7_Msk (0x80UL) /*!< PORT0 PPS: PPS7 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS8_Pos (8UL) /*!< PORT0 PPS: PPS8 (Bit 8) */ +#define PORT0_PPS_PPS8_Msk (0x100UL) /*!< PORT0 PPS: PPS8 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS9_Pos (9UL) /*!< PORT0 PPS: PPS9 (Bit 9) */ +#define PORT0_PPS_PPS9_Msk (0x200UL) /*!< PORT0 PPS: PPS9 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS10_Pos (10UL) /*!< PORT0 PPS: PPS10 (Bit 10) */ +#define PORT0_PPS_PPS10_Msk (0x400UL) /*!< PORT0 PPS: PPS10 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS11_Pos (11UL) /*!< PORT0 PPS: PPS11 (Bit 11) */ +#define PORT0_PPS_PPS11_Msk (0x800UL) /*!< PORT0 PPS: PPS11 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS12_Pos (12UL) /*!< PORT0 PPS: PPS12 (Bit 12) */ +#define PORT0_PPS_PPS12_Msk (0x1000UL) /*!< PORT0 PPS: PPS12 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS13_Pos (13UL) /*!< PORT0 PPS: PPS13 (Bit 13) */ +#define PORT0_PPS_PPS13_Msk (0x2000UL) /*!< PORT0 PPS: PPS13 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS14_Pos (14UL) /*!< PORT0 PPS: PPS14 (Bit 14) */ +#define PORT0_PPS_PPS14_Msk (0x4000UL) /*!< PORT0 PPS: PPS14 (Bitfield-Mask: 0x01) */ +#define PORT0_PPS_PPS15_Pos (15UL) /*!< PORT0 PPS: PPS15 (Bit 15) */ +#define PORT0_PPS_PPS15_Msk (0x8000UL) /*!< PORT0 PPS: PPS15 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT0_HWSEL -------------------------------- */ +#define PORT0_HWSEL_HW0_Pos (0UL) /*!< PORT0 HWSEL: HW0 (Bit 0) */ +#define PORT0_HWSEL_HW0_Msk (0x3UL) /*!< PORT0 HWSEL: HW0 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW1_Pos (2UL) /*!< PORT0 HWSEL: HW1 (Bit 2) */ +#define PORT0_HWSEL_HW1_Msk (0xcUL) /*!< PORT0 HWSEL: HW1 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW2_Pos (4UL) /*!< PORT0 HWSEL: HW2 (Bit 4) */ +#define PORT0_HWSEL_HW2_Msk (0x30UL) /*!< PORT0 HWSEL: HW2 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW3_Pos (6UL) /*!< PORT0 HWSEL: HW3 (Bit 6) */ +#define PORT0_HWSEL_HW3_Msk (0xc0UL) /*!< PORT0 HWSEL: HW3 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW4_Pos (8UL) /*!< PORT0 HWSEL: HW4 (Bit 8) */ +#define PORT0_HWSEL_HW4_Msk (0x300UL) /*!< PORT0 HWSEL: HW4 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW5_Pos (10UL) /*!< PORT0 HWSEL: HW5 (Bit 10) */ +#define PORT0_HWSEL_HW5_Msk (0xc00UL) /*!< PORT0 HWSEL: HW5 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW6_Pos (12UL) /*!< PORT0 HWSEL: HW6 (Bit 12) */ +#define PORT0_HWSEL_HW6_Msk (0x3000UL) /*!< PORT0 HWSEL: HW6 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW7_Pos (14UL) /*!< PORT0 HWSEL: HW7 (Bit 14) */ +#define PORT0_HWSEL_HW7_Msk (0xc000UL) /*!< PORT0 HWSEL: HW7 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW8_Pos (16UL) /*!< PORT0 HWSEL: HW8 (Bit 16) */ +#define PORT0_HWSEL_HW8_Msk (0x30000UL) /*!< PORT0 HWSEL: HW8 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW9_Pos (18UL) /*!< PORT0 HWSEL: HW9 (Bit 18) */ +#define PORT0_HWSEL_HW9_Msk (0xc0000UL) /*!< PORT0 HWSEL: HW9 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW10_Pos (20UL) /*!< PORT0 HWSEL: HW10 (Bit 20) */ +#define PORT0_HWSEL_HW10_Msk (0x300000UL) /*!< PORT0 HWSEL: HW10 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW11_Pos (22UL) /*!< PORT0 HWSEL: HW11 (Bit 22) */ +#define PORT0_HWSEL_HW11_Msk (0xc00000UL) /*!< PORT0 HWSEL: HW11 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW12_Pos (24UL) /*!< PORT0 HWSEL: HW12 (Bit 24) */ +#define PORT0_HWSEL_HW12_Msk (0x3000000UL) /*!< PORT0 HWSEL: HW12 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW13_Pos (26UL) /*!< PORT0 HWSEL: HW13 (Bit 26) */ +#define PORT0_HWSEL_HW13_Msk (0xc000000UL) /*!< PORT0 HWSEL: HW13 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW14_Pos (28UL) /*!< PORT0 HWSEL: HW14 (Bit 28) */ +#define PORT0_HWSEL_HW14_Msk (0x30000000UL) /*!< PORT0 HWSEL: HW14 (Bitfield-Mask: 0x03) */ +#define PORT0_HWSEL_HW15_Pos (30UL) /*!< PORT0 HWSEL: HW15 (Bit 30) */ +#define PORT0_HWSEL_HW15_Msk (0xc0000000UL) /*!< PORT0 HWSEL: HW15 (Bitfield-Mask: 0x03) */ + + +/* ================================================================================ */ +/* ================ struct 'PORT1' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------------- PORT1_OUT --------------------------------- */ +#define PORT1_OUT_P0_Pos (0UL) /*!< PORT1 OUT: P0 (Bit 0) */ +#define PORT1_OUT_P0_Msk (0x1UL) /*!< PORT1 OUT: P0 (Bitfield-Mask: 0x01) */ +#define PORT1_OUT_P1_Pos (1UL) /*!< PORT1 OUT: P1 (Bit 1) */ +#define PORT1_OUT_P1_Msk (0x2UL) /*!< PORT1 OUT: P1 (Bitfield-Mask: 0x01) */ +#define PORT1_OUT_P2_Pos (2UL) /*!< PORT1 OUT: P2 (Bit 2) */ +#define PORT1_OUT_P2_Msk (0x4UL) /*!< PORT1 OUT: P2 (Bitfield-Mask: 0x01) */ +#define PORT1_OUT_P3_Pos (3UL) /*!< PORT1 OUT: P3 (Bit 3) */ +#define PORT1_OUT_P3_Msk (0x8UL) /*!< PORT1 OUT: P3 (Bitfield-Mask: 0x01) */ +#define PORT1_OUT_P4_Pos (4UL) /*!< PORT1 OUT: P4 (Bit 4) */ +#define PORT1_OUT_P4_Msk (0x10UL) /*!< PORT1 OUT: P4 (Bitfield-Mask: 0x01) */ +#define PORT1_OUT_P5_Pos (5UL) /*!< PORT1 OUT: P5 (Bit 5) */ +#define PORT1_OUT_P5_Msk (0x20UL) /*!< PORT1 OUT: P5 (Bitfield-Mask: 0x01) */ +#define PORT1_OUT_P6_Pos (6UL) /*!< PORT1 OUT: P6 (Bit 6) */ +#define PORT1_OUT_P6_Msk (0x40UL) /*!< PORT1 OUT: P6 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PORT1_OMR --------------------------------- */ +#define PORT1_OMR_PS0_Pos (0UL) /*!< PORT1 OMR: PS0 (Bit 0) */ +#define PORT1_OMR_PS0_Msk (0x1UL) /*!< PORT1 OMR: PS0 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PS1_Pos (1UL) /*!< PORT1 OMR: PS1 (Bit 1) */ +#define PORT1_OMR_PS1_Msk (0x2UL) /*!< PORT1 OMR: PS1 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PS2_Pos (2UL) /*!< PORT1 OMR: PS2 (Bit 2) */ +#define PORT1_OMR_PS2_Msk (0x4UL) /*!< PORT1 OMR: PS2 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PS3_Pos (3UL) /*!< PORT1 OMR: PS3 (Bit 3) */ +#define PORT1_OMR_PS3_Msk (0x8UL) /*!< PORT1 OMR: PS3 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PS4_Pos (4UL) /*!< PORT1 OMR: PS4 (Bit 4) */ +#define PORT1_OMR_PS4_Msk (0x10UL) /*!< PORT1 OMR: PS4 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PS5_Pos (5UL) /*!< PORT1 OMR: PS5 (Bit 5) */ +#define PORT1_OMR_PS5_Msk (0x20UL) /*!< PORT1 OMR: PS5 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PS6_Pos (6UL) /*!< PORT1 OMR: PS6 (Bit 6) */ +#define PORT1_OMR_PS6_Msk (0x40UL) /*!< PORT1 OMR: PS6 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR0_Pos (16UL) /*!< PORT1 OMR: PR0 (Bit 16) */ +#define PORT1_OMR_PR0_Msk (0x10000UL) /*!< PORT1 OMR: PR0 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR1_Pos (17UL) /*!< PORT1 OMR: PR1 (Bit 17) */ +#define PORT1_OMR_PR1_Msk (0x20000UL) /*!< PORT1 OMR: PR1 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR2_Pos (18UL) /*!< PORT1 OMR: PR2 (Bit 18) */ +#define PORT1_OMR_PR2_Msk (0x40000UL) /*!< PORT1 OMR: PR2 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR3_Pos (19UL) /*!< PORT1 OMR: PR3 (Bit 19) */ +#define PORT1_OMR_PR3_Msk (0x80000UL) /*!< PORT1 OMR: PR3 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR4_Pos (20UL) /*!< PORT1 OMR: PR4 (Bit 20) */ +#define PORT1_OMR_PR4_Msk (0x100000UL) /*!< PORT1 OMR: PR4 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR5_Pos (21UL) /*!< PORT1 OMR: PR5 (Bit 21) */ +#define PORT1_OMR_PR5_Msk (0x200000UL) /*!< PORT1 OMR: PR5 (Bitfield-Mask: 0x01) */ +#define PORT1_OMR_PR6_Pos (22UL) /*!< PORT1 OMR: PR6 (Bit 22) */ +#define PORT1_OMR_PR6_Msk (0x400000UL) /*!< PORT1 OMR: PR6 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT1_IOCR0 -------------------------------- */ +#define PORT1_IOCR0_PC0_Pos (3UL) /*!< PORT1 IOCR0: PC0 (Bit 3) */ +#define PORT1_IOCR0_PC0_Msk (0xf8UL) /*!< PORT1 IOCR0: PC0 (Bitfield-Mask: 0x1f) */ +#define PORT1_IOCR0_PC1_Pos (11UL) /*!< PORT1 IOCR0: PC1 (Bit 11) */ +#define PORT1_IOCR0_PC1_Msk (0xf800UL) /*!< PORT1 IOCR0: PC1 (Bitfield-Mask: 0x1f) */ +#define PORT1_IOCR0_PC2_Pos (19UL) /*!< PORT1 IOCR0: PC2 (Bit 19) */ +#define PORT1_IOCR0_PC2_Msk (0xf80000UL) /*!< PORT1 IOCR0: PC2 (Bitfield-Mask: 0x1f) */ +#define PORT1_IOCR0_PC3_Pos (27UL) /*!< PORT1 IOCR0: PC3 (Bit 27) */ +#define PORT1_IOCR0_PC3_Msk (0xf8000000UL) /*!< PORT1 IOCR0: PC3 (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- PORT1_IOCR4 -------------------------------- */ +#define PORT1_IOCR4_PC4_Pos (3UL) /*!< PORT1 IOCR4: PC4 (Bit 3) */ +#define PORT1_IOCR4_PC4_Msk (0xf8UL) /*!< PORT1 IOCR4: PC4 (Bitfield-Mask: 0x1f) */ +#define PORT1_IOCR4_PC5_Pos (11UL) /*!< PORT1 IOCR4: PC5 (Bit 11) */ +#define PORT1_IOCR4_PC5_Msk (0xf800UL) /*!< PORT1 IOCR4: PC5 (Bitfield-Mask: 0x1f) */ +#define PORT1_IOCR4_PC6_Pos (19UL) /*!< PORT1 IOCR4: PC6 (Bit 19) */ +#define PORT1_IOCR4_PC6_Msk (0xf80000UL) /*!< PORT1 IOCR4: PC6 (Bitfield-Mask: 0x1f) */ + +/* ---------------------------------- PORT1_IN ---------------------------------- */ +#define PORT1_IN_P0_Pos (0UL) /*!< PORT1 IN: P0 (Bit 0) */ +#define PORT1_IN_P0_Msk (0x1UL) /*!< PORT1 IN: P0 (Bitfield-Mask: 0x01) */ +#define PORT1_IN_P1_Pos (1UL) /*!< PORT1 IN: P1 (Bit 1) */ +#define PORT1_IN_P1_Msk (0x2UL) /*!< PORT1 IN: P1 (Bitfield-Mask: 0x01) */ +#define PORT1_IN_P2_Pos (2UL) /*!< PORT1 IN: P2 (Bit 2) */ +#define PORT1_IN_P2_Msk (0x4UL) /*!< PORT1 IN: P2 (Bitfield-Mask: 0x01) */ +#define PORT1_IN_P3_Pos (3UL) /*!< PORT1 IN: P3 (Bit 3) */ +#define PORT1_IN_P3_Msk (0x8UL) /*!< PORT1 IN: P3 (Bitfield-Mask: 0x01) */ +#define PORT1_IN_P4_Pos (4UL) /*!< PORT1 IN: P4 (Bit 4) */ +#define PORT1_IN_P4_Msk (0x10UL) /*!< PORT1 IN: P4 (Bitfield-Mask: 0x01) */ +#define PORT1_IN_P5_Pos (5UL) /*!< PORT1 IN: P5 (Bit 5) */ +#define PORT1_IN_P5_Msk (0x20UL) /*!< PORT1 IN: P5 (Bitfield-Mask: 0x01) */ +#define PORT1_IN_P6_Pos (6UL) /*!< PORT1 IN: P6 (Bit 6) */ +#define PORT1_IN_P6_Msk (0x40UL) /*!< PORT1 IN: P6 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT1_PHCR0 -------------------------------- */ +#define PORT1_PHCR0_PH0_Pos (2UL) /*!< PORT1 PHCR0: PH0 (Bit 2) */ +#define PORT1_PHCR0_PH0_Msk (0x4UL) /*!< PORT1 PHCR0: PH0 (Bitfield-Mask: 0x01) */ +#define PORT1_PHCR0_PH1_Pos (6UL) /*!< PORT1 PHCR0: PH1 (Bit 6) */ +#define PORT1_PHCR0_PH1_Msk (0x40UL) /*!< PORT1 PHCR0: PH1 (Bitfield-Mask: 0x01) */ +#define PORT1_PHCR0_PH2_Pos (10UL) /*!< PORT1 PHCR0: PH2 (Bit 10) */ +#define PORT1_PHCR0_PH2_Msk (0x400UL) /*!< PORT1 PHCR0: PH2 (Bitfield-Mask: 0x01) */ +#define PORT1_PHCR0_PH3_Pos (14UL) /*!< PORT1 PHCR0: PH3 (Bit 14) */ +#define PORT1_PHCR0_PH3_Msk (0x4000UL) /*!< PORT1 PHCR0: PH3 (Bitfield-Mask: 0x01) */ +#define PORT1_PHCR0_PH4_Pos (18UL) /*!< PORT1 PHCR0: PH4 (Bit 18) */ +#define PORT1_PHCR0_PH4_Msk (0x40000UL) /*!< PORT1 PHCR0: PH4 (Bitfield-Mask: 0x01) */ +#define PORT1_PHCR0_PH5_Pos (22UL) /*!< PORT1 PHCR0: PH5 (Bit 22) */ +#define PORT1_PHCR0_PH5_Msk (0x400000UL) /*!< PORT1 PHCR0: PH5 (Bitfield-Mask: 0x01) */ +#define PORT1_PHCR0_PH6_Pos (26UL) /*!< PORT1 PHCR0: PH6 (Bit 26) */ +#define PORT1_PHCR0_PH6_Msk (0x4000000UL) /*!< PORT1 PHCR0: PH6 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT1_PDISC -------------------------------- */ +#define PORT1_PDISC_PDIS0_Pos (0UL) /*!< PORT1 PDISC: PDIS0 (Bit 0) */ +#define PORT1_PDISC_PDIS0_Msk (0x1UL) /*!< PORT1 PDISC: PDIS0 (Bitfield-Mask: 0x01) */ +#define PORT1_PDISC_PDIS1_Pos (1UL) /*!< PORT1 PDISC: PDIS1 (Bit 1) */ +#define PORT1_PDISC_PDIS1_Msk (0x2UL) /*!< PORT1 PDISC: PDIS1 (Bitfield-Mask: 0x01) */ +#define PORT1_PDISC_PDIS2_Pos (2UL) /*!< PORT1 PDISC: PDIS2 (Bit 2) */ +#define PORT1_PDISC_PDIS2_Msk (0x4UL) /*!< PORT1 PDISC: PDIS2 (Bitfield-Mask: 0x01) */ +#define PORT1_PDISC_PDIS3_Pos (3UL) /*!< PORT1 PDISC: PDIS3 (Bit 3) */ +#define PORT1_PDISC_PDIS3_Msk (0x8UL) /*!< PORT1 PDISC: PDIS3 (Bitfield-Mask: 0x01) */ +#define PORT1_PDISC_PDIS4_Pos (4UL) /*!< PORT1 PDISC: PDIS4 (Bit 4) */ +#define PORT1_PDISC_PDIS4_Msk (0x10UL) /*!< PORT1 PDISC: PDIS4 (Bitfield-Mask: 0x01) */ +#define PORT1_PDISC_PDIS5_Pos (5UL) /*!< PORT1 PDISC: PDIS5 (Bit 5) */ +#define PORT1_PDISC_PDIS5_Msk (0x20UL) /*!< PORT1 PDISC: PDIS5 (Bitfield-Mask: 0x01) */ +#define PORT1_PDISC_PDIS6_Pos (6UL) /*!< PORT1 PDISC: PDIS6 (Bit 6) */ +#define PORT1_PDISC_PDIS6_Msk (0x40UL) /*!< PORT1 PDISC: PDIS6 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PORT1_PPS --------------------------------- */ +#define PORT1_PPS_PPS0_Pos (0UL) /*!< PORT1 PPS: PPS0 (Bit 0) */ +#define PORT1_PPS_PPS0_Msk (0x1UL) /*!< PORT1 PPS: PPS0 (Bitfield-Mask: 0x01) */ +#define PORT1_PPS_PPS1_Pos (1UL) /*!< PORT1 PPS: PPS1 (Bit 1) */ +#define PORT1_PPS_PPS1_Msk (0x2UL) /*!< PORT1 PPS: PPS1 (Bitfield-Mask: 0x01) */ +#define PORT1_PPS_PPS2_Pos (2UL) /*!< PORT1 PPS: PPS2 (Bit 2) */ +#define PORT1_PPS_PPS2_Msk (0x4UL) /*!< PORT1 PPS: PPS2 (Bitfield-Mask: 0x01) */ +#define PORT1_PPS_PPS3_Pos (3UL) /*!< PORT1 PPS: PPS3 (Bit 3) */ +#define PORT1_PPS_PPS3_Msk (0x8UL) /*!< PORT1 PPS: PPS3 (Bitfield-Mask: 0x01) */ +#define PORT1_PPS_PPS4_Pos (4UL) /*!< PORT1 PPS: PPS4 (Bit 4) */ +#define PORT1_PPS_PPS4_Msk (0x10UL) /*!< PORT1 PPS: PPS4 (Bitfield-Mask: 0x01) */ +#define PORT1_PPS_PPS5_Pos (5UL) /*!< PORT1 PPS: PPS5 (Bit 5) */ +#define PORT1_PPS_PPS5_Msk (0x20UL) /*!< PORT1 PPS: PPS5 (Bitfield-Mask: 0x01) */ +#define PORT1_PPS_PPS6_Pos (6UL) /*!< PORT1 PPS: PPS6 (Bit 6) */ +#define PORT1_PPS_PPS6_Msk (0x40UL) /*!< PORT1 PPS: PPS6 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT1_HWSEL -------------------------------- */ +#define PORT1_HWSEL_HW0_Pos (0UL) /*!< PORT1 HWSEL: HW0 (Bit 0) */ +#define PORT1_HWSEL_HW0_Msk (0x3UL) /*!< PORT1 HWSEL: HW0 (Bitfield-Mask: 0x03) */ +#define PORT1_HWSEL_HW1_Pos (2UL) /*!< PORT1 HWSEL: HW1 (Bit 2) */ +#define PORT1_HWSEL_HW1_Msk (0xcUL) /*!< PORT1 HWSEL: HW1 (Bitfield-Mask: 0x03) */ +#define PORT1_HWSEL_HW2_Pos (4UL) /*!< PORT1 HWSEL: HW2 (Bit 4) */ +#define PORT1_HWSEL_HW2_Msk (0x30UL) /*!< PORT1 HWSEL: HW2 (Bitfield-Mask: 0x03) */ +#define PORT1_HWSEL_HW3_Pos (6UL) /*!< PORT1 HWSEL: HW3 (Bit 6) */ +#define PORT1_HWSEL_HW3_Msk (0xc0UL) /*!< PORT1 HWSEL: HW3 (Bitfield-Mask: 0x03) */ +#define PORT1_HWSEL_HW4_Pos (8UL) /*!< PORT1 HWSEL: HW4 (Bit 8) */ +#define PORT1_HWSEL_HW4_Msk (0x300UL) /*!< PORT1 HWSEL: HW4 (Bitfield-Mask: 0x03) */ +#define PORT1_HWSEL_HW5_Pos (10UL) /*!< PORT1 HWSEL: HW5 (Bit 10) */ +#define PORT1_HWSEL_HW5_Msk (0xc00UL) /*!< PORT1 HWSEL: HW5 (Bitfield-Mask: 0x03) */ +#define PORT1_HWSEL_HW6_Pos (12UL) /*!< PORT1 HWSEL: HW6 (Bit 12) */ +#define PORT1_HWSEL_HW6_Msk (0x3000UL) /*!< PORT1 HWSEL: HW6 (Bitfield-Mask: 0x03) */ + + +/* ================================================================================ */ +/* ================ struct 'PORT2' Position & Mask ================ */ +/* ================================================================================ */ + + +/* ---------------------------------- PORT2_OUT --------------------------------- */ +#define PORT2_OUT_P0_Pos (0UL) /*!< PORT2 OUT: P0 (Bit 0) */ +#define PORT2_OUT_P0_Msk (0x1UL) /*!< PORT2 OUT: P0 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P1_Pos (1UL) /*!< PORT2 OUT: P1 (Bit 1) */ +#define PORT2_OUT_P1_Msk (0x2UL) /*!< PORT2 OUT: P1 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P2_Pos (2UL) /*!< PORT2 OUT: P2 (Bit 2) */ +#define PORT2_OUT_P2_Msk (0x4UL) /*!< PORT2 OUT: P2 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P3_Pos (3UL) /*!< PORT2 OUT: P3 (Bit 3) */ +#define PORT2_OUT_P3_Msk (0x8UL) /*!< PORT2 OUT: P3 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P4_Pos (4UL) /*!< PORT2 OUT: P4 (Bit 4) */ +#define PORT2_OUT_P4_Msk (0x10UL) /*!< PORT2 OUT: P4 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P5_Pos (5UL) /*!< PORT2 OUT: P5 (Bit 5) */ +#define PORT2_OUT_P5_Msk (0x20UL) /*!< PORT2 OUT: P5 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P6_Pos (6UL) /*!< PORT2 OUT: P6 (Bit 6) */ +#define PORT2_OUT_P6_Msk (0x40UL) /*!< PORT2 OUT: P6 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P7_Pos (7UL) /*!< PORT2 OUT: P7 (Bit 7) */ +#define PORT2_OUT_P7_Msk (0x80UL) /*!< PORT2 OUT: P7 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P8_Pos (8UL) /*!< PORT2 OUT: P8 (Bit 8) */ +#define PORT2_OUT_P8_Msk (0x100UL) /*!< PORT2 OUT: P8 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P9_Pos (9UL) /*!< PORT2 OUT: P9 (Bit 9) */ +#define PORT2_OUT_P9_Msk (0x200UL) /*!< PORT2 OUT: P9 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P10_Pos (10UL) /*!< PORT2 OUT: P10 (Bit 10) */ +#define PORT2_OUT_P10_Msk (0x400UL) /*!< PORT2 OUT: P10 (Bitfield-Mask: 0x01) */ +#define PORT2_OUT_P11_Pos (11UL) /*!< PORT2 OUT: P11 (Bit 11) */ +#define PORT2_OUT_P11_Msk (0x800UL) /*!< PORT2 OUT: P11 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PORT2_OMR --------------------------------- */ +#define PORT2_OMR_PS0_Pos (0UL) /*!< PORT2 OMR: PS0 (Bit 0) */ +#define PORT2_OMR_PS0_Msk (0x1UL) /*!< PORT2 OMR: PS0 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS1_Pos (1UL) /*!< PORT2 OMR: PS1 (Bit 1) */ +#define PORT2_OMR_PS1_Msk (0x2UL) /*!< PORT2 OMR: PS1 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS2_Pos (2UL) /*!< PORT2 OMR: PS2 (Bit 2) */ +#define PORT2_OMR_PS2_Msk (0x4UL) /*!< PORT2 OMR: PS2 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS3_Pos (3UL) /*!< PORT2 OMR: PS3 (Bit 3) */ +#define PORT2_OMR_PS3_Msk (0x8UL) /*!< PORT2 OMR: PS3 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS4_Pos (4UL) /*!< PORT2 OMR: PS4 (Bit 4) */ +#define PORT2_OMR_PS4_Msk (0x10UL) /*!< PORT2 OMR: PS4 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS5_Pos (5UL) /*!< PORT2 OMR: PS5 (Bit 5) */ +#define PORT2_OMR_PS5_Msk (0x20UL) /*!< PORT2 OMR: PS5 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS6_Pos (6UL) /*!< PORT2 OMR: PS6 (Bit 6) */ +#define PORT2_OMR_PS6_Msk (0x40UL) /*!< PORT2 OMR: PS6 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS7_Pos (7UL) /*!< PORT2 OMR: PS7 (Bit 7) */ +#define PORT2_OMR_PS7_Msk (0x80UL) /*!< PORT2 OMR: PS7 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS8_Pos (8UL) /*!< PORT2 OMR: PS8 (Bit 8) */ +#define PORT2_OMR_PS8_Msk (0x100UL) /*!< PORT2 OMR: PS8 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS9_Pos (9UL) /*!< PORT2 OMR: PS9 (Bit 9) */ +#define PORT2_OMR_PS9_Msk (0x200UL) /*!< PORT2 OMR: PS9 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS10_Pos (10UL) /*!< PORT2 OMR: PS10 (Bit 10) */ +#define PORT2_OMR_PS10_Msk (0x400UL) /*!< PORT2 OMR: PS10 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PS11_Pos (11UL) /*!< PORT2 OMR: PS11 (Bit 11) */ +#define PORT2_OMR_PS11_Msk (0x800UL) /*!< PORT2 OMR: PS11 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR0_Pos (16UL) /*!< PORT2 OMR: PR0 (Bit 16) */ +#define PORT2_OMR_PR0_Msk (0x10000UL) /*!< PORT2 OMR: PR0 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR1_Pos (17UL) /*!< PORT2 OMR: PR1 (Bit 17) */ +#define PORT2_OMR_PR1_Msk (0x20000UL) /*!< PORT2 OMR: PR1 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR2_Pos (18UL) /*!< PORT2 OMR: PR2 (Bit 18) */ +#define PORT2_OMR_PR2_Msk (0x40000UL) /*!< PORT2 OMR: PR2 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR3_Pos (19UL) /*!< PORT2 OMR: PR3 (Bit 19) */ +#define PORT2_OMR_PR3_Msk (0x80000UL) /*!< PORT2 OMR: PR3 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR4_Pos (20UL) /*!< PORT2 OMR: PR4 (Bit 20) */ +#define PORT2_OMR_PR4_Msk (0x100000UL) /*!< PORT2 OMR: PR4 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR5_Pos (21UL) /*!< PORT2 OMR: PR5 (Bit 21) */ +#define PORT2_OMR_PR5_Msk (0x200000UL) /*!< PORT2 OMR: PR5 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR6_Pos (22UL) /*!< PORT2 OMR: PR6 (Bit 22) */ +#define PORT2_OMR_PR6_Msk (0x400000UL) /*!< PORT2 OMR: PR6 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR7_Pos (23UL) /*!< PORT2 OMR: PR7 (Bit 23) */ +#define PORT2_OMR_PR7_Msk (0x800000UL) /*!< PORT2 OMR: PR7 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR8_Pos (24UL) /*!< PORT2 OMR: PR8 (Bit 24) */ +#define PORT2_OMR_PR8_Msk (0x1000000UL) /*!< PORT2 OMR: PR8 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR9_Pos (25UL) /*!< PORT2 OMR: PR9 (Bit 25) */ +#define PORT2_OMR_PR9_Msk (0x2000000UL) /*!< PORT2 OMR: PR9 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR10_Pos (26UL) /*!< PORT2 OMR: PR10 (Bit 26) */ +#define PORT2_OMR_PR10_Msk (0x4000000UL) /*!< PORT2 OMR: PR10 (Bitfield-Mask: 0x01) */ +#define PORT2_OMR_PR11_Pos (27UL) /*!< PORT2 OMR: PR11 (Bit 27) */ +#define PORT2_OMR_PR11_Msk (0x8000000UL) /*!< PORT2 OMR: PR11 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT2_IOCR0 -------------------------------- */ +#define PORT2_IOCR0_PC0_Pos (3UL) /*!< PORT2 IOCR0: PC0 (Bit 3) */ +#define PORT2_IOCR0_PC0_Msk (0xf8UL) /*!< PORT2 IOCR0: PC0 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR0_PC1_Pos (11UL) /*!< PORT2 IOCR0: PC1 (Bit 11) */ +#define PORT2_IOCR0_PC1_Msk (0xf800UL) /*!< PORT2 IOCR0: PC1 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR0_PC2_Pos (19UL) /*!< PORT2 IOCR0: PC2 (Bit 19) */ +#define PORT2_IOCR0_PC2_Msk (0xf80000UL) /*!< PORT2 IOCR0: PC2 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR0_PC3_Pos (27UL) /*!< PORT2 IOCR0: PC3 (Bit 27) */ +#define PORT2_IOCR0_PC3_Msk (0xf8000000UL) /*!< PORT2 IOCR0: PC3 (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- PORT2_IOCR4 -------------------------------- */ +#define PORT2_IOCR4_PC4_Pos (3UL) /*!< PORT2 IOCR4: PC4 (Bit 3) */ +#define PORT2_IOCR4_PC4_Msk (0xf8UL) /*!< PORT2 IOCR4: PC4 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR4_PC5_Pos (11UL) /*!< PORT2 IOCR4: PC5 (Bit 11) */ +#define PORT2_IOCR4_PC5_Msk (0xf800UL) /*!< PORT2 IOCR4: PC5 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR4_PC6_Pos (19UL) /*!< PORT2 IOCR4: PC6 (Bit 19) */ +#define PORT2_IOCR4_PC6_Msk (0xf80000UL) /*!< PORT2 IOCR4: PC6 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR4_PC7_Pos (27UL) /*!< PORT2 IOCR4: PC7 (Bit 27) */ +#define PORT2_IOCR4_PC7_Msk (0xf8000000UL) /*!< PORT2 IOCR4: PC7 (Bitfield-Mask: 0x1f) */ + +/* --------------------------------- PORT2_IOCR8 -------------------------------- */ +#define PORT2_IOCR8_PC8_Pos (3UL) /*!< PORT2 IOCR8: PC8 (Bit 3) */ +#define PORT2_IOCR8_PC8_Msk (0xf8UL) /*!< PORT2 IOCR8: PC8 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR8_PC9_Pos (11UL) /*!< PORT2 IOCR8: PC9 (Bit 11) */ +#define PORT2_IOCR8_PC9_Msk (0xf800UL) /*!< PORT2 IOCR8: PC9 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR8_PC10_Pos (19UL) /*!< PORT2 IOCR8: PC10 (Bit 19) */ +#define PORT2_IOCR8_PC10_Msk (0xf80000UL) /*!< PORT2 IOCR8: PC10 (Bitfield-Mask: 0x1f) */ +#define PORT2_IOCR8_PC11_Pos (27UL) /*!< PORT2 IOCR8: PC11 (Bit 27) */ +#define PORT2_IOCR8_PC11_Msk (0xf8000000UL) /*!< PORT2 IOCR8: PC11 (Bitfield-Mask: 0x1f) */ + +/* ---------------------------------- PORT2_IN ---------------------------------- */ +#define PORT2_IN_P0_Pos (0UL) /*!< PORT2 IN: P0 (Bit 0) */ +#define PORT2_IN_P0_Msk (0x1UL) /*!< PORT2 IN: P0 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P1_Pos (1UL) /*!< PORT2 IN: P1 (Bit 1) */ +#define PORT2_IN_P1_Msk (0x2UL) /*!< PORT2 IN: P1 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P2_Pos (2UL) /*!< PORT2 IN: P2 (Bit 2) */ +#define PORT2_IN_P2_Msk (0x4UL) /*!< PORT2 IN: P2 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P3_Pos (3UL) /*!< PORT2 IN: P3 (Bit 3) */ +#define PORT2_IN_P3_Msk (0x8UL) /*!< PORT2 IN: P3 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P4_Pos (4UL) /*!< PORT2 IN: P4 (Bit 4) */ +#define PORT2_IN_P4_Msk (0x10UL) /*!< PORT2 IN: P4 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P5_Pos (5UL) /*!< PORT2 IN: P5 (Bit 5) */ +#define PORT2_IN_P5_Msk (0x20UL) /*!< PORT2 IN: P5 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P6_Pos (6UL) /*!< PORT2 IN: P6 (Bit 6) */ +#define PORT2_IN_P6_Msk (0x40UL) /*!< PORT2 IN: P6 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P7_Pos (7UL) /*!< PORT2 IN: P7 (Bit 7) */ +#define PORT2_IN_P7_Msk (0x80UL) /*!< PORT2 IN: P7 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P8_Pos (8UL) /*!< PORT2 IN: P8 (Bit 8) */ +#define PORT2_IN_P8_Msk (0x100UL) /*!< PORT2 IN: P8 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P9_Pos (9UL) /*!< PORT2 IN: P9 (Bit 9) */ +#define PORT2_IN_P9_Msk (0x200UL) /*!< PORT2 IN: P9 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P10_Pos (10UL) /*!< PORT2 IN: P10 (Bit 10) */ +#define PORT2_IN_P10_Msk (0x400UL) /*!< PORT2 IN: P10 (Bitfield-Mask: 0x01) */ +#define PORT2_IN_P11_Pos (11UL) /*!< PORT2 IN: P11 (Bit 11) */ +#define PORT2_IN_P11_Msk (0x800UL) /*!< PORT2 IN: P11 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT2_PHCR0 -------------------------------- */ +#define PORT2_PHCR0_PH0_Pos (2UL) /*!< PORT2 PHCR0: PH0 (Bit 2) */ +#define PORT2_PHCR0_PH0_Msk (0x4UL) /*!< PORT2 PHCR0: PH0 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH1_Pos (6UL) /*!< PORT2 PHCR0: PH1 (Bit 6) */ +#define PORT2_PHCR0_PH1_Msk (0x40UL) /*!< PORT2 PHCR0: PH1 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH2_Pos (10UL) /*!< PORT2 PHCR0: PH2 (Bit 10) */ +#define PORT2_PHCR0_PH2_Msk (0x400UL) /*!< PORT2 PHCR0: PH2 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH3_Pos (14UL) /*!< PORT2 PHCR0: PH3 (Bit 14) */ +#define PORT2_PHCR0_PH3_Msk (0x4000UL) /*!< PORT2 PHCR0: PH3 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH4_Pos (18UL) /*!< PORT2 PHCR0: PH4 (Bit 18) */ +#define PORT2_PHCR0_PH4_Msk (0x40000UL) /*!< PORT2 PHCR0: PH4 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH5_Pos (22UL) /*!< PORT2 PHCR0: PH5 (Bit 22) */ +#define PORT2_PHCR0_PH5_Msk (0x400000UL) /*!< PORT2 PHCR0: PH5 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH6_Pos (26UL) /*!< PORT2 PHCR0: PH6 (Bit 26) */ +#define PORT2_PHCR0_PH6_Msk (0x4000000UL) /*!< PORT2 PHCR0: PH6 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR0_PH7_Pos (30UL) /*!< PORT2 PHCR0: PH7 (Bit 30) */ +#define PORT2_PHCR0_PH7_Msk (0x40000000UL) /*!< PORT2 PHCR0: PH7 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT2_PHCR1 -------------------------------- */ +#define PORT2_PHCR1_PH8_Pos (2UL) /*!< PORT2 PHCR1: PH8 (Bit 2) */ +#define PORT2_PHCR1_PH8_Msk (0x4UL) /*!< PORT2 PHCR1: PH8 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR1_PH9_Pos (6UL) /*!< PORT2 PHCR1: PH9 (Bit 6) */ +#define PORT2_PHCR1_PH9_Msk (0x40UL) /*!< PORT2 PHCR1: PH9 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR1_PH10_Pos (10UL) /*!< PORT2 PHCR1: PH10 (Bit 10) */ +#define PORT2_PHCR1_PH10_Msk (0x400UL) /*!< PORT2 PHCR1: PH10 (Bitfield-Mask: 0x01) */ +#define PORT2_PHCR1_PH11_Pos (14UL) /*!< PORT2 PHCR1: PH11 (Bit 14) */ +#define PORT2_PHCR1_PH11_Msk (0x4000UL) /*!< PORT2 PHCR1: PH11 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT2_PDISC -------------------------------- */ +#define PORT2_PDISC_PDIS0_Pos (0UL) /*!< PORT2 PDISC: PDIS0 (Bit 0) */ +#define PORT2_PDISC_PDIS0_Msk (0x1UL) /*!< PORT2 PDISC: PDIS0 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS1_Pos (1UL) /*!< PORT2 PDISC: PDIS1 (Bit 1) */ +#define PORT2_PDISC_PDIS1_Msk (0x2UL) /*!< PORT2 PDISC: PDIS1 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS2_Pos (2UL) /*!< PORT2 PDISC: PDIS2 (Bit 2) */ +#define PORT2_PDISC_PDIS2_Msk (0x4UL) /*!< PORT2 PDISC: PDIS2 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS3_Pos (3UL) /*!< PORT2 PDISC: PDIS3 (Bit 3) */ +#define PORT2_PDISC_PDIS3_Msk (0x8UL) /*!< PORT2 PDISC: PDIS3 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS4_Pos (4UL) /*!< PORT2 PDISC: PDIS4 (Bit 4) */ +#define PORT2_PDISC_PDIS4_Msk (0x10UL) /*!< PORT2 PDISC: PDIS4 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS5_Pos (5UL) /*!< PORT2 PDISC: PDIS5 (Bit 5) */ +#define PORT2_PDISC_PDIS5_Msk (0x20UL) /*!< PORT2 PDISC: PDIS5 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS6_Pos (6UL) /*!< PORT2 PDISC: PDIS6 (Bit 6) */ +#define PORT2_PDISC_PDIS6_Msk (0x40UL) /*!< PORT2 PDISC: PDIS6 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS7_Pos (7UL) /*!< PORT2 PDISC: PDIS7 (Bit 7) */ +#define PORT2_PDISC_PDIS7_Msk (0x80UL) /*!< PORT2 PDISC: PDIS7 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS8_Pos (8UL) /*!< PORT2 PDISC: PDIS8 (Bit 8) */ +#define PORT2_PDISC_PDIS8_Msk (0x100UL) /*!< PORT2 PDISC: PDIS8 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS9_Pos (9UL) /*!< PORT2 PDISC: PDIS9 (Bit 9) */ +#define PORT2_PDISC_PDIS9_Msk (0x200UL) /*!< PORT2 PDISC: PDIS9 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS10_Pos (10UL) /*!< PORT2 PDISC: PDIS10 (Bit 10) */ +#define PORT2_PDISC_PDIS10_Msk (0x400UL) /*!< PORT2 PDISC: PDIS10 (Bitfield-Mask: 0x01) */ +#define PORT2_PDISC_PDIS11_Pos (11UL) /*!< PORT2 PDISC: PDIS11 (Bit 11) */ +#define PORT2_PDISC_PDIS11_Msk (0x800UL) /*!< PORT2 PDISC: PDIS11 (Bitfield-Mask: 0x01) */ + +/* ---------------------------------- PORT2_PPS --------------------------------- */ +#define PORT2_PPS_PPS0_Pos (0UL) /*!< PORT2 PPS: PPS0 (Bit 0) */ +#define PORT2_PPS_PPS0_Msk (0x1UL) /*!< PORT2 PPS: PPS0 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS1_Pos (1UL) /*!< PORT2 PPS: PPS1 (Bit 1) */ +#define PORT2_PPS_PPS1_Msk (0x2UL) /*!< PORT2 PPS: PPS1 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS2_Pos (2UL) /*!< PORT2 PPS: PPS2 (Bit 2) */ +#define PORT2_PPS_PPS2_Msk (0x4UL) /*!< PORT2 PPS: PPS2 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS3_Pos (3UL) /*!< PORT2 PPS: PPS3 (Bit 3) */ +#define PORT2_PPS_PPS3_Msk (0x8UL) /*!< PORT2 PPS: PPS3 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS4_Pos (4UL) /*!< PORT2 PPS: PPS4 (Bit 4) */ +#define PORT2_PPS_PPS4_Msk (0x10UL) /*!< PORT2 PPS: PPS4 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS5_Pos (5UL) /*!< PORT2 PPS: PPS5 (Bit 5) */ +#define PORT2_PPS_PPS5_Msk (0x20UL) /*!< PORT2 PPS: PPS5 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS6_Pos (6UL) /*!< PORT2 PPS: PPS6 (Bit 6) */ +#define PORT2_PPS_PPS6_Msk (0x40UL) /*!< PORT2 PPS: PPS6 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS7_Pos (7UL) /*!< PORT2 PPS: PPS7 (Bit 7) */ +#define PORT2_PPS_PPS7_Msk (0x80UL) /*!< PORT2 PPS: PPS7 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS8_Pos (8UL) /*!< PORT2 PPS: PPS8 (Bit 8) */ +#define PORT2_PPS_PPS8_Msk (0x100UL) /*!< PORT2 PPS: PPS8 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS9_Pos (9UL) /*!< PORT2 PPS: PPS9 (Bit 9) */ +#define PORT2_PPS_PPS9_Msk (0x200UL) /*!< PORT2 PPS: PPS9 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS10_Pos (10UL) /*!< PORT2 PPS: PPS10 (Bit 10) */ +#define PORT2_PPS_PPS10_Msk (0x400UL) /*!< PORT2 PPS: PPS10 (Bitfield-Mask: 0x01) */ +#define PORT2_PPS_PPS11_Pos (11UL) /*!< PORT2 PPS: PPS11 (Bit 11) */ +#define PORT2_PPS_PPS11_Msk (0x800UL) /*!< PORT2 PPS: PPS11 (Bitfield-Mask: 0x01) */ + +/* --------------------------------- PORT2_HWSEL -------------------------------- */ +#define PORT2_HWSEL_HW0_Pos (0UL) /*!< PORT2 HWSEL: HW0 (Bit 0) */ +#define PORT2_HWSEL_HW0_Msk (0x3UL) /*!< PORT2 HWSEL: HW0 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW1_Pos (2UL) /*!< PORT2 HWSEL: HW1 (Bit 2) */ +#define PORT2_HWSEL_HW1_Msk (0xcUL) /*!< PORT2 HWSEL: HW1 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW2_Pos (4UL) /*!< PORT2 HWSEL: HW2 (Bit 4) */ +#define PORT2_HWSEL_HW2_Msk (0x30UL) /*!< PORT2 HWSEL: HW2 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW3_Pos (6UL) /*!< PORT2 HWSEL: HW3 (Bit 6) */ +#define PORT2_HWSEL_HW3_Msk (0xc0UL) /*!< PORT2 HWSEL: HW3 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW4_Pos (8UL) /*!< PORT2 HWSEL: HW4 (Bit 8) */ +#define PORT2_HWSEL_HW4_Msk (0x300UL) /*!< PORT2 HWSEL: HW4 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW5_Pos (10UL) /*!< PORT2 HWSEL: HW5 (Bit 10) */ +#define PORT2_HWSEL_HW5_Msk (0xc00UL) /*!< PORT2 HWSEL: HW5 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW6_Pos (12UL) /*!< PORT2 HWSEL: HW6 (Bit 12) */ +#define PORT2_HWSEL_HW6_Msk (0x3000UL) /*!< PORT2 HWSEL: HW6 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW7_Pos (14UL) /*!< PORT2 HWSEL: HW7 (Bit 14) */ +#define PORT2_HWSEL_HW7_Msk (0xc000UL) /*!< PORT2 HWSEL: HW7 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW8_Pos (16UL) /*!< PORT2 HWSEL: HW8 (Bit 16) */ +#define PORT2_HWSEL_HW8_Msk (0x30000UL) /*!< PORT2 HWSEL: HW8 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW9_Pos (18UL) /*!< PORT2 HWSEL: HW9 (Bit 18) */ +#define PORT2_HWSEL_HW9_Msk (0xc0000UL) /*!< PORT2 HWSEL: HW9 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW10_Pos (20UL) /*!< PORT2 HWSEL: HW10 (Bit 20) */ +#define PORT2_HWSEL_HW10_Msk (0x300000UL) /*!< PORT2 HWSEL: HW10 (Bitfield-Mask: 0x03) */ +#define PORT2_HWSEL_HW11_Pos (22UL) /*!< PORT2 HWSEL: HW11 (Bit 22) */ +#define PORT2_HWSEL_HW11_Msk (0xc00000UL) /*!< PORT2 HWSEL: HW11 (Bitfield-Mask: 0x03) */ + + + +/* ================================================================================ */ +/* ================ Peripheral memory map ================ */ +/* ================================================================================ */ + +#define PPB_BASE 0xE000E000UL +#define ERU0_BASE 0x40010600UL +#define MATH_BASE 0x40030000UL +#define PAU_BASE 0x40000000UL +#define NVM_BASE 0x40050000UL +#define WDT_BASE 0x40020000UL +#define RTC_BASE 0x40010A00UL +#define PRNG_BASE 0x48020000UL +#define USIC0_BASE 0x48000008UL +#define USIC0_CH0_BASE 0x48000000UL +#define USIC0_CH1_BASE 0x48000200UL +#define SCU_GENERAL_BASE 0x40010000UL +#define SCU_INTERRUPT_BASE 0x40010038UL +#define SCU_POWER_BASE 0x40010200UL +#define SCU_CLK_BASE 0x40010300UL +#define SCU_RESET_BASE 0x40010400UL +#define COMPARATOR_BASE 0x40010500UL +#define SCU_ANALOG_BASE 0x40011000UL +#define CCU40_BASE 0x48040000UL +#define CCU40_CC40_BASE 0x48040100UL +#define CCU40_CC41_BASE 0x48040200UL +#define CCU40_CC42_BASE 0x48040300UL +#define CCU40_CC43_BASE 0x48040400UL +#define CCU80_BASE 0x50000000UL +#define CCU80_CC80_BASE 0x50000100UL +#define CCU80_CC81_BASE 0x50000200UL +#define CCU80_CC82_BASE 0x50000300UL +#define CCU80_CC83_BASE 0x50000400UL +#define POSIF0_BASE 0x50010000UL +#define VADC_BASE 0x48030000UL +#define VADC_G0_BASE 0x48030400UL +#define VADC_G1_BASE 0x48030800UL +#define SHS0_BASE 0x48034000UL +#define BCCU0_BASE 0x50030000UL +#define BCCU0_CH0_BASE 0x5003003CUL +#define BCCU0_CH1_BASE 0x50030050UL +#define BCCU0_CH2_BASE 0x50030064UL +#define BCCU0_CH3_BASE 0x50030078UL +#define BCCU0_CH4_BASE 0x5003008CUL +#define BCCU0_CH5_BASE 0x500300A0UL +#define BCCU0_CH6_BASE 0x500300B4UL +#define BCCU0_CH7_BASE 0x500300C8UL +#define BCCU0_CH8_BASE 0x500300DCUL +#define BCCU0_DE0_BASE 0x5003017CUL +#define BCCU0_DE1_BASE 0x50030188UL +#define BCCU0_DE2_BASE 0x50030194UL +#define PORT0_BASE 0x40040000UL +#define PORT1_BASE 0x40040100UL +#define PORT2_BASE 0x40040200UL + + +/* ================================================================================ */ +/* ================ Peripheral declaration ================ */ +/* ================================================================================ */ + +#define PPB ((PPB_Type *) PPB_BASE) +#define ERU0 ((ERU_GLOBAL_TypeDef *) ERU0_BASE) +#if UC_DEVICE == XMC1302 +#define MATH ((MATH_Type *) MATH_BASE) +#endif +#define PAU ((PAU_Type *) PAU_BASE) +#define NVM ((NVM_Type *) NVM_BASE) +#define WDT ((WDT_GLOBAL_TypeDef *) WDT_BASE) +#define RTC ((RTC_GLOBAL_TypeDef *) RTC_BASE) +#define PRNG ((PRNG_Type *) PRNG_BASE) +#define USIC0 ((USIC_GLOBAL_TypeDef *) USIC0_BASE) +#define USIC0_CH0 ((USIC_CH_TypeDef *) USIC0_CH0_BASE) +#define USIC0_CH1 ((USIC_CH_TypeDef *) USIC0_CH1_BASE) +#define SCU_GENERAL ((SCU_GENERAL_Type *) SCU_GENERAL_BASE) +#define SCU_INTERRUPT ((SCU_INTERRUPT_TypeDef *) SCU_INTERRUPT_BASE) +#define SCU_POWER ((SCU_POWER_Type *) SCU_POWER_BASE) +#define SCU_CLK ((SCU_CLK_TypeDef *) SCU_CLK_BASE) +#define SCU_RESET ((SCU_RESET_Type *) SCU_RESET_BASE) +#define COMPARATOR ((COMPARATOR_Type *) COMPARATOR_BASE) +#define SCU_ANALOG ((SCU_ANALOG_Type *) SCU_ANALOG_BASE) +#define CCU40 ((CCU4_GLOBAL_TypeDef *) CCU40_BASE) +#define CCU40_CC40 ((CCU4_CC4_TypeDef *) CCU40_CC40_BASE) +#define CCU40_CC41 ((CCU4_CC4_TypeDef *) CCU40_CC41_BASE) +#define CCU40_CC42 ((CCU4_CC4_TypeDef *) CCU40_CC42_BASE) +#define CCU40_CC43 ((CCU4_CC4_TypeDef *) CCU40_CC43_BASE) +#define CCU80 ((CCU8_GLOBAL_TypeDef *) CCU80_BASE) +#define CCU80_CC80 ((CCU8_CC8_TypeDef *) CCU80_CC80_BASE) +#define CCU80_CC81 ((CCU8_CC8_TypeDef *) CCU80_CC81_BASE) +#define CCU80_CC82 ((CCU8_CC8_TypeDef *) CCU80_CC82_BASE) +#define CCU80_CC83 ((CCU8_CC8_TypeDef *) CCU80_CC83_BASE) +#define POSIF0 ((POSIF_GLOBAL_TypeDef *) POSIF0_BASE) +#define VADC ((VADC_GLOBAL_TypeDef *) VADC_BASE) +#define VADC_G0 ((VADC_G_TypeDef *) VADC_G0_BASE) +#define VADC_G1 ((VADC_G_TypeDef *) VADC_G1_BASE) +#define SHS0 ((SHS_Type *) SHS0_BASE) +#if UC_DEVICE == XMC1302 +#define BCCU0 ((BCCU_Type *) BCCU0_BASE) +#define BCCU0_CH0 ((BCCU_CH_Type *) BCCU0_CH0_BASE) +#define BCCU0_CH1 ((BCCU_CH_Type *) BCCU0_CH1_BASE) +#define BCCU0_CH2 ((BCCU_CH_Type *) BCCU0_CH2_BASE) +#define BCCU0_CH3 ((BCCU_CH_Type *) BCCU0_CH3_BASE) +#define BCCU0_CH4 ((BCCU_CH_Type *) BCCU0_CH4_BASE) +#define BCCU0_CH5 ((BCCU_CH_Type *) BCCU0_CH5_BASE) +#define BCCU0_CH6 ((BCCU_CH_Type *) BCCU0_CH6_BASE) +#define BCCU0_CH7 ((BCCU_CH_Type *) BCCU0_CH7_BASE) +#define BCCU0_CH8 ((BCCU_CH_Type *) BCCU0_CH8_BASE) +#define BCCU0_DE0 ((BCCU_DE_Type *) BCCU0_DE0_BASE) +#define BCCU0_DE1 ((BCCU_DE_Type *) BCCU0_DE1_BASE) +#define BCCU0_DE2 ((BCCU_DE_Type *) BCCU0_DE2_BASE) +#endif +#define PORT0 ((PORT0_Type *) PORT0_BASE) +#define PORT1 ((PORT1_Type *) PORT1_BASE) +#define PORT2 ((PORT2_Type *) PORT2_BASE) + +/** @} */ /* End of group Device_Peripheral_Registers */ +/** @} */ /* End of group XMC1300 */ +/** @} */ /* End of group Infineon */ + +#ifdef __cplusplus +} +#endif + + +#endif /* XMC1300_H */ + diff --git a/variants/XMC1300/config/XMC1300_Boot_Kit/pins_arduino.h b/variants/XMC1300/config/XMC1300_Boot_Kit/pins_arduino.h new file mode 100755 index 00000000..8a866af5 --- /dev/null +++ b/variants/XMC1300/config/XMC1300_Boot_Kit/pins_arduino.h @@ -0,0 +1,301 @@ +/* + pins_arduino.h - Pin definition functions for Arduino + Part of Arduino - http://www.arduino.cc/ + + Copyright (c) 2007 David A. Mellis + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public< + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General + Public License along with this library; if not, write to the + Free Software Foundation, Inc., 59 Temple Place, Suite 330, + Boston, MA 02111-1307 USA + + Copyright (c) 2018 Infineon Technologies AG + This file has been modified for the XMC microcontroller series. +*/ +#ifndef PINS_ARDUINO_H_ +#define PINS_ARDUINO_H_ + +//**************************************************************************** +// @Project Includes +//**************************************************************************** +#include + +//**************************************************************************** +// @Defines +//**************************************************************************** +// XMC_BOARD for stringifying into serial or other text outputs/logs +// Note the actual name XMC and number MUST have a character between +// to avoid issues with other defined macros e.g. XMC1300 +#define XMC_BOARD XMC 1300 Boot Kit + +/* On board LED is ON when digital output is 0, LOW, False, OFF */ +#define XMC_LED_ON 0 + +// Following were defines now evaluated by compilation as const variables +// After definitions of associated mapping arrays +extern const uint8_t NUM_DIGITAL; +extern const uint8_t GND; +extern const uint8_t NUM_PWM4; +extern const uint8_t NUM_PWM8; +extern const uint8_t NUM_PWM; +extern const uint8_t NUM_INTERRUPT; +extern const uint8_t NUM_ANALOG_INPUTS; +#define NUM_LEDS 6 +#define NUM_SERIAL 1 +#define NUM_TONE_PINS 4 +#define NUM_TASKS_VARIANT 8 + +// Indicate unit has RTC/Alarm +#define HAS_RTC 1 + +// Defines will be either set by ArduinoIDE in the menu or manually +#ifdef SERIAL_HOSTPC +// Comment out following line to use Serial on pins (board) +#define SERIAL_DEBUG 1 +#elif SERIAL_ONBOARD +// No SERIAL_DEBUG will be defined, kept here for clarity +#else +// Define the SERIAL_DEBUG as default setting +#define SERIAL_DEBUG 1 +#endif + +// Generate 490Hz @fCCU=1MHz +#define PWM4_TIMER_PERIOD (2041U) +// Generate 490Hz @fCCU=1MHz +#define PWM8_TIMER_PERIOD (2041U) + +#define PCLK 64000000u + +#define PIN_SPI_SS 29 +#define PIN_SPI_MOSI 22 +#define PIN_SPI_MISO 23 +#define PIN_SPI_SCK 30 + +extern uint8_t SS; +extern uint8_t MOSI; +extern uint8_t MISO; +extern uint8_t SCK; + +#define A0 0 +#define A1 1 +#define A2 2 +#define A3 3 +#define A4 4 +#define A5 5 +#define A6 6 +#define A7 7 +#define A8 8 +#define A9 9 +#define A10 10 +#define A11 11 + +#define PIN_SPI_SS_2 23 + +#define AD_AUX_1 24 +#define AD_AUX_2 25 +#define AUX_1 26 +#define AUX_2 27 +#define AUX_3 28 +#define AUX_4 29 +#define AUX_5 30 + +#define LED1 24 +#define LED2 25 +#define LED3 29 +#define LED4 30 +#define LED5 27 +#define LED6 28 +#define LED_BUILTIN LED1 + +#define digitalPinToInterrupt(p) ((p) == 14 ? 0 : ((p) == 15 ? 1 : NOT_AN_INTERRUPT)) + +#ifdef ARDUINO_MAIN +// Mapping of digital pins and comments +const XMC_PORT_PIN_t mapping_port_pin[] = + { + /* 0 */ { XMC_GPIO_PORT2, 4 }, // A0 / ADC Input P2.4 (INPUT ONLY) + /* 1 */ { XMC_GPIO_PORT2, 5 }, // A1 / ADC Input P2.5 (INPUT ONLY) + /* 2 */ { XMC_GPIO_PORT2, 6 }, // A2 / ADC Input P2.6 (INPUT ONLY) + /* 3 */ { XMC_GPIO_PORT2, 7 }, // A3 / ADC Input P2.7 (INPUT ONLY) + /* 4 */ { XMC_GPIO_PORT2, 8 }, // A4 / ADC Input P2.8 (INPUT ONLY) + /* 5 */ { XMC_GPIO_PORT2, 9 }, // A5 / ADC Input P2.9 (INPUT ONLY) + /* 6 */ { XMC_GPIO_PORT2, 10 }, // GPIO / A6 ADC Input P2.10 + /* 7 */ { XMC_GPIO_PORT2, 11 }, // GPIO / A7 ADC Input P2.11 + /* 8 */ { XMC_GPIO_PORT2, 2 }, // GPIO / A9 ADC Input P2.2 (INPUT ONLY) + /* 9 */ { XMC_GPIO_PORT2, 3 }, // GPIO / A8 ADC Input P2.3 (INPUT ONLY) + /* 10 */ { XMC_GPIO_PORT2, 0 }, // I2C Clock SCL / A11 ADC Input P2.0 + /* 11 */ { XMC_GPIO_PORT2, 1 }, // I2C Data SDA / A10 ADC Input P2.1 + /* 12 */ { XMC_GPIO_PORT0, 14 }, // GPIO P0.14 + /* 13 */ { XMC_GPIO_PORT0, 15 }, // GPIO P0.15 + /* 14 */ { XMC_GPIO_PORT0, 12 }, // External interrupt 0 P0.12 + /* 15 */ { XMC_GPIO_PORT0, 13 }, // External interrupt 1 P0.13 + /* 16 */ { XMC_GPIO_PORT0, 10 }, // GPIO P0.10 + /* 17 */ { XMC_GPIO_PORT0, 11 }, // GPIO P0.11 + /* 18 */ { XMC_GPIO_PORT1, 5 }, // GPIO P1.5 + /* 19 */ { XMC_GPIO_PORT1, 4 }, // GPIO P1.4 + /* 20 */ { XMC_GPIO_PORT1, 3 }, // TX P1.3 + /* 21 */ { XMC_GPIO_PORT1, 2 }, // RX P1.2 + /* 22 */ { XMC_GPIO_PORT1, 1 }, // SPI-MOSI P1.1 + /* 23 */ { XMC_GPIO_PORT1, 0 }, // SPI-MIS0 P1.0 + /* 24 */ { XMC_GPIO_PORT0, 0 }, // LED output (BUILTIN) LED1 P0.0 + /* 25 */ { XMC_GPIO_PORT0, 1 }, // LED output LED2 P0.1 + /* 26 */ { XMC_GPIO_PORT0, 2 }, // PWM (PWM4 slice 1) P0.2 + /* 27 */ { XMC_GPIO_PORT0, 8 }, // LED output LED5 P0.8 + /* 28 */ { XMC_GPIO_PORT0, 9 }, // LED output LED6 P0.9 + /* 29 */ { XMC_GPIO_PORT0, 6 }, // SPI-SS / LED output LED3 P0.6 + /* 30 */ { XMC_GPIO_PORT0, 7 }, // SPI-SCK / LED output LED4 P0.7 + /* 31 */ { XMC_GPIO_PORT0, 4 }, // PWM (PWM4 slice 0) P0.4 + /* 32 */ { XMC_GPIO_PORT0, 5 }, // PWM (PWM8 slice 0) P0.5 + /* 33 */ { XMC_GPIO_PORT0, 3 } // PWM (PWM8 slice 1) P0.3 + }; +const uint8_t GND = ( sizeof( mapping_port_pin ) / sizeof( XMC_PORT_PIN_t ) ); +const uint8_t NUM_DIGITAL = ( sizeof( mapping_port_pin ) / sizeof( XMC_PORT_PIN_t ) );; + +const XMC_PIN_INTERRUPT_t mapping_interrupt[] = + { + /* 0 */ { CCU40, CCU40_CC40, 0, 0, CCU40_IN0_P0_12 }, + /* 1 */ { CCU40, CCU40_CC40, 0, 1, CCU40_IN0_U0C0_DX2INS } + }; +const uint8_t NUM_INTERRUPT = ( sizeof( mapping_interrupt ) / sizeof( XMC_PIN_INTERRUPT_t ) ); + +/* Mapping of Arduino Pins to PWM4 channels as pin and index in PWM4 channel + mapping array XMC_PWM4_t mapping_pwm4[] + last entry 255 for both parts. + Putting both parts in array means if a PWM4 channel gets reassigned for + another function later a gap in channel numbers will not mess things up */ +const uint8_t mapping_pin_PWM4[][ 2 ] = { + { 31, 0 }, + { 26, 1 }, + { 255, 255 } }; + +/* Configurations of PWM channels for CCU4 type */ +XMC_PWM4_t mapping_pwm4[] = + { + { CCU40, CCU40_CC41, 1, mapping_port_pin[ 31 ], P0_4_AF_CCU40_OUT1, XMC_CCU4_SLICE_PRESCALER_64, PWM4_TIMER_PERIOD, DISABLED }, // PWM disabled 31 P0.4 + { CCU40, CCU40_CC42, 2, mapping_port_pin[ 26 ], P0_2_AF_CCU40_OUT2, XMC_CCU4_SLICE_PRESCALER_64, PWM4_TIMER_PERIOD, DISABLED } // PWM disabled 26 P0.2 + }; +const uint8_t NUM_PWM4 = ( sizeof( mapping_pwm4 ) / sizeof( XMC_PWM4_t ) ); + +/* Mapping in same manner as PWM4 for PWM8 channels */ +const uint8_t mapping_pin_PWM8[][ 2 ] = { + { 32, 0 }, + { 33, 1 }, + { 255, 255 } }; + +/* Configurations of PWM channels for CCU8 type */ +XMC_PWM8_t mapping_pwm8[] = + { + { CCU80, CCU80_CC81, 1, XMC_CCU8_SLICE_COMPARE_CHANNEL_2, mapping_port_pin[ 32 ], P0_5_AF_CCU80_OUT12, XMC_CCU8_SLICE_PRESCALER_64, PWM8_TIMER_PERIOD, DISABLED }, // PWM disabled 32 P0.5 + { CCU80, CCU80_CC80, 0, XMC_CCU8_SLICE_COMPARE_CHANNEL_2, mapping_port_pin[ 33 ], P0_3_AF_CCU80_OUT03, XMC_CCU8_SLICE_PRESCALER_64, PWM8_TIMER_PERIOD, DISABLED } // PWM disabled 33 P0.3 + }; +const uint8_t NUM_PWM8 = ( sizeof( mapping_pwm8 ) / sizeof( XMC_PWM8_t ) ); +const uint8_t NUM_PWM = ( sizeof( mapping_pwm4 ) / sizeof( XMC_PWM4_t ) ) + + ( sizeof( mapping_pwm8 ) / sizeof( XMC_PWM8_t ) ); + +/* Analog Pin mappings and configurations */ +XMC_ADC_t mapping_adc[] = + { + { VADC, 6, VADC_G1, 1, 4, DISABLED }, + { VADC, 7, VADC_G1, 1, 11, DISABLED }, + { VADC, 0, VADC_G0, 0, 9, DISABLED }, + { VADC, 1, VADC_G1, 1, 12, DISABLED }, + { VADC, 1, VADC_G0, 0, 10, DISABLED }, + { VADC, 2, VADC_G0, 0, 7, DISABLED }, + // Additional channels added here + { VADC, 3, VADC_G0, 0, 5, DISABLED }, + { VADC, 4, VADC_G0, 0, 1, DISABLED }, + { VADC, 5, VADC_G1, 1, 2, DISABLED }, + { VADC, 7, VADC_G0, 0, 3, DISABLED }, + { VADC, 6, VADC_G0, 0, 6, DISABLED }, + { VADC, 5, VADC_G0, 0, 8, DISABLED } +}; +const uint8_t NUM_ANALOG_INPUTS = ( sizeof( mapping_adc ) / sizeof( XMC_ADC_t ) ); + +/* + * UART objects + */ +RingBuffer rx_buffer_0; +RingBuffer tx_buffer_0; + +/* First UART channel pins are swapped between debug and normal use */ +XMC_UART_t XMC_UART_0 = + { + .channel = XMC_UART0_CH1, + .rx = { .port = (XMC_GPIO_PORT_t*)PORT1_BASE, +#ifdef SERIAL_DEBUG + .pin = (uint8_t)3 +#else + .pin = (uint8_t)2 +#endif + }, + .rx_config = { .mode = XMC_GPIO_MODE_INPUT_TRISTATE, + .output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH, + .input_hysteresis = XMC_GPIO_INPUT_HYSTERESIS_STANDARD + }, + .tx = { .port = (XMC_GPIO_PORT_t*)PORT1_BASE, +#ifdef SERIAL_DEBUG + .pin = (uint8_t)2 +#else + .pin = (uint8_t)3 +#endif + }, + .tx_config = { .mode = (XMC_GPIO_MODE_t) XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT7, + .output_level = XMC_GPIO_OUTPUT_LEVEL_HIGH, + .input_hysteresis = XMC_GPIO_INPUT_HYSTERESIS_STANDARD + }, +#ifdef SERIAL_DEBUG + .input_source_dx0 = (XMC_USIC_INPUT_t)USIC0_C1_DX0_P1_3, +#else + .input_source_dx0 = (XMC_USIC_INPUT_t)USIC0_C0_DX0_P1_2, +#endif + .input_source_dx1 = XMC_INPUT_INVALID, + .input_source_dx2 = XMC_INPUT_INVALID, + .input_source_dx3 = XMC_INPUT_INVALID, + .irq_num = USIC0_0_IRQn, + .irq_service_request = 0 + }; + +HardwareSerial Serial( &XMC_UART_0, &rx_buffer_0, &tx_buffer_0 ); + +// Serial Interrupt and event handling +#ifdef __cplusplus +extern "C" { +#endif +void serialEventRun( ); +void serialEvent( ) __attribute__((weak)); + + +void serialEventRun( ) +{ +if( serialEvent ) + { + if( Serial.available( ) ) + serialEvent( ); + } +} + + +void USIC0_0_IRQHandler( ) +{ +Serial.IrqHandler( ); +} +#ifdef __cplusplus +} +#endif +#endif /* ARDUINO_MAIN */ + +#ifdef __cplusplus +extern HardwareSerial Serial; +#endif /* cplusplus */ + +#endif // PINS_ARDUINO_H_ diff --git a/variants/XMC1300/linker_script_128k.ld b/variants/XMC1300/linker_script_128k.ld new file mode 100755 index 00000000..8e2773c6 --- /dev/null +++ b/variants/XMC1300/linker_script_128k.ld @@ -0,0 +1,288 @@ +/** + * @file XMC1300x0128.ld + * @date 2021-01-11 + ~ + * @cond + ********************************************************************************************************************* + * Linker file for the GNU C Compiler v1.10 + * Supported devices: XMC130x-ANY package with 128kB Flash and 16kB RAM + * + * Updated January 2021 for any 128kB Flash device + * + * Copyright (c) 2015-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + * Change History + * -------------- + * + * 2015-07-07: + * - Product splitting + * - Copyright notice update + * + * 2015-11-24: + * - Compatibility with GCC 4.9 2015q2 + * + * 2016-03-15: + * - Add assertion to check that region SRAM_combined does not overflowed no_init section + * + * 2016-06-07: + * - Add XMC1302-Q040X0200 + * + * 2018-03-08: + * - Change default XMC1xxx stack size + * - Move Stack to top of RAM below no_init for more standard and safer location + * - Could mean startup_XMC1xxx.S could be shortened + * + * 2021-01-11: + * - Split script to different flash size files for Boot Kit and Sense2GoL + * + * @endcond + * + */ + +OUTPUT_FORMAT("elf32-littlearm") +OUTPUT_ARCH(arm) +ENTRY(Reset_Handler) + +MEMORY +{ + FLASH(RX) : ORIGIN = 0x10001000, LENGTH = 0x20000 + SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000 +} + +stack_size = DEFINED(stack_size) ? stack_size : 1024; +no_init_size = 4; + +SECTIONS +{ + /* TEXT section */ + + .text : + { + sText = .; + KEEP(*(.reset)); + *(.text .text.* .gnu.linkonce.t.*); + + /* C++ Support */ + KEEP(*(.init)) + KEEP(*(.fini)) + + /* .ctors */ + *crtbegin.o(.ctors) + *crtbegin?.o(.ctors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) + *(SORT(.ctors.*)) + *(.ctors) + + /* .dtors */ + *crtbegin.o(.dtors) + *crtbegin?.o(.dtors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) + *(SORT(.dtors.*)) + *(.dtors) + + *(.rodata .rodata.*) + *(.gnu.linkonce.r*) + . = ALIGN(4); + } > FLASH + + .eh_frame_hdr : ALIGN (4) + { + KEEP (*(.eh_frame_hdr)) + } > FLASH + + .eh_frame : ALIGN (4) + { + KEEP (*(.eh_frame)) + } > FLASH + + /* Exception handling, exidx needs a dedicated section */ + .ARM.extab : ALIGN(4) + { + *(.ARM.extab* .gnu.linkonce.armextab.*) + } > FLASH + + . = ALIGN(4); + __exidx_start = .; + .ARM.exidx : ALIGN(4) + { + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + } > FLASH + __exidx_end = .; + . = ALIGN(4); + + /* End of RO-DATA and start of LOAD region for the veneers */ + eROData = . ; + + /* DSRAM layout (Lowest to highest)*/ + /* Veneer <-> DATA <-> ram_code <-> BSS <-> HEAP <-> memory gap <-> Stack <-> no_init */ + + .VENEER_Code ABSOLUTE(0x2000000C): AT(eROData) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerStart = .; + KEEP(*(.XmcVeneerCode)); + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerEnd = .; + } > SRAM + + VeneerSize = ABSOLUTE(VeneerEnd) - ABSOLUTE(VeneerStart); + + /* Standard DATA and user defined DATA/BSS/CONST sections */ + DataLoadAddr = eROData + VeneerSize; + .data : AT(DataLoadAddr) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_start = .; + *(vtable) + * (.data); + * (.data*); + *(*.data); + *(.gnu.linkonce.d*) + + . = ALIGN(4); + /* preinit data */ + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP(*(.preinit_array)) + PROVIDE_HIDDEN (__preinit_array_end = .); + + . = ALIGN(4); + /* init data */ + PROVIDE_HIDDEN (__init_array_start = .); + KEEP(*(SORT(.init_array.*))) + KEEP(*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + + + . = ALIGN(4); + /* finit data */ + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP(*(SORT(.fini_array.*))) + KEEP(*(.fini_array)) + PROVIDE_HIDDEN (__fini_array_end = .); + + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_end = .; + } > SRAM + __data_size = __data_end - __data_start; + + .ram_code : AT(DataLoadAddr + __data_size) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_start = .; + /* functions with __attribute__ ((section (".ram_code")))*/ + *(.ram_code) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_end = .; + } > SRAM + __ram_code_load = LOADADDR (.ram_code); + __ram_code_size = __ram_code_end - __ram_code_start; + + /* BSS section */ + .bss (NOLOAD) : + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_start = .; + * (.bss); + * (.bss*); + * (COMMON); + *(.gnu.linkonce.b*) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_end = .; + Heap_Bank1_Start = .; + } > SRAM + __bss_size = __bss_end - __bss_start; + + _stack_begin = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + + /* Dummy section for stack */ + Stack _stack_begin (NOLOAD) : + { + . = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + Heap_Bank1_End = .; + end = Heap_Bank1_End; + __stack_start = .; + . = . + stack_size; + __stack_end = .; + __initial_sp = .; + } > SRAM + + /* Heap - Bank1*/ + + Heap_Bank1_Size = Heap_Bank1_End - Heap_Bank1_Start; + + ASSERT(Heap_Bank1_Start <= Heap_Bank1_End, "bss section SRAM overflowed stack section") + + /* .no_init section contains SystemCoreClock. See system_XMC_xxxx.c file */ + .no_init ORIGIN(SRAM) + LENGTH(SRAM) - no_init_size (NOLOAD) : + { + * (.no_init); + } > SRAM + + + /DISCARD/ : + { + *(.comment) + } + + .stab 0 (NOLOAD) : { *(.stab) } + .stabstr 0 (NOLOAD) : { *(.stabstr) } + + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + .debug_pubtypes 0 : { *(.debug_pubtypes) } + + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + + /* DWARF 2.1 */ + .debug_ranges 0 : { *(.debug_ranges) } + + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } + + /* Build attributes */ + .build_attributes 0 : { *(.ARM.attributes) } +} diff --git a/variants/XMC1300/linker_script_200k.ld b/variants/XMC1300/linker_script_200k.ld new file mode 100755 index 00000000..2854dd14 --- /dev/null +++ b/variants/XMC1300/linker_script_200k.ld @@ -0,0 +1,288 @@ +/** + * @file XMC1300x0200.ld + * @date 2021-01-11 + ~ + * @cond + ********************************************************************************************************************* + * Linker file for the GNU C Compiler v1.10 + * Supported devices: XMC130x-ANY package with 200kB Flash and 16kB RAM + * + * Updated January 2021 for any 200kB Flash device + * + * Copyright (c) 2015-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + * Change History + * -------------- + * + * 2015-07-07: + * - Product splitting + * - Copyright notice update + * + * 2015-11-24: + * - Compatibility with GCC 4.9 2015q2 + * + * 2016-03-15: + * - Add assertion to check that region SRAM_combined does not overflowed no_init section + * + * 2016-06-07: + * - Add XMC1302-Q040X0200 + * + * 2018-03-08: + * - Change default XMC1xxx stack size + * - Move Stack to top of RAM below no_init for more standard and safer location + * - Could mean startup_XMC1xxx.S could be shortened + * + * 2021-01-11: + * - Split script to different flash size files for Boot Kit and Sense2GoL + * + * @endcond + * + */ + +OUTPUT_FORMAT("elf32-littlearm") +OUTPUT_ARCH(arm) +ENTRY(Reset_Handler) + +MEMORY +{ + FLASH(RX) : ORIGIN = 0x10001000, LENGTH = 0x32000 + SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000 +} + +stack_size = DEFINED(stack_size) ? stack_size : 1024; +no_init_size = 4; + +SECTIONS +{ + /* TEXT section */ + + .text : + { + sText = .; + KEEP(*(.reset)); + *(.text .text.* .gnu.linkonce.t.*); + + /* C++ Support */ + KEEP(*(.init)) + KEEP(*(.fini)) + + /* .ctors */ + *crtbegin.o(.ctors) + *crtbegin?.o(.ctors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) + *(SORT(.ctors.*)) + *(.ctors) + + /* .dtors */ + *crtbegin.o(.dtors) + *crtbegin?.o(.dtors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) + *(SORT(.dtors.*)) + *(.dtors) + + *(.rodata .rodata.*) + *(.gnu.linkonce.r*) + . = ALIGN(4); + } > FLASH + + .eh_frame_hdr : ALIGN (4) + { + KEEP (*(.eh_frame_hdr)) + } > FLASH + + .eh_frame : ALIGN (4) + { + KEEP (*(.eh_frame)) + } > FLASH + + /* Exception handling, exidx needs a dedicated section */ + .ARM.extab : ALIGN(4) + { + *(.ARM.extab* .gnu.linkonce.armextab.*) + } > FLASH + + . = ALIGN(4); + __exidx_start = .; + .ARM.exidx : ALIGN(4) + { + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + } > FLASH + __exidx_end = .; + . = ALIGN(4); + + /* End of RO-DATA and start of LOAD region for the veneers */ + eROData = . ; + + /* DSRAM layout (Lowest to highest)*/ + /* Veneer <-> DATA <-> ram_code <-> BSS <-> HEAP <-> memory gap <-> Stack <-> no_init */ + + .VENEER_Code ABSOLUTE(0x2000000C): AT(eROData) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerStart = .; + KEEP(*(.XmcVeneerCode)); + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerEnd = .; + } > SRAM + + VeneerSize = ABSOLUTE(VeneerEnd) - ABSOLUTE(VeneerStart); + + /* Standard DATA and user defined DATA/BSS/CONST sections */ + DataLoadAddr = eROData + VeneerSize; + .data : AT(DataLoadAddr) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_start = .; + *(vtable) + * (.data); + * (.data*); + *(*.data); + *(.gnu.linkonce.d*) + + . = ALIGN(4); + /* preinit data */ + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP(*(.preinit_array)) + PROVIDE_HIDDEN (__preinit_array_end = .); + + . = ALIGN(4); + /* init data */ + PROVIDE_HIDDEN (__init_array_start = .); + KEEP(*(SORT(.init_array.*))) + KEEP(*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + + + . = ALIGN(4); + /* finit data */ + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP(*(SORT(.fini_array.*))) + KEEP(*(.fini_array)) + PROVIDE_HIDDEN (__fini_array_end = .); + + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_end = .; + } > SRAM + __data_size = __data_end - __data_start; + + .ram_code : AT(DataLoadAddr + __data_size) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_start = .; + /* functions with __attribute__ ((section (".ram_code")))*/ + *(.ram_code) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_end = .; + } > SRAM + __ram_code_load = LOADADDR (.ram_code); + __ram_code_size = __ram_code_end - __ram_code_start; + + /* BSS section */ + .bss (NOLOAD) : + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_start = .; + * (.bss); + * (.bss*); + * (COMMON); + *(.gnu.linkonce.b*) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_end = .; + Heap_Bank1_Start = .; + } > SRAM + __bss_size = __bss_end - __bss_start; + + _stack_begin = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + + /* Dummy section for stack */ + Stack _stack_begin (NOLOAD) : + { + . = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + Heap_Bank1_End = .; + end = Heap_Bank1_End; + __stack_start = .; + . = . + stack_size; + __stack_end = .; + __initial_sp = .; + } > SRAM + + /* Heap - Bank1*/ + + Heap_Bank1_Size = Heap_Bank1_End - Heap_Bank1_Start; + + ASSERT(Heap_Bank1_Start <= Heap_Bank1_End, "bss section SRAM overflowed stack section") + + /* .no_init section contains SystemCoreClock. See system_XMC_xxxx.c file */ + .no_init ORIGIN(SRAM) + LENGTH(SRAM) - no_init_size (NOLOAD) : + { + * (.no_init); + } > SRAM + + + /DISCARD/ : + { + *(.comment) + } + + .stab 0 (NOLOAD) : { *(.stab) } + .stabstr 0 (NOLOAD) : { *(.stabstr) } + + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + .debug_pubtypes 0 : { *(.debug_pubtypes) } + + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + + /* DWARF 2.1 */ + .debug_ranges 0 : { *(.debug_ranges) } + + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } + + /* Build attributes */ + .build_attributes 0 : { *(.ARM.attributes) } +} diff --git a/variants/XMC1300/linker_script_32k.ld b/variants/XMC1300/linker_script_32k.ld new file mode 100755 index 00000000..4520c188 --- /dev/null +++ b/variants/XMC1300/linker_script_32k.ld @@ -0,0 +1,288 @@ +/** + * @file XMC1300x0032.ld + * @date 2021-01-11 + ~ + * @cond + ********************************************************************************************************************* + * Linker file for the GNU C Compiler v1.10 + * Supported devices: XMC130x-ANY package with 32kB Flash and 16kB RAM + * + * Updated January 2021 for any 32kB Flash device + * + * Copyright (c) 2015-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + * Change History + * -------------- + * + * 2015-07-07: + * - Product splitting + * - Copyright notice update + * + * 2015-11-24: + * - Compatibility with GCC 4.9 2015q2 + * + * 2016-03-15: + * - Add assertion to check that region SRAM_combined does not overflowed no_init section + * + * 2016-06-07: + * - Add XMC1302-Q040X0200 + * + * 2018-03-08: + * - Change default XMC1xxx stack size + * - Move Stack to top of RAM below no_init for more standard and safer location + * - Could mean startup_XMC1xxx.S could be shortened + * + * 2021-01-11: + * - Split script to different flash size files for Boot Kit and Sense2GoL + * + * @endcond + * + */ + +OUTPUT_FORMAT("elf32-littlearm") +OUTPUT_ARCH(arm) +ENTRY(Reset_Handler) + +MEMORY +{ + FLASH(RX) : ORIGIN = 0x10001000, LENGTH = 0x8000 + SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000 +} + +stack_size = DEFINED(stack_size) ? stack_size : 1024; +no_init_size = 4; + +SECTIONS +{ + /* TEXT section */ + + .text : + { + sText = .; + KEEP(*(.reset)); + *(.text .text.* .gnu.linkonce.t.*); + + /* C++ Support */ + KEEP(*(.init)) + KEEP(*(.fini)) + + /* .ctors */ + *crtbegin.o(.ctors) + *crtbegin?.o(.ctors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) + *(SORT(.ctors.*)) + *(.ctors) + + /* .dtors */ + *crtbegin.o(.dtors) + *crtbegin?.o(.dtors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) + *(SORT(.dtors.*)) + *(.dtors) + + *(.rodata .rodata.*) + *(.gnu.linkonce.r*) + . = ALIGN(4); + } > FLASH + + .eh_frame_hdr : ALIGN (4) + { + KEEP (*(.eh_frame_hdr)) + } > FLASH + + .eh_frame : ALIGN (4) + { + KEEP (*(.eh_frame)) + } > FLASH + + /* Exception handling, exidx needs a dedicated section */ + .ARM.extab : ALIGN(4) + { + *(.ARM.extab* .gnu.linkonce.armextab.*) + } > FLASH + + . = ALIGN(4); + __exidx_start = .; + .ARM.exidx : ALIGN(4) + { + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + } > FLASH + __exidx_end = .; + . = ALIGN(4); + + /* End of RO-DATA and start of LOAD region for the veneers */ + eROData = . ; + + /* DSRAM layout (Lowest to highest)*/ + /* Veneer <-> DATA <-> ram_code <-> BSS <-> HEAP <-> memory gap <-> Stack <-> no_init */ + + .VENEER_Code ABSOLUTE(0x2000000C): AT(eROData) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerStart = .; + KEEP(*(.XmcVeneerCode)); + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerEnd = .; + } > SRAM + + VeneerSize = ABSOLUTE(VeneerEnd) - ABSOLUTE(VeneerStart); + + /* Standard DATA and user defined DATA/BSS/CONST sections */ + DataLoadAddr = eROData + VeneerSize; + .data : AT(DataLoadAddr) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_start = .; + *(vtable) + * (.data); + * (.data*); + *(*.data); + *(.gnu.linkonce.d*) + + . = ALIGN(4); + /* preinit data */ + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP(*(.preinit_array)) + PROVIDE_HIDDEN (__preinit_array_end = .); + + . = ALIGN(4); + /* init data */ + PROVIDE_HIDDEN (__init_array_start = .); + KEEP(*(SORT(.init_array.*))) + KEEP(*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + + + . = ALIGN(4); + /* finit data */ + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP(*(SORT(.fini_array.*))) + KEEP(*(.fini_array)) + PROVIDE_HIDDEN (__fini_array_end = .); + + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_end = .; + } > SRAM + __data_size = __data_end - __data_start; + + .ram_code : AT(DataLoadAddr + __data_size) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_start = .; + /* functions with __attribute__ ((section (".ram_code")))*/ + *(.ram_code) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_end = .; + } > SRAM + __ram_code_load = LOADADDR (.ram_code); + __ram_code_size = __ram_code_end - __ram_code_start; + + /* BSS section */ + .bss (NOLOAD) : + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_start = .; + * (.bss); + * (.bss*); + * (COMMON); + *(.gnu.linkonce.b*) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_end = .; + Heap_Bank1_Start = .; + } > SRAM + __bss_size = __bss_end - __bss_start; + + _stack_begin = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + + /* Dummy section for stack */ + Stack _stack_begin (NOLOAD) : + { + . = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + Heap_Bank1_End = .; + end = Heap_Bank1_End; + __stack_start = .; + . = . + stack_size; + __stack_end = .; + __initial_sp = .; + } > SRAM + + /* Heap - Bank1*/ + + Heap_Bank1_Size = Heap_Bank1_End - Heap_Bank1_Start; + + ASSERT(Heap_Bank1_Start <= Heap_Bank1_End, "bss section SRAM overflowed stack section") + + /* .no_init section contains SystemCoreClock. See system_XMC_xxxx.c file */ + .no_init ORIGIN(SRAM) + LENGTH(SRAM) - no_init_size (NOLOAD) : + { + * (.no_init); + } > SRAM + + + /DISCARD/ : + { + *(.comment) + } + + .stab 0 (NOLOAD) : { *(.stab) } + .stabstr 0 (NOLOAD) : { *(.stabstr) } + + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + .debug_pubtypes 0 : { *(.debug_pubtypes) } + + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + + /* DWARF 2.1 */ + .debug_ranges 0 : { *(.debug_ranges) } + + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } + + /* Build attributes */ + .build_attributes 0 : { *(.ARM.attributes) } +} diff --git a/variants/XMC1300/linker_script_64k.ld b/variants/XMC1300/linker_script_64k.ld new file mode 100755 index 00000000..38fe4ae7 --- /dev/null +++ b/variants/XMC1300/linker_script_64k.ld @@ -0,0 +1,288 @@ +/** + * @file XMC1300x0064.ld + * @date 2021-01-11 + ~ + * @cond + ********************************************************************************************************************* + * Linker file for the GNU C Compiler v1.10 + * Supported devices: XMC130x-ANY package with 64kB Flash and 16kB RAM + * + * Updated January 2021 for any 64kB Flash device + * + * Copyright (c) 2015-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + * Change History + * -------------- + * + * 2015-07-07: + * - Product splitting + * - Copyright notice update + * + * 2015-11-24: + * - Compatibility with GCC 4.9 2015q2 + * + * 2016-03-15: + * - Add assertion to check that region SRAM_combined does not overflowed no_init section + * + * 2016-06-07: + * - Add XMC1302-Q040X0200 + * + * 2018-03-08: + * - Change default XMC1xxx stack size + * - Move Stack to top of RAM below no_init for more standard and safer location + * - Could mean startup_XMC1xxx.S could be shortened + * + * 2021-01-11: + * - Split script to different flash size files for Boot Kit and Sense2GoL + * + * @endcond + * + */ + +OUTPUT_FORMAT("elf32-littlearm") +OUTPUT_ARCH(arm) +ENTRY(Reset_Handler) + +MEMORY +{ + FLASH(RX) : ORIGIN = 0x10001000, LENGTH = 0x10000 + SRAM(!RX) : ORIGIN = 0x20000000, LENGTH = 0x4000 +} + +stack_size = DEFINED(stack_size) ? stack_size : 1024; +no_init_size = 4; + +SECTIONS +{ + /* TEXT section */ + + .text : + { + sText = .; + KEEP(*(.reset)); + *(.text .text.* .gnu.linkonce.t.*); + + /* C++ Support */ + KEEP(*(.init)) + KEEP(*(.fini)) + + /* .ctors */ + *crtbegin.o(.ctors) + *crtbegin?.o(.ctors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) + *(SORT(.ctors.*)) + *(.ctors) + + /* .dtors */ + *crtbegin.o(.dtors) + *crtbegin?.o(.dtors) + *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) + *(SORT(.dtors.*)) + *(.dtors) + + *(.rodata .rodata.*) + *(.gnu.linkonce.r*) + . = ALIGN(4); + } > FLASH + + .eh_frame_hdr : ALIGN (4) + { + KEEP (*(.eh_frame_hdr)) + } > FLASH + + .eh_frame : ALIGN (4) + { + KEEP (*(.eh_frame)) + } > FLASH + + /* Exception handling, exidx needs a dedicated section */ + .ARM.extab : ALIGN(4) + { + *(.ARM.extab* .gnu.linkonce.armextab.*) + } > FLASH + + . = ALIGN(4); + __exidx_start = .; + .ARM.exidx : ALIGN(4) + { + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + } > FLASH + __exidx_end = .; + . = ALIGN(4); + + /* End of RO-DATA and start of LOAD region for the veneers */ + eROData = . ; + + /* DSRAM layout (Lowest to highest)*/ + /* Veneer <-> DATA <-> ram_code <-> BSS <-> HEAP <-> memory gap <-> Stack <-> no_init */ + + .VENEER_Code ABSOLUTE(0x2000000C): AT(eROData) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerStart = .; + KEEP(*(.XmcVeneerCode)); + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + VeneerEnd = .; + } > SRAM + + VeneerSize = ABSOLUTE(VeneerEnd) - ABSOLUTE(VeneerStart); + + /* Standard DATA and user defined DATA/BSS/CONST sections */ + DataLoadAddr = eROData + VeneerSize; + .data : AT(DataLoadAddr) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_start = .; + *(vtable) + * (.data); + * (.data*); + *(*.data); + *(.gnu.linkonce.d*) + + . = ALIGN(4); + /* preinit data */ + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP(*(.preinit_array)) + PROVIDE_HIDDEN (__preinit_array_end = .); + + . = ALIGN(4); + /* init data */ + PROVIDE_HIDDEN (__init_array_start = .); + KEEP(*(SORT(.init_array.*))) + KEEP(*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + + + . = ALIGN(4); + /* finit data */ + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP(*(SORT(.fini_array.*))) + KEEP(*(.fini_array)) + PROVIDE_HIDDEN (__fini_array_end = .); + + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __data_end = .; + } > SRAM + __data_size = __data_end - __data_start; + + .ram_code : AT(DataLoadAddr + __data_size) + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_start = .; + /* functions with __attribute__ ((section (".ram_code")))*/ + *(.ram_code) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __ram_code_end = .; + } > SRAM + __ram_code_load = LOADADDR (.ram_code); + __ram_code_size = __ram_code_end - __ram_code_start; + + /* BSS section */ + .bss (NOLOAD) : + { + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_start = .; + * (.bss); + * (.bss*); + * (COMMON); + *(.gnu.linkonce.b*) + . = ALIGN(4); /* section size must be multiple of 4. See startup_XMC_xxxx.S file */ + __bss_end = .; + Heap_Bank1_Start = .; + } > SRAM + __bss_size = __bss_end - __bss_start; + + _stack_begin = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + + /* Dummy section for stack */ + Stack _stack_begin (NOLOAD) : + { + . = ORIGIN(SRAM) + LENGTH(SRAM) - stack_size - (2 * no_init_size); + Heap_Bank1_End = .; + end = Heap_Bank1_End; + __stack_start = .; + . = . + stack_size; + __stack_end = .; + __initial_sp = .; + } > SRAM + + /* Heap - Bank1*/ + + Heap_Bank1_Size = Heap_Bank1_End - Heap_Bank1_Start; + + ASSERT(Heap_Bank1_Start <= Heap_Bank1_End, "bss section SRAM overflowed stack section") + + /* .no_init section contains SystemCoreClock. See system_XMC_xxxx.c file */ + .no_init ORIGIN(SRAM) + LENGTH(SRAM) - no_init_size (NOLOAD) : + { + * (.no_init); + } > SRAM + + + /DISCARD/ : + { + *(.comment) + } + + .stab 0 (NOLOAD) : { *(.stab) } + .stabstr 0 (NOLOAD) : { *(.stabstr) } + + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + .debug_pubtypes 0 : { *(.debug_pubtypes) } + + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + + /* DWARF 2.1 */ + .debug_ranges 0 : { *(.debug_ranges) } + + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } + + /* Build attributes */ + .build_attributes 0 : { *(.ARM.attributes) } +} diff --git a/variants/XMC1300/startup_XMC1300.S b/variants/XMC1300/startup_XMC1300.S new file mode 100755 index 00000000..3b624fd4 --- /dev/null +++ b/variants/XMC1300/startup_XMC1300.S @@ -0,0 +1,519 @@ +/********************************************************************************************************************* + * @file startup_XMC1300.S + * @brief CMSIS Core Device Startup File for Infineon XMC1300 Device Series + * @version V1.15 + * @date 05 Jan 2016 + * + * @cond + ********************************************************************************************************************* + * Copyright (c) 2012-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + **************************** Change history ******************************** + * V1.0, Oct, 02, 2012 PKB:Startup file for XMC1 + * V1.1, Oct, 19, 2012 PKB:ERU and MATH interrupt handlers + * V1.2, Nov, 02, 2012 PKB:Renamed AllowPLLInitByStartup to AllowClkInitByStartup + * V1.3, Dec, 11, 2012 PKB:Attributes of .XmcVeneerCode section changed + * V1.4, Dec, 13, 2012 PKB:Removed unwanted interrupts/veneers + * V1.5, Jan, 26, 2013 PKB:Corrected the SSW related entries + * V1.6, Feb, 13, 2013 PKB:Relative path to Device_Data.h + * V1.7, Feb, 19, 2013 PKB:Included XMC1100_SCU.inc + * V1.8, Jan, 24, 2014 PKB:Removed AllowClkInitStartup and DAVE Extended init + * V1.9, Feb, 05, 2014 PKB:Removed redundant alignment code from copy+clear funcs + * V1.10, Feb, 14, 2014 PKB:Added software_init_hook and hardware_init_hook + * V1.11, May, 06, 2014 JFT:__COPY_FLASH2RAM to initialize ram + * Added ram_code section initialization + * V1.12, Sep, 29, 2014 JFT:One single default handler + * Device_Data.h not included, user may use CLKVAL1_SSW + * and CLKVAL2_SSW. + * software_init_hook and hardware_init_hook removed + * Misc optimizations + * V1.13, Dec, 11,2014 JFT:Default clocking changed, MCLK=32MHz and PCLK=64MHz + * V1.14, Sep, 03,2015 JFT:SSW default clocking changed, MCLK=8MHz and PCLK=16MHz avoid problems with BMI tool timeout + * V1.15, Jan, 05,2016 JFT:Fix .reset section attributes + * + * @endcond + */ + +/***************************************************************************** + * Clock system handling by SSW + * CLK_VAL1 Configuration + * FDIV Fractional Divider Selection + * Deafult: 0. Fractional part of clock divider, MCLK = DCO1 / (2 x (IDIV + (FDIV / 256))) + * IDIV Divider Selection (limited to 1-16) + * <0=> Divider is bypassed + * <1=> MCLK = 32 MHz + * <2=> MCLK = 16 MHz + * <3=> MCLK = 10.67 MHz + * <4=> MCLK = 8 MHz + * <254=> MCLK = 126 kHz + * <255=> MCLK = 125.5 kHz + * Deafult: 4. Interger part of clock divider, MCLK = DCO1 / (2 x (IDIV + (FDIV / 256))) = 8MHz + * PCLKSEL PCLK Clock Select + * <0=> PCLK = MCLK + * <1=> PCLK = 2 x MCLK + * Deafult: 2 x MCLK + * RTCCLKSEL RTC Clock Select + * <0=> 32.768kHz standby clock + * <1=> 32.768kHz external clock from ERU0.IOUT0 + * <2=> 32.768kHz external clock from ACMP0.OUT + * <3=> 32.768kHz external clock from ACMP1.OUT + * <4=> 32.768kHz external clock from ACMP2.OUT + * <5=> Reserved + * <6=> Reserved + * <7=> Reserved + * Deafult: 32.768kHz standby clock + * do not move CLK_VAL1 to SCU_CLKCR[0..19] + * + *****************************************************************************/ +#define CLKVAL1_SSW 0x00010400 + +/***************************************************************************** + * CLK_VAL2 Configuration + * disable VADC and SHS Gating + * disable CCU80 Gating + * disable CCU40 Gating + * disable USIC0 Gating + * disable BCCU0 Gating + * disable LEDTS0 Gating + * disable LEDTS1 Gating + * disable POSIF0 Gating + * disable MATH Gating + * disable WDT Gating + * disable RTC Gating + * do not move CLK_VAL2 to SCU_CGATCLR0[0..10] + * + *****************************************************************************/ +#define CLKVAL2_SSW 0x00000100 + +/* A macro to define vector table entries */ +.macro Entry Handler + .long \Handler +.endm + +/* A couple of macros to ease definition of the various handlers */ +.macro Insert_ExceptionHandler Handler_Func + .weak \Handler_Func + .thumb_set \Handler_Func, Default_handler +.endm + +/* ================== START OF VECTOR TABLE DEFINITION ====================== */ +/* Vector Table - This is indirectly branched to through the veneers */ + .syntax unified + .cpu cortex-m0 + + .section .reset, "a", %progbits + + .align 2 + + .globl __Vectors + .type __Vectors, %object +__Vectors: + .long __initial_sp /* Top of Stack */ + .long Reset_Handler /* Reset Handler */ +/* + * All entries below are redundant for M0, but are retained because they can + * in the future be directly ported to M0 Plus devices. + */ + .long 0 /* Reserved */ + Entry HardFault_Handler /* Hard Fault Handler */ + .long CLKVAL1_SSW /* Reserved */ + .long CLKVAL2_SSW /* Reserved */ +#ifdef RETAIN_VECTOR_TABLE + .long 0 /* Reserved */ + .long 0 /* Reserved */ + .long 0 /* Reserved */ + .long 0 /* Reserved */ + .long 0 /* Reserved */ + Entry SVC_Handler /* SVCall Handler */ + .long 0 /* Reserved */ + .long 0 /* Reserved */ + Entry PendSV_Handler /* PendSV Handler */ + Entry SysTick_Handler /* SysTick Handler */ + + /* Interrupt Handlers for Service Requests (SR) from XMC1300 Peripherals */ + Entry SCU_0_IRQHandler /* Handler name for SR SCU_0 */ + Entry SCU_1_IRQHandler /* Handler name for SR SCU_1 */ + Entry SCU_2_IRQHandler /* Handler name for SR SCU_2 */ + Entry ERU0_0_IRQHandler /* Handler name for SR ERU0_0 */ + Entry ERU0_1_IRQHandler /* Handler name for SR ERU0_1 */ + Entry ERU0_2_IRQHandler /* Handler name for SR ERU0_2 */ + Entry ERU0_3_IRQHandler /* Handler name for SR ERU0_3 */ + Entry MATH0_0_IRQHandler /* Handler name for SR MATH0_0 */ + .long 0 /* Not Available */ + Entry USIC0_0_IRQHandler /* Handler name for SR USIC0_0 */ + Entry USIC0_1_IRQHandler /* Handler name for SR USIC0_1 */ + Entry USIC0_2_IRQHandler /* Handler name for SR USIC0_2 */ + Entry USIC0_3_IRQHandler /* Handler name for SR USIC0_3 */ + Entry USIC0_4_IRQHandler /* Handler name for SR USIC0_4 */ + Entry USIC0_5_IRQHandler /* Handler name for SR USIC0_5 */ + Entry VADC0_C0_0_IRQHandler /* Handler name for SR VADC0_C0_0 */ + Entry VADC0_C0_1_IRQHandler /* Handler name for SR VADC0_C0_1 */ + Entry VADC0_G0_0_IRQHandler /* Handler name for SR VADC0_G0_0 */ + Entry VADC0_G0_1_IRQHandler /* Handler name for SR VADC0_G0_1 */ + Entry VADC0_G1_0_IRQHandler /* Handler name for SR VADC0_G1_0 */ + Entry VADC0_G1_1_IRQHandler /* Handler name for SR VADC0_G1_1 */ + Entry CCU40_0_IRQHandler /* Handler name for SR CCU40_0 */ + Entry CCU40_1_IRQHandler /* Handler name for SR CCU40_1 */ + Entry CCU40_2_IRQHandler /* Handler name for SR CCU40_2 */ + Entry CCU40_3_IRQHandler /* Handler name for SR CCU40_3 */ + Entry CCU80_0_IRQHandler /* Handler name for SR CCU80_0 */ + Entry CCU80_1_IRQHandler /* Handler name for SR CCU80_1 */ + Entry POSIF0_0_IRQHandler /* Handler name for SR POSIF0_0 */ + Entry POSIF0_1_IRQHandler /* Handler name for SR POSIF0_1 */ + .long 0 /* Not Available */ + .long 0 /* Not Available */ + Entry BCCU0_0_IRQHandler /* Handler name for SR BCCU0_0 */ +#endif + + .size __Vectors, . - __Vectors +/* ================== END OF VECTOR TABLE DEFINITION ======================= */ + +/* ================== START OF VECTOR ROUTINES ============================= */ + + .thumb + .align 1 + +/* Reset Handler */ + .thumb_func + .globl Reset_Handler + .type Reset_Handler, %function +Reset_Handler: +/* Initialize interrupt veneer */ + ldr r1, =eROData + ldr r2, =VeneerStart + ldr r3, =VeneerEnd + bl __copy_data + + ldr r0, =SystemInit + blx r0 + +/* Initialize data */ + ldr r1, =DataLoadAddr + ldr r2, =__data_start + ldr r3, =__data_end + bl __copy_data + +/* RAM code */ + ldr r1, =__ram_code_load + ldr r2, =__ram_code_start + ldr r3, =__ram_code_end + bl __copy_data + +/* Define __SKIP_BSS_CLEAR to disable zeroing uninitialzed data in startup. + * The BSS section is specified by following symbols + * __bss_start__: start of the BSS section. + * __bss_end__: end of the BSS section. + * + * Both addresses must be aligned to 4 bytes boundary. + */ +#ifndef __SKIP_BSS_CLEAR + ldr r1, =__bss_start + ldr r2, =__bss_end + + movs r0, 0 + + subs r2, r1 + ble .L_loop3_done + +.L_loop3: + subs r2, #4 + str r0, [r1, r2] + bgt .L_loop3 +.L_loop3_done: +#endif /* __SKIP_BSS_CLEAR */ + +#ifndef __SKIP_LIBC_INIT_ARRAY + ldr r0, =__libc_init_array + blx r0 +#endif + + ldr r0, =main + blx r0 + + .thumb_func + .type __copy_data, %function +__copy_data: +/* The ranges of copy from/to are specified by following symbols + * r1: start of the section to copy from. + * r2: start of the section to copy to + * r3: end of the section to copy to + * + * All addresses must be aligned to 4 bytes boundary. + * Uses r0 + */ + subs r3, r2 + ble .L_loop_done + +.L_loop: + subs r3, #4 + ldr r0, [r1,r3] + str r0, [r2,r3] + bgt .L_loop + +.L_loop_done: + bx lr + + .pool + .size Reset_Handler,.-Reset_Handler +/* ======================================================================== */ +/* ========== START OF EXCEPTION HANDLER DEFINITION ======================== */ + + .align 1 + + .thumb_func + .weak Default_handler + .type Default_handler, %function +Default_handler: + b . + .size Default_handler, . - Default_handler + + Insert_ExceptionHandler HardFault_Handler + Insert_ExceptionHandler SVC_Handler + Insert_ExceptionHandler PendSV_Handler + Insert_ExceptionHandler SysTick_Handler + + Insert_ExceptionHandler SCU_0_IRQHandler + Insert_ExceptionHandler SCU_1_IRQHandler + Insert_ExceptionHandler SCU_2_IRQHandler + Insert_ExceptionHandler ERU0_0_IRQHandler + Insert_ExceptionHandler ERU0_1_IRQHandler + Insert_ExceptionHandler ERU0_2_IRQHandler + Insert_ExceptionHandler ERU0_3_IRQHandler + Insert_ExceptionHandler MATH0_0_IRQHandler + Insert_ExceptionHandler VADC0_C0_0_IRQHandler + Insert_ExceptionHandler VADC0_C0_1_IRQHandler + Insert_ExceptionHandler VADC0_G0_0_IRQHandler + Insert_ExceptionHandler VADC0_G0_1_IRQHandler + Insert_ExceptionHandler VADC0_G1_0_IRQHandler + Insert_ExceptionHandler VADC0_G1_1_IRQHandler + Insert_ExceptionHandler CCU40_0_IRQHandler + Insert_ExceptionHandler CCU40_1_IRQHandler + Insert_ExceptionHandler CCU40_2_IRQHandler + Insert_ExceptionHandler CCU40_3_IRQHandler + Insert_ExceptionHandler CCU80_0_IRQHandler + Insert_ExceptionHandler CCU80_1_IRQHandler + Insert_ExceptionHandler POSIF0_0_IRQHandler + Insert_ExceptionHandler POSIF0_1_IRQHandler + Insert_ExceptionHandler USIC0_0_IRQHandler + Insert_ExceptionHandler USIC0_1_IRQHandler + Insert_ExceptionHandler USIC0_2_IRQHandler + Insert_ExceptionHandler USIC0_3_IRQHandler + Insert_ExceptionHandler USIC0_4_IRQHandler + Insert_ExceptionHandler USIC0_5_IRQHandler + Insert_ExceptionHandler BCCU0_0_IRQHandler + +/* ======================================================================== */ + +/* ==================VENEERS VENEERS VENEERS VENEERS VENEERS=============== */ + .section ".XmcVeneerCode","ax",%progbits + + .align 1 + + .globl HardFault_Veneer +HardFault_Veneer: + LDR R0, =HardFault_Handler + MOV PC,R0 + .long 0 + .long 0 + .long 0 + .long 0 + .long 0 + .long 0 + .long 0 +/* ======================================================================== */ + .globl SVC_Veneer +SVC_Veneer: + LDR R0, =SVC_Handler + MOV PC,R0 + .long 0 + .long 0 +/* ======================================================================== */ + .globl PendSV_Veneer +PendSV_Veneer: + LDR R0, =PendSV_Handler + MOV PC,R0 +/* ======================================================================== */ + .globl SysTick_Veneer +SysTick_Veneer: + LDR R0, =SysTick_Handler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_0_Veneer +SCU_0_Veneer: + LDR R0, =SCU_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_1_Veneer +SCU_1_Veneer: + LDR R0, =SCU_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_2_Veneer +SCU_2_Veneer: + LDR R0, =SCU_2_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_3_Veneer +SCU_3_Veneer: + LDR R0, =ERU0_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_4_Veneer +SCU_4_Veneer: + LDR R0, =ERU0_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_5_Veneer +SCU_5_Veneer: + LDR R0, =ERU0_2_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl SCU_6_Veneer +SCU_6_Veneer: + LDR R0, =ERU0_3_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl MATH_Veneer +MATH_Veneer: + LDR R0, =MATH0_0_IRQHandler + MOV PC,R0 + .long 0 +/* ======================================================================== */ + .globl USIC0_0_Veneer +USIC0_0_Veneer: + LDR R0, =USIC0_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl USIC0_1_Veneer +USIC0_1_Veneer: + LDR R0, =USIC0_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl USIC0_2_Veneer +USIC0_2_Veneer: + LDR R0, =USIC0_2_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl USIC0_3_Veneer +USIC0_3_Veneer: + LDR R0, =USIC0_3_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl USIC0_4_Veneer +USIC0_4_Veneer: + LDR R0, =USIC0_4_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl USIC0_5_Veneer +USIC0_5_Veneer: + LDR R0, =USIC0_5_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl VADC0_C0_0_Veneer +VADC0_C0_0_Veneer: + LDR R0, =VADC0_C0_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl VADC0_C0_1_Veneer +VADC0_C0_1_Veneer: + LDR R0, =VADC0_C0_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl VADC0_G0_0_Veneer +VADC0_G0_0_Veneer: + LDR R0, =VADC0_G0_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl VADC0_G0_1_Veneer +VADC0_G0_1_Veneer: + LDR R0, =VADC0_G0_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl VADC0_G1_0_Veneer +VADC0_G1_0_Veneer: + LDR R0, =VADC0_G1_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl VADC0_G1_1_Veneer +VADC0_G1_1_Veneer: + LDR R0, =VADC0_G1_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl CCU40_0_Veneer +CCU40_0_Veneer: + LDR R0, =CCU40_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl CCU40_1_Veneer +CCU40_1_Veneer: + LDR R0, =CCU40_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl CCU40_2_Veneer +CCU40_2_Veneer: + LDR R0, =CCU40_2_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl CCU40_3_Veneer +CCU40_3_Veneer: + LDR R0, =CCU40_3_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl CCU80_0_Veneer +CCU80_0_Veneer: + LDR R0, =CCU80_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl CCU80_1_Veneer +CCU80_1_Veneer: + LDR R0, =CCU80_1_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl POSIF0_0_Veneer +POSIF0_0_Veneer: + LDR R0, =POSIF0_0_IRQHandler + MOV PC,R0 +/* ======================================================================== */ + .globl POSIF0_1_Veneer +POSIF0_1_Veneer: + LDR R0, =POSIF0_1_IRQHandler + MOV PC,R0 + .long 0 + .long 0 +/* ======================================================================== */ + .globl BCCU0_0_Veneer +BCCU0_0_Veneer: + LDR R0, =BCCU0_0_IRQHandler + MOV PC,R0 + +/* ======================================================================== */ +/* ======================================================================== */ + +/* ============= END OF INTERRUPT HANDLER DEFINITION ======================== */ + + .end diff --git a/variants/XMC1300/system_XMC1300.c b/variants/XMC1300/system_XMC1300.c new file mode 100755 index 00000000..b50af833 --- /dev/null +++ b/variants/XMC1300/system_XMC1300.c @@ -0,0 +1,132 @@ +/********************************************************************************************************************* + * @file system_XMC1300.c + * @brief Device specific initialization for the XMC1300-Series according to CMSIS + * @version V1.11 + * @date 19 Jun 2017 + * + * @cond + ********************************************************************************************************************* + * Copyright (c) 2012-2017, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + * *************************** Change history ******************************** + * V1.2, 13 Dec 2012, PKB : Created change history table + * V1.3, 20 Dec 2012, PKB : Fixed SystemCoreClock computation + * V1.4, 02 Feb 2013, PKB : SCU_CLOCK -> SCU_CLK + * V1.5, 27 Nov 2013, DNE : Comments added in SystemInit function for MCLK support + * V1.6, 19 Feb 2014, JFT : Fixed SystemCoreClock when FDIV != 0 + * V1.7, 11 Dec 2014, JFT : SystemCoreClockSetup, SystemCoreSetup as weak functions + * V1.8, 03 Sep 2015, JFT : Override values of CLOCK_VAL1 and CLOCK_VAL2 defined in vector table (startup.s) + * MCLK = 32MHz, PCLK = 64MHz + * V1.9, 31 Mar 2016, JFT : Fix flash wait states to 1 cycle + * V1.10,22 Aug 2016, JFT : Update coding for fixed flash wait states using new macros in device header file + * Add macro guard USE_DYNAMIC_FLASH_WS. If defined in compiler options, adaptive wait states + * are used for read accesses to the flash memory. Otherwise a fixed 1 WS is used. + * V1.11,19 Jun 2017, Rely on cmsis_compiler.h instead of defining __WEAK + * Added support for ARM Compiler 6 (armclang) + * + * @endcond + */ + +/******************************************************************************* + * HEADER FILES + *******************************************************************************/ + +#include +#include "system_XMC1300.h" + +/******************************************************************************* + * MACROS + *******************************************************************************/ +#define DCO1_FREQUENCY (64000000U) + +/******************************************************************************* + * GLOBAL VARIABLES + *******************************************************************************/ + +#if defined ( __CC_ARM ) +uint32_t SystemCoreClock __attribute__((at(0x20003FFC))); +#elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) +uint32_t SystemCoreClock __attribute__((section(".ARM.__at_0x20003FFC"))); +#elif defined ( __ICCARM__ ) +__no_init uint32_t SystemCoreClock; +#elif defined ( __GNUC__ ) +uint32_t SystemCoreClock __attribute__((section(".no_init"))); +#elif defined ( __TASKING__ ) +uint32_t SystemCoreClock __at( 0x20003FFC ); +#endif + +/******************************************************************************* + * API IMPLEMENTATION + *******************************************************************************/ + +__WEAK void SystemInit(void) +{ + SystemCoreSetup(); + SystemCoreClockSetup(); +} + +__WEAK void SystemCoreSetup(void) +{ +#ifndef USE_DYNAMIC_FLASH_WS + /* Fix flash wait states to 1 cycle (see DS Addendum) */ + NVM->NVMCONF |= NVM_NVMCONF_WS_Msk; + NVM->CONFIG1 |= NVM_CONFIG1_FIXWS_Msk; +#endif +} + +__WEAK void SystemCoreClockSetup(void) +{ + /* Override values of CLOCK_VAL1 and CLOCK_VAL2 defined in vector table */ + /* MCLK = 32MHz, PCLK = 64MHz */ + + SCU_GENERAL->PASSWD = 0x000000C0UL; /* disable bit protection */ + SCU_CLK->CLKCR = 0x3FF10100UL; + while((SCU_CLK->CLKCR & SCU_CLK_CLKCR_VDDC2LOW_Msk)); + SCU_GENERAL->PASSWD = 0x000000C3UL; /* enable bit protection */ + + SystemCoreClockUpdate(); +} + +__WEAK void SystemCoreClockUpdate(void) +{ + static uint32_t IDIV, FDIV; + + IDIV = ((SCU_CLK->CLKCR) & SCU_CLK_CLKCR_IDIV_Msk) >> SCU_CLK_CLKCR_IDIV_Pos; + FDIV = ((SCU_CLK->CLKCR) & SCU_CLK_CLKCR_FDIV_Msk) >> SCU_CLK_CLKCR_FDIV_Pos; + + if (IDIV != 0) + { + /* Fractional divider is enabled and used */ + SystemCoreClock = ((DCO1_FREQUENCY << 6U) / ((IDIV << 8) + FDIV)) << 1U; + } + else + { + /* Fractional divider bypassed. Simply divide DCO_DCLK by 2 */ + SystemCoreClock = DCO1_FREQUENCY >> 1U; + } +} diff --git a/variants/XMC1300/system_XMC1300.h b/variants/XMC1300/system_XMC1300.h new file mode 100755 index 00000000..a74649bd --- /dev/null +++ b/variants/XMC1300/system_XMC1300.h @@ -0,0 +1,94 @@ +/******************************************************************************************************************** + * @file system_XMC1300.h + * @brief Device specific initialization for the XMC1300-Series according to CMSIS + * @version V1.2 + * @date 19 Jul 2013 + * + * @cond + ******************************************************************************************************************** + * Copyright (c) 2012-2016, Infineon Technologies AG + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the + * following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following + * disclaimer. + * + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided with the distribution. + * + * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote + * products derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * To improve the quality of the software, users are encouraged to share modifications, enhancements or bug fixes with + * Infineon Technologies AG dave@infineon.com). + ********************************************************************************************************************* + * + **************************** Change history ********************************* + * V1.1, 13 Dec 2012, PKB, Created this table, added extern and stdint + * V1.2, 19 Jul 2013, PKB, Added header guard, BootROM header, C++ support + ***************************************************************************** + * @endcond + */ + +#ifndef SYSTEM_XMC1300_H +#define SYSTEM_XMC1300_H + +/******************************************************************************* + * HEADER FILES + *******************************************************************************/ + +#include + +/******************************************************************************* + * GLOBAL VARIABLES + *******************************************************************************/ + +extern uint32_t SystemCoreClock; + +/******************************************************************************* + * API PROTOTYPES + *******************************************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + +/** + * @brief Initialize the system + * + */ +void SystemInit(void); + +/** + * @brief Initialize CPU settings + * + */ +void SystemCoreSetup(void); + +/** + * @brief Initialize clock + * + */ +void SystemCoreClockSetup(void); + +/** + * @brief Update SystemCoreClock variable + * + */ +void SystemCoreClockUpdate(void); + +#ifdef __cplusplus +} +#endif + +#endif