/**
 *******************************************************************************
 * @file  HC32F334.h
 * @brief Headerfile for HC32F334 series MCU
 @verbatim
   Change Logs:
   Date             Author          Notes
   2024-01-15       CDT             First version
   2024-06-30       CDT             Update base upon RM Rev1.00
 @endverbatim
 *******************************************************************************
 * Copyright (C) 2022-2024, Xiaohua Semiconductor Co., Ltd. All rights reserved.
 *
 * This software component is licensed by XHSC under BSD 3-Clause license
 * (the "License"); You may not use this file except in compliance with the
 * License. You may obtain a copy of the License at:
 *                    opensource.org/licenses/BSD-3-Clause
 *
 *******************************************************************************
 **/

#ifndef __HC32F334_H__
#define __HC32F334_H__

#ifdef __cplusplus
extern "C" {
#endif

/*******************************************************************************
 * Configuration of the Cortex-M4 Processor and Core Peripherals
 ******************************************************************************/
#define __MPU_PRESENT             1       /*!< HC32F334 provides MPU                                */
#define __VTOR_PRESENT            1       /*!< HC32F334 supported vector table registers            */
#define __NVIC_PRIO_BITS          4       /*!< HC32F334 uses 4 Bits for the Priority Levels         */
#define __Vendor_SysTickConfig    0       /*!< Set to 1 if different SysTick Config is used         */
#define __FPU_PRESENT             1       /*!< FPU present                                          */

/*******************************************************************************
 * Interrupt Number Definition
 ******************************************************************************/
typedef enum {
    NMI_IRQn                    = -14, /*  2 Non Maskable                     */
    HardFault_IRQn              = -13, /*  3 Hard Fault                       */
    MemManageFault_IRQn         = -12, /*  4 MemManage Fault                  */
    BusFault_IRQn               = -11, /*  5 Bus Fault                        */
    UsageFault_IRQn             = -10, /*  6 Usage Fault                      */
    SVC_IRQn                    = -5,  /* 11 SVCall                           */
    DebugMonitor_IRQn           = -4,  /* 12 DebugMonitor                     */
    PendSV_IRQn                 = -2,  /* 14 Pend SV                          */
    SysTick_IRQn                = -1,  /* 15 System Tick                      */
    INT000_IRQn                 = 0,
    INT001_IRQn                 = 1,
    INT002_IRQn                 = 2,
    INT003_IRQn                 = 3,
    INT004_IRQn                 = 4,
    INT005_IRQn                 = 5,
    INT006_IRQn                 = 6,
    INT007_IRQn                 = 7,
    INT008_IRQn                 = 8,
    INT009_IRQn                 = 9,
    INT010_IRQn                 = 10,
    INT011_IRQn                 = 11,
    INT012_IRQn                 = 12,
    INT013_IRQn                 = 13,
    INT014_IRQn                 = 14,
    INT015_IRQn                 = 15,
    EXTINT_PORT_EIRQ0_IRQn      = 16,
    EXTINT_PORT_EIRQ1_IRQn      = 17,
    EXTINT_PORT_EIRQ2_IRQn      = 18,
    EXTINT_PORT_EIRQ3_IRQn      = 19,
    EXTINT_PORT_EIRQ4_IRQn      = 20,
    EXTINT_PORT_EIRQ5_IRQn      = 21,
    EXTINT_PORT_EIRQ6_IRQn      = 22,
    EXTINT_PORT_EIRQ7_IRQn      = 23,
    EXTINT_PORT_EIRQ8_IRQn      = 24,
    EXTINT_PORT_EIRQ9_IRQn      = 25,
    EXTINT_PORT_EIRQ10_IRQn     = 26,
    EXTINT_PORT_EIRQ11_IRQn     = 27,
    EXTINT_PORT_EIRQ12_IRQn     = 28,
    EXTINT_PORT_EIRQ13_IRQn     = 29,
    EXTINT_PORT_EIRQ14_IRQn     = 30,
    EXTINT_PORT_EIRQ15_IRQn     = 31,
    SWINT0_IRQn                 = 0,
    SWINT1_IRQn                 = 1,
    SWINT2_IRQn                 = 2,
    SWINT3_IRQn                 = 3,
    SWINT4_IRQn                 = 4,
    SWINT5_IRQn                 = 5,
    SWINT6_IRQn                 = 6,
    SWINT7_IRQn                 = 7,
    SWINT8_IRQn                 = 8,
    SWINT9_IRQn                 = 9,
    SWINT10_IRQn                = 10,
    SWINT11_IRQn                = 11,
    SWINT12_IRQn                = 12,
    SWINT13_IRQn                = 13,
    SWINT14_IRQn                = 14,
    SWINT15_IRQn                = 15,
    SWINT16_IRQn                = 16,
    SWINT17_IRQn                = 17,
    SWINT18_IRQn                = 18,
    SWINT19_IRQn                = 19,
    SWINT20_IRQn                = 20,
    SWINT21_IRQn                = 21,
    SWINT22_IRQn                = 22,
    SWINT23_IRQn                = 23,
    SWINT24_IRQn                = 24,
    SWINT25_IRQn                = 25,
    SWINT26_IRQn                = 26,
    SWINT27_IRQn                = 27,
    SWINT28_IRQn                = 28,
    SWINT29_IRQn                = 29,
    SWINT30_IRQn                = 30,
    SWINT31_IRQn                = 31,
    DMA_ERR_IRQn                = 32,
    DMA_TC0_BTC0_IRQn           = 33,
    DMA_TC1_BTC1_IRQn           = 34,
    DMA_TC2_BTC2_IRQn           = 35,
    DMA_TC3_BTC3_IRQn           = 36,
    DMA_TC4_BTC4_IRQn           = 37,
    DMA_TC5_BTC5_IRQn           = 38,
    DMA_TC6_BTC6_IRQn           = 39,
    DMA_TC7_BTC7_IRQn           = 40,
    EFM_PEERR_RDCOL_IRQn        = 41,
    EFM_OPTEND_IRQn             = 42,
    FPU_ERR_IRQn                = 43,
    TMR0_1_IRQn                 = 44,
    TMR0_2_IRQn                 = 45,
    RTC_IRQn                    = 46,
    XTAL_IRQn                   = 47,
    WKTM_IRQn                   = 48,
    SWDT_IRQn                   = 49,
    TMR6_1_GCMP_IRQn            = 50,
    TMR6_1_OVF_UDF_IRQn         = 51,
    TMR6_1_DTE_IRQn             = 52,
    TMR6_1_SCMP_IRQn            = 53,
    TMRA_1_OVF_UDF_IRQn         = 54,
    TMRA_1_CMP_IRQn             = 55,
    TMR6_2_GCMP_IRQn            = 56,
    TMR6_2_OVF_UDF_IRQn         = 57,
    TMR6_2_DTE_IRQn             = 58,
    TMR6_2_SCMP_IRQn            = 59,
    TMRA_2_OVF_UDF_IRQn         = 60,
    TMRA_2_CMP_IRQn             = 61,
    TMR6_3_GCMP_IRQn            = 62,
    TMR6_3_OVF_UDF_IRQn         = 63,
    TMR6_3_DTE_IRQn             = 64,
    TMR6_3_SCMP_IRQn            = 65,
    TMRA_3_OVF_UDF_IRQn         = 66,
    TMRA_3_CMP_IRQn             = 67,
    TMR6_4_GCMP_IRQn            = 68,
    TMR6_4_OVF_UDF_IRQn         = 69,
    TMR6_4_DTE_IRQn             = 70,
    TMR6_4_SCMP_IRQn            = 71,
    TMRA_4_OVF_UDF_IRQn         = 72,
    TMRA_4_CMP_IRQn             = 73,
    HRPWM_1_GCMP_IRQn           = 74,
    HRPWM_1_OVF_UDF_IRQn        = 75,
    HRPWM_1_SCMP_IRQn           = 76,
    HRPWM_1_GCAP_IRQn           = 77,
    HRPWM_2_GCMP_IRQn           = 78,
    HRPWM_2_OVF_UDF_IRQn        = 79,
    HRPWM_2_SCMP_IRQn           = 80,
    HRPWM_2_GCAP_IRQn           = 81,
    HRPWM_IRQn                  = 82,
    EMB_GR0_IRQn                = 83,
    EMB_GR1_IRQn                = 84,
    EMB_GR2_IRQn                = 85,
    EMB_GR3_IRQn                = 86,
    HRPWM_3_GCMP_IRQn           = 87,
    HRPWM_3_OVF_UDF_IRQn        = 88,
    HRPWM_3_SCMP_IRQn           = 89,
    HRPWM_3_GCAP_IRQn           = 90,
    HRPWM_4_GCMP_IRQn           = 91,
    HRPWM_4_OVF_UDF_IRQn        = 92,
    HRPWM_4_SCMP_IRQn           = 93,
    HRPWM_4_GCAP_IRQn           = 94,
    EMB_GR4_IRQn                = 95,
    EMB_GR5_IRQn                = 96,
    EMB_GR6_IRQn                = 97,
    EMB_GR7_IRQn                = 98,
    EMB_GR8_IRQn                = 99,
    HRPWM_5_GCMP_IRQn           = 100,
    HRPWM_5_OVF_UDF_IRQn        = 101,
    HRPWM_5_SCMP_IRQn           = 102,
    HRPWM_5_GCAP_IRQn           = 103,
    HRPWM_6_GCMP_IRQn           = 104,
    HRPWM_6_OVF_UDF_IRQn        = 105,
    HRPWM_6_SCMP_IRQn           = 106,
    HRPWM_6_GCAP_IRQn           = 107,
    MCANRAM_ECCER_IRQn          = 108,
    MCAN1_INT0_IRQn             = 109,
    MCAN1_INT1_IRQn             = 110,
    MCAN2_INT0_IRQn             = 111,
    MCAN2_INT1_IRQn             = 112,
    TMR4_GCMP_IRQn              = 113,
    TMR4_OVF_UDF_IRQn           = 114,
    TMR4_RELOAD_IRQn            = 115,
    TMR4_SCMP_IRQn              = 116,
    CMP1_IRQ_IRQn               = 117,
    CMP2_IRQ_IRQn               = 118,
    CMP3_IRQ_IRQn               = 119,
    I2C_IRQn                    = 120,
    USART1_IRQn                 = 121,
    USART1_TCI_IRQn             = 122,
    SPI_IRQn                    = 123,
    TMRA_5_OVF_UDF_IRQn         = 124,
    TMRA_5_CMP_IRQn             = 125,
    EVENT_PORT1_IRQn            = 126,
    EVENT_PORT2_IRQn            = 127,
    EVENT_PORT3_IRQn            = 128,
    EVENT_PORT4_IRQn            = 129,
    USART2_IRQn                 = 130,
    USART2_TCI_IRQn             = 131,
    USART3_IRQn                 = 132,
    USART3_TCI_IRQn             = 133,
    USART4_IRQn                 = 134,
    USART4_TCI_IRQn             = 135,
    PLA_IRQn                    = 136,
    USART1_WUPI_IRQn            = 137,
    LVD1_IRQn                   = 138,
    LVD2_IRQn                   = 139,
    FCM_IRQn                    = 140,
    WDT_IRQn                    = 141,
    CTC_IRQn                    = 142,
    ADC1_IRQn                   = 143,
    ADC2_IRQn                   = 144,
    ADC3_IRQn                   = 145,
} IRQn_Type;

#include <core_cm4.h>
#include <stdint.h>

/**
 *******************************************************************************
 ** \brief Event number enumeration
 ******************************************************************************/
typedef enum {
    EVT_SRC_SWI_IRQ0             = 0U,
    EVT_SRC_SWI_IRQ1             = 1U,
    EVT_SRC_SWI_IRQ2             = 2U,
    EVT_SRC_SWI_IRQ3             = 3U,
    EVT_SRC_SWI_IRQ4             = 4U,
    EVT_SRC_SWI_IRQ5             = 5U,
    EVT_SRC_SWI_IRQ6             = 6U,
    EVT_SRC_SWI_IRQ7             = 7U,
    EVT_SRC_SWI_IRQ8             = 8U,
    EVT_SRC_SWI_IRQ9             = 9U,
    EVT_SRC_SWI_IRQ10            = 10U,
    EVT_SRC_SWI_IRQ11            = 11U,
    EVT_SRC_SWI_IRQ12            = 12U,
    EVT_SRC_SWI_IRQ13            = 13U,
    EVT_SRC_SWI_IRQ14            = 14U,
    EVT_SRC_SWI_IRQ15            = 15U,
    EVT_SRC_SWI_IRQ16            = 16U,
    EVT_SRC_SWI_IRQ17            = 17U,
    EVT_SRC_SWI_IRQ18            = 18U,
    EVT_SRC_SWI_IRQ19            = 19U,
    EVT_SRC_SWI_IRQ20            = 20U,
    EVT_SRC_SWI_IRQ21            = 21U,
    EVT_SRC_SWI_IRQ22            = 22U,
    EVT_SRC_SWI_IRQ23            = 23U,
    EVT_SRC_SWI_IRQ24            = 24U,
    EVT_SRC_SWI_IRQ25            = 25U,
    EVT_SRC_SWI_IRQ26            = 26U,
    EVT_SRC_SWI_IRQ27            = 27U,
    EVT_SRC_SWI_IRQ28            = 28U,
    EVT_SRC_SWI_IRQ29            = 29U,
    EVT_SRC_SWI_IRQ30            = 30U,
    EVT_SRC_SWI_IRQ31            = 31U,
    /*  External Interrupt   */
    EVT_SRC_PORT_EIRQ0           = 0U,      /* EIRQ0  */
    EVT_SRC_PORT_EIRQ1           = 1U,      /* EIRQ1  */
    EVT_SRC_PORT_EIRQ2           = 2U,      /* EIRQ2  */
    EVT_SRC_PORT_EIRQ3           = 3U,      /* EIRQ3  */
    EVT_SRC_PORT_EIRQ4           = 4U,      /* EIRQ4  */
    EVT_SRC_PORT_EIRQ5           = 5U,      /* EIRQ5  */
    EVT_SRC_PORT_EIRQ6           = 6U,      /* EIRQ6  */
    EVT_SRC_PORT_EIRQ7           = 7U,      /* EIRQ7  */
    EVT_SRC_PORT_EIRQ8           = 8U,      /* EIRQ8  */
    EVT_SRC_PORT_EIRQ9           = 9U,      /* EIRQ9  */
    EVT_SRC_PORT_EIRQ10          = 10U,     /* EIRQ10 */
    EVT_SRC_PORT_EIRQ11          = 11U,     /* EIRQ11 */
    EVT_SRC_PORT_EIRQ12          = 12U,     /* EIRQ12 */
    EVT_SRC_PORT_EIRQ13          = 13U,     /* EIRQ13 */
    EVT_SRC_PORT_EIRQ14          = 14U,     /* EIRQ14 */
    EVT_SRC_PORT_EIRQ15          = 15U,     /* EIRQ15 */
    /*  DMA  */
    EVT_SRC_DMA_TC0              = 33U,     /* DMA_TC0  */
    EVT_SRC_DMA_BTC0             = 34U,     /* DMA_BTC0 */
    EVT_SRC_DMA_TC1              = 35U,     /* DMA_TC1  */
    EVT_SRC_DMA_BTC1             = 36U,     /* DMA_BTC1 */
    EVT_SRC_DMA_TC2              = 37U,     /* DMA_TC2  */
    EVT_SRC_DMA_BTC2             = 38U,     /* DMA_BTC2 */
    EVT_SRC_DMA_TC3              = 39U,     /* DMA_TC3  */
    EVT_SRC_DMA_BTC3             = 40U,     /* DMA_BTC3 */
    EVT_SRC_DMA_TC4              = 41U,     /* DMA_TC4  */
    EVT_SRC_DMA_BTC4             = 42U,     /* DMA_BTC4 */
    EVT_SRC_DMA_TC5              = 43U,     /* DMA_TC5  */
    EVT_SRC_DMA_BTC5             = 44U,     /* DMA_BTC5 */
    EVT_SRC_DMA_TC6              = 45U,     /* DMA_TC6  */
    EVT_SRC_DMA_BTC6             = 46U,     /* DMA_BTC6 */
    EVT_SRC_DMA_TC7              = 47U,     /* DMA_TC7  */
    EVT_SRC_DMA_BTC7             = 48U,     /* DMA_BTC7 */
    /*  EFM  */
    EVT_SRC_EFM_OPTEND           = 51U,     /* EFM_OPTEND */
    /*  TIMER0  */
    EVT_SRC_TMR0_1_CMP_A         = 96U,     /* TMR0_1_CMPA */
    EVT_SRC_TMR0_1_CMP_B         = 97U,     /* TMR0_1_CMPB */
    EVT_SRC_TMR0_1_OVF_A         = 98U,     /* TMR0_1_OVFA */
    EVT_SRC_TMR0_1_OVF_B         = 99U,     /* TMR0_1_OVFB */
    EVT_SRC_TMR0_2_CMP_A         = 100U,    /* TMR0_2_CMPA */
    EVT_SRC_TMR0_2_CMP_B         = 101U,    /* TMR0_2_CMPB */
    EVT_SRC_TMR0_2_OVF_A         = 102U,    /* TMR0_2_OVFA */
    EVT_SRC_TMR0_2_OVF_B         = 103U,    /* TMR2_2_OVFB */
    /*  RTC  */
    EVT_SRC_RTC_ALM              = 121U,     /* RTC_ALM */
    EVT_SRC_RTC_PRD              = 122U,     /* RTC_PRD */
    /*  TIMER6_1  */
    EVT_SRC_TMR6_1_GCMP_A        = 128U,     /* TMR6_1_GCMA */
    EVT_SRC_TMR6_1_GCMP_B        = 129U,     /* TMR6_1_GCMB */
    EVT_SRC_TMR6_1_GCMP_C        = 130U,     /* TMR6_1_GCMC */
    EVT_SRC_TMR6_1_GCMP_D        = 131U,     /* TMR6_1_GCMD */
    EVT_SRC_TMR6_1_GCMP_E        = 132U,     /* TMR6_1_GCME */
    EVT_SRC_TMR6_1_GCMP_F        = 133U,     /* TMR6_1_GCMF */
    EVT_SRC_TMR6_1_OVF           = 134U,     /* TMR6_1_GOVF */
    EVT_SRC_TMR6_1_UDF           = 135U,     /* TMR6_1_GUDF */
    EVT_SRC_TMR6_1_SCMP_A        = 137U,     /* TMR6_1_SCMA */
    EVT_SRC_TMR6_1_SCMP_B        = 138U,     /* TMR6_1_SCMB */
    /*  TIMERA_1  */
    EVT_SRC_TMRA_1_OVF           = 139U,     /* TMRA_1_OVF */
    EVT_SRC_TMRA_1_UDF           = 140U,     /* TMRA_1_UDF */
    EVT_SRC_TMRA_1_CMP           = 141U,     /* TMRA_1_CMP */
    /*  TIMER6_2  */
    EVT_SRC_TMR6_2_GCMP_A        = 144U,     /* TMR6_2_GCMA */
    EVT_SRC_TMR6_2_GCMP_B        = 145U,     /* TMR6_2_GCMB */
    EVT_SRC_TMR6_2_GCMP_C        = 146U,     /* TMR6_2_GCMC */
    EVT_SRC_TMR6_2_GCMP_D        = 147U,     /* TMR6_2_GCMD */
    EVT_SRC_TMR6_2_GCMP_E        = 148U,     /* TMR6_2_GCME */
    EVT_SRC_TMR6_2_GCMP_F        = 149U,     /* TMR6_2_GCMF */
    EVT_SRC_TMR6_2_OVF           = 150U,     /* TMR6_2_GOVF */
    EVT_SRC_TMR6_2_UDF           = 151U,     /* TMR6_2_GUDF */
    EVT_SRC_TMR6_2_SCMP_A        = 153U,     /* TMR6_2_SCMA */
    EVT_SRC_TMR6_2_SCMP_B        = 154U,     /* TMR6_2_SCMB */
    /*  TIMERA_2  */
    EVT_SRC_TMRA_2_OVF           = 155U,     /* TMRA_2_OVF */
    EVT_SRC_TMRA_2_UDF           = 156U,     /* TMRA_2_UDF */
    EVT_SRC_TMRA_2_CMP           = 157U,     /* TMRA_2_CMP */
    /*  TIMER6_3  */
    EVT_SRC_TMR6_3_GCMP_A        = 160U,     /* TMR6_3_GCMA */
    EVT_SRC_TMR6_3_GCMP_B        = 161U,     /* TMR6_3_GCMB */
    EVT_SRC_TMR6_3_GCMP_C        = 162U,     /* TMR6_3_GCMC */
    EVT_SRC_TMR6_3_GCMP_D        = 163U,     /* TMR6_3_GCMD */
    EVT_SRC_TMR6_3_GCMP_E        = 164U,     /* TMR6_3_GCME */
    EVT_SRC_TMR6_3_GCMP_F        = 165U,     /* TMR6_3_GCMF */
    EVT_SRC_TMR6_3_OVF           = 166U,     /* TMR6_3_GOVF */
    EVT_SRC_TMR6_3_UDF           = 167U,     /* TMR6_3_GUDF */
    EVT_SRC_TMR6_3_SCMP_A        = 169U,     /* TMR6_3_SCMA */
    EVT_SRC_TMR6_3_SCMP_B        = 170U,     /* TMR6_3_SCMB */
    /*  TIMERA_3  */
    EVT_SRC_TMRA_3_OVF           = 171U,     /* TMRA_3_OVF */
    EVT_SRC_TMRA_3_UDF           = 172U,     /* TMRA_3_UDF */
    EVT_SRC_TMRA_3_CMP           = 173U,     /* TMRA_3_CMP */
    /*  TIMER6_4 */
    EVT_SRC_TMR6_4_GCMP_A        = 176U,     /* TMR6_4_GCMA */
    EVT_SRC_TMR6_4_GCMP_B        = 177U,     /* TMR6_4_GCMB */
    EVT_SRC_TMR6_4_GCMP_C        = 178U,     /* TMR6_4_GCMC */
    EVT_SRC_TMR6_4_GCMP_D        = 179U,     /* TMR6_4_GCMD */
    EVT_SRC_TMR6_4_GCMP_E        = 180U,     /* TMR6_4_GCME */
    EVT_SRC_TMR6_4_GCMP_F        = 181U,     /* TMR6_4_GCMF */
    EVT_SRC_TMR6_4_OVF           = 182U,     /* TMR6_4_GOVF */
    EVT_SRC_TMR6_4_UDF           = 183U,     /* TMR6_4_GUDF */
    EVT_SRC_TMR6_4_SCMP_A        = 185U,     /* TMR6_4_SCMA */
    EVT_SRC_TMR6_4_SCMP_B        = 186U,     /* TMR6_4_SCMB */
    /*  TIMERA_4  */
    EVT_SRC_TMRA_4_OVF           = 187U,     /* TMRA_4_OVF */
    EVT_SRC_TMRA_4_UDF           = 188U,     /* TMRA_4_UDF */
    EVT_SRC_TMRA_4_CMP           = 189U,     /* TMRA_4_CMP */
    /*  HRPWM_1 */
    EVT_SRC_HRPWM_1_GCMP_A       = 192U,     /* HRPWM_1_GCMA */
    EVT_SRC_HRPWM_1_GCMP_B       = 193U,     /* HRPWM_1_GCMB */
    EVT_SRC_HRPWM_1_GCMP_C       = 194U,     /* HRPWM_1_GCMC */
    EVT_SRC_HRPWM_1_GCMP_D       = 195U,     /* HRPWM_1_GCMD */
    EVT_SRC_HRPWM_1_GCMP_E       = 196U,     /* HRPWM_1_GCME */
    EVT_SRC_HRPWM_1_GCMP_F       = 197U,     /* HRPWM_1_GCMF */
    EVT_SRC_HRPWM_1_OVF          = 198U,     /* HRPWM_1_GOVF */
    EVT_SRC_HRPWM_1_UDF          = 199U,     /* HRPWM_1_GUDF */
    EVT_SRC_HRPWM_1_SCMP_A       = 200U,     /* HRPWM_1_SCMA */
    EVT_SRC_HRPWM_1_SCMP_B       = 201U,     /* HRPWM_1_SCMB */
    EVT_SRC_HRPWM_1_GCAP_A       = 202U,     /* HRPWM_1_GCAPA */
    EVT_SRC_HRPWM_1_GCAP_B       = 203U,     /* HRPWM_1_GCAPB */
    /*  HRPWM_2 */
    EVT_SRC_HRPWM_2_GCMP_A       = 204U,     /* HRPWM_2_GCMA */
    EVT_SRC_HRPWM_2_GCMP_B       = 205U,     /* HRPWM_2_GCMB */
    EVT_SRC_HRPWM_2_GCMP_C       = 206U,     /* HRPWM_2_GCMC */
    EVT_SRC_HRPWM_2_GCMP_D       = 207U,     /* HRPWM_2_GCMD */
    EVT_SRC_HRPWM_2_GCMP_E       = 208U,     /* HRPWM_2_GCME */
    EVT_SRC_HRPWM_2_GCMP_F       = 209U,     /* HRPWM_2_GCMF */
    EVT_SRC_HRPWM_2_OVF          = 210U,     /* HRPWM_2_GOVF */
    EVT_SRC_HRPWM_2_UDF          = 211U,     /* HRPWM_2_GUDF */
    EVT_SRC_HRPWM_2_SCMP_A       = 212U,     /* HRPWM_2_SCMA */
    EVT_SRC_HRPWM_2_SCMP_B       = 213U,     /* HRPWM_2_SCMB */
    EVT_SRC_HRPWM_2_GCAP_A       = 214U,     /* HRPWM_2_GCAPA */
    EVT_SRC_HRPWM_2_GCAP_B       = 215U,     /* HRPWM_2_GCAPB */
    /*  HRPWM EEDET  */
    EVT_SRC_HRPWM_EEDET          = 219U,     /* HRPWM_EEDET */
    /*  HRPWM_3 */
    EVT_SRC_HRPWM_3_GCMP_A       = 224U,     /* HRPWM_3_GCMA */
    EVT_SRC_HRPWM_3_GCMP_B       = 225U,     /* HRPWM_3_GCMB */
    EVT_SRC_HRPWM_3_GCMP_C       = 226U,     /* HRPWM_3_GCMC */
    EVT_SRC_HRPWM_3_GCMP_D       = 227U,     /* HRPWM_3_GCMD */
    EVT_SRC_HRPWM_3_GCMP_E       = 228U,     /* HRPWM_3_GCME */
    EVT_SRC_HRPWM_3_GCMP_F       = 229U,     /* HRPWM_3_GCMF */
    EVT_SRC_HRPWM_3_OVF          = 230U,     /* HRPWM_3_GOVF */
    EVT_SRC_HRPWM_3_UDF          = 231U,     /* HRPWM_3_GUDF */
    EVT_SRC_HRPWM_3_SCMP_A       = 232U,     /* HRPWM_3_SCMA */
    EVT_SRC_HRPWM_3_SCMP_B       = 233U,     /* HRPWM_3_SCMB */
    EVT_SRC_HRPWM_3_GCAP_A       = 234U,     /* HRPWM_3_GCAPA */
    EVT_SRC_HRPWM_3_GCAP_B       = 235U,     /* HRPWM_3_GCAPB */
    /*  HRPWM_4 */
    EVT_SRC_HRPWM_4_GCMP_A       = 236U,     /* HRPWM_4_GCMA */
    EVT_SRC_HRPWM_4_GCMP_B       = 237U,     /* HRPWM_4_GCMB */
    EVT_SRC_HRPWM_4_GCMP_C       = 238U,     /* HRPWM_4_GCMC */
    EVT_SRC_HRPWM_4_GCMP_D       = 239U,     /* HRPWM_4_GCMD */
    EVT_SRC_HRPWM_4_GCMP_E       = 240U,     /* HRPWM_4_GCME */
    EVT_SRC_HRPWM_4_GCMP_F       = 241U,     /* HRPWM_4_GCMF */
    EVT_SRC_HRPWM_4_OVF          = 242U,     /* HRPWM_4_GOVF */
    EVT_SRC_HRPWM_4_UDF          = 243U,     /* HRPWM_4_GUDF */
    EVT_SRC_HRPWM_4_SCMP_A       = 244U,     /* HRPWM_4_SCMA */
    EVT_SRC_HRPWM_4_SCMP_B       = 245U,     /* HRPWM_4_SCMB */
    EVT_SRC_HRPWM_4_GCAP_A       = 246U,     /* HRPWM_4_GCAPA */
    EVT_SRC_HRPWM_4_GCAP_B       = 247U,     /* HRPWM_4_GCAPB */
    /*  HRPWM_5 */
    EVT_SRC_HRPWM_5_GCMP_A       = 256U,     /* HRPWM_5_GCMA */
    EVT_SRC_HRPWM_5_GCMP_B       = 257U,     /* HRPWM_5_GCMB */
    EVT_SRC_HRPWM_5_GCMP_C       = 258U,     /* HRPWM_5_GCMC */
    EVT_SRC_HRPWM_5_GCMP_D       = 259U,     /* HRPWM_5_GCMD */
    EVT_SRC_HRPWM_5_GCMP_E       = 260U,     /* HRPWM_5_GCME */
    EVT_SRC_HRPWM_5_GCMP_F       = 261U,     /* HRPWM_5_GCMF */
    EVT_SRC_HRPWM_5_OVF          = 262U,     /* HRPWM_5_GOVF */
    EVT_SRC_HRPWM_5_UDF          = 263U,     /* HRPWM_5_GUDF */
    EVT_SRC_HRPWM_5_SCMP_A       = 264U,     /* HRPWM_5_SCMA */
    EVT_SRC_HRPWM_5_SCMP_B       = 265U,     /* HRPWM_5_SCMB */
    EVT_SRC_HRPWM_5_GCAP_A       = 266U,     /* HRPWM_5_GCAPA */
    EVT_SRC_HRPWM_5_GCAP_B       = 267U,     /* HRPWM_5_GCAPB */
    /*  HRPWM_6 */
    EVT_SRC_HRPWM_6_GCMP_A       = 268U,     /* HRPWM_6_GCMA */
    EVT_SRC_HRPWM_6_GCMP_B       = 269U,     /* HRPWM_6_GCMB */
    EVT_SRC_HRPWM_6_GCMP_C       = 270U,     /* HRPWM_6_GCMC */
    EVT_SRC_HRPWM_6_GCMP_D       = 271U,     /* HRPWM_6_GCMD */
    EVT_SRC_HRPWM_6_GCMP_E       = 272U,     /* HRPWM_6_GCME */
    EVT_SRC_HRPWM_6_GCMP_F       = 273U,     /* HRPWM_6_GCMF */
    EVT_SRC_HRPWM_6_OVF          = 274U,     /* HRPWM_6_GOVF */
    EVT_SRC_HRPWM_6_UDF          = 275U,     /* HRPWM_6_GUDF */
    EVT_SRC_HRPWM_6_SCMP_A       = 276U,     /* HRPWM_6_SCMA */
    EVT_SRC_HRPWM_6_SCMP_B       = 277U,     /* HRPWM_6_SCMB */
    EVT_SRC_HRPWM_6_GCAP_A       = 278U,     /* HRPWM_6_GCAPA */
    EVT_SRC_HRPWM_6_GCAP_B       = 279U,     /* HRPWM_6_GCAPB */
    /*  TIMER4  */
    EVT_SRC_TMR4_GCMP_UH         = 288U,     /* TMR4_GCMUH */
    EVT_SRC_TMR4_GCMP_UL         = 289U,     /* TMR4_GCMUL */
    EVT_SRC_TMR4_GCMP_VH         = 290U,     /* TMR4_GCMVH */
    EVT_SRC_TMR4_GCMP_VL         = 291U,     /* TMR4_GCMVL */
    EVT_SRC_TMR4_GCMP_WH         = 292U,     /* TMR4_GCMWH */
    EVT_SRC_TMR4_GCMP_WL         = 293U,     /* TMR4_GCMWL */
    EVT_SRC_TMR4_GCMP_XH         = 294U,     /* TMR4_GCMXH */
    EVT_SRC_TMR4_GCMP_XL         = 295U,     /* TMR4_GCMXL */
    EVT_SRC_TMR4_OVF             = 296U,     /* TMR4_GOVF  */
    EVT_SRC_TMR4_UDF             = 297U,     /* TMR4_GUDF  */
    EVT_SRC_TMR4_RELOAD_U        = 298U,     /* TMR4_GRLU  */
    EVT_SRC_TMR4_RELOAD_V        = 299U,     /* TMR4_GRLV  */
    EVT_SRC_TMR4_RELOAD_W        = 300U,     /* TMR4_GRLW  */
    EVT_SRC_TMR4_RELOAD_X        = 301U,     /* TMR4_GRLX  */
    EVT_SRC_TMR4_SCMP0           = 302U,     /* TMR4_SCM0 */
    EVT_SRC_TMR4_SCMP1           = 303U,     /* TMR4_SCM1 */
    EVT_SRC_TMR4_SCMP2           = 304U,     /* TMR4_SCM2 */
    EVT_SRC_TMR4_SCMP3           = 305U,     /* TMR4_SCM3 */
    EVT_SRC_TMR4_SCMP4           = 306U,     /* TMR4_SCM4 */
    EVT_SRC_TMR4_SCMP5           = 307U,     /* TMR4_SCM5 */
    EVT_SRC_TMR4_SCMP6           = 308U,     /* TMR4_SCM6 */
    EVT_SRC_TMR4_SCMP7           = 309U,     /* TMR4_SCM7 */
    /*  CMP  */
    EVT_SRC_CMP1                 = 310U,     /* CMP_1_IRQ */
    EVT_SRC_CMP2                 = 311U,     /* CMP_2_IRQ */
    EVT_SRC_CMP3                 = 312U,     /* CMP_3_IRQ */
    /*  I2C  */
    EVT_SRC_I2C_RXI              = 316U,     /* I2C_RXI */
    EVT_SRC_I2C_TXI              = 317U,     /* I2C_TXI */
    EVT_SRC_I2C_TEI              = 318U,     /* I2C_TEI */
    EVT_SRC_I2C_EEI              = 319U,     /* I2C_EEI */
    /*  USART1  */
    EVT_SRC_USART1_EI            = 321U,     /* USART_1_EI  */
    EVT_SRC_USART1_RI            = 322U,     /* USART_1_RI  */
    EVT_SRC_USART1_TI            = 323U,     /* USART_1_TI  */
    EVT_SRC_USART1_RTO           = 324U,     /* USART_1_RTO */
    EVT_SRC_USART1_TENDI         = 325U,     /* USART_1_TENDI */
    EVT_SRC_USART1_TCI           = 326U,     /* USART_1_TCI */
    /*  SPI  */
    EVT_SRC_SPI_SPRI             = 330U,     /* SPI_SPRI */
    EVT_SRC_SPI_SPTI             = 331U,     /* SPI_SPTI */
    EVT_SRC_SPI_SPII             = 332U,     /* SPI_SPII */
    EVT_SRC_SPI_SPEI             = 333U,     /* SPI_SPEI */
    EVT_SRC_SPI_SPTEND           = 333U,     /* SPI_SPTEND */
    /*  TIMERA_5  */
    EVT_SRC_TMRA_5_OVF           = 340U,     /* TMRA_5_OVF */
    EVT_SRC_TMRA_5_UDF           = 341U,     /* TMRA_5_UDF */
    EVT_SRC_TMRA_5_CMP           = 342U,     /* TMRA_5_CMP */
    /*  EVENT PORT  */
    EVT_SRC_EVENT_PORT1          = 348U,     /* EVENT_PORT1 */
    EVT_SRC_EVENT_PORT2          = 349U,     /* EVENT_PORT2 */
    EVT_SRC_EVENT_PORT3          = 350U,     /* EVENT_PORT3 */
    EVT_SRC_EVENT_PORT4          = 351U,     /* EVENT_PORT4 */
    /*  USART2  */
    EVT_SRC_USART2_BRKWKPI       = 352U,     /* USART_2_BRKWKPI */
    EVT_SRC_USART2_EI            = 353U,     /* USART_2_EI      */
    EVT_SRC_USART2_RI            = 354U,     /* USART_2_RI      */
    EVT_SRC_USART2_TI            = 355U,     /* USART_2_TI      */
    EVT_SRC_USART2_RTO           = 356U,     /* USART_2_RTO     */
    EVT_SRC_USART2_TENDI         = 357U,     /* USART_2_TENDI   */
    EVT_SRC_USART2_TCI           = 358U,     /* USART_2_TCI     */
    /*  USART3  */
    EVT_SRC_USART3_BRKWKPI       = 384U,     /* USART_3_BRKWKPI */
    EVT_SRC_USART3_EI            = 385U,     /* USART_3_EI      */
    EVT_SRC_USART3_RI            = 386U,     /* USART_3_RI      */
    EVT_SRC_USART3_TI            = 387U,     /* USART_3_TI      */
    EVT_SRC_USART3_RTO           = 388U,     /* USART_3_RTO     */
    EVT_SRC_USART3_TENDI         = 389U,     /* USART_3_TENDI   */
    EVT_SRC_USART3_TCI           = 390U,     /* USART_3_TCI     */
    /*  USART4  */
    EVT_SRC_USART4_BRKWKPI       = 391U,     /* USART_4_BRKWKPI */
    EVT_SRC_USART4_EI            = 392U,     /* USART_4_EI      */
    EVT_SRC_USART4_RI            = 393U,     /* USART_4_RI      */
    EVT_SRC_USART4_TI            = 394U,     /* USART_4_TI      */
    EVT_SRC_USART4_RTO           = 395U,     /* USART_4_RTO     */
    EVT_SRC_USART4_TENDI         = 396U,     /* USART_4_TENDI   */
    EVT_SRC_USART4_TCI           = 397U,     /* USART_4_TCI     */
    /*  AOS  */
    EVT_SRC_AOS_STRG             = 415U,     /* AOS_STRG */
    /*  PLA  */
    EVT_SRC_PLA_ADTRG0           = 432U,     /* PLA_ADTRG0  */
    EVT_SRC_PLA_ADTRG1           = 433U,     /* PLA_ADTRG1  */
    EVT_SRC_PLA_ADTRG2           = 434U,     /* PLA_ADTRG2  */
    EVT_SRC_PLA_ADTRG3           = 435U,     /* PLA_ADTRG3  */
    EVT_SRC_PLA_ADTRG4           = 436U,     /* PLA_ADTRG4  */
    EVT_SRC_PLA_ADTRG5           = 437U,     /* PLA_ADTRG5  */
    EVT_SRC_PLA_ADTRG6           = 438U,     /* PLA_ADTRG6  */
    EVT_SRC_PLA_ADTRG7           = 439U,     /* PLA_ADTRG7  */
    EVT_SRC_PLA_ADTRG8           = 440U,     /* PLA_ADTRG8  */
    EVT_SRC_PLA_ADTRG9           = 441U,     /* PLA_ADTRG9  */
    EVT_SRC_PLA_ADTRG10          = 442U,     /* PLA_ADTRG10 */
    EVT_SRC_PLA_ADTRG11          = 443U,     /* PLA_ADTRG11 */
    EVT_SRC_PLA_ADTRG12          = 444U,     /* PLA_ADTRG12 */
    EVT_SRC_PLA_ADTRG13          = 445U,     /* PLA_ADTRG13 */
    EVT_SRC_PLA_ADTRG14          = 446U,     /* PLA_ADTRG14 */
    EVT_SRC_PLA_ADTRG15          = 447U,     /* PLA_ADTRG15 */
    /*  LVD  */
    EVT_SRC_LVD1                 = 465U,     /* LVD1 */
    EVT_SRC_LVD2                 = 466U,     /* LVD2 */
    /*  WDT  */
    EVT_SRC_WDT_REFUDF           = 471U,     /* WDT_REFUDF */
    /*  ADC1  */
    EVT_SRC_ADC1_EOCA            = 480U,     /* ADC_1_EOCA */
    EVT_SRC_ADC1_EOCB            = 481U,     /* ADC_1_EOCB */
    EVT_SRC_ADC1_CMP0            = 482U,     /* ADC_1_CMP0 */
    EVT_SRC_ADC1_CMP1            = 483U,     /* ADC_1_CMP1 */
    /*  ADC2  */
    EVT_SRC_ADC2_EOCA            = 484U,     /* ADC_2_EOCA */
    EVT_SRC_ADC2_EOCB            = 485U,     /* ADC_2_EOCB */
    EVT_SRC_ADC2_CMP0            = 486U,     /* ADC_2_CMP0 */
    EVT_SRC_ADC2_CMP1            = 487U,     /* ADC_2_CMP1 */
    /*  ADC3  */
    EVT_SRC_ADC3_EOCA            = 488U,     /* ADC_3_EOCA */
    EVT_SRC_ADC3_EOCB            = 489U,     /* ADC_3_EOCB */
    EVT_SRC_ADC3_CMP0            = 490U,     /* ADC_3_CMP0 */
    EVT_SRC_ADC3_CMP1            = 491U,     /* ADC_3_CMP1 */
} en_event_src_t;

/**
 *******************************************************************************
 ** \brief Interrupt number enumeration
 ******************************************************************************/
typedef enum {
    INT_SRC_SWI_IRQ0             = 0U,
    INT_SRC_SWI_IRQ1             = 1U,
    INT_SRC_SWI_IRQ2             = 2U,
    INT_SRC_SWI_IRQ3             = 3U,
    INT_SRC_SWI_IRQ4             = 4U,
    INT_SRC_SWI_IRQ5             = 5U,
    INT_SRC_SWI_IRQ6             = 6U,
    INT_SRC_SWI_IRQ7             = 7U,
    INT_SRC_SWI_IRQ8             = 8U,
    INT_SRC_SWI_IRQ9             = 9U,
    INT_SRC_SWI_IRQ10            = 10U,
    INT_SRC_SWI_IRQ11            = 11U,
    INT_SRC_SWI_IRQ12            = 12U,
    INT_SRC_SWI_IRQ13            = 13U,
    INT_SRC_SWI_IRQ14            = 14U,
    INT_SRC_SWI_IRQ15            = 15U,
    INT_SRC_SWI_IRQ16            = 16U,
    INT_SRC_SWI_IRQ17            = 17U,
    INT_SRC_SWI_IRQ18            = 18U,
    INT_SRC_SWI_IRQ19            = 19U,
    INT_SRC_SWI_IRQ20            = 20U,
    INT_SRC_SWI_IRQ21            = 21U,
    INT_SRC_SWI_IRQ22            = 22U,
    INT_SRC_SWI_IRQ23            = 23U,
    INT_SRC_SWI_IRQ24            = 24U,
    INT_SRC_SWI_IRQ25            = 25U,
    INT_SRC_SWI_IRQ26            = 26U,
    INT_SRC_SWI_IRQ27            = 27U,
    INT_SRC_SWI_IRQ28            = 28U,
    INT_SRC_SWI_IRQ29            = 29U,
    INT_SRC_SWI_IRQ30            = 30U,
    INT_SRC_SWI_IRQ31            = 31U,
    /*  External Interrupt   */
    INT_SRC_PORT_EIRQ0           = 0U,      /* EIRQ0  */
    INT_SRC_PORT_EIRQ1           = 1U,      /* EIRQ1  */
    INT_SRC_PORT_EIRQ2           = 2U,      /* EIRQ2  */
    INT_SRC_PORT_EIRQ3           = 3U,      /* EIRQ3  */
    INT_SRC_PORT_EIRQ4           = 4U,      /* EIRQ4  */
    INT_SRC_PORT_EIRQ5           = 5U,      /* EIRQ5  */
    INT_SRC_PORT_EIRQ6           = 6U,      /* EIRQ6  */
    INT_SRC_PORT_EIRQ7           = 7U,      /* EIRQ7  */
    INT_SRC_PORT_EIRQ8           = 8U,      /* EIRQ8  */
    INT_SRC_PORT_EIRQ9           = 9U,      /* EIRQ9  */
    INT_SRC_PORT_EIRQ10          = 10U,     /* EIRQ10 */
    INT_SRC_PORT_EIRQ11          = 11U,     /* EIRQ11 */
    INT_SRC_PORT_EIRQ12          = 12U,     /* EIRQ12 */
    INT_SRC_PORT_EIRQ13          = 13U,     /* EIRQ13 */
    INT_SRC_PORT_EIRQ14          = 14U,     /* EIRQ14 */
    INT_SRC_PORT_EIRQ15          = 15U,     /* EIRQ15 */
    /*  DMA  */
    INT_SRC_DMA_ERR              = 32U,     /* DMA_ERR  */
    INT_SRC_DMA_TC0              = 33U,     /* DMA_TC0  */
    INT_SRC_DMA_BTC0             = 34U,     /* DMA_BTC0 */
    INT_SRC_DMA_TC1              = 35U,     /* DMA_TC1  */
    INT_SRC_DMA_BTC1             = 36U,     /* DMA_BTC1 */
    INT_SRC_DMA_TC2              = 37U,     /* DMA_TC2  */
    INT_SRC_DMA_BTC2             = 38U,     /* DMA_BTC2 */
    INT_SRC_DMA_TC3              = 39U,     /* DMA_TC3  */
    INT_SRC_DMA_BTC3             = 40U,     /* DMA_BTC3 */
    INT_SRC_DMA_TC4              = 41U,     /* DMA_TC4  */
    INT_SRC_DMA_BTC4             = 42U,     /* DMA_BTC4 */
    INT_SRC_DMA_TC5              = 43U,     /* DMA_TC5  */
    INT_SRC_DMA_BTC5             = 44U,     /* DMA_BTC5 */
    INT_SRC_DMA_TC6              = 45U,     /* DMA_TC6  */
    INT_SRC_DMA_BTC6             = 46U,     /* DMA_BTC6 */
    INT_SRC_DMA_TC7              = 47U,     /* DMA_TC7  */
    INT_SRC_DMA_BTC7             = 48U,     /* DMA_BTC7 */
    /*  EFM  */
    INT_SRC_EFM_PEERR            = 49U,     /* EFM_PEERR  */
    INT_SRC_EFM_RDCOL            = 50U,     /* EFM_RDCOL  */
    INT_SRC_EFM_OPTEND           = 51U,     /* EFM_OPTEND */
    /*  FPU  */
    INT_SRC_FPU_ERR              = 63U,     /* FPU_ERR    */
    /*  TIMER0  */
    INT_SRC_TMR0_1_CMP_A         = 96U,     /* TMR0_1_CMPA */
    INT_SRC_TMR0_1_CMP_B         = 97U,     /* TMR0_1_CMPB */
    INT_SRC_TMR0_1_OVF_A         = 98U,     /* TMR0_1_OVFA */
    INT_SRC_TMR0_1_OVF_B         = 99U,     /* TMR0_1_OVFB */
    INT_SRC_TMR0_2_CMP_A         = 100U,    /* TMR0_2_CMPA */
    INT_SRC_TMR0_2_CMP_B         = 101U,    /* TMR0_2_CMPB */
    INT_SRC_TMR0_2_OVF_A         = 102U,    /* TMR0_2_OVFA */
    INT_SRC_TMR0_2_OVF_B         = 103U,    /* TMR0_2_OVFB */
    /*  RTC  */
    INT_SRC_RTC_TP               = 120U,     /* RTC_TP */
    INT_SRC_RTC_ALM              = 121U,     /* RTC_ALM */
    INT_SRC_RTC_PRD              = 122U,     /* RTC_PRD */
    /*  XTAL  */
    INT_SRC_XTAL_STOP            = 125U,     /* XTAL_STOP */
    /*  WKTM  */
    INT_SRC_WKTM_PRD             = 126U,     /* WKTM_PRD */
    /*  SWDT  */
    INT_SRC_SWDT_REFUDF          = 127U,     /* SWDT_REFUDF */
    /*  TIMER6_1  */
    INT_SRC_TMR6_1_GCMP_A        = 128U,     /* TMR6_1_GCMA */
    INT_SRC_TMR6_1_GCMP_B        = 129U,     /* TMR6_1_GCMB */
    INT_SRC_TMR6_1_GCMP_C        = 130U,     /* TMR6_1_GCMC */
    INT_SRC_TMR6_1_GCMP_D        = 131U,     /* TMR6_1_GCMD */
    INT_SRC_TMR6_1_GCMP_E        = 132U,     /* TMR6_1_GCME */
    INT_SRC_TMR6_1_GCMP_F        = 133U,     /* TMR6_1_GCMF */
    INT_SRC_TMR6_1_OVF           = 134U,     /* TMR6_1_GOVF */
    INT_SRC_TMR6_1_UDF           = 135U,     /* TMR6_1_GUDF */
    INT_SRC_TMR6_1_DTE           = 136U,     /* TMR6_1_GDTE */
    INT_SRC_TMR6_1_SCMP_A        = 137U,     /* TMR6_1_SCMA */
    INT_SRC_TMR6_1_SCMP_B        = 138U,     /* TMR6_1_SCMB */
    /*  TIMERA_1  */
    INT_SRC_TMRA_1_OVF           = 139U,     /* TMRA_1_OVF */
    INT_SRC_TMRA_1_UDF           = 140U,     /* TMRA_1_UDF */
    INT_SRC_TMRA_1_CMP           = 141U,     /* TMRA_1_CMP */
    /*  TIMER6_2  */
    INT_SRC_TMR6_2_GCMP_A        = 144U,     /* TMR6_2_GCMA */
    INT_SRC_TMR6_2_GCMP_B        = 145U,     /* TMR6_2_GCMB */
    INT_SRC_TMR6_2_GCMP_C        = 146U,     /* TMR6_2_GCMC */
    INT_SRC_TMR6_2_GCMP_D        = 147U,     /* TMR6_2_GCMD */
    INT_SRC_TMR6_2_GCMP_E        = 148U,     /* TMR6_2_GCME */
    INT_SRC_TMR6_2_GCMP_F        = 149U,     /* TMR6_2_GCMF */
    INT_SRC_TMR6_2_OVF           = 150U,     /* TMR6_2_GOVF */
    INT_SRC_TMR6_2_UDF           = 151U,     /* TMR6_2_GUDF */
    INT_SRC_TMR6_2_DTE           = 152U,     /* TMR6_2_GDTE */
    INT_SRC_TMR6_2_SCMP_A        = 153U,     /* TMR6_2_SCMA */
    INT_SRC_TMR6_2_SCMP_B        = 154U,     /* TMR6_2_SCMB */
    /*  TIMERA_2  */
    INT_SRC_TMRA_2_OVF           = 155U,     /* TMRA_2_OVF */
    INT_SRC_TMRA_2_UDF           = 156U,     /* TMRA_2_UDF */
    INT_SRC_TMRA_2_CMP           = 157U,     /* TMRA_2_CMP */
    /*  TIMER6_3  */
    INT_SRC_TMR6_3_GCMP_A        = 160U,     /* TMR6_3_GCMA */
    INT_SRC_TMR6_3_GCMP_B        = 161U,     /* TMR6_3_GCMB */
    INT_SRC_TMR6_3_GCMP_C        = 162U,     /* TMR6_3_GCMC */
    INT_SRC_TMR6_3_GCMP_D        = 163U,     /* TMR6_3_GCMD */
    INT_SRC_TMR6_3_GCMP_E        = 164U,     /* TMR6_3_GCME */
    INT_SRC_TMR6_3_GCMP_F        = 165U,     /* TMR6_3_GCMF */
    INT_SRC_TMR6_3_OVF           = 166U,     /* TMR6_3_GOVF */
    INT_SRC_TMR6_3_UDF           = 167U,     /* TMR6_3_GUDF */
    INT_SRC_TMR6_3_DTE           = 168U,     /* TMR6_3_GDTE */
    INT_SRC_TMR6_3_SCMP_A        = 169U,     /* TMR6_3_SCMA */
    INT_SRC_TMR6_3_SCMP_B        = 170U,     /* TMR6_3_SCMB */
    /*  TIMERA_3  */
    INT_SRC_TMRA_3_OVF           = 171U,     /* TMRA_3_OVF */
    INT_SRC_TMRA_3_UDF           = 172U,     /* TMRA_3_UDF */
    INT_SRC_TMRA_3_CMP           = 173U,     /* TMRA_3_CMP */
    /*  TIMER6_4 */
    INT_SRC_TMR6_4_GCMP_A        = 176U,     /* TMR6_4_GCMA */
    INT_SRC_TMR6_4_GCMP_B        = 177U,     /* TMR6_4_GCMB */
    INT_SRC_TMR6_4_GCMP_C        = 178U,     /* TMR6_4_GCMC */
    INT_SRC_TMR6_4_GCMP_D        = 179U,     /* TMR6_4_GCMD */
    INT_SRC_TMR6_4_GCMP_E        = 180U,     /* TMR6_4_GCME */
    INT_SRC_TMR6_4_GCMP_F        = 181U,     /* TMR6_4_GCMF */
    INT_SRC_TMR6_4_OVF           = 182U,     /* TMR6_4_GOVF */
    INT_SRC_TMR6_4_UDF           = 183U,     /* TMR6_4_GUDF */
    INT_SRC_TMR6_4_DTE           = 184U,     /* TMR6_4_GDTE */
    INT_SRC_TMR6_4_SCMP_A        = 185U,     /* TMR6_4_SCMA */
    INT_SRC_TMR6_4_SCMP_B        = 186U,     /* TMR6_4_SCMB */
    /*  TIMERA_4  */
    INT_SRC_TMRA_4_OVF           = 187U,     /* TMRA_4_OVF */
    INT_SRC_TMRA_4_UDF           = 188U,     /* TMRA_4_UDF */
    INT_SRC_TMRA_4_CMP           = 189U,     /* TMRA_4_CMP */
    /*  HRPWM_1 */
    INT_SRC_HRPWM_1_GCMP_A       = 192U,     /* HRPWM_1_GCMA */
    INT_SRC_HRPWM_1_GCMP_B       = 193U,     /* HRPWM_1_GCMB */
    INT_SRC_HRPWM_1_GCMP_C       = 194U,     /* HRPWM_1_GCMC */
    INT_SRC_HRPWM_1_GCMP_D       = 195U,     /* HRPWM_1_GCMD */
    INT_SRC_HRPWM_1_GCMP_E       = 196U,     /* HRPWM_1_GCME */
    INT_SRC_HRPWM_1_GCMP_F       = 197U,     /* HRPWM_1_GCMF */
    INT_SRC_HRPWM_1_OVF          = 198U,     /* HRPWM_1_GOVF */
    INT_SRC_HRPWM_1_UDF          = 199U,     /* HRPWM_1_GUDF */
    INT_SRC_HRPWM_1_SCMP_A       = 200U,     /* HRPWM_1_SCMA */
    INT_SRC_HRPWM_1_SCMP_B       = 201U,     /* HRPWM_1_SCMB */
    INT_SRC_HRPWM_1_GCAP_A       = 202U,     /* HRPWM_1_GCAPA */
    INT_SRC_HRPWM_1_GCAP_B       = 203U,     /* HRPWM_1_GCAPB */
    /*  HRPWM_2 */
    INT_SRC_HRPWM_2_GCMP_A       = 204U,     /* HRPWM_2_GCMA */
    INT_SRC_HRPWM_2_GCMP_B       = 205U,     /* HRPWM_2_GCMB */
    INT_SRC_HRPWM_2_GCMP_C       = 206U,     /* HRPWM_2_GCMC */
    INT_SRC_HRPWM_2_GCMP_D       = 207U,     /* HRPWM_2_GCMD */
    INT_SRC_HRPWM_2_GCMP_E       = 208U,     /* HRPWM_2_GCME */
    INT_SRC_HRPWM_2_GCMP_F       = 209U,     /* HRPWM_2_GCMF */
    INT_SRC_HRPWM_2_OVF          = 210U,     /* HRPWM_2_GOVF */
    INT_SRC_HRPWM_2_UDF          = 211U,     /* HRPWM_2_GUDF */
    INT_SRC_HRPWM_2_SCMP_A       = 212U,     /* HRPWM_2_SCMA */
    INT_SRC_HRPWM_2_SCMP_B       = 213U,     /* HRPWM_2_SCMB */
    INT_SRC_HRPWM_2_GCAP_A       = 214U,     /* HRPWM_2_GCAPA */
    INT_SRC_HRPWM_2_GCAP_B       = 215U,     /* HRPWM_2_GCAPB */
    /* HRPWM_BCD  */
    INT_SRC_HRPWM_BMOVF          = 216U,     /* HRPWM_BMOVF */
    INT_SRC_HRPWM_CALENF         = 217U,     /* HRPWM_CALENF */
    INT_SRC_HRPWM_DLYPRT         = 218U,     /* HRPWM_DLYPRT */
    /*  EMB_0_3  */
    INT_SRC_EMB_GR0              = 220U,     /* EMB_GR0 */
    INT_SRC_EMB_GR1              = 221U,     /* EMB_GR1 */
    INT_SRC_EMB_GR2              = 222U,     /* EMB_GR2 */
    INT_SRC_EMB_GR3              = 223U,     /* EMB_GR3 */
    /*  HRPWM_3 */
    INT_SRC_HRPWM_3_GCMP_A       = 224U,     /* HRPWM_3_GCMA */
    INT_SRC_HRPWM_3_GCMP_B       = 225U,     /* HRPWM_3_GCMB */
    INT_SRC_HRPWM_3_GCMP_C       = 226U,     /* HRPWM_3_GCMC */
    INT_SRC_HRPWM_3_GCMP_D       = 227U,     /* HRPWM_3_GCMD */
    INT_SRC_HRPWM_3_GCMP_E       = 228U,     /* HRPWM_3_GCME */
    INT_SRC_HRPWM_3_GCMP_F       = 229U,     /* HRPWM_3_GCMF */
    INT_SRC_HRPWM_3_OVF          = 230U,     /* HRPWM_3_GOVF */
    INT_SRC_HRPWM_3_UDF          = 231U,     /* HRPWM_3_GUDF */
    INT_SRC_HRPWM_3_SCMP_A       = 232U,     /* HRPWM_3_SCMA */
    INT_SRC_HRPWM_3_SCMP_B       = 233U,     /* HRPWM_3_SCMB */
    INT_SRC_HRPWM_3_GCAP_A       = 234U,     /* HRPWM_3_GCAPA */
    INT_SRC_HRPWM_3_GCAP_B       = 235U,     /* HRPWM_3_GCAPB */
    /*  HRPWM_4 */
    INT_SRC_HRPWM_4_GCMP_A       = 236U,     /* HRPWM_4_GCMA */
    INT_SRC_HRPWM_4_GCMP_B       = 237U,     /* HRPWM_4_GCMB */
    INT_SRC_HRPWM_4_GCMP_C       = 238U,     /* HRPWM_4_GCMC */
    INT_SRC_HRPWM_4_GCMP_D       = 239U,     /* HRPWM_4_GCMD */
    INT_SRC_HRPWM_4_GCMP_E       = 240U,     /* HRPWM_4_GCME */
    INT_SRC_HRPWM_4_GCMP_F       = 241U,     /* HRPWM_4_GCMF */
    INT_SRC_HRPWM_4_OVF          = 242U,     /* HRPWM_4_GOVF */
    INT_SRC_HRPWM_4_UDF          = 243U,     /* HRPWM_4_GUDF */
    INT_SRC_HRPWM_4_SCMP_A       = 244U,     /* HRPWM_4_SCMA */
    INT_SRC_HRPWM_4_SCMP_B       = 245U,     /* HRPWM_4_SCMB */
    INT_SRC_HRPWM_4_GCAP_A       = 246U,     /* HRPWM_4_GCAPA */
    INT_SRC_HRPWM_4_GCAP_B       = 247U,     /* HRPWM_4_GCAPB */
    /*  EMB_4_8  */
    INT_SRC_EMB_GR4              = 248U,     /* EMB_GR4 */
    INT_SRC_EMB_GR5              = 249U,     /* EMB_GR5 */
    INT_SRC_EMB_GR6              = 250U,     /* EMB_GR6 */
    INT_SRC_EMB_GR7              = 251U,     /* EMB_GR7 */
    INT_SRC_EMB_GR8              = 252U,     /* EMB_GR8 */
    /*  HRPWM_5 */
    INT_SRC_HRPWM_5_GCMP_A       = 256U,     /* HRPWM_5_GCMA */
    INT_SRC_HRPWM_5_GCMP_B       = 257U,     /* HRPWM_5_GCMB */
    INT_SRC_HRPWM_5_GCMP_C       = 258U,     /* HRPWM_5_GCMC */
    INT_SRC_HRPWM_5_GCMP_D       = 259U,     /* HRPWM_5_GCMD */
    INT_SRC_HRPWM_5_GCMP_E       = 260U,     /* HRPWM_5_GCME */
    INT_SRC_HRPWM_5_GCMP_F       = 261U,     /* HRPWM_5_GCMF */
    INT_SRC_HRPWM_5_OVF          = 262U,     /* HRPWM_5_GOVF */
    INT_SRC_HRPWM_5_UDF          = 263U,     /* HRPWM_5_GUDF */
    INT_SRC_HRPWM_5_SCMP_A       = 264U,     /* HRPWM_5_SCMA */
    INT_SRC_HRPWM_5_SCMP_B       = 265U,     /* HRPWM_5_SCMB */
    INT_SRC_HRPWM_5_GCAP_A       = 266U,     /* HRPWM_5_GCAPA */
    INT_SRC_HRPWM_5_GCAP_B       = 267U,     /* HRPWM_5_GCAPB */
    /*  HRPWM_6 */
    INT_SRC_HRPWM_6_GCMP_A       = 268U,     /* HRPWM_6_GCMA */
    INT_SRC_HRPWM_6_GCMP_B       = 269U,     /* HRPWM_6_GCMB */
    INT_SRC_HRPWM_6_GCMP_C       = 270U,     /* HRPWM_6_GCMC */
    INT_SRC_HRPWM_6_GCMP_D       = 271U,     /* HRPWM_6_GCMD */
    INT_SRC_HRPWM_6_GCMP_E       = 272U,     /* HRPWM_6_GCME */
    INT_SRC_HRPWM_6_GCMP_F       = 273U,     /* HRPWM_6_GCMF */
    INT_SRC_HRPWM_6_OVF          = 274U,     /* HRPWM_6_GOVF */
    INT_SRC_HRPWM_6_UDF          = 275U,     /* HRPWM_6_GUDF */
    INT_SRC_HRPWM_6_SCMP_A       = 276U,     /* HRPWM_6_SCMA */
    INT_SRC_HRPWM_6_SCMP_B       = 277U,     /* HRPWM_6_SCMB */
    INT_SRC_HRPWM_6_GCAP_A       = 278U,     /* HRPWM_6_GCAPA */
    INT_SRC_HRPWM_6_GCAP_B       = 279U,     /* HRPWM_6_GCAPB */
    /*  MCAN  */
    INT_SRC_MCANRAM_ECCER        = 282U,     /* MCANRAM_ECCER */
    INT_SRC_MCAN1_INT0           = 283U,     /* MCAN1_INT0 */
    INT_SRC_MCAN1_INT1           = 284U,     /* MCAN1_INT1 */
    INT_SRC_MCAN2_INT0           = 285U,     /* MCAN2_INT0 */
    INT_SRC_MCAN2_INT1           = 286U,     /* MCAN2_INT1 */
    /*  TIMER4  */
    INT_SRC_TMR4_GCMP_UH         = 288U,     /* TMR4_GCMUH */
    INT_SRC_TMR4_GCMP_UL         = 289U,     /* TMR4_GCMUL */
    INT_SRC_TMR4_GCMP_VH         = 290U,     /* TMR4_GCMVH */
    INT_SRC_TMR4_GCMP_VL         = 291U,     /* TMR4_GCMVL */
    INT_SRC_TMR4_GCMP_WH         = 292U,     /* TMR4_GCMWH */
    INT_SRC_TMR4_GCMP_WL         = 293U,     /* TMR4_GCMWL */
    INT_SRC_TMR4_GCMP_XH         = 294U,     /* TMR4_GCMXH */
    INT_SRC_TMR4_GCMP_XL         = 295U,     /* TMR4_GCMXL */
    INT_SRC_TMR4_OVF             = 296U,     /* TMR4_GOVF  */
    INT_SRC_TMR4_UDF             = 297U,     /* TMR4_GUDF  */
    INT_SRC_TMR4_RELOAD_U        = 298U,     /* TMR4_GRLU  */
    INT_SRC_TMR4_RELOAD_V        = 299U,     /* TMR4_GRLV  */
    INT_SRC_TMR4_RELOAD_W        = 300U,     /* TMR4_GRLW  */
    INT_SRC_TMR4_RELOAD_X        = 301U,     /* TMR4_GRLX  */
    INT_SRC_TMR4_SCMP0           = 302U,     /* TMR4_SCM0  */
    INT_SRC_TMR4_SCMP1           = 303U,     /* TMR4_SCM1  */
    INT_SRC_TMR4_SCMP2           = 304U,     /* TMR4_SCM2  */
    INT_SRC_TMR4_SCMP3           = 305U,     /* TMR4_SCM3  */
    INT_SRC_TMR4_SCMP4           = 306U,     /* TMR4_SCM4  */
    INT_SRC_TMR4_SCMP5           = 307U,     /* TMR4_SCM5  */
    INT_SRC_TMR4_SCMP6           = 308U,     /* TMR4_SCM6  */
    INT_SRC_TMR4_SCMP7           = 309U,     /* TMR4_SCM7  */
    /*  CMP  */
    INT_SRC_CMP1                 = 310U,     /* CMP_1_IRQ */
    INT_SRC_CMP2                 = 311U,     /* CMP_2_IRQ */
    INT_SRC_CMP3                 = 312U,     /* CMP_3_IRQ */
    /*  I2C  */
    INT_SRC_I2C_RXI              = 316U,     /* I2C_RXI */
    INT_SRC_I2C_TXI              = 317U,     /* I2C_TXI */
    INT_SRC_I2C_TEI              = 318U,     /* I2C_TEI */
    INT_SRC_I2C_EEI              = 319U,     /* I2C_EEI */
    /*  USART1  */
    INT_SRC_USART1_EI            = 321U,     /* USART_1_EI  */
    INT_SRC_USART1_RI            = 322U,     /* USART_1_RI  */
    INT_SRC_USART1_TI            = 323U,     /* USART_1_TI  */
    INT_SRC_USART1_RTO           = 324U,     /* USART_1_RTO */
    INT_SRC_USART1_TENDI         = 325U,     /* USART_1_TENDI */
    INT_SRC_USART1_TCI           = 326U,     /* USART_1_TCI */
    /*  SPI  */
    INT_SRC_SPI_SPRI             = 330U,     /* SPI_SPRI */
    INT_SRC_SPI_SPTI             = 331U,     /* SPI_SPTI */
    INT_SRC_SPI_SPII             = 332U,     /* SPI_SPII */
    INT_SRC_SPI_SPEI             = 333U,     /* SPI_SPEI */
    /*  TIMERA_5  */
    INT_SRC_TMRA_5_OVF           = 340U,     /* TMRA_5_OVF */
    INT_SRC_TMRA_5_UDF           = 341U,     /* TMRA_5_UDF */
    INT_SRC_TMRA_5_CMP           = 342U,     /* TMRA_5_CMP */
    /*  EVENT PORT  */
    INT_SRC_EVENT_PORT1          = 348U,     /* EVENT_PORT1 */
    INT_SRC_EVENT_PORT2          = 349U,     /* EVENT_PORT2 */
    INT_SRC_EVENT_PORT3          = 350U,     /* EVENT_PORT3 */
    INT_SRC_EVENT_PORT4          = 351U,     /* EVENT_PORT4 */
    /*  USART2  */
    INT_SRC_USART2_BRKWKPI       = 352U,     /* USART_2_BRKWKPI */
    INT_SRC_USART2_EI            = 353U,     /* USART_2_EI      */
    INT_SRC_USART2_RI            = 354U,     /* USART_2_RI      */
    INT_SRC_USART2_TI            = 355U,     /* USART_2_TI      */
    INT_SRC_USART2_RTO           = 356U,     /* USART_2_RTO     */
    INT_SRC_USART2_TENDI         = 357U,     /* USART_2_TENDI   */
    INT_SRC_USART2_TCI           = 358U,     /* USART_2_TCI     */
    /*  USART3  */
    INT_SRC_USART3_BRKWKPI       = 384U,     /* USART_3_BRKWKPI */
    INT_SRC_USART3_EI            = 385U,     /* USART_3_EI      */
    INT_SRC_USART3_RI            = 386U,     /* USART_3_RI      */
    INT_SRC_USART3_TI            = 387U,     /* USART_3_TI      */
    INT_SRC_USART3_RTO           = 388U,     /* USART_3_RTO     */
    INT_SRC_USART3_TENDI         = 389U,     /* USART_3_TENDI   */
    INT_SRC_USART3_TCI           = 390U,     /* USART_3_TCI     */
    /*  USART4  */
    INT_SRC_USART4_BRKWKPI       = 391U,     /* USART_4_BRKWKPI */
    INT_SRC_USART4_EI            = 392U,     /* USART_4_EI      */
    INT_SRC_USART4_RI            = 393U,     /* USART_4_RI      */
    INT_SRC_USART4_TI            = 394U,     /* USART_4_TI      */
    INT_SRC_USART4_RTO           = 395U,     /* USART_4_RTO     */
    INT_SRC_USART4_TENDI         = 396U,     /* USART_4_TENDI   */
    INT_SRC_USART4_TCI           = 397U,     /* USART_4_TCI     */
    /*  PLA  */
    INT_SRC_PLA_INT              = 431U,     /* PLA_INT */
    /*  USART1  */
    INT_SRC_USART1_WUPI          = 464U,     /* USART_1_WUPI */
    /*  LVD  */
    INT_SRC_LVD1                 = 465U,     /* LVD1 */
    INT_SRC_LVD2                 = 466U,     /* LVD2 */
    /*  FCM  */
    INT_SRC_FCMFERRI             = 468U,     /* FCMFERRI */
    INT_SRC_FCMMENDI             = 469U,     /* FCMMENDI */
    INT_SRC_FCMCOVFI             = 470U,     /* FCMCOVFI */
    /*  WDT  */
    INT_SRC_WDT_REFUDF           = 471U,     /* WDT_REFUDF */
    /*  CTC  */
    INT_SRC_CTC_ERR              = 472U,     /* CTC_ERR */
    /*  ADC1  */
    INT_SRC_ADC1_EOCA            = 480U,     /* ADC_1_EOCA */
    INT_SRC_ADC1_EOCB            = 481U,     /* ADC_1_EOCB */
    INT_SRC_ADC1_CMP0            = 482U,     /* ADC_1_CMP0 */
    INT_SRC_ADC1_CMP1            = 483U,     /* ADC_1_CMP1 */
    /*  ADC2  */
    INT_SRC_ADC2_EOCA            = 484U,     /* ADC_2_EOCA */
    INT_SRC_ADC2_EOCB            = 485U,     /* ADC_2_EOCB */
    INT_SRC_ADC2_CMP0            = 486U,     /* ADC_2_CMP0 */
    INT_SRC_ADC2_CMP1            = 487U,     /* ADC_2_CMP1 */
    /*  ADC3  */
    INT_SRC_ADC3_EOCA            = 488U,     /* ADC_3_EOCA */
    INT_SRC_ADC3_EOCB            = 489U,     /* ADC_3_EOCB */
    INT_SRC_ADC3_CMP0            = 490U,     /* ADC_3_CMP0 */
    INT_SRC_ADC3_CMP1            = 491U,     /* ADC_3_CMP1 */
    INT_SRC_MAX                  = 511U,
} en_int_src_t;

#if defined ( __CC_ARM   )
#pragma anon_unions
#endif

/******************************************************************************/
/*                Device Specific Peripheral Registers structures             */
/******************************************************************************/

/**
 * @brief ADC
 */
typedef struct {
    __IO uint8_t  STR;
    uint8_t RESERVED0[1];
    __IO uint16_t CR0;
    __IO uint16_t CR1;
    __IO uint16_t CR2;
    uint8_t RESERVED1[2];
    __IO uint16_t TRGSR;
    __IO uint32_t CHSELRA;
    __IO uint32_t CHSELRB;
    __IO uint32_t AVCHSELR;
    __IO uint8_t  EXCHSELR;
    uint8_t RESERVED2[7];
    __IO uint8_t  SSTR0;
    __IO uint8_t  SSTR1;
    __IO uint8_t  SSTR2;
    __IO uint8_t  SSTR3;
    __IO uint8_t  SSTR4;
    __IO uint8_t  SSTR5;
    __IO uint8_t  SSTR6;
    __IO uint8_t  SSTR7;
    __IO uint8_t  SSTR8;
    __IO uint8_t  SSTR9;
    __IO uint8_t  SSTR10;
    __IO uint8_t  SSTR11;
    __IO uint8_t  SSTR12;
    __IO uint8_t  SSTR13;
    __IO uint8_t  SSTR14;
    __IO uint8_t  SSTR15;
    uint8_t RESERVED3[8];
    __IO uint16_t CHMUXR0;
    __IO uint16_t CHMUXR1;
    __IO uint16_t CHMUXR2;
    __IO uint16_t CHMUXR3;
    uint8_t RESERVED4[4];
    __I  uint8_t  ISR;
    __IO uint8_t  ICR;
    __O  uint8_t  ISCLRR;
    uint8_t RESERVED5[5];
    __IO uint16_t SYNCCR;
    uint8_t RESERVED6[2];
    __I  uint16_t DR0;
    __I  uint16_t DR1;
    __I  uint16_t DR2;
    __I  uint16_t DR3;
    __I  uint16_t DR4;
    __I  uint16_t DR5;
    __I  uint16_t DR6;
    __I  uint16_t DR7;
    __I  uint16_t DR8;
    __I  uint16_t DR9;
    __I  uint16_t DR10;
    __I  uint16_t DR11;
    __I  uint16_t DR12;
    __I  uint16_t DR13;
    __I  uint16_t DR14;
    __I  uint16_t DR15;
    uint8_t RESERVED7[48];
    __IO uint16_t AWDCR;
    __I  uint8_t  AWDSR;
    __O  uint8_t  AWDSCLRR;
    __IO uint16_t AWD0DR0;
    __IO uint16_t AWD0DR1;
    __IO uint8_t  AWD0CHSR;
    uint8_t RESERVED8[3];
    __IO uint16_t AWD1DR0;
    __IO uint16_t AWD1DR1;
    __IO uint8_t  AWD1CHSR;
} CM_ADC_TypeDef;

/**
 * @brief AOS
 */
typedef struct {
    __O  uint32_t INTSFTTRG;
    __IO uint32_t DMA_TRGSEL0;
    __IO uint32_t DMA_TRGSEL1;
    __IO uint32_t DMA_TRGSEL2;
    __IO uint32_t DMA_TRGSEL3;
    __IO uint32_t DMA_TRGSEL4;
    __IO uint32_t DMA_TRGSEL5;
    __IO uint32_t DMA_TRGSEL6;
    __IO uint32_t DMA_TRGSEL7;
    __IO uint32_t DMA_RC_TRGSEL;
    __IO uint32_t TMR6_TRGSEL0;
    __IO uint32_t TMR6_TRGSEL1;
    __IO uint32_t TMR6_TRGSEL2;
    __IO uint32_t TMR6_TRGSEL3;
    __IO uint32_t HRPWM_TRGSEL0;
    __IO uint32_t HRPWM_TRGSEL1;
    __IO uint32_t HRPWM_TRGSEL2;
    __IO uint32_t HRPWM_TRGSEL3;
    __IO uint32_t TMR4_TRGSEL;
    __IO uint32_t PEVNT_TRGSEL12;
    __IO uint32_t PEVNT_TRGSEL34;
    __IO uint32_t TMR0_TRGSEL;
    __IO uint32_t TMRA_TRGSEL0;
    __IO uint32_t TMRA_TRGSEL1;
    __IO uint32_t TMRA_TRGSEL2;
    __IO uint32_t TMRA_TRGSEL3;
    __IO uint32_t ADC1_TRGSEL0;
    __IO uint32_t ADC1_TRGSEL1;
    __IO uint32_t ADC2_TRGSEL0;
    __IO uint32_t ADC2_TRGSEL1;
    __IO uint32_t ADC3_TRGSEL0;
    __IO uint32_t ADC3_TRGSEL1;
    __IO uint32_t COMTRGSEL1;
    __IO uint32_t COMTRGSEL2;
    uint8_t RESERVED0[120];
    __IO uint32_t PEVNTDIRR1;
    __I  uint32_t PEVNTIDR1;
    __IO uint32_t PEVNTODR1;
    __IO uint32_t PEVNTORR1;
    __IO uint32_t PEVNTOSR1;
    __IO uint32_t PEVNTRISR1;
    __IO uint32_t PEVNTFALR1;
    __IO uint32_t PEVNTDIRR2;
    __I  uint32_t PEVNTIDR2;
    __IO uint32_t PEVNTODR2;
    __IO uint32_t PEVNTORR2;
    __IO uint32_t PEVNTOSR2;
    __IO uint32_t PEVNTRISR2;
    __IO uint32_t PEVNTFALR2;
    __IO uint32_t PEVNTDIRR3;
    __I  uint32_t PEVNTIDR3;
    __IO uint32_t PEVNTODR3;
    __IO uint32_t PEVNTORR3;
    __IO uint32_t PEVNTOSR3;
    __IO uint32_t PEVNTRISR3;
    __IO uint32_t PEVNTFALR3;
    __IO uint32_t PEVNTDIRR4;
    __I  uint32_t PEVNTIDR4;
    __IO uint32_t PEVNTODR4;
    __IO uint32_t PEVNTORR4;
    __IO uint32_t PEVNTOSR4;
    __IO uint32_t PEVNTRISR4;
    __IO uint32_t PEVNTFALR4;
    __IO uint32_t PEVNTNFCR;
} CM_AOS_TypeDef;

/**
 * @brief CMP
 */
typedef struct {
    __IO uint8_t  MDR;
    __IO uint8_t  FIR;
    __IO uint8_t  OCR;
    __I  uint8_t  OMR;
    __IO uint32_t PMSR;
    uint8_t RESERVED0[8];
    __IO uint32_t BWSR1;
    __IO uint16_t BWSR2;
    uint8_t RESERVED1[2];
    __IO uint32_t SCCR;
    __IO uint32_t SCMR;
} CM_CMP_TypeDef;

/**
 * @brief CMU
 */
typedef struct {
    uint8_t RESERVED0[24];
    __IO uint32_t XTALDIVR;
    __IO uint32_t XTALDIVCR;
    uint8_t RESERVED1[19504];
    __IO uint8_t  XTALCFGR;
    uint8_t RESERVED2[3];
    __IO uint8_t  XTAL32CR;
    uint8_t RESERVED3[3];
    __IO uint8_t  XTAL32CFGR;
    uint8_t RESERVED4[15];
    __IO uint8_t  XTAL32NFR;
    uint8_t RESERVED5[3];
    __IO uint8_t  LRCCR;
    uint8_t RESERVED6[7];
    __IO uint8_t  LRCTRM;
    uint8_t RESERVED7[29595];
    __IO uint16_t PERICKSEL;
    uint8_t RESERVED8[6];
    __IO uint8_t  CANCKCFGR;
    uint8_t RESERVED9[7];
    __IO uint32_t SCFGR;
    uint8_t RESERVED10[2];
    __IO uint8_t  CKSWR;
    uint8_t RESERVED11[3];
    __IO uint8_t  PLLHCR;
    uint8_t RESERVED12[7];
    __IO uint8_t  XTALCR;
    uint8_t RESERVED13[3];
    __IO uint8_t  HRCCR;
    uint8_t RESERVED14[1];
    __IO uint8_t  MRCCR;
    uint8_t RESERVED15[3];
    __IO uint8_t  OSCSTBSR;
    __IO uint8_t  MCO1CFGR;
    __IO uint8_t  MCO2CFGR;
    __IO uint8_t  TPIUCKCFGR;
    __IO uint8_t  XTALSTDCR;
    __IO uint8_t  XTALSTDSR;
    uint8_t RESERVED16[31];
    __IO uint8_t  MRCTRM;
    __IO uint8_t  HRCTRM;
    uint8_t RESERVED17[63];
    __IO uint8_t  XTALSTBCR;
    uint8_t RESERVED18[93];
    __IO uint32_t PLLHCFGR;
} CM_CMU_TypeDef;

/**
 * @brief CRC
 */
typedef struct {
    __IO uint32_t CR;
    __IO uint32_t RESLT;
    uint8_t RESERVED0[120];
    __O  uint32_t DAT0;
    __O  uint32_t DAT1;
    __O  uint32_t DAT2;
    __O  uint32_t DAT3;
    __O  uint32_t DAT4;
    __O  uint32_t DAT5;
    __O  uint32_t DAT6;
    __O  uint32_t DAT7;
    __O  uint32_t DAT8;
    __O  uint32_t DAT9;
    __O  uint32_t DAT10;
    __O  uint32_t DAT11;
    __O  uint32_t DAT12;
    __O  uint32_t DAT13;
    __O  uint32_t DAT14;
    __O  uint32_t DAT15;
    __O  uint32_t DAT16;
    __O  uint32_t DAT17;
    __O  uint32_t DAT18;
    __O  uint32_t DAT19;
    __O  uint32_t DAT20;
    __O  uint32_t DAT21;
    __O  uint32_t DAT22;
    __O  uint32_t DAT23;
    __O  uint32_t DAT24;
    __O  uint32_t DAT25;
    __O  uint32_t DAT26;
    __O  uint32_t DAT27;
    __O  uint32_t DAT28;
    __O  uint32_t DAT29;
    __O  uint32_t DAT30;
    __O  uint32_t DAT31;
} CM_CRC_TypeDef;

/**
 * @brief CTC
 */
typedef struct {
    __IO uint32_t CR1;
    __IO uint32_t CR2;
    __I  uint32_t STR;
    __I  uint16_t CNT;
} CM_CTC_TypeDef;

/**
 * @brief DAC
 */
typedef struct {
    __IO uint16_t DADR1;
    __IO uint16_t DADR2;
    __IO uint16_t DACR;
    __IO uint16_t DAADPCR;
    uint8_t RESERVED0[20];
    __IO uint16_t DAOCR;
    uint8_t RESERVED1[2];
    __IO uint16_t DACR2;
    uint8_t RESERVED2[10];
    __I  uint16_t DADACTR1;
    __I  uint16_t DADACTR2;
} CM_DAC_TypeDef;

/**
 * @brief DBGC
 */
typedef struct {
    uint8_t RESERVED0[28];
    __IO uint32_t MCUDBGCSTAT;
    __IO uint32_t MCUSTPCTL;
    __IO uint32_t MCUTRACECTL;
    __IO uint32_t MCUSTPCTL2;
} CM_DBGC_TypeDef;

/**
 * @brief DMA
 */
typedef struct {
    __IO uint32_t EN;
    __I  uint32_t INTSTAT0;
    __I  uint32_t INTSTAT1;
    __IO uint32_t INTMASK0;
    __IO uint32_t INTMASK1;
    __IO uint32_t INTCLR0;
    __IO uint32_t INTCLR1;
    __IO uint32_t CHEN;
    __I  uint32_t REQSTAT;
    __I  uint32_t CHSTAT;
    uint8_t RESERVED0[4];
    __IO uint32_t RCFGCTL;
    __IO uint32_t SWREQ;
    __O  uint32_t CHENCLR;
    uint8_t RESERVED1[8];
    __IO uint32_t SAR0;
    __IO uint32_t DAR0;
    __IO uint32_t DTCTL0;
    union {
        __IO uint32_t RPT0;
        __IO uint32_t RPTB0;
    };
    union {
        __IO uint32_t SNSEQCTL0;
        __IO uint32_t SNSEQCTLB0;
    };
    union {
        __IO uint32_t DNSEQCTL0;
        __IO uint32_t DNSEQCTLB0;
    };
    __IO uint32_t LLP0;
    __IO uint32_t CHCTL0;
    __I  uint32_t MONSAR0;
    __I  uint32_t MONDAR0;
    __I  uint32_t MONDTCTL0;
    __I  uint32_t MONRPT0;
    __I  uint32_t MONSNSEQCTL0;
    __I  uint32_t MONDNSEQCTL0;
    uint8_t RESERVED2[8];
    __IO uint32_t SAR1;
    __IO uint32_t DAR1;
    __IO uint32_t DTCTL1;
    union {
        __IO uint32_t RPT1;
        __IO uint32_t RPTB1;
    };
    union {
        __IO uint32_t SNSEQCTL1;
        __IO uint32_t SNSEQCTLB1;
    };
    union {
        __IO uint32_t DNSEQCTL1;
        __IO uint32_t DNSEQCTLB1;
    };
    __IO uint32_t LLP1;
    __IO uint32_t CHCTL1;
    __I  uint32_t MONSAR1;
    __I  uint32_t MONDAR1;
    __I  uint32_t MONDTCTL1;
    __I  uint32_t MONRPT1;
    __I  uint32_t MONSNSEQCTL1;
    __I  uint32_t MONDNSEQCTL1;
    uint8_t RESERVED3[8];
    __IO uint32_t SAR2;
    __IO uint32_t DAR2;
    __IO uint32_t DTCTL2;
    union {
        __IO uint32_t RPT2;
        __IO uint32_t RPTB2;
    };
    union {
        __IO uint32_t SNSEQCTL2;
        __IO uint32_t SNSEQCTLB2;
    };
    union {
        __IO uint32_t DNSEQCTL2;
        __IO uint32_t DNSEQCTLB2;
    };
    __IO uint32_t LLP2;
    __IO uint32_t CHCTL2;
    __I  uint32_t MONSAR2;
    __I  uint32_t MONDAR2;
    __I  uint32_t MONDTCTL2;
    __I  uint32_t MONRPT2;
    __I  uint32_t MONSNSEQCTL2;
    __I  uint32_t MONDNSEQCTL2;
    uint8_t RESERVED4[8];
    __IO uint32_t SAR3;
    __IO uint32_t DAR3;
    __IO uint32_t DTCTL3;
    union {
        __IO uint32_t RPT3;
        __IO uint32_t RPTB3;
    };
    union {
        __IO uint32_t SNSEQCTL3;
        __IO uint32_t SNSEQCTLB3;
    };
    union {
        __IO uint32_t DNSEQCTL3;
        __IO uint32_t DNSEQCTLB3;
    };
    __IO uint32_t LLP3;
    __IO uint32_t CHCTL3;
    __I  uint32_t MONSAR3;
    __I  uint32_t MONDAR3;
    __I  uint32_t MONDTCTL3;
    __I  uint32_t MONRPT3;
    __I  uint32_t MONSNSEQCTL3;
    __I  uint32_t MONDNSEQCTL3;
    uint8_t RESERVED5[8];
    __IO uint32_t SAR4;
    __IO uint32_t DAR4;
    __IO uint32_t DTCTL4;
    union {
        __IO uint32_t RPT4;
        __IO uint32_t RPTB4;
    };
    union {
        __IO uint32_t SNSEQCTL4;
        __IO uint32_t SNSEQCTLB4;
    };
    union {
        __IO uint32_t DNSEQCTL4;
        __IO uint32_t DNSEQCTLB4;
    };
    __IO uint32_t LLP4;
    __IO uint32_t CHCTL4;
    __I  uint32_t MONSAR4;
    __I  uint32_t MONDAR4;
    __I  uint32_t MONDTCTL4;
    __I  uint32_t MONRPT4;
    __I  uint32_t MONSNSEQCTL4;
    __I  uint32_t MONDNSEQCTL4;
    uint8_t RESERVED6[8];
    __IO uint32_t SAR5;
    __IO uint32_t DAR5;
    __IO uint32_t DTCTL5;
    union {
        __IO uint32_t RPT5;
        __IO uint32_t RPTB5;
    };
    union {
        __IO uint32_t SNSEQCTL5;
        __IO uint32_t SNSEQCTLB5;
    };
    union {
        __IO uint32_t DNSEQCTL5;
        __IO uint32_t DNSEQCTLB5;
    };
    __IO uint32_t LLP5;
    __IO uint32_t CHCTL5;
    __I  uint32_t MONSAR5;
    __I  uint32_t MONDAR5;
    __I  uint32_t MONDTCTL5;
    __I  uint32_t MONRPT5;
    __I  uint32_t MONSNSEQCTL5;
    __I  uint32_t MONDNSEQCTL5;
    uint8_t RESERVED7[8];
    __IO uint32_t SAR6;
    __IO uint32_t DAR6;
    __IO uint32_t DTCTL6;
    union {
        __IO uint32_t RPT6;
        __IO uint32_t RPTB6;
    };
    union {
        __IO uint32_t SNSEQCTL6;
        __IO uint32_t SNSEQCTLB6;
    };
    union {
        __IO uint32_t DNSEQCTL6;
        __IO uint32_t DNSEQCTLB6;
    };
    __IO uint32_t LLP6;
    __IO uint32_t CHCTL6;
    __I  uint32_t MONSAR6;
    __I  uint32_t MONDAR6;
    __I  uint32_t MONDTCTL6;
    __I  uint32_t MONRPT6;
    __I  uint32_t MONSNSEQCTL6;
    __I  uint32_t MONDNSEQCTL6;
    uint8_t RESERVED8[8];
    __IO uint32_t SAR7;
    __IO uint32_t DAR7;
    __IO uint32_t DTCTL7;
    union {
        __IO uint32_t RPT7;
        __IO uint32_t RPTB7;
    };
    union {
        __IO uint32_t SNSEQCTL7;
        __IO uint32_t SNSEQCTLB7;
    };
    union {
        __IO uint32_t DNSEQCTL7;
        __IO uint32_t DNSEQCTLB7;
    };
    __IO uint32_t LLP7;
    __IO uint32_t CHCTL7;
    __I  uint32_t MONSAR7;
    __I  uint32_t MONDAR7;
    __I  uint32_t MONDTCTL7;
    __I  uint32_t MONRPT7;
    __I  uint32_t MONSNSEQCTL7;
    __I  uint32_t MONDNSEQCTL7;
} CM_DMA_TypeDef;

/**
 * @brief EFM
 */
typedef struct {
    __IO uint32_t FAPRT;
    __IO uint32_t KEY1;
    __IO uint32_t KEY2;
    uint8_t RESERVED0[8];
    __IO uint32_t FSTP;
    __IO uint32_t FRMC;
    __IO uint32_t FWMC;
    __I  uint32_t FSR;
    __IO uint32_t FSCLR;
    __IO uint32_t FITE;
    __I  uint32_t FSWP;
    uint8_t RESERVED1[16];
    __I  uint32_t CHIPID;
    uint8_t RESERVED2[12];
    __I  uint32_t UQID0;
    __I  uint32_t UQID1;
    __I  uint32_t UQID2;
    uint8_t RESERVED3[164];
    __IO uint32_t MMF_REMPRT;
    __IO uint32_t MMF_REMCR0;
    __IO uint32_t MMF_REMCR1;
    __I  uint32_t MMF_REMCR2;
    uint8_t RESERVED4[112];
    __IO uint32_t WLOCK;
    uint8_t RESERVED5[12];
    __IO uint32_t F0NWPRT;
} CM_EFM_TypeDef;

/**
 * @brief EMB
 */
typedef struct {
    __IO uint32_t CTL1;
    __IO uint32_t CTL2;
    __IO uint32_t SOE;
    __IO uint32_t STAT;
    __O  uint32_t STATCLR;
    __IO uint32_t INTEN;
    __IO uint32_t RLSSEL;
} CM_EMB_TypeDef;

/**
 * @brief FCM
 */
typedef struct {
    __IO uint32_t LVR;
    __IO uint32_t UVR;
    __I  uint32_t CNTR;
    __IO uint32_t STR;
    __IO uint32_t MCCR;
    __IO uint32_t RCCR;
    __IO uint32_t RIER;
    __I  uint32_t SR;
    __O  uint32_t CLR;
} CM_FCM_TypeDef;

/**
 * @brief GPIO
 */
typedef struct {
    __I  uint16_t PIDRA;
    uint8_t RESERVED0[2];
    __IO uint16_t PODRA;
    __IO uint16_t POERA;
    __O  uint16_t POSRA;
    __O  uint16_t PORRA;
    __O  uint16_t POTRA;
    uint8_t RESERVED1[2];
    __I  uint16_t PIDRB;
    uint8_t RESERVED2[2];
    __IO uint16_t PODRB;
    __IO uint16_t POERB;
    __O  uint16_t POSRB;
    __O  uint16_t PORRB;
    __O  uint16_t POTRB;
    uint8_t RESERVED3[2];
    __I  uint16_t PIDRC;
    uint8_t RESERVED4[2];
    __IO uint16_t PODRC;
    __IO uint16_t POERC;
    __O  uint16_t POSRC;
    __O  uint16_t PORRC;
    __O  uint16_t POTRC;
    uint8_t RESERVED5[2];
    __I  uint16_t PIDRD;
    uint8_t RESERVED6[2];
    __IO uint16_t PODRD;
    __IO uint16_t POERD;
    __O  uint16_t POSRD;
    __O  uint16_t PORRD;
    __O  uint16_t POTRD;
    uint8_t RESERVED7[18];
    __I  uint16_t PIDRF;
    uint8_t RESERVED8[2];
    __IO uint16_t PODRF;
    __IO uint16_t POERF;
    __O  uint16_t POSRF;
    __O  uint16_t PORRF;
    __O  uint16_t POTRF;
    uint8_t RESERVED9[914];
    __IO uint32_t HRPWM;
    __IO uint16_t PSPCR;
    uint8_t RESERVED10[2];
    __IO uint16_t PCCR;
    uint8_t RESERVED11[2];
    __IO uint16_t PWPR;
    uint8_t RESERVED12[2];
    __IO uint16_t PCRA0;
    __IO uint16_t PFSRA0;
    __IO uint16_t PCRA1;
    __IO uint16_t PFSRA1;
    __IO uint16_t PCRA2;
    __IO uint16_t PFSRA2;
    __IO uint16_t PCRA3;
    __IO uint16_t PFSRA3;
    __IO uint16_t PCRA4;
    __IO uint16_t PFSRA4;
    __IO uint16_t PCRA5;
    __IO uint16_t PFSRA5;
    __IO uint16_t PCRA6;
    __IO uint16_t PFSRA6;
    __IO uint16_t PCRA7;
    __IO uint16_t PFSRA7;
    __IO uint16_t PCRA8;
    __IO uint16_t PFSRA8;
    __IO uint16_t PCRA9;
    __IO uint16_t PFSRA9;
    __IO uint16_t PCRA10;
    __IO uint16_t PFSRA10;
    __IO uint16_t PCRA11;
    __IO uint16_t PFSRA11;
    __IO uint16_t PCRA12;
    __IO uint16_t PFSRA12;
    __IO uint16_t PCRA13;
    __IO uint16_t PFSRA13;
    __IO uint16_t PCRA14;
    __IO uint16_t PFSRA14;
    __IO uint16_t PCRA15;
    __IO uint16_t PFSRA15;
    __IO uint16_t PCRB0;
    __IO uint16_t PFSRB0;
    __IO uint16_t PCRB1;
    __IO uint16_t PFSRB1;
    __IO uint16_t PCRB2;
    __IO uint16_t PFSRB2;
    __IO uint16_t PCRB3;
    __IO uint16_t PFSRB3;
    __IO uint16_t PCRB4;
    __IO uint16_t PFSRB4;
    __IO uint16_t PCRB5;
    __IO uint16_t PFSRB5;
    __IO uint16_t PCRB6;
    __IO uint16_t PFSRB6;
    __IO uint16_t PCRB7;
    __IO uint16_t PFSRB7;
    __IO uint16_t PCRB8;
    __IO uint16_t PFSRB8;
    __IO uint16_t PCRB9;
    __IO uint16_t PFSRB9;
    __IO uint16_t PCRB10;
    __IO uint16_t PFSRB10;
    __IO uint16_t PCRB11;
    __IO uint16_t PFSRB11;
    __IO uint16_t PCRB12;
    __IO uint16_t PFSRB12;
    __IO uint16_t PCRB13;
    __IO uint16_t PFSRB13;
    __IO uint16_t PCRB14;
    __IO uint16_t PFSRB14;
    __IO uint16_t PCRB15;
    __IO uint16_t PFSRB15;
    __IO uint16_t PCRC0;
    __IO uint16_t PFSRC0;
    __IO uint16_t PCRC1;
    __IO uint16_t PFSRC1;
    __IO uint16_t PCRC2;
    __IO uint16_t PFSRC2;
    __IO uint16_t PCRC3;
    __IO uint16_t PFSRC3;
    __IO uint16_t PCRC4;
    __IO uint16_t PFSRC4;
    __IO uint16_t PCRC5;
    __IO uint16_t PFSRC5;
    __IO uint16_t PCRC6;
    __IO uint16_t PFSRC6;
    __IO uint16_t PCRC7;
    __IO uint16_t PFSRC7;
    __IO uint16_t PCRC8;
    __IO uint16_t PFSRC8;
    __IO uint16_t PCRC9;
    __IO uint16_t PFSRC9;
    __IO uint16_t PCRC10;
    __IO uint16_t PFSRC10;
    __IO uint16_t PCRC11;
    __IO uint16_t PFSRC11;
    __IO uint16_t PCRC12;
    __IO uint16_t PFSRC12;
    __IO uint16_t PCRC13;
    __IO uint16_t PFSRC13;
    __IO uint16_t PCRC14;
    __IO uint16_t PFSRC14;
    __IO uint16_t PCRC15;
    __IO uint16_t PFSRC15;
    uint8_t RESERVED13[8];
    __IO uint16_t PCRD2;
    __IO uint16_t PFSRD2;
    uint8_t RESERVED14[116];
    __IO uint16_t PCRF0;
    __IO uint16_t PFSRF0;
    __IO uint16_t PCRF1;
    __IO uint16_t PFSRF1;
    __IO uint16_t PCRF2;
    __IO uint16_t PFSRF2;
} CM_GPIO_TypeDef;

/**
 * @brief HRPWM
 */
typedef struct {
    __IO uint32_t CNTER;
    __IO uint32_t UPDAR;
    uint8_t RESERVED0[56];
    __IO uint32_t HRPERAR;
    __IO uint32_t HRPERBR;
    uint8_t RESERVED1[56];
    __IO uint32_t HRGCMAR;
    __IO uint32_t HRGCMBR;
    __IO uint32_t HRGCMCR;
    __IO uint32_t HRGCMDR;
    __IO uint32_t HRGCMER;
    __IO uint32_t HRGCMFR;
    __IO uint32_t HRGCMGR;
    __IO uint32_t HRGCMHR;
    uint8_t RESERVED2[32];
    __IO uint32_t SCMAR;
    __IO uint32_t SCMBR;
    __IO uint32_t SCMCR;
    __IO uint32_t SCMDR;
    __IO uint32_t CAPAR;
    __IO uint32_t CAPBR;
    uint8_t RESERVED3[40];
    __IO uint32_t HRDTUAR;
    __IO uint32_t HRDTDAR;
    __IO uint32_t HRDTUBR;
    __IO uint32_t HRDTDBR;
    uint8_t RESERVED4[48];
    __IO uint32_t GCONR;
    __IO uint32_t ICONR;
    __IO uint32_t BCONR1;
    __IO uint32_t DCONR;
    uint8_t RESERVED5[4];
    __IO uint32_t PCNAR1;
    __IO uint32_t PCNBR1;
    uint8_t RESERVED6[4];
    __IO uint32_t VPERR;
    __IO uint32_t STFLR1;
    __IO uint32_t STFLR2;
    uint8_t RESERVED7[20];
    __IO uint32_t HSTAR1;
    uint8_t RESERVED8[4];
    __IO uint32_t HCLRR1;
    uint8_t RESERVED9[4];
    __IO uint32_t HCPAR1;
    __IO uint32_t HCPBR1;
    __IO uint32_t HCPAR2;
    __IO uint32_t HCPBR2;
    uint8_t RESERVED10[96];
    __IO uint32_t BCONR2;
    __IO uint32_t PCNAR2;
    __IO uint32_t PCNBR2;
    uint8_t RESERVED11[4];
    __IO uint32_t HSTAR2;
    uint8_t RESERVED12[4];
    __IO uint32_t HCLRR2;
    uint8_t RESERVED13[4];
    __IO uint32_t EEFOFFSETAR;
    __IO uint32_t EEFOFFSETBR;
    __IO uint32_t EEFWINAR;
    __IO uint32_t EEFWINBR;
    __IO uint32_t EEFLTCR1;
    __IO uint32_t EEFLTCR2;
    __IO uint32_t PCNAR3;
    __IO uint32_t PCNBR3;
    __IO uint32_t IDLECR;
    __IO uint32_t GCONR1;
    __IO uint32_t BICONR;
    __IO uint32_t BPCNAR1;
    __IO uint32_t BPCNBR1;
    __IO uint32_t BPCNAR2;
    __IO uint32_t BPCNBR2;
    __IO uint32_t BPCNAR3;
    __IO uint32_t BPCNBR3;
    __IO uint32_t BGCONR1;
    __IO uint32_t SCMASELR;
    uint8_t RESERVED14[52];
    __IO uint32_t CR;
    __IO uint32_t PHSCTL;
    uint8_t RESERVED15[12];
    __IO uint32_t PHSCMP1A;
    __IO uint32_t PHSCMP1B;
    __IO uint32_t PHSCMP2A;
    __IO uint32_t PHSCMP2B;
    __IO uint32_t PHSCMP3A;
    __IO uint32_t PHSCMP3B;
    __IO uint32_t PHSCMP4A;
    __IO uint32_t PHSCMP4B;
    __IO uint32_t PHSCMP5A;
    __IO uint32_t PHSCMP5B;
} CM_HRPWM_TypeDef;

/**
 * @brief HRPWM_COMMON
 */
typedef struct {
    uint8_t RESERVED0[12];
    __IO uint32_t CALCR;
    uint8_t RESERVED1[156];
    __O  uint32_t SCAPR;
    __O  uint32_t SSTAIDLR;
    __IO uint32_t SSTARUNR1;
    __O  uint32_t SSTARUNR2;
    __O  uint32_t SSTADIDLR;
    __IO uint32_t GCTLR;
    __IO uint32_t GBCONR;
    __IO uint32_t GBSFLR;
    __IO uint32_t BMCR;
    __IO uint32_t BMSTRG1;
    __IO uint32_t BMSTRG2;
    __IO uint32_t BMPERAR;
    __IO uint32_t BMPERBR;
    __IO uint32_t BMCMAR;
    __IO uint32_t BMCMBR;
    __IO uint32_t EECR1;
    __IO uint32_t EECR2;
    __IO uint32_t EECR3;
    __IO uint32_t SYNOCR;
    __IO uint32_t EEDSELR;
    __IO uint32_t FCNTR;
    __IO uint32_t SSTAR;
    __O  uint32_t SSTPR;
    __O  uint32_t SCLRR;
    __O  uint32_t SUPDR;
} CM_HRPWM_COMMON_TypeDef;

/**
 * @brief I2C
 */
typedef struct {
    __IO uint32_t CR1;
    __IO uint32_t CR2;
    __IO uint32_t CR3;
    __IO uint32_t CR4;
    __IO uint32_t SLR0;
    __IO uint32_t SLR1;
    __IO uint32_t SLTR;
    __IO uint32_t SR;
    __O  uint32_t CLR;
    __O  uint8_t  DTR;
    uint8_t RESERVED0[3];
    __I  uint8_t  DRR;
    uint8_t RESERVED1[3];
    __IO uint32_t CCR;
    __IO uint32_t FLTR;
    __IO uint32_t FSTR;
    __IO uint32_t SLVADDR;
} CM_I2C_TypeDef;

/**
 * @brief ICG
 */
typedef struct {
    __I  uint32_t ICG0;
    __I  uint32_t ICG1;
    uint8_t RESERVED0[4];
    __I  uint32_t ICG3;
} CM_ICG_TypeDef;

/**
 * @brief INTC
 */
typedef struct {
    uint8_t RESERVED0[4];
    __IO uint32_t NMIER;
    __IO uint32_t NMIFR;
    __IO uint32_t NMIFCR;
    __IO uint32_t EIRQCR0;
    __IO uint32_t EIRQCR1;
    __IO uint32_t EIRQCR2;
    __IO uint32_t EIRQCR3;
    __IO uint32_t EIRQCR4;
    __IO uint32_t EIRQCR5;
    __IO uint32_t EIRQCR6;
    __IO uint32_t EIRQCR7;
    __IO uint32_t EIRQCR8;
    __IO uint32_t EIRQCR9;
    __IO uint32_t EIRQCR10;
    __IO uint32_t EIRQCR11;
    __IO uint32_t EIRQCR12;
    __IO uint32_t EIRQCR13;
    __IO uint32_t EIRQCR14;
    __IO uint32_t EIRQCR15;
    __IO uint32_t WKEN;
    __IO uint32_t EIFR;
    __IO uint32_t EIFCR;
    __IO uint32_t INTSEL0;
    __IO uint32_t INTSEL1;
    __IO uint32_t INTSEL2;
    __IO uint32_t INTSEL3;
    __IO uint32_t INTSEL4;
    __IO uint32_t INTSEL5;
    __IO uint32_t INTSEL6;
    __IO uint32_t INTSEL7;
    __IO uint32_t INTSEL8;
    __IO uint32_t INTSEL9;
    __IO uint32_t INTSEL10;
    __IO uint32_t INTSEL11;
    __IO uint32_t INTSEL12;
    __IO uint32_t INTSEL13;
    __IO uint32_t INTSEL14;
    __IO uint32_t INTSEL15;
    uint8_t RESERVED1[448];
    __IO uint32_t INTEN0;
    __IO uint32_t INTEN1;
    __IO uint32_t INTEN2;
    __IO uint32_t INTEN3;
    __IO uint32_t INTEN4;
    __IO uint32_t INTEN5;
    __IO uint32_t INTEN6;
    __IO uint32_t INTEN7;
    __IO uint32_t INTEN8;
    __IO uint32_t INTEN9;
    __IO uint32_t INTEN10;
    __IO uint32_t INTEN11;
    __IO uint32_t INTEN12;
    __IO uint32_t INTEN13;
    __IO uint32_t INTEN14;
    __IO uint32_t INTEN15;
    __IO uint32_t SWIER;
    __IO uint32_t EVTER;
    __IO uint32_t IER;
    __IO uint32_t FPUIER;
} CM_INTC_TypeDef;

/**
 * @brief MCAN
 */
typedef struct {
    uint8_t RESERVED0[4];
    __IO uint32_t ENDN;
    uint8_t RESERVED1[4];
    __IO uint32_t DBTP;
    __IO uint32_t TEST;
    __IO uint32_t RWD;
    __IO uint32_t CCCR;
    __IO uint32_t NBTP;
    __IO uint32_t TSCC;
    __IO uint32_t TSCV;
    __IO uint32_t TOCC;
    __IO uint32_t TOCV;
    uint8_t RESERVED2[16];
    __I  uint32_t ECR;
    __I  uint32_t PSR;
    __IO uint32_t TDCR;
    uint8_t RESERVED3[4];
    __IO uint32_t IR;
    __IO uint32_t IE;
    __IO uint32_t ILS;
    __IO uint32_t ILE;
    uint8_t RESERVED4[32];
    __IO uint32_t GFC;
    __IO uint32_t SIDFC;
    __IO uint32_t XIDFC;
    uint8_t RESERVED5[4];
    __IO uint32_t XIDAM;
    __I  uint32_t HPMS;
    __IO uint32_t NDAT1;
    __IO uint32_t NDAT2;
    __IO uint32_t RXF0C;
    __I  uint32_t RXF0S;
    __IO uint32_t RXF0A;
    __IO uint32_t RXBC;
    __IO uint32_t RXF1C;
    __I  uint32_t RXF1S;
    __IO uint32_t RXF1A;
    __IO uint32_t RXESC;
    __IO uint32_t TXBC;
    __I  uint32_t TXFQS;
    __IO uint32_t TXESC;
    __I  uint32_t TXBRP;
    __IO uint32_t TXBAR;
    __IO uint32_t TXBCR;
    __I  uint32_t TXBTO;
    __I  uint32_t TXBCF;
    __IO uint32_t TXBTIE;
    __IO uint32_t TXBCIE;
    uint8_t RESERVED6[8];
    __IO uint32_t TXEFC;
    __I  uint32_t TXEFS;
    __IO uint32_t TXEFA;
} CM_MCAN_TypeDef;

/**
 * @brief MCANRAM
 */
typedef struct {
    __IO uint32_t CKCR;
    __IO uint32_t CKSR;
    __IO uint32_t EIEN;
    __IO uint32_t EIBIT0;
    __IO uint32_t EIBIT1;
    __I  uint32_t ECCERRADDR;
} CM_MCANRAM_TypeDef;

/**
 * @brief MPU
 */
typedef struct {
    __IO uint32_t RGD0;
    __IO uint32_t RGD1;
    __IO uint32_t RGD2;
    __IO uint32_t RGD3;
    __IO uint32_t RGD4;
    __IO uint32_t RGD5;
    __IO uint32_t RGD6;
    __IO uint32_t RGD7;
    __IO uint32_t RGD8;
    __IO uint32_t RGD9;
    __IO uint32_t RGD10;
    __IO uint32_t RGD11;
    __IO uint32_t RGD12;
    __IO uint32_t RGD13;
    __IO uint32_t RGD14;
    __IO uint32_t RGD15;
    __I  uint32_t SR;
    __O  uint32_t ECLR;
    __IO uint32_t WP;
    __IO uint32_t IPPR;
    __IO uint32_t MSPPBA;
    __IO uint32_t MSPPCTL;
    __IO uint32_t PSPPBA;
    __IO uint32_t PSPPCTL;
    __IO uint32_t S1RGE;
    __IO uint32_t S1RGWP;
    __IO uint32_t S1RGRP;
    __IO uint32_t S1CR;
} CM_MPU_TypeDef;

/**
 * @brief PERIC
 */
typedef struct {
    uint8_t RESERVED0[20];
    __IO uint32_t TMR_SYNENR;
    uint8_t RESERVED1[4];
    __IO uint32_t USART1_NFC;
} CM_PERIC_TypeDef;

/**
 * @brief PLA
 */
typedef struct {
    __IO uint32_t GCTL;
    uint8_t RESERVED0[8];
    __I  uint32_t STAT;
    __IO uint32_t MUXS0;
    __IO uint32_t LUTCTL0;
    __IO uint32_t CTL0;
    __IO uint32_t MUXS1;
    __IO uint32_t LUTCTL1;
    __IO uint32_t CTL1;
    __IO uint32_t MUXS2;
    __IO uint32_t LUTCTL2;
    __IO uint32_t CTL2;
    __IO uint32_t MUXS3;
    __IO uint32_t LUTCTL3;
    __IO uint32_t CTL3;
    __IO uint32_t MUXS4;
    __IO uint32_t LUTCTL4;
    __IO uint32_t CTL4;
    __IO uint32_t MUXS5;
    __IO uint32_t LUTCTL5;
    __IO uint32_t CTL5;
    __IO uint32_t MUXS6;
    __IO uint32_t LUTCTL6;
    __IO uint32_t CTL6;
    __IO uint32_t MUXS7;
    __IO uint32_t LUTCTL7;
    __IO uint32_t CTL7;
    __IO uint32_t MUXS8;
    __IO uint32_t LUTCTL8;
    __IO uint32_t CTL8;
    __IO uint32_t MUXS9;
    __IO uint32_t LUTCTL9;
    __IO uint32_t CTL9;
    __IO uint32_t MUXS10;
    __IO uint32_t LUTCTL10;
    __IO uint32_t CTL10;
    __IO uint32_t MUXS11;
    __IO uint32_t LUTCTL11;
    __IO uint32_t CTL11;
    __IO uint32_t MUXS12;
    __IO uint32_t LUTCTL12;
    __IO uint32_t CTL12;
    __IO uint32_t MUXS13;
    __IO uint32_t LUTCTL13;
    __IO uint32_t CTL13;
    __IO uint32_t MUXS14;
    __IO uint32_t LUTCTL14;
    __IO uint32_t CTL14;
    __IO uint32_t MUXS15;
    __IO uint32_t LUTCTL15;
    __IO uint32_t CTL15;
} CM_PLA_TypeDef;

/**
 * @brief PWC
 */
typedef struct {
    __IO uint32_t FCG0;
    __IO uint32_t FCG1;
    __IO uint32_t FCG2;
    __IO uint32_t FCG3;
    __IO uint32_t FCG0PC;
    uint8_t RESERVED0[17388];
    __IO uint16_t WKTCR;
    uint8_t RESERVED1[2046];
    __IO uint8_t  PWRC0;
    uint8_t RESERVED2[3];
    __IO uint8_t  PWRC1;
    uint8_t RESERVED3[11];
    __IO uint8_t  PWRC4;
    uint8_t RESERVED4[3];
    __IO uint8_t  PVDCR0;
    uint8_t RESERVED5[3];
    __IO uint8_t  PVDCR1;
    uint8_t RESERVED6[3];
    __IO uint8_t  PVDFCR;
    uint8_t RESERVED7[3];
    __IO uint8_t  PVDLCR;
    uint8_t RESERVED8[7];
    __IO uint8_t  PDWKE0;
    uint8_t RESERVED9[3];
    __IO uint8_t  PDWKE1;
    uint8_t RESERVED10[3];
    __IO uint8_t  PDWKE2;
    uint8_t RESERVED11[3];
    __IO uint8_t  PDWKES;
    uint8_t RESERVED12[3];
    __IO uint8_t  PDWKF0;
    uint8_t RESERVED13[3];
    __IO uint8_t  PDWKF1;
    uint8_t RESERVED14[3];
    __IO uint8_t  PWRC5;
    uint8_t RESERVED15[3];
    __IO uint8_t  PWRC6;
    uint8_t RESERVED16[123];
    __IO uint8_t  PVDICR;
    uint8_t RESERVED17[3];
    __IO uint8_t  PVDDSR;
    uint8_t RESERVED18[3];
    __IO uint32_t RAMPC0;
    uint8_t RESERVED19[4];
    __IO uint32_t PRAMLPC;
    uint8_t RESERVED20[4];
    __I  uint16_t LPMCSR;
    __IO uint16_t LPMCSCR;
    uint8_t RESERVED21[29488];
    __IO uint16_t STPMCR;
    uint8_t RESERVED22[1008];
    __IO uint16_t FPRC;
} CM_PWC_TypeDef;

/**
 * @brief RMU
 */
typedef struct {
    __IO uint32_t FRST0;
    __IO uint32_t FRST1;
    __IO uint32_t FRST2;
    __IO uint32_t FRST3;
    __IO uint8_t  PRSTCR0;
    uint8_t RESERVED0[3];
    __IO uint32_t RSTF0;
} CM_RMU_TypeDef;

/**
 * @brief RTC
 */
typedef struct {
    __IO uint8_t  CR0;
    uint8_t RESERVED0[3];
    __IO uint8_t  CR1;
    uint8_t RESERVED1[3];
    __IO uint8_t  CR2;
    uint8_t RESERVED2[3];
    __IO uint8_t  CR3;
    uint8_t RESERVED3[3];
    __IO uint8_t  SEC;
    uint8_t RESERVED4[3];
    __IO uint8_t  MIN;
    uint8_t RESERVED5[3];
    __IO uint8_t  HOUR;
    uint8_t RESERVED6[3];
    __IO uint8_t  WEEK;
    uint8_t RESERVED7[3];
    __IO uint8_t  DAY;
    uint8_t RESERVED8[3];
    __IO uint8_t  MON;
    uint8_t RESERVED9[3];
    __IO uint8_t  YEAR;
    uint8_t RESERVED10[3];
    __IO uint8_t  ALMMIN;
    uint8_t RESERVED11[3];
    __IO uint8_t  ALMHOUR;
    uint8_t RESERVED12[3];
    __IO uint8_t  ALMWEEK;
    uint8_t RESERVED13[3];
    __IO uint8_t  ERRCRH;
    uint8_t RESERVED14[3];
    __IO uint8_t  ERRCRL;
} CM_RTC_TypeDef;

/**
 * @brief SPI
 */
typedef struct {
    __IO uint32_t DR;
    __IO uint32_t CR;
    uint8_t RESERVED0[4];
    __IO uint32_t CFG1;
    uint8_t RESERVED1[4];
    __IO uint32_t SR;
    __IO uint32_t CFG2;
} CM_SPI_TypeDef;

/**
 * @brief SRAMC
 */
typedef struct {
    uint8_t RESERVED0[8];
    __IO uint32_t CKCR;
    __IO uint32_t CKPR;
    __IO uint32_t CKSR;
    __IO uint32_t SRAM0_EIEN;
    __IO uint32_t SRAM0_EIBIT0;
    __IO uint32_t SRAM0_EIBIT1;
    __I  uint32_t SRAM0_ECCERRADDR;
    uint8_t RESERVED1[48];
    __IO uint32_t SRAMH_EIEN;
    __IO uint32_t SRAMH_EIBIT0;
    __IO uint32_t SRAMH_EIBIT1;
    __I  uint32_t SRAMH_ECCERRADDR;
    __IO uint32_t SRAMB_EIEN;
    __IO uint32_t SRAMB_EIBIT0;
    __IO uint32_t SRAMB_EIBIT1;
    __I  uint32_t SRAMB_ECCERRADDR;
} CM_SRAMC_TypeDef;

/**
 * @brief SWDT
 */
typedef struct {
    __IO uint32_t CR;
    __IO uint32_t SR;
    __IO uint32_t RR;
} CM_SWDT_TypeDef;

/**
 * @brief TMR0
 */
typedef struct {
    __IO uint32_t CNTAR;
    __IO uint32_t CNTBR;
    __IO uint32_t CMPAR;
    __IO uint32_t CMPBR;
    __IO uint32_t BCONR;
    __IO uint32_t STFLR;
} CM_TMR0_TypeDef;

/**
 * @brief TMR4
 */
typedef struct {
    __IO uint16_t OCCRUH;
    uint8_t RESERVED0[2];
    __IO uint16_t OCCRUL;
    uint8_t RESERVED1[2];
    __IO uint16_t OCCRVH;
    uint8_t RESERVED2[2];
    __IO uint16_t OCCRVL;
    uint8_t RESERVED3[2];
    __IO uint16_t OCCRWH;
    uint8_t RESERVED4[2];
    __IO uint16_t OCCRWL;
    uint8_t RESERVED5[2];
    __IO uint16_t OCCRXH;
    uint8_t RESERVED6[2];
    __IO uint16_t OCCRXL;
    uint8_t RESERVED7[2];
    __IO uint16_t OCSRU;
    __IO uint16_t OCERU;
    __IO uint16_t OCSRV;
    __IO uint16_t OCERV;
    __IO uint16_t OCSRW;
    __IO uint16_t OCERW;
    __IO uint16_t OCSRX;
    __IO uint16_t OCERX;
    __IO uint16_t OCMRUH;
    uint8_t RESERVED8[2];
    __IO uint32_t OCMRUL;
    __IO uint16_t OCMRVH;
    uint8_t RESERVED9[2];
    __IO uint32_t OCMRVL;
    __IO uint16_t OCMRWH;
    uint8_t RESERVED10[2];
    __IO uint32_t OCMRWL;
    __IO uint16_t OCMRXH;
    uint8_t RESERVED11[2];
    __IO uint32_t OCMRXL;
    __IO uint16_t CPSR;
    uint8_t RESERVED12[2];
    __IO uint16_t CNTR;
    uint8_t RESERVED13[2];
    __IO uint16_t CCSR;
    __IO uint16_t CVPR;
    __IO uint32_t PSCR;
    uint8_t RESERVED14[34];
    __IO uint16_t PFSRU;
    __IO uint16_t PDARU;
    __IO uint16_t PDBRU;
    uint8_t RESERVED15[2];
    __IO uint16_t PFSRV;
    __IO uint16_t PDARV;
    __IO uint16_t PDBRV;
    uint8_t RESERVED16[2];
    __IO uint16_t PFSRW;
    __IO uint16_t PDARW;
    __IO uint16_t PDBRW;
    uint8_t RESERVED17[2];
    __IO uint16_t PFSRX;
    __IO uint16_t PDARX;
    __IO uint16_t PDBRX;
    __IO uint16_t POCRU;
    uint8_t RESERVED18[2];
    __IO uint16_t POCRV;
    uint8_t RESERVED19[2];
    __IO uint16_t POCRW;
    uint8_t RESERVED20[2];
    __IO uint16_t POCRX;
    uint8_t RESERVED21[2];
    __IO uint16_t SCCRUH;
    uint8_t RESERVED22[2];
    __IO uint16_t SCCRUL;
    uint8_t RESERVED23[2];
    __IO uint16_t SCCRVH;
    uint8_t RESERVED24[2];
    __IO uint16_t SCCRVL;
    uint8_t RESERVED25[2];
    __IO uint16_t SCCRWH;
    uint8_t RESERVED26[2];
    __IO uint16_t SCCRWL;
    uint8_t RESERVED27[2];
    __IO uint16_t SCCRXH;
    uint8_t RESERVED28[2];
    __IO uint16_t SCCRXL;
    uint8_t RESERVED29[2];
    __IO uint16_t SCSRUH;
    __IO uint16_t SCMRUH;
    __IO uint16_t SCSRUL;
    __IO uint16_t SCMRUL;
    __IO uint16_t SCSRVH;
    __IO uint16_t SCMRVH;
    __IO uint16_t SCSRVL;
    __IO uint16_t SCMRVL;
    __IO uint16_t SCSRWH;
    __IO uint16_t SCMRWH;
    __IO uint16_t SCSRWL;
    __IO uint16_t SCMRWL;
    __IO uint16_t SCSRXH;
    __IO uint16_t SCMRXH;
    __IO uint16_t SCSRXL;
    __IO uint16_t SCMRXL;
    __IO uint16_t SCER;
    uint8_t RESERVED30[2];
    __IO uint32_t RCSR;
    __IO uint16_t SCIR;
    uint8_t RESERVED31[2];
    __IO uint16_t SCFR;
} CM_TMR4_TypeDef;

/**
 * @brief TMR6
 */
typedef struct {
    __IO uint32_t CNTER;
    __IO uint32_t UPDAR;
    uint8_t RESERVED0[56];
    __IO uint32_t PERAR;
    __IO uint32_t PERBR;
    __IO uint32_t PERCR;
    uint8_t RESERVED1[52];
    __IO uint32_t GCMAR;
    __IO uint32_t GCMBR;
    __IO uint32_t GCMCR;
    __IO uint32_t GCMDR;
    __IO uint32_t GCMER;
    __IO uint32_t GCMFR;
    uint8_t RESERVED2[40];
    __IO uint32_t SCMAR;
    __IO uint32_t SCMBR;
    __IO uint32_t SCMCR;
    __IO uint32_t SCMDR;
    __IO uint32_t SCMER;
    __IO uint32_t SCMFR;
    uint8_t RESERVED3[40];
    __IO uint32_t DTUAR;
    __IO uint32_t DTDAR;
    __IO uint32_t DTUBR;
    __IO uint32_t DTDBR;
    uint8_t RESERVED4[48];
    __IO uint32_t GCONR;
    __IO uint32_t ICONR;
    __IO uint32_t BCONR;
    __IO uint32_t DCONR;
    uint8_t RESERVED5[4];
    __IO uint32_t PCNAR;
    __IO uint32_t PCNBR;
    __IO uint32_t FCNGR;
    __IO uint32_t VPERR;
    __IO uint32_t STFLR;
    uint8_t RESERVED6[24];
    __IO uint32_t HSTAR;
    __IO uint32_t HSTPR;
    __IO uint32_t HCLRR;
    __IO uint32_t HUPDR;
    __IO uint32_t HCPAR;
    __IO uint32_t HCPBR;
    __IO uint32_t HCUPR;
    __IO uint32_t HCDOR;
} CM_TMR6_TypeDef;

/**
 * @brief TMR6_COMMON
 */
typedef struct {
    uint8_t RESERVED0[236];
    __IO uint32_t FCNTR;
    __IO uint32_t SSTAR;
    __IO uint32_t SSTPR;
    __IO uint32_t SCLRR;
    __IO uint32_t SUPDR;
} CM_TMR6_COMMON_TypeDef;

/**
 * @brief TMRA
 */
typedef struct {
    __IO uint32_t CNTER;
    __IO uint32_t PERAR;
    uint8_t RESERVED0[56];
    __IO uint32_t CMPAR1;
    __IO uint32_t CMPAR2;
    __IO uint32_t CMPAR3;
    __IO uint32_t CMPAR4;
    uint8_t RESERVED1[48];
    __IO uint8_t  BCSTRL;
    __IO uint8_t  BCSTRH;
    uint8_t RESERVED2[2];
    __IO uint16_t HCONR;
    uint8_t RESERVED3[2];
    __IO uint16_t HCUPR;
    uint8_t RESERVED4[2];
    __IO uint16_t HCDOR;
    uint8_t RESERVED5[2];
    __IO uint16_t ICONR;
    uint8_t RESERVED6[2];
    __IO uint16_t ECONR;
    uint8_t RESERVED7[2];
    __IO uint16_t FCONR;
    uint8_t RESERVED8[2];
    __IO uint16_t STFLR;
    uint8_t RESERVED9[34];
    __IO uint16_t BCONR1;
    uint8_t RESERVED10[6];
    __IO uint16_t BCONR2;
    uint8_t RESERVED11[54];
    __IO uint16_t CCONR1;
    uint8_t RESERVED12[2];
    __IO uint16_t CCONR2;
    uint8_t RESERVED13[2];
    __IO uint16_t CCONR3;
    uint8_t RESERVED14[2];
    __IO uint16_t CCONR4;
    uint8_t RESERVED15[50];
    __IO uint16_t PCONR1;
    uint8_t RESERVED16[2];
    __IO uint16_t PCONR2;
    uint8_t RESERVED17[2];
    __IO uint16_t PCONR3;
    uint8_t RESERVED18[2];
    __IO uint16_t PCONR4;
} CM_TMRA_TypeDef;

/**
 * @brief USART
 */
typedef struct {
    __I  uint32_t SR;
    __IO uint16_t TDR;
    __IO uint16_t RDR;
    __IO uint32_t BRR;
    __IO uint32_t CR1;
    __IO uint32_t CR2;
    __IO uint32_t CR3;
    __IO uint32_t PR;
    __I  uint32_t LBMC;
} CM_USART_TypeDef;

/**
 * @brief WDT
 */
typedef struct {
    __IO uint32_t CR;
    __IO uint32_t SR;
    __IO uint32_t RR;
} CM_WDT_TypeDef;

/******************************************************************************/
/*                     Memory Base Address                                    */
/******************************************************************************/
#define EFM_BASE                             (0x00000000UL)   /*!< EFM base address in the alias region */
#define SRAM_BASE                            (0x1FFFC000UL)   /*!< SRAM base address in the alias region */

/******************************************************************************/
/*           Device Specific Peripheral Base Address                          */
/******************************************************************************/
#define CM_ADC1_BASE                         (0x40040000UL)
#define CM_ADC2_BASE                         (0x40040400UL)
#define CM_ADC3_BASE                         (0x40040800UL)
#define CM_AOS_BASE                          (0x40010800UL)
#define CM_CMP1_BASE                         (0x40038400UL)
#define CM_CMP2_BASE                         (0x40038500UL)
#define CM_CMP3_BASE                         (0x4003B000UL)
#define CM_CMU_BASE                          (0x40048000UL)
#define CM_CRC_BASE                          (0x40008C00UL)
#define CM_CTC_BASE                          (0x40049C00UL)
#define CM_DAC1_BASE                         (0x40041000UL)
#define CM_DAC2_BASE                         (0x40041400UL)
#define CM_DBGC_BASE                         (0xE0042000UL)
#define CM_DMA_BASE                          (0x40053000UL)
#define CM_EFM_BASE                          (0x40010400UL)
#define CM_EMB0_BASE                         (0x40038600UL)
#define CM_EMB1_BASE                         (0x40038620UL)
#define CM_EMB2_BASE                         (0x40038640UL)
#define CM_EMB3_BASE                         (0x40038660UL)
#define CM_EMB4_BASE                         (0x40038680UL)
#define CM_EMB5_BASE                         (0x400386A0UL)
#define CM_EMB6_BASE                         (0x400386C0UL)
#define CM_EMB7_BASE                         (0x400386E0UL)
#define CM_EMB8_BASE                         (0x40038700UL)
#define CM_FCM_BASE                          (0x40048400UL)
#define CM_GPIO_BASE                         (0x40053800UL)
#define CM_HRPWM1_BASE                       (0x4003C000UL)
#define CM_HRPWM2_BASE                       (0x4003C400UL)
#define CM_HRPWM3_BASE                       (0x4003C800UL)
#define CM_HRPWM4_BASE                       (0x4003CC00UL)
#define CM_HRPWM5_BASE                       (0x4003D000UL)
#define CM_HRPWM6_BASE                       (0x4003D400UL)
#define CM_HRPWM_COMMON_BASE                 (0x4003C2F0UL)
#define CM_I2C_BASE                          (0x4003B400UL)
#define CM_ICG_BASE                          (0x00000400UL)
#define CM_INTC_BASE                         (0x40051000UL)
#define CM_MCAN1_BASE                        (0x40071000UL)
#define CM_MCAN2_BASE                        (0x40071400UL)
#define CM_MCANRAM_BASE                      (0x40073800UL)
#define CM_MPU_BASE                          (0x40050000UL)
#define CM_PERIC_BASE                        (0x40055400UL)
#define CM_PLA_BASE                          (0x4004FC00UL)
#define CM_PWC_BASE                          (0x40048000UL)
#define CM_RMU_BASE                          (0x4004CCE0UL)
#define CM_RTC_BASE                          (0x4004C000UL)
#define CM_SPI_BASE                          (0x4001C000UL)
#define CM_SRAMC_BASE                        (0x40050800UL)
#define CM_SWDT_BASE                         (0x40049400UL)
#define CM_TMR0_1_BASE                       (0x40024000UL)
#define CM_TMR0_2_BASE                       (0x40024400UL)
#define CM_TMR4_BASE                         (0x40038000UL)
#define CM_TMR6_1_BASE                       (0x40039000UL)
#define CM_TMR6_2_BASE                       (0x40039400UL)
#define CM_TMR6_3_BASE                       (0x40039800UL)
#define CM_TMR6_4_BASE                       (0x40039C00UL)
#define CM_TMR6_COMMON_BASE                  (0x40039300UL)
#define CM_TMRA_1_BASE                       (0x4003A000UL)
#define CM_TMRA_2_BASE                       (0x4003A400UL)
#define CM_TMRA_3_BASE                       (0x4003A800UL)
#define CM_TMRA_4_BASE                       (0x4003AC00UL)
#define CM_TMRA_5_BASE                       (0x40026000UL)
#define CM_USART1_BASE                       (0x4001CC00UL)
#define CM_USART2_BASE                       (0x4001D000UL)
#define CM_USART3_BASE                       (0x4001D400UL)
#define CM_USART4_BASE                       (0x4001D800UL)
#define CM_WDT_BASE                          (0x40049000UL)

/******************************************************************************/
/*           Device Specific Peripheral declaration & memory map              */
/******************************************************************************/
#define CM_ADC1                              ((CM_ADC_TypeDef *)CM_ADC1_BASE)
#define CM_ADC2                              ((CM_ADC_TypeDef *)CM_ADC2_BASE)
#define CM_ADC3                              ((CM_ADC_TypeDef *)CM_ADC3_BASE)
#define CM_AOS                               ((CM_AOS_TypeDef *)CM_AOS_BASE)
#define CM_CMP1                              ((CM_CMP_TypeDef *)CM_CMP1_BASE)
#define CM_CMP2                              ((CM_CMP_TypeDef *)CM_CMP2_BASE)
#define CM_CMP3                              ((CM_CMP_TypeDef *)CM_CMP3_BASE)
#define CM_CMU                               ((CM_CMU_TypeDef *)CM_CMU_BASE)
#define CM_CRC                               ((CM_CRC_TypeDef *)CM_CRC_BASE)
#define CM_CTC                               ((CM_CTC_TypeDef *)CM_CTC_BASE)
#define CM_DAC1                              ((CM_DAC_TypeDef *)CM_DAC1_BASE)
#define CM_DAC2                              ((CM_DAC_TypeDef *)CM_DAC2_BASE)
#define CM_DBGC                              ((CM_DBGC_TypeDef *)CM_DBGC_BASE)
#define CM_DMA                               ((CM_DMA_TypeDef *)CM_DMA_BASE)
#define CM_EFM                               ((CM_EFM_TypeDef *)CM_EFM_BASE)
#define CM_EMB0                              ((CM_EMB_TypeDef *)CM_EMB0_BASE)
#define CM_EMB1                              ((CM_EMB_TypeDef *)CM_EMB1_BASE)
#define CM_EMB2                              ((CM_EMB_TypeDef *)CM_EMB2_BASE)
#define CM_EMB3                              ((CM_EMB_TypeDef *)CM_EMB3_BASE)
#define CM_EMB4                              ((CM_EMB_TypeDef *)CM_EMB4_BASE)
#define CM_EMB5                              ((CM_EMB_TypeDef *)CM_EMB5_BASE)
#define CM_EMB6                              ((CM_EMB_TypeDef *)CM_EMB6_BASE)
#define CM_EMB7                              ((CM_EMB_TypeDef *)CM_EMB7_BASE)
#define CM_EMB8                              ((CM_EMB_TypeDef *)CM_EMB8_BASE)
#define CM_FCM                               ((CM_FCM_TypeDef *)CM_FCM_BASE)
#define CM_GPIO                              ((CM_GPIO_TypeDef *)CM_GPIO_BASE)
#define CM_HRPWM1                            ((CM_HRPWM_TypeDef *)CM_HRPWM1_BASE)
#define CM_HRPWM2                            ((CM_HRPWM_TypeDef *)CM_HRPWM2_BASE)
#define CM_HRPWM3                            ((CM_HRPWM_TypeDef *)CM_HRPWM3_BASE)
#define CM_HRPWM4                            ((CM_HRPWM_TypeDef *)CM_HRPWM4_BASE)
#define CM_HRPWM5                            ((CM_HRPWM_TypeDef *)CM_HRPWM5_BASE)
#define CM_HRPWM6                            ((CM_HRPWM_TypeDef *)CM_HRPWM6_BASE)
#define CM_HRPWM_COMMON                      ((CM_HRPWM_COMMON_TypeDef *)CM_HRPWM_COMMON_BASE)
#define CM_I2C                               ((CM_I2C_TypeDef *)CM_I2C_BASE)
#define CM_ICG                               ((CM_ICG_TypeDef *)CM_ICG_BASE)
#define CM_INTC                              ((CM_INTC_TypeDef *)CM_INTC_BASE)
#define CM_MCAN1                             ((CM_MCAN_TypeDef *)CM_MCAN1_BASE)
#define CM_MCAN2                             ((CM_MCAN_TypeDef *)CM_MCAN2_BASE)
#define CM_MCANRAM                           ((CM_MCANRAM_TypeDef *)CM_MCANRAM_BASE)
#define CM_MPU                               ((CM_MPU_TypeDef *)CM_MPU_BASE)
#define CM_PERIC                             ((CM_PERIC_TypeDef *)CM_PERIC_BASE)
#define CM_PLA                               ((CM_PLA_TypeDef *)CM_PLA_BASE)
#define CM_PWC                               ((CM_PWC_TypeDef *)CM_PWC_BASE)
#define CM_RMU                               ((CM_RMU_TypeDef *)CM_RMU_BASE)
#define CM_RTC                               ((CM_RTC_TypeDef *)CM_RTC_BASE)
#define CM_SPI                               ((CM_SPI_TypeDef *)CM_SPI_BASE)
#define CM_SRAMC                             ((CM_SRAMC_TypeDef *)CM_SRAMC_BASE)
#define CM_SWDT                              ((CM_SWDT_TypeDef *)CM_SWDT_BASE)
#define CM_TMR0_1                            ((CM_TMR0_TypeDef *)CM_TMR0_1_BASE)
#define CM_TMR0_2                            ((CM_TMR0_TypeDef *)CM_TMR0_2_BASE)
#define CM_TMR4                              ((CM_TMR4_TypeDef *)CM_TMR4_BASE)
#define CM_TMR6_1                            ((CM_TMR6_TypeDef *)CM_TMR6_1_BASE)
#define CM_TMR6_2                            ((CM_TMR6_TypeDef *)CM_TMR6_2_BASE)
#define CM_TMR6_3                            ((CM_TMR6_TypeDef *)CM_TMR6_3_BASE)
#define CM_TMR6_4                            ((CM_TMR6_TypeDef *)CM_TMR6_4_BASE)
#define CM_TMR6_COMMON                       ((CM_TMR6_COMMON_TypeDef *)CM_TMR6_COMMON_BASE)
#define CM_TMRA_1                            ((CM_TMRA_TypeDef *)CM_TMRA_1_BASE)
#define CM_TMRA_2                            ((CM_TMRA_TypeDef *)CM_TMRA_2_BASE)
#define CM_TMRA_3                            ((CM_TMRA_TypeDef *)CM_TMRA_3_BASE)
#define CM_TMRA_4                            ((CM_TMRA_TypeDef *)CM_TMRA_4_BASE)
#define CM_TMRA_5                            ((CM_TMRA_TypeDef *)CM_TMRA_5_BASE)
#define CM_USART1                            ((CM_USART_TypeDef *)CM_USART1_BASE)
#define CM_USART2                            ((CM_USART_TypeDef *)CM_USART2_BASE)
#define CM_USART3                            ((CM_USART_TypeDef *)CM_USART3_BASE)
#define CM_USART4                            ((CM_USART_TypeDef *)CM_USART4_BASE)
#define CM_WDT                               ((CM_WDT_TypeDef *)CM_WDT_BASE)

/******************************************************************************/
/*                   Peripheral Registers Bits Definition                     */
/******************************************************************************/

/*******************************************************************************
                Bit definition for Peripheral ADC
*******************************************************************************/
/*  Bit definition for ADC_STR register  */
#define ADC_STR_STRT                                   (0x01U)

/*  Bit definition for ADC_CR0 register  */
#define ADC_CR0_MS_POS                                 (0U)
#define ADC_CR0_MS                                     (0x0007U)
#define ADC_CR0_ACCSEL_POS                             (4U)
#define ADC_CR0_ACCSEL                                 (0x0030U)
#define ADC_CR0_ACCSEL_0                               (0x0010U)
#define ADC_CR0_ACCSEL_1                               (0x0020U)
#define ADC_CR0_CLREN_POS                              (6U)
#define ADC_CR0_CLREN                                  (0x0040U)
#define ADC_CR0_DFMT_POS                               (7U)
#define ADC_CR0_DFMT                                   (0x0080U)
#define ADC_CR0_AVCNT_POS                              (8U)
#define ADC_CR0_AVCNT                                  (0x0700U)

/*  Bit definition for ADC_CR1 register  */
#define ADC_CR1_RSCHSEL_POS                            (2U)
#define ADC_CR1_RSCHSEL                                (0x0004U)

/*  Bit definition for ADC_CR2 register  */
#define ADC_CR2_OVSS_POS                               (8U)
#define ADC_CR2_OVSS                                   (0x0F00U)
#define ADC_CR2_OVSMOD_POS                             (12U)
#define ADC_CR2_OVSMOD                                 (0x1000U)

/*  Bit definition for ADC_TRGSR register  */
#define ADC_TRGSR_TRGSELA_POS                          (0U)
#define ADC_TRGSR_TRGSELA                              (0x0003U)
#define ADC_TRGSR_TRGSELA_0                            (0x0001U)
#define ADC_TRGSR_TRGSELA_1                            (0x0002U)
#define ADC_TRGSR_TRGENA_POS                           (7U)
#define ADC_TRGSR_TRGENA                               (0x0080U)
#define ADC_TRGSR_TRGSELB_POS                          (8U)
#define ADC_TRGSR_TRGSELB                              (0x0300U)
#define ADC_TRGSR_TRGSELB_0                            (0x0100U)
#define ADC_TRGSR_TRGSELB_1                            (0x0200U)
#define ADC_TRGSR_TRGENB_POS                           (15U)
#define ADC_TRGSR_TRGENB                               (0x8000U)

/*  Bit definition for ADC_CHSELRA register  */
#define ADC_CHSELRA_CHSELA                             (0x0000FFFFUL)

/*  Bit definition for ADC_CHSELRB register  */
#define ADC_CHSELRB_CHSELB                             (0x0000FFFFUL)

/*  Bit definition for ADC_AVCHSELR register  */
#define ADC_AVCHSELR_AVCHSEL                           (0x0000FFFFUL)

/*  Bit definition for ADC_EXCHSELR register  */
#define ADC_EXCHSELR_EXCHSEL                           (0x01U)

/*  Bit definition for ADC_SSTR register  */
#define ADC_SSTR                                       (0xFFU)

/*  Bit definition for ADC_CHMUXR0 register  */
#define ADC_CHMUXR0_CH00MUX_POS                        (0U)
#define ADC_CHMUXR0_CH00MUX                            (0x000FU)
#define ADC_CHMUXR0_CH01MUX_POS                        (4U)
#define ADC_CHMUXR0_CH01MUX                            (0x00F0U)
#define ADC_CHMUXR0_CH02MUX_POS                        (8U)
#define ADC_CHMUXR0_CH02MUX                            (0x0F00U)
#define ADC_CHMUXR0_CH03MUX_POS                        (12U)
#define ADC_CHMUXR0_CH03MUX                            (0xF000U)

/*  Bit definition for ADC_CHMUXR1 register  */
#define ADC_CHMUXR1_CH04MUX_POS                        (0U)
#define ADC_CHMUXR1_CH04MUX                            (0x000FU)
#define ADC_CHMUXR1_CH05MUX_POS                        (4U)
#define ADC_CHMUXR1_CH05MUX                            (0x00F0U)
#define ADC_CHMUXR1_CH06MUX_POS                        (8U)
#define ADC_CHMUXR1_CH06MUX                            (0x0F00U)
#define ADC_CHMUXR1_CH07MUX_POS                        (12U)
#define ADC_CHMUXR1_CH07MUX                            (0xF000U)

/*  Bit definition for ADC_CHMUXR2 register  */
#define ADC_CHMUXR2_CH08MUX_POS                        (0U)
#define ADC_CHMUXR2_CH08MUX                            (0x000FU)
#define ADC_CHMUXR2_CH09MUX_POS                        (4U)
#define ADC_CHMUXR2_CH09MUX                            (0x00F0U)
#define ADC_CHMUXR2_CH10MUX_POS                        (8U)
#define ADC_CHMUXR2_CH10MUX                            (0x0F00U)
#define ADC_CHMUXR2_CH11MUX_POS                        (12U)
#define ADC_CHMUXR2_CH11MUX                            (0xF000U)

/*  Bit definition for ADC_CHMUXR3 register  */
#define ADC_CHMUXR3_CH12MUX_POS                        (0U)
#define ADC_CHMUXR3_CH12MUX                            (0x000FU)
#define ADC_CHMUXR3_CH13MUX_POS                        (4U)
#define ADC_CHMUXR3_CH13MUX                            (0x00F0U)
#define ADC_CHMUXR3_CH14MUX_POS                        (8U)
#define ADC_CHMUXR3_CH14MUX                            (0x0F00U)
#define ADC_CHMUXR3_CH15MUX_POS                        (12U)
#define ADC_CHMUXR3_CH15MUX                            (0xF000U)

/*  Bit definition for ADC_ISR register  */
#define ADC_ISR_EOCAF_POS                              (0U)
#define ADC_ISR_EOCAF                                  (0x01U)
#define ADC_ISR_EOCBF_POS                              (1U)
#define ADC_ISR_EOCBF                                  (0x02U)
#define ADC_ISR_SASTPDF_POS                            (4U)
#define ADC_ISR_SASTPDF                                (0x10U)

/*  Bit definition for ADC_ICR register  */
#define ADC_ICR_EOCAIEN_POS                            (0U)
#define ADC_ICR_EOCAIEN                                (0x01U)
#define ADC_ICR_EOCBIEN_POS                            (1U)
#define ADC_ICR_EOCBIEN                                (0x02U)

/*  Bit definition for ADC_ISCLRR register  */
#define ADC_ISCLRR_CLREOCAF_POS                        (0U)
#define ADC_ISCLRR_CLREOCAF                            (0x01U)
#define ADC_ISCLRR_CLREOCBF_POS                        (1U)
#define ADC_ISCLRR_CLREOCBF                            (0x02U)
#define ADC_ISCLRR_CLRSASTPDF_POS                      (4U)
#define ADC_ISCLRR_CLRSASTPDF                          (0x10U)

/*  Bit definition for ADC_SYNCCR register  */
#define ADC_SYNCCR_SYNCEN_POS                          (0U)
#define ADC_SYNCCR_SYNCEN                              (0x0001U)
#define ADC_SYNCCR_SYNCMD_POS                          (4U)
#define ADC_SYNCCR_SYNCMD                              (0x0070U)
#define ADC_SYNCCR_SYNCDLY_POS                         (8U)
#define ADC_SYNCCR_SYNCDLY                             (0xFF00U)

/*  Bit definition for ADC_DR register  */
#define ADC_DR                                         (0xFFFFU)

/*  Bit definition for ADC_AWDCR register  */
#define ADC_AWDCR_AWD0EN_POS                           (0U)
#define ADC_AWDCR_AWD0EN                               (0x0001U)
#define ADC_AWDCR_AWD0IEN_POS                          (1U)
#define ADC_AWDCR_AWD0IEN                              (0x0002U)
#define ADC_AWDCR_AWD0MD_POS                           (2U)
#define ADC_AWDCR_AWD0MD                               (0x0004U)
#define ADC_AWDCR_AWD1EN_POS                           (4U)
#define ADC_AWDCR_AWD1EN                               (0x0010U)
#define ADC_AWDCR_AWD1IEN_POS                          (5U)
#define ADC_AWDCR_AWD1IEN                              (0x0020U)
#define ADC_AWDCR_AWD1MD_POS                           (6U)
#define ADC_AWDCR_AWD1MD                               (0x0040U)
#define ADC_AWDCR_AWDCM_POS                            (8U)
#define ADC_AWDCR_AWDCM                                (0x0300U)
#define ADC_AWDCR_AWDCM_0                              (0x0100U)
#define ADC_AWDCR_AWDCM_1                              (0x0200U)

/*  Bit definition for ADC_AWDSR register  */
#define ADC_AWDSR_AWD0F_POS                            (0U)
#define ADC_AWDSR_AWD0F                                (0x01U)
#define ADC_AWDSR_AWD1F_POS                            (1U)
#define ADC_AWDSR_AWD1F                                (0x02U)
#define ADC_AWDSR_AWDCMF_POS                           (4U)
#define ADC_AWDSR_AWDCMF                               (0x10U)

/*  Bit definition for ADC_AWDSCLRR register  */
#define ADC_AWDSCLRR_CLRAWD0F_POS                      (0U)
#define ADC_AWDSCLRR_CLRAWD0F                          (0x01U)
#define ADC_AWDSCLRR_CLRAWD1F_POS                      (1U)
#define ADC_AWDSCLRR_CLRAWD1F                          (0x02U)
#define ADC_AWDSCLRR_CLRAWDCMF_POS                     (4U)
#define ADC_AWDSCLRR_CLRAWDCMF                         (0x10U)

/*  Bit definition for ADC_AWD0DR0 register  */
#define ADC_AWD0DR0                                    (0xFFFFU)

/*  Bit definition for ADC_AWD0DR1 register  */
#define ADC_AWD0DR1                                    (0xFFFFU)

/*  Bit definition for ADC_AWD0CHSR register  */
#define ADC_AWD0CHSR_AWDCH                             (0x1FU)

/*  Bit definition for ADC_AWD1DR0 register  */
#define ADC_AWD1DR0                                    (0xFFFFU)

/*  Bit definition for ADC_AWD1DR1 register  */
#define ADC_AWD1DR1                                    (0xFFFFU)

/*  Bit definition for ADC_AWD1CHSR register  */
#define ADC_AWD1CHSR_AWDCH                             (0x1FU)

/*******************************************************************************
                Bit definition for Peripheral AOS
*******************************************************************************/
/*  Bit definition for AOS_INTSFTTRG register  */
#define AOS_INTSFTTRG_STRG                             (0x00000001UL)

/*  Bit definition for AOS_DMA_TRGSEL register  */
#define AOS_DMA_TRGSEL_TRGSEL_POS                      (0U)
#define AOS_DMA_TRGSEL_TRGSEL                          (0x000001FFUL)
#define AOS_DMA_TRGSEL_COMEN_POS                       (30U)
#define AOS_DMA_TRGSEL_COMEN                           (0xC0000000UL)
#define AOS_DMA_TRGSEL_COMEN_0                         (0x40000000UL)
#define AOS_DMA_TRGSEL_COMEN_1                         (0x80000000UL)

/*  Bit definition for AOS_DMA_RC_TRGSEL register  */
#define AOS_DMA_RC_TRGSEL_TRGSEL_POS                   (0U)
#define AOS_DMA_RC_TRGSEL_TRGSEL                       (0x000001FFUL)
#define AOS_DMA_RC_TRGSEL_COMEN_POS                    (30U)
#define AOS_DMA_RC_TRGSEL_COMEN                        (0xC0000000UL)
#define AOS_DMA_RC_TRGSEL_COMEN_0                      (0x40000000UL)
#define AOS_DMA_RC_TRGSEL_COMEN_1                      (0x80000000UL)

/*  Bit definition for AOS_TMR6_TRGSEL register  */
#define AOS_TMR6_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_TMR6_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_TMR6_TRGSEL_COMEN_POS                      (30U)
#define AOS_TMR6_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_TMR6_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_TMR6_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_HRPWM_TRGSEL register  */
#define AOS_HRPWM_TRGSEL_TRGSEL_POS                    (0U)
#define AOS_HRPWM_TRGSEL_TRGSEL                        (0x000001FFUL)
#define AOS_HRPWM_TRGSEL_COMEN_POS                     (30U)
#define AOS_HRPWM_TRGSEL_COMEN                         (0xC0000000UL)
#define AOS_HRPWM_TRGSEL_COMEN_0                       (0x40000000UL)
#define AOS_HRPWM_TRGSEL_COMEN_1                       (0x80000000UL)

/*  Bit definition for AOS_TMR4_TRGSEL register  */
#define AOS_TMR4_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_TMR4_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_TMR4_TRGSEL_COMEN_POS                      (30U)
#define AOS_TMR4_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_TMR4_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_TMR4_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_PEVNT_TRGSEL register  */
#define AOS_PEVNT_TRGSEL_TRGSEL_POS                    (0U)
#define AOS_PEVNT_TRGSEL_TRGSEL                        (0x000001FFUL)
#define AOS_PEVNT_TRGSEL_COMEN_POS                     (30U)
#define AOS_PEVNT_TRGSEL_COMEN                         (0xC0000000UL)
#define AOS_PEVNT_TRGSEL_COMEN_0                       (0x40000000UL)
#define AOS_PEVNT_TRGSEL_COMEN_1                       (0x80000000UL)

/*  Bit definition for AOS_TMR0_TRGSEL register  */
#define AOS_TMR0_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_TMR0_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_TMR0_TRGSEL_COMEN_POS                      (30U)
#define AOS_TMR0_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_TMR0_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_TMR0_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_TMRA_TRGSEL register  */
#define AOS_TMRA_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_TMRA_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_TMRA_TRGSEL_COMEN_POS                      (30U)
#define AOS_TMRA_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_TMRA_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_TMRA_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_ADC1_TRGSEL register  */
#define AOS_ADC1_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_ADC1_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_ADC1_TRGSEL_COMEN_POS                      (30U)
#define AOS_ADC1_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_ADC1_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_ADC1_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_ADC2_TRGSEL register  */
#define AOS_ADC2_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_ADC2_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_ADC2_TRGSEL_COMEN_POS                      (30U)
#define AOS_ADC2_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_ADC2_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_ADC2_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_ADC3_TRGSEL register  */
#define AOS_ADC3_TRGSEL_TRGSEL_POS                     (0U)
#define AOS_ADC3_TRGSEL_TRGSEL                         (0x000001FFUL)
#define AOS_ADC3_TRGSEL_COMEN_POS                      (30U)
#define AOS_ADC3_TRGSEL_COMEN                          (0xC0000000UL)
#define AOS_ADC3_TRGSEL_COMEN_0                        (0x40000000UL)
#define AOS_ADC3_TRGSEL_COMEN_1                        (0x80000000UL)

/*  Bit definition for AOS_COMTRGSEL register  */
#define AOS_COMTRGSEL_TRGSEL                           (0x000001FFUL)

/*  Bit definition for AOS_PEVNTDIRR register  */
#define AOS_PEVNTDIRR_PDIR                             (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTIDR register  */
#define AOS_PEVNTIDR_PIN                               (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTODR register  */
#define AOS_PEVNTODR_POUT                              (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTORR register  */
#define AOS_PEVNTORR_POR                               (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTOSR register  */
#define AOS_PEVNTOSR_POS                               (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTRISR register  */
#define AOS_PEVNTRISR_RIS                              (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTFALR register  */
#define AOS_PEVNTFALR_FAL                              (0x0000FFFFUL)

/*  Bit definition for AOS_PEVNTNFCR register  */
#define AOS_PEVNTNFCR_NFEN1_POS                        (0U)
#define AOS_PEVNTNFCR_NFEN1                            (0x00000001UL)
#define AOS_PEVNTNFCR_DIVS1_POS                        (1U)
#define AOS_PEVNTNFCR_DIVS1                            (0x00000006UL)
#define AOS_PEVNTNFCR_NFEN2_POS                        (8U)
#define AOS_PEVNTNFCR_NFEN2                            (0x00000100UL)
#define AOS_PEVNTNFCR_DIVS2_POS                        (9U)
#define AOS_PEVNTNFCR_DIVS2                            (0x00000600UL)
#define AOS_PEVNTNFCR_NFEN3_POS                        (16U)
#define AOS_PEVNTNFCR_NFEN3                            (0x00010000UL)
#define AOS_PEVNTNFCR_DIVS3_POS                        (17U)
#define AOS_PEVNTNFCR_DIVS3                            (0x00060000UL)
#define AOS_PEVNTNFCR_NFEN4_POS                        (24U)
#define AOS_PEVNTNFCR_NFEN4                            (0x01000000UL)
#define AOS_PEVNTNFCR_DIVS4_POS                        (25U)
#define AOS_PEVNTNFCR_DIVS4                            (0x06000000UL)

/*******************************************************************************
                Bit definition for Peripheral CMP
*******************************************************************************/
/*  Bit definition for CMP_MDR register  */
#define CMP_MDR_CENA_POS                               (0U)
#define CMP_MDR_CENA                                   (0x01U)
#define CMP_MDR_HYST_POS                               (1U)
#define CMP_MDR_HYST                                   (0x0EU)
#define CMP_MDR_WDEN_POS                               (4U)
#define CMP_MDR_WDEN                                   (0x10U)
#define CMP_MDR_CSMD_POS                               (5U)
#define CMP_MDR_CSMD                                   (0x60U)
#define CMP_MDR_CSMD_0                                 (0x20U)
#define CMP_MDR_CSMD_1                                 (0x40U)
#define CMP_MDR_CSST_POS                               (7U)
#define CMP_MDR_CSST                                   (0x80U)

/*  Bit definition for CMP_FIR register  */
#define CMP_FIR_FCKS_POS                               (0U)
#define CMP_FIR_FCKS                                   (0x07U)
#define CMP_FIR_CIEN_POS                               (3U)
#define CMP_FIR_CIEN                                   (0x08U)
#define CMP_FIR_EDGS_POS                               (4U)
#define CMP_FIR_EDGS                                   (0x30U)
#define CMP_FIR_EDGS_0                                 (0x10U)
#define CMP_FIR_EDGS_1                                 (0x20U)
#define CMP_FIR_CFF_POS                                (6U)
#define CMP_FIR_CFF                                    (0x40U)
#define CMP_FIR_CRF_POS                                (7U)
#define CMP_FIR_CRF                                    (0x80U)

/*  Bit definition for CMP_OCR register  */
#define CMP_OCR_COEN_POS                               (0U)
#define CMP_OCR_COEN                                   (0x01U)
#define CMP_OCR_COPS_POS                               (1U)
#define CMP_OCR_COPS                                   (0x02U)
#define CMP_OCR_CPOE_POS                               (2U)
#define CMP_OCR_CPOE                                   (0x04U)
#define CMP_OCR_BWEN_POS                               (4U)
#define CMP_OCR_BWEN                                   (0x10U)
#define CMP_OCR_BWMD_POS                               (5U)
#define CMP_OCR_BWMD                                   (0x20U)
#define CMP_OCR_BWOL_POS                               (6U)
#define CMP_OCR_BWOL                                   (0xC0U)
#define CMP_OCR_BWOL_0                                 (0x40U)
#define CMP_OCR_BWOL_1                                 (0x80U)

/*  Bit definition for CMP_OMR register  */
#define CMP_OMR_CMON                                   (0x01U)

/*  Bit definition for CMP_PMSR register  */
#define CMP_PMSR_RVSL_POS                              (0U)
#define CMP_PMSR_RVSL                                  (0x0000001FUL)
#define CMP_PMSR_RVSL_0                                (0x00000001UL)
#define CMP_PMSR_RVSL_1                                (0x00000002UL)
#define CMP_PMSR_RVSL_2                                (0x00000004UL)
#define CMP_PMSR_RVSL_3                                (0x00000008UL)
#define CMP_PMSR_RVSL_4                                (0x00000010UL)
#define CMP_PMSR_CVSL_POS                              (16U)
#define CMP_PMSR_CVSL                                  (0x00030000UL)
#define CMP_PMSR_CVSL_0                                (0x00010000UL)
#define CMP_PMSR_CVSL_1                                (0x00020000UL)

/*  Bit definition for CMP_BWSR1 register  */
#define CMP_BWSR1_CTWS0_POS                            (0U)
#define CMP_BWSR1_CTWS0                                (0x00000001UL)
#define CMP_BWSR1_CTWS1_POS                            (1U)
#define CMP_BWSR1_CTWS1                                (0x00000002UL)
#define CMP_BWSR1_CTWS2_POS                            (2U)
#define CMP_BWSR1_CTWS2                                (0x00000004UL)
#define CMP_BWSR1_CTWS3_POS                            (3U)
#define CMP_BWSR1_CTWS3                                (0x00000008UL)
#define CMP_BWSR1_CTWS4_POS                            (4U)
#define CMP_BWSR1_CTWS4                                (0x00000010UL)
#define CMP_BWSR1_CTWS5_POS                            (5U)
#define CMP_BWSR1_CTWS5                                (0x00000020UL)
#define CMP_BWSR1_CTWS6_POS                            (6U)
#define CMP_BWSR1_CTWS6                                (0x00000040UL)
#define CMP_BWSR1_CTWS7_POS                            (7U)
#define CMP_BWSR1_CTWS7                                (0x00000080UL)
#define CMP_BWSR1_CTWS8_POS                            (8U)
#define CMP_BWSR1_CTWS8                                (0x00000100UL)
#define CMP_BWSR1_CTWS9_POS                            (9U)
#define CMP_BWSR1_CTWS9                                (0x00000200UL)
#define CMP_BWSR1_CTWS10_POS                           (10U)
#define CMP_BWSR1_CTWS10                               (0x00000400UL)
#define CMP_BWSR1_CTWS11_POS                           (11U)
#define CMP_BWSR1_CTWS11                               (0x00000800UL)
#define CMP_BWSR1_CTWS12_POS                           (12U)
#define CMP_BWSR1_CTWS12                               (0x00001000UL)
#define CMP_BWSR1_CTWS13_POS                           (13U)
#define CMP_BWSR1_CTWS13                               (0x00002000UL)
#define CMP_BWSR1_CTWS14_POS                           (14U)
#define CMP_BWSR1_CTWS14                               (0x00004000UL)
#define CMP_BWSR1_CTWS15_POS                           (15U)
#define CMP_BWSR1_CTWS15                               (0x00008000UL)
#define CMP_BWSR1_CTWP0_POS                            (16U)
#define CMP_BWSR1_CTWP0                                (0x00010000UL)
#define CMP_BWSR1_CTWP1_POS                            (17U)
#define CMP_BWSR1_CTWP1                                (0x00020000UL)
#define CMP_BWSR1_CTWP2_POS                            (18U)
#define CMP_BWSR1_CTWP2                                (0x00040000UL)
#define CMP_BWSR1_CTWP3_POS                            (19U)
#define CMP_BWSR1_CTWP3                                (0x00080000UL)
#define CMP_BWSR1_CTWP4_POS                            (20U)
#define CMP_BWSR1_CTWP4                                (0x00100000UL)
#define CMP_BWSR1_CTWP5_POS                            (21U)
#define CMP_BWSR1_CTWP5                                (0x00200000UL)
#define CMP_BWSR1_CTWP6_POS                            (22U)
#define CMP_BWSR1_CTWP6                                (0x00400000UL)
#define CMP_BWSR1_CTWP7_POS                            (23U)
#define CMP_BWSR1_CTWP7                                (0x00800000UL)
#define CMP_BWSR1_CTWP8_POS                            (24U)
#define CMP_BWSR1_CTWP8                                (0x01000000UL)
#define CMP_BWSR1_CTWP9_POS                            (25U)
#define CMP_BWSR1_CTWP9                                (0x02000000UL)
#define CMP_BWSR1_CTWP10_POS                           (26U)
#define CMP_BWSR1_CTWP10                               (0x04000000UL)
#define CMP_BWSR1_CTWP11_POS                           (27U)
#define CMP_BWSR1_CTWP11                               (0x08000000UL)
#define CMP_BWSR1_CTWP12_POS                           (28U)
#define CMP_BWSR1_CTWP12                               (0x10000000UL)
#define CMP_BWSR1_CTWP13_POS                           (29U)
#define CMP_BWSR1_CTWP13                               (0x20000000UL)
#define CMP_BWSR1_CTWP14_POS                           (30U)
#define CMP_BWSR1_CTWP14                               (0x40000000UL)
#define CMP_BWSR1_CTWP15_POS                           (31U)
#define CMP_BWSR1_CTWP15                               (0x80000000UL)

/*  Bit definition for CMP_BWSR2 register  */
#define CMP_BWSR2_MSKW_POS                             (0U)
#define CMP_BWSR2_MSKW                                 (0x00FFU)
#define CMP_BWSR2_TWEG_POS                             (8U)
#define CMP_BWSR2_TWEG                                 (0x0300U)
#define CMP_BWSR2_TWEG_0                               (0x0100U)
#define CMP_BWSR2_TWEG_1                               (0x0200U)

/*  Bit definition for CMP_SCCR register  */
#define CMP_SCCR_SISL_POS                              (0U)
#define CMP_SCCR_SISL                                  (0x0000001FUL)
#define CMP_SCCR_SPRD_POS                              (16U)
#define CMP_SCCR_SPRD                                  (0x00FF0000UL)
#define CMP_SCCR_SSTB_POS                              (24U)
#define CMP_SCCR_SSTB                                  (0x3F000000UL)

/*  Bit definition for CMP_SCMR register  */
#define CMP_SCMR_RVST_POS                              (0U)
#define CMP_SCMR_RVST                                  (0x0000001FUL)
#define CMP_SCMR_CVST_POS                              (16U)
#define CMP_SCMR_CVST                                  (0x00030000UL)
#define CMP_SCMR_CVST_0                                (0x00010000UL)
#define CMP_SCMR_CVST_1                                (0x00020000UL)

/*******************************************************************************
                Bit definition for Peripheral CMU
*******************************************************************************/
/*  Bit definition for CMU_XTALDIVR register  */
#define CMU_XTALDIVR_DENOM_POS                         (0U)
#define CMU_XTALDIVR_DENOM                             (0x000007FFUL)
#define CMU_XTALDIVR_NUMER_POS                         (12U)
#define CMU_XTALDIVR_NUMER                             (0x1FFFF000UL)

/*  Bit definition for CMU_XTALDIVCR register  */
#define CMU_XTALDIVCR_FRADIVEN                         (0x00000001UL)

/*  Bit definition for CMU_XTALCFGR register  */
#define CMU_XTALCFGR_XTALMS_POS                        (3U)
#define CMU_XTALCFGR_XTALMS                            (0x08U)
#define CMU_XTALCFGR_XTALDRV_POS                       (4U)
#define CMU_XTALCFGR_XTALDRV                           (0x30U)
#define CMU_XTALCFGR_XTALDRV_0                         (0x10U)
#define CMU_XTALCFGR_XTALDRV_1                         (0x20U)

/*  Bit definition for CMU_XTAL32CR register  */
#define CMU_XTAL32CR_XTAL32STP                         (0x01U)

/*  Bit definition for CMU_XTAL32CFGR register  */
#define CMU_XTAL32CFGR_XTAL32DRV                       (0x07U)

/*  Bit definition for CMU_XTAL32NFR register  */
#define CMU_XTAL32NFR_XTAL32NF                         (0x03U)
#define CMU_XTAL32NFR_XTAL32NF_0                       (0x01U)
#define CMU_XTAL32NFR_XTAL32NF_1                       (0x02U)

/*  Bit definition for CMU_LRCCR register  */
#define CMU_LRCCR_LRCSTP                               (0x01U)

/*  Bit definition for CMU_LRCTRM register  */
#define CMU_LRCTRM                                     (0xFFU)

/*  Bit definition for CMU_PERICKSEL register  */
#define CMU_PERICKSEL_PERICKSEL                        (0x000FU)

/*  Bit definition for CMU_CANCKCFGR register  */
#define CMU_CANCKCFGR_MCAN1CKS_POS                     (0U)
#define CMU_CANCKCFGR_MCAN1CKS                         (0x0FU)
#define CMU_CANCKCFGR_MCAN2CKS_POS                     (4U)
#define CMU_CANCKCFGR_MCAN2CKS                         (0xF0U)

/*  Bit definition for CMU_SCFGR register  */
#define CMU_SCFGR_PCLK0S_POS                           (0U)
#define CMU_SCFGR_PCLK0S                               (0x00000007UL)
#define CMU_SCFGR_PCLK1S_POS                           (4U)
#define CMU_SCFGR_PCLK1S                               (0x00000070UL)
#define CMU_SCFGR_PCLK2S_POS                           (8U)
#define CMU_SCFGR_PCLK2S                               (0x00000700UL)
#define CMU_SCFGR_PCLK3S_POS                           (12U)
#define CMU_SCFGR_PCLK3S                               (0x00007000UL)
#define CMU_SCFGR_PCLK4S_POS                           (16U)
#define CMU_SCFGR_PCLK4S                               (0x00070000UL)
#define CMU_SCFGR_HCLKS_POS                            (24U)
#define CMU_SCFGR_HCLKS                                (0x07000000UL)

/*  Bit definition for CMU_CKSWR register  */
#define CMU_CKSWR_CKSW                                 (0x07U)

/*  Bit definition for CMU_PLLHCR register  */
#define CMU_PLLHCR_PLLHOFF                             (0x01U)

/*  Bit definition for CMU_XTALCR register  */
#define CMU_XTALCR_XTALSTP                             (0x01U)

/*  Bit definition for CMU_HRCCR register  */
#define CMU_HRCCR_HRCSTP                               (0x01U)

/*  Bit definition for CMU_MRCCR register  */
#define CMU_MRCCR_MRCSTP                               (0x01U)

/*  Bit definition for CMU_OSCSTBSR register  */
#define CMU_OSCSTBSR_HRCSTBF_POS                       (0U)
#define CMU_OSCSTBSR_HRCSTBF                           (0x01U)
#define CMU_OSCSTBSR_XTALSTBF_POS                      (3U)
#define CMU_OSCSTBSR_XTALSTBF                          (0x08U)
#define CMU_OSCSTBSR_PLLHSTBF_POS                      (5U)
#define CMU_OSCSTBSR_PLLHSTBF                          (0x20U)

/*  Bit definition for CMU_MCOCFGR register  */
#define CMU_MCOCFGR_MCOSEL_POS                         (0U)
#define CMU_MCOCFGR_MCOSEL                             (0x0FU)
#define CMU_MCOCFGR_MCODIV_POS                         (4U)
#define CMU_MCOCFGR_MCODIV                             (0x70U)
#define CMU_MCOCFGR_MCOEN_POS                          (7U)
#define CMU_MCOCFGR_MCOEN                              (0x80U)

/*  Bit definition for CMU_TPIUCKCFGR register  */
#define CMU_TPIUCKCFGR_TPIUCKS_POS                     (0U)
#define CMU_TPIUCKCFGR_TPIUCKS                         (0x03U)
#define CMU_TPIUCKCFGR_TPIUCKS_0                       (0x01U)
#define CMU_TPIUCKCFGR_TPIUCKS_1                       (0x02U)
#define CMU_TPIUCKCFGR_TPIUCKOE_POS                    (7U)
#define CMU_TPIUCKCFGR_TPIUCKOE                        (0x80U)

/*  Bit definition for CMU_XTALSTDCR register  */
#define CMU_XTALSTDCR_XTALSTDIE_POS                    (0U)
#define CMU_XTALSTDCR_XTALSTDIE                        (0x01U)
#define CMU_XTALSTDCR_XTALSTDRE_POS                    (1U)
#define CMU_XTALSTDCR_XTALSTDRE                        (0x02U)
#define CMU_XTALSTDCR_XTALSTDRIS_POS                   (2U)
#define CMU_XTALSTDCR_XTALSTDRIS                       (0x04U)
#define CMU_XTALSTDCR_XTALSTDE_POS                     (7U)
#define CMU_XTALSTDCR_XTALSTDE                         (0x80U)

/*  Bit definition for CMU_XTALSTDSR register  */
#define CMU_XTALSTDSR_XTALSTDF                         (0x01U)

/*  Bit definition for CMU_MRCTRM register  */
#define CMU_MRCTRM                                     (0xFFU)

/*  Bit definition for CMU_HRCTRM register  */
#define CMU_HRCTRM                                     (0xFFU)

/*  Bit definition for CMU_XTALSTBCR register  */
#define CMU_XTALSTBCR_XTALSTB                          (0x0FU)

/*  Bit definition for CMU_PLLHCFGR register  */
#define CMU_PLLHCFGR_PLLHM_POS                         (0U)
#define CMU_PLLHCFGR_PLLHM                             (0x0000001FUL)
#define CMU_PLLHCFGR_PLLSRC_POS                        (7U)
#define CMU_PLLHCFGR_PLLSRC                            (0x00000080UL)
#define CMU_PLLHCFGR_PLLHN_POS                         (8U)
#define CMU_PLLHCFGR_PLLHN                             (0x0001FF00UL)
#define CMU_PLLHCFGR_PLLHR_POS                         (20U)
#define CMU_PLLHCFGR_PLLHR                             (0x00F00000UL)
#define CMU_PLLHCFGR_PLLHQ_POS                         (24U)
#define CMU_PLLHCFGR_PLLHQ                             (0x0F000000UL)
#define CMU_PLLHCFGR_PLLHP_POS                         (28U)
#define CMU_PLLHCFGR_PLLHP                             (0xF0000000UL)

/*******************************************************************************
                Bit definition for Peripheral CRC
*******************************************************************************/
/*  Bit definition for CRC_CR register  */
#define CRC_CR_CR_POS                                  (0U)
#define CRC_CR_CR                                      (0x00000001UL)
#define CRC_CR_FLAG_POS                                (1U)
#define CRC_CR_FLAG                                    (0x00000002UL)

/*  Bit definition for CRC_RESLT register  */
#define CRC_RESLT                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT0 register  */
#define CRC_DAT0                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT1 register  */
#define CRC_DAT1                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT2 register  */
#define CRC_DAT2                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT3 register  */
#define CRC_DAT3                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT4 register  */
#define CRC_DAT4                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT5 register  */
#define CRC_DAT5                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT6 register  */
#define CRC_DAT6                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT7 register  */
#define CRC_DAT7                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT8 register  */
#define CRC_DAT8                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT9 register  */
#define CRC_DAT9                                       (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT10 register  */
#define CRC_DAT10                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT11 register  */
#define CRC_DAT11                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT12 register  */
#define CRC_DAT12                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT13 register  */
#define CRC_DAT13                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT14 register  */
#define CRC_DAT14                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT15 register  */
#define CRC_DAT15                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT16 register  */
#define CRC_DAT16                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT17 register  */
#define CRC_DAT17                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT18 register  */
#define CRC_DAT18                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT19 register  */
#define CRC_DAT19                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT20 register  */
#define CRC_DAT20                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT21 register  */
#define CRC_DAT21                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT22 register  */
#define CRC_DAT22                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT23 register  */
#define CRC_DAT23                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT24 register  */
#define CRC_DAT24                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT25 register  */
#define CRC_DAT25                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT26 register  */
#define CRC_DAT26                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT27 register  */
#define CRC_DAT27                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT28 register  */
#define CRC_DAT28                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT29 register  */
#define CRC_DAT29                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT30 register  */
#define CRC_DAT30                                      (0xFFFFFFFFUL)

/*  Bit definition for CRC_DAT31 register  */
#define CRC_DAT31                                      (0xFFFFFFFFUL)

/*******************************************************************************
                Bit definition for Peripheral CTC
*******************************************************************************/
/*  Bit definition for CTC_CR1 register  */
#define CTC_CR1_REFPSC_POS                             (0U)
#define CTC_CR1_REFPSC                                 (0x00000007UL)
#define CTC_CR1_REFCKS_POS                             (4U)
#define CTC_CR1_REFCKS                                 (0x00000030UL)
#define CTC_CR1_REFCKS_0                               (0x00000010UL)
#define CTC_CR1_REFCKS_1                               (0x00000020UL)
#define CTC_CR1_ERRIE_POS                              (6U)
#define CTC_CR1_ERRIE                                  (0x00000040UL)
#define CTC_CR1_CTCEN_POS                              (7U)
#define CTC_CR1_CTCEN                                  (0x00000080UL)
#define CTC_CR1_HRCPSC_POS                             (8U)
#define CTC_CR1_HRCPSC                                 (0x00000700UL)
#define CTC_CR1_REFEDG_POS                             (12U)
#define CTC_CR1_REFEDG                                 (0x00003000UL)
#define CTC_CR1_REFEDG_0                               (0x00001000UL)
#define CTC_CR1_REFEDG_1                               (0x00002000UL)
#define CTC_CR1_TRMVAL_POS                             (16U)
#define CTC_CR1_TRMVAL                                 (0x003F0000UL)

/*  Bit definition for CTC_CR2 register  */
#define CTC_CR2_OFSVAL_POS                             (0U)
#define CTC_CR2_OFSVAL                                 (0x000000FFUL)
#define CTC_CR2_RLDVAL_POS                             (16U)
#define CTC_CR2_RLDVAL                                 (0xFFFF0000UL)

/*  Bit definition for CTC_STR register  */
#define CTC_STR_TRIMOK_POS                             (0U)
#define CTC_STR_TRIMOK                                 (0x00000001UL)
#define CTC_STR_TRMOVF_POS                             (1U)
#define CTC_STR_TRMOVF                                 (0x00000002UL)
#define CTC_STR_TRMUDF_POS                             (2U)
#define CTC_STR_TRMUDF                                 (0x00000004UL)
#define CTC_STR_CTCBSY_POS                             (3U)
#define CTC_STR_CTCBSY                                 (0x00000008UL)

/*  Bit definition for CTC_CNT register  */
#define CTC_CNT                                        (0xFFFFU)

/*******************************************************************************
                Bit definition for Peripheral DAC
*******************************************************************************/
/*  Bit definition for DAC_DADR1 register  */
#define DAC_DADR1                                      (0xFFFFU)

/*  Bit definition for DAC_DADR2 register  */
#define DAC_DADR2                                      (0xFFFFU)

/*  Bit definition for DAC_DACR register  */
#define DAC_DACR_DAE_POS                               (0U)
#define DAC_DACR_DAE                                   (0x0001U)
#define DAC_DACR_DA1E_POS                              (1U)
#define DAC_DACR_DA1E                                  (0x0002U)
#define DAC_DACR_DA2E_POS                              (2U)
#define DAC_DACR_DA2E                                  (0x0004U)
#define DAC_DACR_DPSEL_POS                             (8U)
#define DAC_DACR_DPSEL                                 (0x0100U)
#define DAC_DACR_DAAMP1_POS                            (9U)
#define DAC_DACR_DAAMP1                                (0x0200U)
#define DAC_DACR_DAAMP2_POS                            (10U)
#define DAC_DACR_DAAMP2                                (0x0400U)

/*  Bit definition for DAC_DAADPCR register  */
#define DAC_DAADPCR_ADCSL1_POS                         (0U)
#define DAC_DAADPCR_ADCSL1                             (0x0001U)
#define DAC_DAADPCR_ADCSL2_POS                         (1U)
#define DAC_DAADPCR_ADCSL2                             (0x0002U)
#define DAC_DAADPCR_ADCSL3_POS                         (2U)
#define DAC_DAADPCR_ADCSL3                             (0x0004U)
#define DAC_DAADPCR_DA1SF_POS                          (8U)
#define DAC_DAADPCR_DA1SF                              (0x0100U)
#define DAC_DAADPCR_DA2SF_POS                          (9U)
#define DAC_DAADPCR_DA2SF                              (0x0200U)
#define DAC_DAADPCR_ADPEN_POS                          (15U)
#define DAC_DAADPCR_ADPEN                              (0x8000U)

/*  Bit definition for DAC_DAOCR register  */
#define DAC_DAOCR_DAODIS1_POS                          (14U)
#define DAC_DAOCR_DAODIS1                              (0x4000U)
#define DAC_DAOCR_DAODIS2_POS                          (15U)
#define DAC_DAOCR_DAODIS2                              (0x8000U)

/*  Bit definition for DAC_DACR2 register  */
#define DAC_DACR2_LDMD1_POS                            (7U)
#define DAC_DACR2_LDMD1                                (0x0080U)
#define DAC_DACR2_LDMD2_POS                            (15U)
#define DAC_DACR2_LDMD2                                (0x8000U)

/*  Bit definition for DAC_DADACTR register  */
#define DAC_DADACTR_DATAACT                            (0x0FFFU)

/*******************************************************************************
                Bit definition for Peripheral DBGC
*******************************************************************************/
/*  Bit definition for DBGC_MCUDBGCSTAT register  */
#define DBGC_MCUDBGCSTAT_CDBGPWRUPREQ_POS              (0U)
#define DBGC_MCUDBGCSTAT_CDBGPWRUPREQ                  (0x00000001UL)
#define DBGC_MCUDBGCSTAT_CDBGPWRUPACK_POS              (1U)
#define DBGC_MCUDBGCSTAT_CDBGPWRUPACK                  (0x00000002UL)

/*  Bit definition for DBGC_MCUSTPCTL register  */
#define DBGC_MCUSTPCTL_SWDTSTP_POS                     (0U)
#define DBGC_MCUSTPCTL_SWDTSTP                         (0x00000001UL)
#define DBGC_MCUSTPCTL_WDTSTP_POS                      (1U)
#define DBGC_MCUSTPCTL_WDTSTP                          (0x00000002UL)
#define DBGC_MCUSTPCTL_RTCSTP_POS                      (2U)
#define DBGC_MCUSTPCTL_RTCSTP                          (0x00000004UL)
#define DBGC_MCUSTPCTL_M06STP_POS                      (6U)
#define DBGC_MCUSTPCTL_M06STP                          (0x00000040UL)
#define DBGC_MCUSTPCTL_M07STP_POS                      (7U)
#define DBGC_MCUSTPCTL_M07STP                          (0x00000080UL)
#define DBGC_MCUSTPCTL_M12STP_POS                      (12U)
#define DBGC_MCUSTPCTL_M12STP                          (0x00001000UL)
#define DBGC_MCUSTPCTL_M15STP_POS                      (15U)
#define DBGC_MCUSTPCTL_M15STP                          (0x00008000UL)
#define DBGC_MCUSTPCTL_M16STP_POS                      (16U)
#define DBGC_MCUSTPCTL_M16STP                          (0x00010000UL)
#define DBGC_MCUSTPCTL_M17STP_POS                      (17U)
#define DBGC_MCUSTPCTL_M17STP                          (0x00020000UL)
#define DBGC_MCUSTPCTL_M18STP_POS                      (18U)
#define DBGC_MCUSTPCTL_M18STP                          (0x00040000UL)
#define DBGC_MCUSTPCTL_M19STP_POS                      (19U)
#define DBGC_MCUSTPCTL_M19STP                          (0x00080000UL)
#define DBGC_MCUSTPCTL_M20STP_POS                      (20U)
#define DBGC_MCUSTPCTL_M20STP                          (0x00100000UL)
#define DBGC_MCUSTPCTL_M21STP_POS                      (21U)
#define DBGC_MCUSTPCTL_M21STP                          (0x00200000UL)
#define DBGC_MCUSTPCTL_M22STP_POS                      (22U)
#define DBGC_MCUSTPCTL_M22STP                          (0x00400000UL)
#define DBGC_MCUSTPCTL_M23STP_POS                      (23U)
#define DBGC_MCUSTPCTL_M23STP                          (0x00800000UL)
#define DBGC_MCUSTPCTL_M24STP_POS                      (24U)
#define DBGC_MCUSTPCTL_M24STP                          (0x01000000UL)

/*  Bit definition for DBGC_MCUTRACECTL register  */
#define DBGC_MCUTRACECTL_TRACEMODE_POS                 (0U)
#define DBGC_MCUTRACECTL_TRACEMODE                     (0x00000003UL)
#define DBGC_MCUTRACECTL_TRACEMODE_0                   (0x00000001UL)
#define DBGC_MCUTRACECTL_TRACEMODE_1                   (0x00000002UL)
#define DBGC_MCUTRACECTL_TRACEIOEN_POS                 (2U)
#define DBGC_MCUTRACECTL_TRACEIOEN                     (0x00000004UL)

/*  Bit definition for DBGC_MCUSTPCTL2 register  */
#define DBGC_MCUSTPCTL2_M32STP_POS                     (0U)
#define DBGC_MCUSTPCTL2_M32STP                         (0x00000001UL)
#define DBGC_MCUSTPCTL2_M33STP_POS                     (1U)
#define DBGC_MCUSTPCTL2_M33STP                         (0x00000002UL)
#define DBGC_MCUSTPCTL2_M34STP_POS                     (2U)
#define DBGC_MCUSTPCTL2_M34STP                         (0x00000004UL)
#define DBGC_MCUSTPCTL2_M35STP_POS                     (3U)
#define DBGC_MCUSTPCTL2_M35STP                         (0x00000008UL)
#define DBGC_MCUSTPCTL2_M36STP_POS                     (4U)
#define DBGC_MCUSTPCTL2_M36STP                         (0x00000010UL)

/*******************************************************************************
                Bit definition for Peripheral DMA
*******************************************************************************/
/*  Bit definition for DMA_EN register  */
#define DMA_EN_EN                                      (0x00000001UL)

/*  Bit definition for DMA_INTSTAT0 register  */
#define DMA_INTSTAT0_TRNERR_POS                        (0U)
#define DMA_INTSTAT0_TRNERR                            (0x000000FFUL)
#define DMA_INTSTAT0_TRNERR_0                          (0x00000001UL)
#define DMA_INTSTAT0_TRNERR_1                          (0x00000002UL)
#define DMA_INTSTAT0_TRNERR_2                          (0x00000004UL)
#define DMA_INTSTAT0_TRNERR_3                          (0x00000008UL)
#define DMA_INTSTAT0_TRNERR_4                          (0x00000010UL)
#define DMA_INTSTAT0_TRNERR_5                          (0x00000020UL)
#define DMA_INTSTAT0_TRNERR_6                          (0x00000040UL)
#define DMA_INTSTAT0_TRNERR_7                          (0x00000080UL)
#define DMA_INTSTAT0_REQERR_POS                        (16U)
#define DMA_INTSTAT0_REQERR                            (0x00FF0000UL)
#define DMA_INTSTAT0_REQERR_0                          (0x00010000UL)
#define DMA_INTSTAT0_REQERR_1                          (0x00020000UL)
#define DMA_INTSTAT0_REQERR_2                          (0x00040000UL)
#define DMA_INTSTAT0_REQERR_3                          (0x00080000UL)
#define DMA_INTSTAT0_REQERR_4                          (0x00100000UL)
#define DMA_INTSTAT0_REQERR_5                          (0x00200000UL)
#define DMA_INTSTAT0_REQERR_6                          (0x00400000UL)
#define DMA_INTSTAT0_REQERR_7                          (0x00800000UL)

/*  Bit definition for DMA_INTSTAT1 register  */
#define DMA_INTSTAT1_TC_POS                            (0U)
#define DMA_INTSTAT1_TC                                (0x000000FFUL)
#define DMA_INTSTAT1_TC_0                              (0x00000001UL)
#define DMA_INTSTAT1_TC_1                              (0x00000002UL)
#define DMA_INTSTAT1_TC_2                              (0x00000004UL)
#define DMA_INTSTAT1_TC_3                              (0x00000008UL)
#define DMA_INTSTAT1_TC_4                              (0x00000010UL)
#define DMA_INTSTAT1_TC_5                              (0x00000020UL)
#define DMA_INTSTAT1_TC_6                              (0x00000040UL)
#define DMA_INTSTAT1_TC_7                              (0x00000080UL)
#define DMA_INTSTAT1_BTC_POS                           (16U)
#define DMA_INTSTAT1_BTC                               (0x00FF0000UL)
#define DMA_INTSTAT1_BTC_0                             (0x00010000UL)
#define DMA_INTSTAT1_BTC_1                             (0x00020000UL)
#define DMA_INTSTAT1_BTC_2                             (0x00040000UL)
#define DMA_INTSTAT1_BTC_3                             (0x00080000UL)
#define DMA_INTSTAT1_BTC_4                             (0x00100000UL)
#define DMA_INTSTAT1_BTC_5                             (0x00200000UL)
#define DMA_INTSTAT1_BTC_6                             (0x00400000UL)
#define DMA_INTSTAT1_BTC_7                             (0x00800000UL)

/*  Bit definition for DMA_INTMASK0 register  */
#define DMA_INTMASK0_MSKTRNERR_POS                     (0U)
#define DMA_INTMASK0_MSKTRNERR                         (0x000000FFUL)
#define DMA_INTMASK0_MSKTRNERR_0                       (0x00000001UL)
#define DMA_INTMASK0_MSKTRNERR_1                       (0x00000002UL)
#define DMA_INTMASK0_MSKTRNERR_2                       (0x00000004UL)
#define DMA_INTMASK0_MSKTRNERR_3                       (0x00000008UL)
#define DMA_INTMASK0_MSKTRNERR_4                       (0x00000010UL)
#define DMA_INTMASK0_MSKTRNERR_5                       (0x00000020UL)
#define DMA_INTMASK0_MSKTRNERR_6                       (0x00000040UL)
#define DMA_INTMASK0_MSKTRNERR_7                       (0x00000080UL)
#define DMA_INTMASK0_MSKREQERR_POS                     (16U)
#define DMA_INTMASK0_MSKREQERR                         (0x00FF0000UL)
#define DMA_INTMASK0_MSKREQERR_0                       (0x00010000UL)
#define DMA_INTMASK0_MSKREQERR_1                       (0x00020000UL)
#define DMA_INTMASK0_MSKREQERR_2                       (0x00040000UL)
#define DMA_INTMASK0_MSKREQERR_3                       (0x00080000UL)
#define DMA_INTMASK0_MSKREQERR_4                       (0x00100000UL)
#define DMA_INTMASK0_MSKREQERR_5                       (0x00200000UL)
#define DMA_INTMASK0_MSKREQERR_6                       (0x00400000UL)
#define DMA_INTMASK0_MSKREQERR_7                       (0x00800000UL)

/*  Bit definition for DMA_INTMASK1 register  */
#define DMA_INTMASK1_MSKTC_POS                         (0U)
#define DMA_INTMASK1_MSKTC                             (0x000000FFUL)
#define DMA_INTMASK1_MSKTC_0                           (0x00000001UL)
#define DMA_INTMASK1_MSKTC_1                           (0x00000002UL)
#define DMA_INTMASK1_MSKTC_2                           (0x00000004UL)
#define DMA_INTMASK1_MSKTC_3                           (0x00000008UL)
#define DMA_INTMASK1_MSKTC_4                           (0x00000010UL)
#define DMA_INTMASK1_MSKTC_5                           (0x00000020UL)
#define DMA_INTMASK1_MSKTC_6                           (0x00000040UL)
#define DMA_INTMASK1_MSKTC_7                           (0x00000080UL)
#define DMA_INTMASK1_MSKBTC_POS                        (16U)
#define DMA_INTMASK1_MSKBTC                            (0x00FF0000UL)
#define DMA_INTMASK1_MSKBTC_0                          (0x00010000UL)
#define DMA_INTMASK1_MSKBTC_1                          (0x00020000UL)
#define DMA_INTMASK1_MSKBTC_2                          (0x00040000UL)
#define DMA_INTMASK1_MSKBTC_3                          (0x00080000UL)
#define DMA_INTMASK1_MSKBTC_4                          (0x00100000UL)
#define DMA_INTMASK1_MSKBTC_5                          (0x00200000UL)
#define DMA_INTMASK1_MSKBTC_6                          (0x00400000UL)
#define DMA_INTMASK1_MSKBTC_7                          (0x00800000UL)

/*  Bit definition for DMA_INTCLR0 register  */
#define DMA_INTCLR0_CLRTRNERR_POS                      (0U)
#define DMA_INTCLR0_CLRTRNERR                          (0x000000FFUL)
#define DMA_INTCLR0_CLRTRNERR_0                        (0x00000001UL)
#define DMA_INTCLR0_CLRTRNERR_1                        (0x00000002UL)
#define DMA_INTCLR0_CLRTRNERR_2                        (0x00000004UL)
#define DMA_INTCLR0_CLRTRNERR_3                        (0x00000008UL)
#define DMA_INTCLR0_CLRTRNERR_4                        (0x00000010UL)
#define DMA_INTCLR0_CLRTRNERR_5                        (0x00000020UL)
#define DMA_INTCLR0_CLRTRNERR_6                        (0x00000040UL)
#define DMA_INTCLR0_CLRTRNERR_7                        (0x00000080UL)
#define DMA_INTCLR0_CLRREQERR_POS                      (16U)
#define DMA_INTCLR0_CLRREQERR                          (0x00FF0000UL)
#define DMA_INTCLR0_CLRREQERR_0                        (0x00010000UL)
#define DMA_INTCLR0_CLRREQERR_1                        (0x00020000UL)
#define DMA_INTCLR0_CLRREQERR_2                        (0x00040000UL)
#define DMA_INTCLR0_CLRREQERR_3                        (0x00080000UL)
#define DMA_INTCLR0_CLRREQERR_4                        (0x00100000UL)
#define DMA_INTCLR0_CLRREQERR_5                        (0x00200000UL)
#define DMA_INTCLR0_CLRREQERR_6                        (0x00400000UL)
#define DMA_INTCLR0_CLRREQERR_7                        (0x00800000UL)

/*  Bit definition for DMA_INTCLR1 register  */
#define DMA_INTCLR1_CLRTC_POS                          (0U)
#define DMA_INTCLR1_CLRTC                              (0x000000FFUL)
#define DMA_INTCLR1_CLRTC_0                            (0x00000001UL)
#define DMA_INTCLR1_CLRTC_1                            (0x00000002UL)
#define DMA_INTCLR1_CLRTC_2                            (0x00000004UL)
#define DMA_INTCLR1_CLRTC_3                            (0x00000008UL)
#define DMA_INTCLR1_CLRTC_4                            (0x00000010UL)
#define DMA_INTCLR1_CLRTC_5                            (0x00000020UL)
#define DMA_INTCLR1_CLRTC_6                            (0x00000040UL)
#define DMA_INTCLR1_CLRTC_7                            (0x00000080UL)
#define DMA_INTCLR1_CLRBTC_POS                         (16U)
#define DMA_INTCLR1_CLRBTC                             (0x00FF0000UL)
#define DMA_INTCLR1_CLRBTC_0                           (0x00010000UL)
#define DMA_INTCLR1_CLRBTC_1                           (0x00020000UL)
#define DMA_INTCLR1_CLRBTC_2                           (0x00040000UL)
#define DMA_INTCLR1_CLRBTC_3                           (0x00080000UL)
#define DMA_INTCLR1_CLRBTC_4                           (0x00100000UL)
#define DMA_INTCLR1_CLRBTC_5                           (0x00200000UL)
#define DMA_INTCLR1_CLRBTC_6                           (0x00400000UL)
#define DMA_INTCLR1_CLRBTC_7                           (0x00800000UL)

/*  Bit definition for DMA_CHEN register  */
#define DMA_CHEN_CHEN                                  (0x000000FFUL)
#define DMA_CHEN_CHEN_0                                (0x00000001UL)
#define DMA_CHEN_CHEN_1                                (0x00000002UL)
#define DMA_CHEN_CHEN_2                                (0x00000004UL)
#define DMA_CHEN_CHEN_3                                (0x00000008UL)
#define DMA_CHEN_CHEN_4                                (0x00000010UL)
#define DMA_CHEN_CHEN_5                                (0x00000020UL)
#define DMA_CHEN_CHEN_6                                (0x00000040UL)
#define DMA_CHEN_CHEN_7                                (0x00000080UL)

/*  Bit definition for DMA_REQSTAT register  */
#define DMA_REQSTAT_CHREQ_POS                          (0U)
#define DMA_REQSTAT_CHREQ                              (0x000000FFUL)
#define DMA_REQSTAT_CHREQ_0                            (0x00000001UL)
#define DMA_REQSTAT_CHREQ_1                            (0x00000002UL)
#define DMA_REQSTAT_CHREQ_2                            (0x00000004UL)
#define DMA_REQSTAT_CHREQ_3                            (0x00000008UL)
#define DMA_REQSTAT_CHREQ_4                            (0x00000010UL)
#define DMA_REQSTAT_CHREQ_5                            (0x00000020UL)
#define DMA_REQSTAT_CHREQ_6                            (0x00000040UL)
#define DMA_REQSTAT_CHREQ_7                            (0x00000080UL)
#define DMA_REQSTAT_RCFGREQ_POS                        (15U)
#define DMA_REQSTAT_RCFGREQ                            (0x00008000UL)

/*  Bit definition for DMA_CHSTAT register  */
#define DMA_CHSTAT_DMAACT_POS                          (0U)
#define DMA_CHSTAT_DMAACT                              (0x00000001UL)
#define DMA_CHSTAT_RCFGACT_POS                         (1U)
#define DMA_CHSTAT_RCFGACT                             (0x00000002UL)
#define DMA_CHSTAT_CHACT_POS                           (16U)
#define DMA_CHSTAT_CHACT                               (0x00FF0000UL)
#define DMA_CHSTAT_CHACT_0                             (0x00010000UL)
#define DMA_CHSTAT_CHACT_1                             (0x00020000UL)
#define DMA_CHSTAT_CHACT_2                             (0x00040000UL)
#define DMA_CHSTAT_CHACT_3                             (0x00080000UL)
#define DMA_CHSTAT_CHACT_4                             (0x00100000UL)
#define DMA_CHSTAT_CHACT_5                             (0x00200000UL)
#define DMA_CHSTAT_CHACT_6                             (0x00400000UL)
#define DMA_CHSTAT_CHACT_7                             (0x00800000UL)

/*  Bit definition for DMA_RCFGCTL register  */
#define DMA_RCFGCTL_RCFGEN_POS                         (0U)
#define DMA_RCFGCTL_RCFGEN                             (0x00000001UL)
#define DMA_RCFGCTL_RCFGLLP_POS                        (1U)
#define DMA_RCFGCTL_RCFGLLP                            (0x00000002UL)
#define DMA_RCFGCTL_RCFGCHS_POS                        (8U)
#define DMA_RCFGCTL_RCFGCHS                            (0x00000F00UL)
#define DMA_RCFGCTL_SARMD_POS                          (16U)
#define DMA_RCFGCTL_SARMD                              (0x00030000UL)
#define DMA_RCFGCTL_SARMD_0                            (0x00010000UL)
#define DMA_RCFGCTL_SARMD_1                            (0x00020000UL)
#define DMA_RCFGCTL_DARMD_POS                          (18U)
#define DMA_RCFGCTL_DARMD                              (0x000C0000UL)
#define DMA_RCFGCTL_DARMD_0                            (0x00040000UL)
#define DMA_RCFGCTL_DARMD_1                            (0x00080000UL)
#define DMA_RCFGCTL_CNTMD_POS                          (20U)
#define DMA_RCFGCTL_CNTMD                              (0x00300000UL)
#define DMA_RCFGCTL_CNTMD_0                            (0x00100000UL)
#define DMA_RCFGCTL_CNTMD_1                            (0x00200000UL)

/*  Bit definition for DMA_SWREQ register  */
#define DMA_SWREQ_SWREQ_POS                            (0U)
#define DMA_SWREQ_SWREQ                                (0x000000FFUL)
#define DMA_SWREQ_SWREQ_0                              (0x00000001UL)
#define DMA_SWREQ_SWREQ_1                              (0x00000002UL)
#define DMA_SWREQ_SWREQ_2                              (0x00000004UL)
#define DMA_SWREQ_SWREQ_3                              (0x00000008UL)
#define DMA_SWREQ_SWREQ_4                              (0x00000010UL)
#define DMA_SWREQ_SWREQ_5                              (0x00000020UL)
#define DMA_SWREQ_SWREQ_6                              (0x00000040UL)
#define DMA_SWREQ_SWREQ_7                              (0x00000080UL)
#define DMA_SWREQ_SWRCFGREQ_POS                        (15U)
#define DMA_SWREQ_SWRCFGREQ                            (0x00008000UL)
#define DMA_SWREQ_SWREQWP_POS                          (16U)
#define DMA_SWREQ_SWREQWP                              (0x00FF0000UL)
#define DMA_SWREQ_SWRCFGWP_POS                         (24U)
#define DMA_SWREQ_SWRCFGWP                             (0xFF000000UL)

/*  Bit definition for DMA_CHENCLR register  */
#define DMA_CHENCLR_CHENCLR                            (0x000000FFUL)
#define DMA_CHENCLR_CHENCLR_0                          (0x00000001UL)
#define DMA_CHENCLR_CHENCLR_1                          (0x00000002UL)
#define DMA_CHENCLR_CHENCLR_2                          (0x00000004UL)
#define DMA_CHENCLR_CHENCLR_3                          (0x00000008UL)
#define DMA_CHENCLR_CHENCLR_4                          (0x00000010UL)
#define DMA_CHENCLR_CHENCLR_5                          (0x00000020UL)
#define DMA_CHENCLR_CHENCLR_6                          (0x00000040UL)
#define DMA_CHENCLR_CHENCLR_7                          (0x00000080UL)

/*  Bit definition for DMA_SAR register  */
#define DMA_SAR                                        (0xFFFFFFFFUL)

/*  Bit definition for DMA_DAR register  */
#define DMA_DAR                                        (0xFFFFFFFFUL)

/*  Bit definition for DMA_DTCTL register  */
#define DMA_DTCTL_BLKSIZE_POS                          (0U)
#define DMA_DTCTL_BLKSIZE                              (0x000003FFUL)
#define DMA_DTCTL_CNT_POS                              (16U)
#define DMA_DTCTL_CNT                                  (0xFFFF0000UL)

/*  Bit definition for DMA_RPT register  */
#define DMA_RPT_SRPT_POS                               (0U)
#define DMA_RPT_SRPT                                   (0x000003FFUL)
#define DMA_RPT_DRPT_POS                               (16U)
#define DMA_RPT_DRPT                                   (0x03FF0000UL)

/*  Bit definition for DMA_RPTB register  */
#define DMA_RPTB_SRPTB_POS                             (0U)
#define DMA_RPTB_SRPTB                                 (0x000003FFUL)
#define DMA_RPTB_DRPTB_POS                             (16U)
#define DMA_RPTB_DRPTB                                 (0x03FF0000UL)

/*  Bit definition for DMA_SNSEQCTL register  */
#define DMA_SNSEQCTL_SOFFSET_POS                       (0U)
#define DMA_SNSEQCTL_SOFFSET                           (0x000FFFFFUL)
#define DMA_SNSEQCTL_SNSCNT_POS                        (20U)
#define DMA_SNSEQCTL_SNSCNT                            (0xFFF00000UL)

/*  Bit definition for DMA_SNSEQCTLB register  */
#define DMA_SNSEQCTLB_SNSDIST_POS                      (0U)
#define DMA_SNSEQCTLB_SNSDIST                          (0x000FFFFFUL)
#define DMA_SNSEQCTLB_SNSCNTB_POS                      (20U)
#define DMA_SNSEQCTLB_SNSCNTB                          (0xFFF00000UL)

/*  Bit definition for DMA_DNSEQCTL register  */
#define DMA_DNSEQCTL_DOFFSET_POS                       (0U)
#define DMA_DNSEQCTL_DOFFSET                           (0x000FFFFFUL)
#define DMA_DNSEQCTL_DNSCNT_POS                        (20U)
#define DMA_DNSEQCTL_DNSCNT                            (0xFFF00000UL)

/*  Bit definition for DMA_DNSEQCTLB register  */
#define DMA_DNSEQCTLB_DNSDIST_POS                      (0U)
#define DMA_DNSEQCTLB_DNSDIST                          (0x000FFFFFUL)
#define DMA_DNSEQCTLB_DNSCNTB_POS                      (20U)
#define DMA_DNSEQCTLB_DNSCNTB                          (0xFFF00000UL)

/*  Bit definition for DMA_LLP register  */
#define DMA_LLP_LLP_POS                                (2U)
#define DMA_LLP_LLP                                    (0xFFFFFFFCUL)

/*  Bit definition for DMA_CHCTL register  */
#define DMA_CHCTL_SINC_POS                             (0U)
#define DMA_CHCTL_SINC                                 (0x00000003UL)
#define DMA_CHCTL_SINC_0                               (0x00000001UL)
#define DMA_CHCTL_SINC_1                               (0x00000002UL)
#define DMA_CHCTL_DINC_POS                             (2U)
#define DMA_CHCTL_DINC                                 (0x0000000CUL)
#define DMA_CHCTL_DINC_0                               (0x00000004UL)
#define DMA_CHCTL_DINC_1                               (0x00000008UL)
#define DMA_CHCTL_SRPTEN_POS                           (4U)
#define DMA_CHCTL_SRPTEN                               (0x00000010UL)
#define DMA_CHCTL_DRPTEN_POS                           (5U)
#define DMA_CHCTL_DRPTEN                               (0x00000020UL)
#define DMA_CHCTL_SNSEQEN_POS                          (6U)
#define DMA_CHCTL_SNSEQEN                              (0x00000040UL)
#define DMA_CHCTL_DNSEQEN_POS                          (7U)
#define DMA_CHCTL_DNSEQEN                              (0x00000080UL)
#define DMA_CHCTL_HSIZE_POS                            (8U)
#define DMA_CHCTL_HSIZE                                (0x00000300UL)
#define DMA_CHCTL_HSIZE_0                              (0x00000100UL)
#define DMA_CHCTL_HSIZE_1                              (0x00000200UL)
#define DMA_CHCTL_LLPEN_POS                            (10U)
#define DMA_CHCTL_LLPEN                                (0x00000400UL)
#define DMA_CHCTL_LLPRUN_POS                           (11U)
#define DMA_CHCTL_LLPRUN                               (0x00000800UL)
#define DMA_CHCTL_IE_POS                               (12U)
#define DMA_CHCTL_IE                                   (0x00001000UL)

/*  Bit definition for DMA_MONSAR register  */
#define DMA_MONSAR                                     (0xFFFFFFFFUL)

/*  Bit definition for DMA_MONDAR register  */
#define DMA_MONDAR                                     (0xFFFFFFFFUL)

/*  Bit definition for DMA_MONDTCTL register  */
#define DMA_MONDTCTL_BLKSIZE_POS                       (0U)
#define DMA_MONDTCTL_BLKSIZE                           (0x000003FFUL)
#define DMA_MONDTCTL_CNT_POS                           (16U)
#define DMA_MONDTCTL_CNT                               (0xFFFF0000UL)

/*  Bit definition for DMA_MONRPT register  */
#define DMA_MONRPT_SRPT_POS                            (0U)
#define DMA_MONRPT_SRPT                                (0x000003FFUL)
#define DMA_MONRPT_DRPT_POS                            (16U)
#define DMA_MONRPT_DRPT                                (0x03FF0000UL)

/*  Bit definition for DMA_MONSNSEQCTL register  */
#define DMA_MONSNSEQCTL_SOFFSET_POS                    (0U)
#define DMA_MONSNSEQCTL_SOFFSET                        (0x000FFFFFUL)
#define DMA_MONSNSEQCTL_SNSCNT_POS                     (20U)
#define DMA_MONSNSEQCTL_SNSCNT                         (0xFFF00000UL)

/*  Bit definition for DMA_MONDNSEQCTL register  */
#define DMA_MONDNSEQCTL_DOFFSET_POS                    (0U)
#define DMA_MONDNSEQCTL_DOFFSET                        (0x000FFFFFUL)
#define DMA_MONDNSEQCTL_DNSCNT_POS                     (20U)
#define DMA_MONDNSEQCTL_DNSCNT                         (0xFFF00000UL)

/*******************************************************************************
                Bit definition for Peripheral EFM
*******************************************************************************/
/*  Bit definition for EFM_FAPRT register  */
#define EFM_FAPRT_FAPRT                                (0x0000FFFFUL)

/*  Bit definition for EFM_KEY1 register  */
#define EFM_KEY1                                       (0xFFFFFFFFUL)

/*  Bit definition for EFM_KEY2 register  */
#define EFM_KEY2                                       (0xFFFFFFFFUL)

/*  Bit definition for EFM_FSTP register  */
#define EFM_FSTP_FSTP                                  (0x00000001UL)

/*  Bit definition for EFM_FRMC register  */
#define EFM_FRMC_FLWT_POS                              (0U)
#define EFM_FRMC_FLWT                                  (0x0000000FUL)
#define EFM_FRMC_LVM_POS                               (8U)
#define EFM_FRMC_LVM                                   (0x00000100UL)
#define EFM_FRMC_ICACHE_POS                            (16U)
#define EFM_FRMC_ICACHE                                (0x00010000UL)
#define EFM_FRMC_DCACHE_POS                            (17U)
#define EFM_FRMC_DCACHE                                (0x00020000UL)
#define EFM_FRMC_PREFETE_POS                           (18U)
#define EFM_FRMC_PREFETE                               (0x00040000UL)
#define EFM_FRMC_CRST_POS                              (19U)
#define EFM_FRMC_CRST                                  (0x00080000UL)

/*  Bit definition for EFM_FWMC register  */
#define EFM_FWMC_PEMOD_POS                             (0U)
#define EFM_FWMC_PEMOD                                 (0x00000007UL)
#define EFM_FWMC_BUSHLDCTL_POS                         (8U)
#define EFM_FWMC_BUSHLDCTL                             (0x00000100UL)
#define EFM_FWMC_KEY1LOCK_POS                          (16U)
#define EFM_FWMC_KEY1LOCK                              (0x00010000UL)
#define EFM_FWMC_KEY2LOCK_POS                          (17U)
#define EFM_FWMC_KEY2LOCK                              (0x00020000UL)

/*  Bit definition for EFM_FSR register  */
#define EFM_FSR_OTPWERR_POS                            (0U)
#define EFM_FSR_OTPWERR                                (0x00000001UL)
#define EFM_FSR_PRTWERR_POS                            (1U)
#define EFM_FSR_PRTWERR                                (0x00000002UL)
#define EFM_FSR_PGSZERR_POS                            (2U)
#define EFM_FSR_PGSZERR                                (0x00000004UL)
#define EFM_FSR_MISMTCH_POS                            (3U)
#define EFM_FSR_MISMTCH                                (0x00000008UL)
#define EFM_FSR_OPTEND_POS                             (4U)
#define EFM_FSR_OPTEND                                 (0x00000010UL)
#define EFM_FSR_COLERR_POS                             (5U)
#define EFM_FSR_COLERR                                 (0x00000020UL)
#define EFM_FSR_RDY_POS                                (8U)
#define EFM_FSR_RDY                                    (0x00000100UL)

/*  Bit definition for EFM_FSCLR register  */
#define EFM_FSCLR_OTPWERRCLR_POS                       (0U)
#define EFM_FSCLR_OTPWERRCLR                           (0x00000001UL)
#define EFM_FSCLR_PRTWERRCLR_POS                       (1U)
#define EFM_FSCLR_PRTWERRCLR                           (0x00000002UL)
#define EFM_FSCLR_PGSZERRCLR_POS                       (2U)
#define EFM_FSCLR_PGSZERRCLR                           (0x00000004UL)
#define EFM_FSCLR_MISMTCHCLR_POS                       (3U)
#define EFM_FSCLR_MISMTCHCLR                           (0x00000008UL)
#define EFM_FSCLR_OPTENDCLR_POS                        (4U)
#define EFM_FSCLR_OPTENDCLR                            (0x00000010UL)
#define EFM_FSCLR_COLERRCLR_POS                        (5U)
#define EFM_FSCLR_COLERRCLR                            (0x00000020UL)

/*  Bit definition for EFM_FITE register  */
#define EFM_FITE_PEERRITE_POS                          (0U)
#define EFM_FITE_PEERRITE                              (0x00000001UL)
#define EFM_FITE_OPTENDITE_POS                         (1U)
#define EFM_FITE_OPTENDITE                             (0x00000002UL)
#define EFM_FITE_COLERRITE_POS                         (2U)
#define EFM_FITE_COLERRITE                             (0x00000004UL)

/*  Bit definition for EFM_FSWP register  */
#define EFM_FSWP_FSWP                                  (0x00000001UL)

/*  Bit definition for EFM_CHIPID register  */
#define EFM_CHIPID                                     (0xFFFFFFFFUL)

/*  Bit definition for EFM_UQID0 register  */
#define EFM_UQID0_Y_LOCATION_POS                       (0U)
#define EFM_UQID0_Y_LOCATION                           (0x000000FFUL)
#define EFM_UQID0_X_LOCATION_POS                       (8U)
#define EFM_UQID0_X_LOCATION                           (0x0000FF00UL)
#define EFM_UQID0_WAFER_ID_POS                         (16U)
#define EFM_UQID0_WAFER_ID                             (0x00FF0000UL)
#define EFM_UQID0_LOT_ID_POS                           (24U)
#define EFM_UQID0_LOT_ID                               (0xFF000000UL)

/*  Bit definition for EFM_UQID1 register  */
#define EFM_UQID1_LOT_ID                               (0xFFFFFFFFUL)

/*  Bit definition for EFM_UQID2 register  */
#define EFM_UQID2_LOT_ID                               (0x000000FFUL)

/*  Bit definition for EFM_MMF_REMPRT register  */
#define EFM_MMF_REMPRT_MMF_REMPRT                      (0x0000FFFFUL)

/*  Bit definition for EFM_MMF_REMCR register  */
#define EFM_MMF_REMCR_RMSIZE_POS                       (0U)
#define EFM_MMF_REMCR_RMSIZE                           (0x0000001FUL)
#define EFM_MMF_REMCR_RMTADDR_POS                      (12U)
#define EFM_MMF_REMCR_RMTADDR                          (0x1FFFF000UL)
#define EFM_MMF_REMCR_EN_POS                           (31U)
#define EFM_MMF_REMCR_EN                               (0x80000000UL)

/*  Bit definition for EFM_MMF_REMCR2 register  */
#define EFM_MMF_REMCR2_MAPSEL                          (0x00000001UL)

/*  Bit definition for EFM_WLOCK register  */
#define EFM_WLOCK_WLOCK0                               (0x00000001UL)

/*  Bit definition for EFM_F0NWPRT register  */
#define EFM_F0NWPRT_F0NWPRT0_POS                       (0U)
#define EFM_F0NWPRT_F0NWPRT0                           (0x00000001UL)
#define EFM_F0NWPRT_F0NWPRT1_POS                       (1U)
#define EFM_F0NWPRT_F0NWPRT1                           (0x00000002UL)
#define EFM_F0NWPRT_F0NWPRT2_POS                       (2U)
#define EFM_F0NWPRT_F0NWPRT2                           (0x00000004UL)
#define EFM_F0NWPRT_F0NWPRT3_POS                       (3U)
#define EFM_F0NWPRT_F0NWPRT3                           (0x00000008UL)
#define EFM_F0NWPRT_F0NWPRT4_POS                       (4U)
#define EFM_F0NWPRT_F0NWPRT4                           (0x00000010UL)
#define EFM_F0NWPRT_F0NWPRT5_POS                       (5U)
#define EFM_F0NWPRT_F0NWPRT5                           (0x00000020UL)
#define EFM_F0NWPRT_F0NWPRT6_POS                       (6U)
#define EFM_F0NWPRT_F0NWPRT6                           (0x00000040UL)
#define EFM_F0NWPRT_F0NWPRT7_POS                       (7U)
#define EFM_F0NWPRT_F0NWPRT7                           (0x00000080UL)
#define EFM_F0NWPRT_F0NWPRT8_POS                       (8U)
#define EFM_F0NWPRT_F0NWPRT8                           (0x00000100UL)
#define EFM_F0NWPRT_F0NWPRT9_POS                       (9U)
#define EFM_F0NWPRT_F0NWPRT9                           (0x00000200UL)
#define EFM_F0NWPRT_F0NWPRT10_POS                      (10U)
#define EFM_F0NWPRT_F0NWPRT10                          (0x00000400UL)
#define EFM_F0NWPRT_F0NWPRT11_POS                      (11U)
#define EFM_F0NWPRT_F0NWPRT11                          (0x00000800UL)
#define EFM_F0NWPRT_F0NWPRT12_POS                      (12U)
#define EFM_F0NWPRT_F0NWPRT12                          (0x00001000UL)
#define EFM_F0NWPRT_F0NWPRT13_POS                      (13U)
#define EFM_F0NWPRT_F0NWPRT13                          (0x00002000UL)
#define EFM_F0NWPRT_F0NWPRT14_POS                      (14U)
#define EFM_F0NWPRT_F0NWPRT14                          (0x00004000UL)
#define EFM_F0NWPRT_F0NWPRT15_POS                      (15U)
#define EFM_F0NWPRT_F0NWPRT15                          (0x00008000UL)
#define EFM_F0NWPRT_F0NWPRT16_POS                      (16U)
#define EFM_F0NWPRT_F0NWPRT16                          (0x00010000UL)
#define EFM_F0NWPRT_F0NWPRT17_POS                      (17U)
#define EFM_F0NWPRT_F0NWPRT17                          (0x00020000UL)
#define EFM_F0NWPRT_F0NWPRT18_POS                      (18U)
#define EFM_F0NWPRT_F0NWPRT18                          (0x00040000UL)
#define EFM_F0NWPRT_F0NWPRT19_POS                      (19U)
#define EFM_F0NWPRT_F0NWPRT19                          (0x00080000UL)
#define EFM_F0NWPRT_F0NWPRT20_POS                      (20U)
#define EFM_F0NWPRT_F0NWPRT20                          (0x00100000UL)
#define EFM_F0NWPRT_F0NWPRT21_POS                      (21U)
#define EFM_F0NWPRT_F0NWPRT21                          (0x00200000UL)
#define EFM_F0NWPRT_F0NWPRT22_POS                      (22U)
#define EFM_F0NWPRT_F0NWPRT22                          (0x00400000UL)
#define EFM_F0NWPRT_F0NWPRT23_POS                      (23U)
#define EFM_F0NWPRT_F0NWPRT23                          (0x00800000UL)
#define EFM_F0NWPRT_F0NWPRT24_POS                      (24U)
#define EFM_F0NWPRT_F0NWPRT24                          (0x01000000UL)
#define EFM_F0NWPRT_F0NWPRT25_POS                      (25U)
#define EFM_F0NWPRT_F0NWPRT25                          (0x02000000UL)
#define EFM_F0NWPRT_F0NWPRT26_POS                      (26U)
#define EFM_F0NWPRT_F0NWPRT26                          (0x04000000UL)
#define EFM_F0NWPRT_F0NWPRT27_POS                      (27U)
#define EFM_F0NWPRT_F0NWPRT27                          (0x08000000UL)
#define EFM_F0NWPRT_F0NWPRT28_POS                      (28U)
#define EFM_F0NWPRT_F0NWPRT28                          (0x10000000UL)
#define EFM_F0NWPRT_F0NWPRT29_POS                      (29U)
#define EFM_F0NWPRT_F0NWPRT29                          (0x20000000UL)
#define EFM_F0NWPRT_F0NWPRT30_POS                      (30U)
#define EFM_F0NWPRT_F0NWPRT30                          (0x40000000UL)
#define EFM_F0NWPRT_F0NWPRT31_POS                      (31U)
#define EFM_F0NWPRT_F0NWPRT31                          (0x80000000UL)

/*******************************************************************************
                Bit definition for Peripheral EMB
*******************************************************************************/
/*  Bit definition for EMB_CTL1 register  */
#define EMB_CTL1_CMPEN1_POS                            (0U)
#define EMB_CTL1_CMPEN1                                (0x00000001UL)
#define EMB_CTL1_CMPEN2_POS                            (1U)
#define EMB_CTL1_CMPEN2                                (0x00000002UL)
#define EMB_CTL1_CMPEN3_POS                            (2U)
#define EMB_CTL1_CMPEN3                                (0x00000004UL)
#define EMB_CTL1_SYSEN_POS                             (4U)
#define EMB_CTL1_SYSEN                                 (0x00000010UL)
#define EMB_CTL1_PWMSEN0_POS                           (5U)
#define EMB_CTL1_PWMSEN0                               (0x00000020UL)
#define EMB_CTL1_PWMSEN1_POS                           (6U)
#define EMB_CTL1_PWMSEN1                               (0x00000040UL)
#define EMB_CTL1_PWMSEN2_POS                           (7U)
#define EMB_CTL1_PWMSEN2                               (0x00000080UL)
#define EMB_CTL1_PWMSEN3_POS                           (8U)
#define EMB_CTL1_PWMSEN3                               (0x00000100UL)
#define EMB_CTL1_PWMSEN4_POS                           (9U)
#define EMB_CTL1_PWMSEN4                               (0x00000200UL)
#define EMB_CTL1_PWMSEN5_POS                           (10U)
#define EMB_CTL1_PWMSEN5                               (0x00000400UL)
#define EMB_CTL1_PORTINEN1_POS                         (16U)
#define EMB_CTL1_PORTINEN1                             (0x00010000UL)
#define EMB_CTL1_PORTINEN2_POS                         (17U)
#define EMB_CTL1_PORTINEN2                             (0x00020000UL)
#define EMB_CTL1_PORTINEN3_POS                         (18U)
#define EMB_CTL1_PORTINEN3                             (0x00040000UL)
#define EMB_CTL1_PORTINEN4_POS                         (19U)
#define EMB_CTL1_PORTINEN4                             (0x00080000UL)
#define EMB_CTL1_PORTINEN5_POS                         (20U)
#define EMB_CTL1_PORTINEN5                             (0x00100000UL)
#define EMB_CTL1_INVSEL1_POS                           (22U)
#define EMB_CTL1_INVSEL1                               (0x00400000UL)
#define EMB_CTL1_INVSEL2_POS                           (23U)
#define EMB_CTL1_INVSEL2                               (0x00800000UL)
#define EMB_CTL1_INVSEL3_POS                           (24U)
#define EMB_CTL1_INVSEL3                               (0x01000000UL)
#define EMB_CTL1_INVSEL4_POS                           (25U)
#define EMB_CTL1_INVSEL4                               (0x02000000UL)
#define EMB_CTL1_INVSEL5_POS                           (26U)
#define EMB_CTL1_INVSEL5                               (0x04000000UL)
#define EMB_CTL1_OSCSTPEN_POS                          (27U)
#define EMB_CTL1_OSCSTPEN                              (0x08000000UL)
#define EMB_CTL1_SRAMECCERREN_POS                      (28U)
#define EMB_CTL1_SRAMECCERREN                          (0x10000000UL)
#define EMB_CTL1_RAMPYERREN_POS                        (29U)
#define EMB_CTL1_RAMPYERREN                            (0x20000000UL)
#define EMB_CTL1_LOCKUPEN_POS                          (30U)
#define EMB_CTL1_LOCKUPEN                              (0x40000000UL)
#define EMB_CTL1_PVDEN_POS                             (31U)
#define EMB_CTL1_PVDEN                                 (0x80000000UL)

/*  Bit definition for EMB_CTL2 register  */
#define EMB_CTL2_PWMLV0_POS                            (0U)
#define EMB_CTL2_PWMLV0                                (0x00000001UL)
#define EMB_CTL2_PWMLV1_POS                            (1U)
#define EMB_CTL2_PWMLV1                                (0x00000002UL)
#define EMB_CTL2_PWMLV2_POS                            (2U)
#define EMB_CTL2_PWMLV2                                (0x00000004UL)
#define EMB_CTL2_PWMLV3_POS                            (3U)
#define EMB_CTL2_PWMLV3                                (0x00000008UL)
#define EMB_CTL2_PWMLV4_POS                            (4U)
#define EMB_CTL2_PWMLV4                                (0x00000010UL)
#define EMB_CTL2_PWMLV5_POS                            (5U)
#define EMB_CTL2_PWMLV5                                (0x00000020UL)
#define EMB_CTL2_NFSEL1_2_POS                          (10U)
#define EMB_CTL2_NFSEL1_2                              (0x00000400UL)
#define EMB_CTL2_NFSEL2_2_POS                          (11U)
#define EMB_CTL2_NFSEL2_2                              (0x00000800UL)
#define EMB_CTL2_NFSEL3_2_POS                          (12U)
#define EMB_CTL2_NFSEL3_2                              (0x00001000UL)
#define EMB_CTL2_NFSEL4_2_POS                          (13U)
#define EMB_CTL2_NFSEL4_2                              (0x00002000UL)
#define EMB_CTL2_NFSEL5_2_POS                          (14U)
#define EMB_CTL2_NFSEL5_2                              (0x00004000UL)
#define EMB_CTL2_NFMD_POS                              (15U)
#define EMB_CTL2_NFMD                                  (0x00008000UL)
#define EMB_CTL2_NFSEL1_POS                            (16U)
#define EMB_CTL2_NFSEL1                                (0x00030000UL)
#define EMB_CTL2_NFEN1_POS                             (18U)
#define EMB_CTL2_NFEN1                                 (0x00040000UL)
#define EMB_CTL2_NFSEL2_POS                            (19U)
#define EMB_CTL2_NFSEL2                                (0x00180000UL)
#define EMB_CTL2_NFEN2_POS                             (21U)
#define EMB_CTL2_NFEN2                                 (0x00200000UL)
#define EMB_CTL2_NFSEL3_POS                            (22U)
#define EMB_CTL2_NFSEL3                                (0x00C00000UL)
#define EMB_CTL2_NFEN3_POS                             (24U)
#define EMB_CTL2_NFEN3                                 (0x01000000UL)
#define EMB_CTL2_NFSEL4_POS                            (25U)
#define EMB_CTL2_NFSEL4                                (0x06000000UL)
#define EMB_CTL2_NFEN4_POS                             (27U)
#define EMB_CTL2_NFEN4                                 (0x08000000UL)
#define EMB_CTL2_NFSEL5_POS                            (28U)
#define EMB_CTL2_NFSEL5                                (0x30000000UL)
#define EMB_CTL2_NFEN5_POS                             (30U)
#define EMB_CTL2_NFEN5                                 (0x40000000UL)

/*  Bit definition for EMB_SOE register  */
#define EMB_SOE_SOE                                    (0x00000001UL)

/*  Bit definition for EMB_STAT register  */
#define EMB_STAT_PWMSF_POS                             (1U)
#define EMB_STAT_PWMSF                                 (0x00000002UL)
#define EMB_STAT_CMPF_POS                              (2U)
#define EMB_STAT_CMPF                                  (0x00000004UL)
#define EMB_STAT_SYSF_POS                              (3U)
#define EMB_STAT_SYSF                                  (0x00000008UL)
#define EMB_STAT_PWMST_POS                             (5U)
#define EMB_STAT_PWMST                                 (0x00000020UL)
#define EMB_STAT_CMPST_POS                             (6U)
#define EMB_STAT_CMPST                                 (0x00000040UL)
#define EMB_STAT_SYSST_POS                             (7U)
#define EMB_STAT_SYSST                                 (0x00000080UL)
#define EMB_STAT_PORTINF1_POS                          (8U)
#define EMB_STAT_PORTINF1                              (0x00000100UL)
#define EMB_STAT_PORTINF2_POS                          (9U)
#define EMB_STAT_PORTINF2                              (0x00000200UL)
#define EMB_STAT_PORTINF3_POS                          (10U)
#define EMB_STAT_PORTINF3                              (0x00000400UL)
#define EMB_STAT_PORTINF4_POS                          (11U)
#define EMB_STAT_PORTINF4                              (0x00000800UL)
#define EMB_STAT_PORTINF5_POS                          (12U)
#define EMB_STAT_PORTINF5                              (0x00001000UL)
#define EMB_STAT_PORTINST1_POS                         (14U)
#define EMB_STAT_PORTINST1                             (0x00004000UL)
#define EMB_STAT_PORTINST2_POS                         (15U)
#define EMB_STAT_PORTINST2                             (0x00008000UL)
#define EMB_STAT_PORTINST3_POS                         (16U)
#define EMB_STAT_PORTINST3                             (0x00010000UL)
#define EMB_STAT_PORTINST4_POS                         (17U)
#define EMB_STAT_PORTINST4                             (0x00020000UL)
#define EMB_STAT_PORTINST5_POS                         (18U)
#define EMB_STAT_PORTINST5                             (0x00040000UL)
#define EMB_STAT_OSCF_POS                              (19U)
#define EMB_STAT_OSCF                                  (0x00080000UL)
#define EMB_STAT_SRAMECCERRF_POS                       (20U)
#define EMB_STAT_SRAMECCERRF                           (0x00100000UL)
#define EMB_STAT_RAMPYERRF_POS                         (21U)
#define EMB_STAT_RAMPYERRF                             (0x00200000UL)
#define EMB_STAT_LOCKUPF_POS                           (22U)
#define EMB_STAT_LOCKUPF                               (0x00400000UL)
#define EMB_STAT_PVDF_POS                              (23U)
#define EMB_STAT_PVDF                                  (0x00800000UL)
#define EMB_STAT_CMP1F_POS                             (24U)
#define EMB_STAT_CMP1F                                 (0x01000000UL)
#define EMB_STAT_CMP2F_POS                             (25U)
#define EMB_STAT_CMP2F                                 (0x02000000UL)
#define EMB_STAT_CMP3F_POS                             (26U)
#define EMB_STAT_CMP3F                                 (0x04000000UL)

/*  Bit definition for EMB_STATCLR register  */
#define EMB_STATCLR_PWMSFCLR_POS                       (1U)
#define EMB_STATCLR_PWMSFCLR                           (0x00000002UL)
#define EMB_STATCLR_CMPFCLR_POS                        (2U)
#define EMB_STATCLR_CMPFCLR                            (0x00000004UL)
#define EMB_STATCLR_SYSFCLR_POS                        (3U)
#define EMB_STATCLR_SYSFCLR                            (0x00000008UL)
#define EMB_STATCLR_PORTINFCLR1_POS                    (8U)
#define EMB_STATCLR_PORTINFCLR1                        (0x00000100UL)
#define EMB_STATCLR_PORTINFCLR2_POS                    (9U)
#define EMB_STATCLR_PORTINFCLR2                        (0x00000200UL)
#define EMB_STATCLR_PORTINFCLR3_POS                    (10U)
#define EMB_STATCLR_PORTINFCLR3                        (0x00000400UL)
#define EMB_STATCLR_PORTINFCLR4_POS                    (11U)
#define EMB_STATCLR_PORTINFCLR4                        (0x00000800UL)
#define EMB_STATCLR_PORTINFCLR5_POS                    (12U)
#define EMB_STATCLR_PORTINFCLR5                        (0x00001000UL)
#define EMB_STATCLR_OSCFCLR_POS                        (19U)
#define EMB_STATCLR_OSCFCLR                            (0x00080000UL)
#define EMB_STATCLR_SRAMECCERRFCLR_POS                 (20U)
#define EMB_STATCLR_SRAMECCERRFCLR                     (0x00100000UL)
#define EMB_STATCLR_RAMPYERRFCLR_POS                   (21U)
#define EMB_STATCLR_RAMPYERRFCLR                       (0x00200000UL)
#define EMB_STATCLR_LOCKUPFCLR_POS                     (22U)
#define EMB_STATCLR_LOCKUPFCLR                         (0x00400000UL)
#define EMB_STATCLR_PVDFCLR_POS                        (23U)
#define EMB_STATCLR_PVDFCLR                            (0x00800000UL)
#define EMB_STATCLR_CMP1FCLR_POS                       (24U)
#define EMB_STATCLR_CMP1FCLR                           (0x01000000UL)
#define EMB_STATCLR_CMP2FCLR_POS                       (25U)
#define EMB_STATCLR_CMP2FCLR                           (0x02000000UL)
#define EMB_STATCLR_CMP3FCLR_POS                       (26U)
#define EMB_STATCLR_CMP3FCLR                           (0x04000000UL)

/*  Bit definition for EMB_INTEN register  */
#define EMB_INTEN_PWMSINTEN_POS                        (1U)
#define EMB_INTEN_PWMSINTEN                            (0x00000002UL)
#define EMB_INTEN_CMPINTEN_POS                         (2U)
#define EMB_INTEN_CMPINTEN                             (0x00000004UL)
#define EMB_INTEN_SYSINTEN_POS                         (3U)
#define EMB_INTEN_SYSINTEN                             (0x00000008UL)
#define EMB_INTEN_PORTININTEN1_POS                     (8U)
#define EMB_INTEN_PORTININTEN1                         (0x00000100UL)
#define EMB_INTEN_PORTININTEN2_POS                     (9U)
#define EMB_INTEN_PORTININTEN2                         (0x00000200UL)
#define EMB_INTEN_PORTININTEN3_POS                     (10U)
#define EMB_INTEN_PORTININTEN3                         (0x00000400UL)
#define EMB_INTEN_PORTININTEN4_POS                     (11U)
#define EMB_INTEN_PORTININTEN4                         (0x00000800UL)
#define EMB_INTEN_PORTININTEN5_POS                     (12U)
#define EMB_INTEN_PORTININTEN5                         (0x00001000UL)

/*  Bit definition for EMB_RLSSEL register  */
#define EMB_RLSSEL_PWMRSEL_POS                         (1U)
#define EMB_RLSSEL_PWMRSEL                             (0x00000002UL)
#define EMB_RLSSEL_CMPRSEL_POS                         (2U)
#define EMB_RLSSEL_CMPRSEL                             (0x00000004UL)
#define EMB_RLSSEL_SYSRSEL_POS                         (3U)
#define EMB_RLSSEL_SYSRSEL                             (0x00000008UL)
#define EMB_RLSSEL_PORTINRSEL1_POS                     (8U)
#define EMB_RLSSEL_PORTINRSEL1                         (0x00000100UL)
#define EMB_RLSSEL_PORTINRSEL2_POS                     (9U)
#define EMB_RLSSEL_PORTINRSEL2                         (0x00000200UL)
#define EMB_RLSSEL_PORTINRSEL3_POS                     (10U)
#define EMB_RLSSEL_PORTINRSEL3                         (0x00000400UL)
#define EMB_RLSSEL_PORTINRSEL4_POS                     (11U)
#define EMB_RLSSEL_PORTINRSEL4                         (0x00000800UL)
#define EMB_RLSSEL_PORTINRSEL5_POS                     (12U)
#define EMB_RLSSEL_PORTINRSEL5                         (0x00001000UL)

/*******************************************************************************
                Bit definition for Peripheral FCM
*******************************************************************************/
/*  Bit definition for FCM_LVR register  */
#define FCM_LVR_LVR                                    (0x0000FFFFUL)

/*  Bit definition for FCM_UVR register  */
#define FCM_UVR_UVR                                    (0x0000FFFFUL)

/*  Bit definition for FCM_CNTR register  */
#define FCM_CNTR_CNTR                                  (0x0000FFFFUL)

/*  Bit definition for FCM_STR register  */
#define FCM_STR_START                                  (0x00000001UL)

/*  Bit definition for FCM_MCCR register  */
#define FCM_MCCR_MDIVS_POS                             (0U)
#define FCM_MCCR_MDIVS                                 (0x00000003UL)
#define FCM_MCCR_MDIVS_0                               (0x00000001UL)
#define FCM_MCCR_MDIVS_1                               (0x00000002UL)
#define FCM_MCCR_MCKS_POS                              (4U)
#define FCM_MCCR_MCKS                                  (0x000000F0UL)

/*  Bit definition for FCM_RCCR register  */
#define FCM_RCCR_RDIVS_POS                             (0U)
#define FCM_RCCR_RDIVS                                 (0x00000003UL)
#define FCM_RCCR_RDIVS_0                               (0x00000001UL)
#define FCM_RCCR_RDIVS_1                               (0x00000002UL)
#define FCM_RCCR_RCKS_POS                              (3U)
#define FCM_RCCR_RCKS                                  (0x00000078UL)
#define FCM_RCCR_INEXS_POS                             (7U)
#define FCM_RCCR_INEXS                                 (0x00000080UL)
#define FCM_RCCR_DNFS_POS                              (8U)
#define FCM_RCCR_DNFS                                  (0x00000300UL)
#define FCM_RCCR_DNFS_0                                (0x00000100UL)
#define FCM_RCCR_DNFS_1                                (0x00000200UL)
#define FCM_RCCR_EDGES_POS                             (12U)
#define FCM_RCCR_EDGES                                 (0x00003000UL)
#define FCM_RCCR_EDGES_0                               (0x00001000UL)
#define FCM_RCCR_EDGES_1                               (0x00002000UL)
#define FCM_RCCR_EXREFE_POS                            (15U)
#define FCM_RCCR_EXREFE                                (0x00008000UL)

/*  Bit definition for FCM_RIER register  */
#define FCM_RIER_ERRIE_POS                             (0U)
#define FCM_RIER_ERRIE                                 (0x00000001UL)
#define FCM_RIER_MENDIE_POS                            (1U)
#define FCM_RIER_MENDIE                                (0x00000002UL)
#define FCM_RIER_OVFIE_POS                             (2U)
#define FCM_RIER_OVFIE                                 (0x00000004UL)
#define FCM_RIER_ERRINTRS_POS                          (4U)
#define FCM_RIER_ERRINTRS                              (0x00000010UL)
#define FCM_RIER_ERRE_POS                              (7U)
#define FCM_RIER_ERRE                                  (0x00000080UL)

/*  Bit definition for FCM_SR register  */
#define FCM_SR_ERRF_POS                                (0U)
#define FCM_SR_ERRF                                    (0x00000001UL)
#define FCM_SR_MENDF_POS                               (1U)
#define FCM_SR_MENDF                                   (0x00000002UL)
#define FCM_SR_OVF_POS                                 (2U)
#define FCM_SR_OVF                                     (0x00000004UL)

/*  Bit definition for FCM_CLR register  */
#define FCM_CLR_ERRFCLR_POS                            (0U)
#define FCM_CLR_ERRFCLR                                (0x00000001UL)
#define FCM_CLR_MENDFCLR_POS                           (1U)
#define FCM_CLR_MENDFCLR                               (0x00000002UL)
#define FCM_CLR_OVFCLR_POS                             (2U)
#define FCM_CLR_OVFCLR                                 (0x00000004UL)

/*******************************************************************************
                Bit definition for Peripheral GPIO
*******************************************************************************/
/*  Bit definition for GPIO_PIDR register  */
#define GPIO_PIDR_PIN00_POS                            (0U)
#define GPIO_PIDR_PIN00                                (0x0001U)
#define GPIO_PIDR_PIN01_POS                            (1U)
#define GPIO_PIDR_PIN01                                (0x0002U)
#define GPIO_PIDR_PIN02_POS                            (2U)
#define GPIO_PIDR_PIN02                                (0x0004U)
#define GPIO_PIDR_PIN03_POS                            (3U)
#define GPIO_PIDR_PIN03                                (0x0008U)
#define GPIO_PIDR_PIN04_POS                            (4U)
#define GPIO_PIDR_PIN04                                (0x0010U)
#define GPIO_PIDR_PIN05_POS                            (5U)
#define GPIO_PIDR_PIN05                                (0x0020U)
#define GPIO_PIDR_PIN06_POS                            (6U)
#define GPIO_PIDR_PIN06                                (0x0040U)
#define GPIO_PIDR_PIN07_POS                            (7U)
#define GPIO_PIDR_PIN07                                (0x0080U)
#define GPIO_PIDR_PIN08_POS                            (8U)
#define GPIO_PIDR_PIN08                                (0x0100U)
#define GPIO_PIDR_PIN09_POS                            (9U)
#define GPIO_PIDR_PIN09                                (0x0200U)
#define GPIO_PIDR_PIN10_POS                            (10U)
#define GPIO_PIDR_PIN10                                (0x0400U)
#define GPIO_PIDR_PIN11_POS                            (11U)
#define GPIO_PIDR_PIN11                                (0x0800U)
#define GPIO_PIDR_PIN12_POS                            (12U)
#define GPIO_PIDR_PIN12                                (0x1000U)
#define GPIO_PIDR_PIN13_POS                            (13U)
#define GPIO_PIDR_PIN13                                (0x2000U)
#define GPIO_PIDR_PIN14_POS                            (14U)
#define GPIO_PIDR_PIN14                                (0x4000U)
#define GPIO_PIDR_PIN15_POS                            (15U)
#define GPIO_PIDR_PIN15                                (0x8000U)

/*  Bit definition for GPIO_PODR register  */
#define GPIO_PODR_POUT00_POS                           (0U)
#define GPIO_PODR_POUT00                               (0x0001U)
#define GPIO_PODR_POUT01_POS                           (1U)
#define GPIO_PODR_POUT01                               (0x0002U)
#define GPIO_PODR_POUT02_POS                           (2U)
#define GPIO_PODR_POUT02                               (0x0004U)
#define GPIO_PODR_POUT03_POS                           (3U)
#define GPIO_PODR_POUT03                               (0x0008U)
#define GPIO_PODR_POUT04_POS                           (4U)
#define GPIO_PODR_POUT04                               (0x0010U)
#define GPIO_PODR_POUT05_POS                           (5U)
#define GPIO_PODR_POUT05                               (0x0020U)
#define GPIO_PODR_POUT06_POS                           (6U)
#define GPIO_PODR_POUT06                               (0x0040U)
#define GPIO_PODR_POUT07_POS                           (7U)
#define GPIO_PODR_POUT07                               (0x0080U)
#define GPIO_PODR_POUT08_POS                           (8U)
#define GPIO_PODR_POUT08                               (0x0100U)
#define GPIO_PODR_POUT09_POS                           (9U)
#define GPIO_PODR_POUT09                               (0x0200U)
#define GPIO_PODR_POUT10_POS                           (10U)
#define GPIO_PODR_POUT10                               (0x0400U)
#define GPIO_PODR_POUT11_POS                           (11U)
#define GPIO_PODR_POUT11                               (0x0800U)
#define GPIO_PODR_POUT12_POS                           (12U)
#define GPIO_PODR_POUT12                               (0x1000U)
#define GPIO_PODR_POUT13_POS                           (13U)
#define GPIO_PODR_POUT13                               (0x2000U)
#define GPIO_PODR_POUT14_POS                           (14U)
#define GPIO_PODR_POUT14                               (0x4000U)
#define GPIO_PODR_POUT15_POS                           (15U)
#define GPIO_PODR_POUT15                               (0x8000U)

/*  Bit definition for GPIO_POER register  */
#define GPIO_POER_POUTE00_POS                          (0U)
#define GPIO_POER_POUTE00                              (0x0001U)
#define GPIO_POER_POUTE01_POS                          (1U)
#define GPIO_POER_POUTE01                              (0x0002U)
#define GPIO_POER_POUTE02_POS                          (2U)
#define GPIO_POER_POUTE02                              (0x0004U)
#define GPIO_POER_POUTE03_POS                          (3U)
#define GPIO_POER_POUTE03                              (0x0008U)
#define GPIO_POER_POUTE04_POS                          (4U)
#define GPIO_POER_POUTE04                              (0x0010U)
#define GPIO_POER_POUTE05_POS                          (5U)
#define GPIO_POER_POUTE05                              (0x0020U)
#define GPIO_POER_POUTE06_POS                          (6U)
#define GPIO_POER_POUTE06                              (0x0040U)
#define GPIO_POER_POUTE07_POS                          (7U)
#define GPIO_POER_POUTE07                              (0x0080U)
#define GPIO_POER_POUTE08_POS                          (8U)
#define GPIO_POER_POUTE08                              (0x0100U)
#define GPIO_POER_POUTE09_POS                          (9U)
#define GPIO_POER_POUTE09                              (0x0200U)
#define GPIO_POER_POUTE10_POS                          (10U)
#define GPIO_POER_POUTE10                              (0x0400U)
#define GPIO_POER_POUTE11_POS                          (11U)
#define GPIO_POER_POUTE11                              (0x0800U)
#define GPIO_POER_POUTE12_POS                          (12U)
#define GPIO_POER_POUTE12                              (0x1000U)
#define GPIO_POER_POUTE13_POS                          (13U)
#define GPIO_POER_POUTE13                              (0x2000U)
#define GPIO_POER_POUTE14_POS                          (14U)
#define GPIO_POER_POUTE14                              (0x4000U)
#define GPIO_POER_POUTE15_POS                          (15U)
#define GPIO_POER_POUTE15                              (0x8000U)

/*  Bit definition for GPIO_POSR register  */
#define GPIO_POSR_POS00_POS                            (0U)
#define GPIO_POSR_POS00                                (0x0001U)
#define GPIO_POSR_POS01_POS                            (1U)
#define GPIO_POSR_POS01                                (0x0002U)
#define GPIO_POSR_POS02_POS                            (2U)
#define GPIO_POSR_POS02                                (0x0004U)
#define GPIO_POSR_POS03_POS                            (3U)
#define GPIO_POSR_POS03                                (0x0008U)
#define GPIO_POSR_POS04_POS                            (4U)
#define GPIO_POSR_POS04                                (0x0010U)
#define GPIO_POSR_POS05_POS                            (5U)
#define GPIO_POSR_POS05                                (0x0020U)
#define GPIO_POSR_POS06_POS                            (6U)
#define GPIO_POSR_POS06                                (0x0040U)
#define GPIO_POSR_POS07_POS                            (7U)
#define GPIO_POSR_POS07                                (0x0080U)
#define GPIO_POSR_POS08_POS                            (8U)
#define GPIO_POSR_POS08                                (0x0100U)
#define GPIO_POSR_POS09_POS                            (9U)
#define GPIO_POSR_POS09                                (0x0200U)
#define GPIO_POSR_POS10_POS                            (10U)
#define GPIO_POSR_POS10                                (0x0400U)
#define GPIO_POSR_POS11_POS                            (11U)
#define GPIO_POSR_POS11                                (0x0800U)
#define GPIO_POSR_POS12_POS                            (12U)
#define GPIO_POSR_POS12                                (0x1000U)
#define GPIO_POSR_POS13_POS                            (13U)
#define GPIO_POSR_POS13                                (0x2000U)
#define GPIO_POSR_POS14_POS                            (14U)
#define GPIO_POSR_POS14                                (0x4000U)
#define GPIO_POSR_POS15_POS                            (15U)
#define GPIO_POSR_POS15                                (0x8000U)

/*  Bit definition for GPIO_PORR register  */
#define GPIO_PORR_POR00_POS                            (0U)
#define GPIO_PORR_POR00                                (0x0001U)
#define GPIO_PORR_POR01_POS                            (1U)
#define GPIO_PORR_POR01                                (0x0002U)
#define GPIO_PORR_POR02_POS                            (2U)
#define GPIO_PORR_POR02                                (0x0004U)
#define GPIO_PORR_POR03_POS                            (3U)
#define GPIO_PORR_POR03                                (0x0008U)
#define GPIO_PORR_POR04_POS                            (4U)
#define GPIO_PORR_POR04                                (0x0010U)
#define GPIO_PORR_POR05_POS                            (5U)
#define GPIO_PORR_POR05                                (0x0020U)
#define GPIO_PORR_POR06_POS                            (6U)
#define GPIO_PORR_POR06                                (0x0040U)
#define GPIO_PORR_POR07_POS                            (7U)
#define GPIO_PORR_POR07                                (0x0080U)
#define GPIO_PORR_POR08_POS                            (8U)
#define GPIO_PORR_POR08                                (0x0100U)
#define GPIO_PORR_POR09_POS                            (9U)
#define GPIO_PORR_POR09                                (0x0200U)
#define GPIO_PORR_POR10_POS                            (10U)
#define GPIO_PORR_POR10                                (0x0400U)
#define GPIO_PORR_POR11_POS                            (11U)
#define GPIO_PORR_POR11                                (0x0800U)
#define GPIO_PORR_POR12_POS                            (12U)
#define GPIO_PORR_POR12                                (0x1000U)
#define GPIO_PORR_POR13_POS                            (13U)
#define GPIO_PORR_POR13                                (0x2000U)
#define GPIO_PORR_POR14_POS                            (14U)
#define GPIO_PORR_POR14                                (0x4000U)
#define GPIO_PORR_POR15_POS                            (15U)
#define GPIO_PORR_POR15                                (0x8000U)

/*  Bit definition for GPIO_POTR register  */
#define GPIO_POTR_POT00_POS                            (0U)
#define GPIO_POTR_POT00                                (0x0001U)
#define GPIO_POTR_POT01_POS                            (1U)
#define GPIO_POTR_POT01                                (0x0002U)
#define GPIO_POTR_POT02_POS                            (2U)
#define GPIO_POTR_POT02                                (0x0004U)
#define GPIO_POTR_POT03_POS                            (3U)
#define GPIO_POTR_POT03                                (0x0008U)
#define GPIO_POTR_POT04_POS                            (4U)
#define GPIO_POTR_POT04                                (0x0010U)
#define GPIO_POTR_POT05_POS                            (5U)
#define GPIO_POTR_POT05                                (0x0020U)
#define GPIO_POTR_POT06_POS                            (6U)
#define GPIO_POTR_POT06                                (0x0040U)
#define GPIO_POTR_POT07_POS                            (7U)
#define GPIO_POTR_POT07                                (0x0080U)
#define GPIO_POTR_POT08_POS                            (8U)
#define GPIO_POTR_POT08                                (0x0100U)
#define GPIO_POTR_POT09_POS                            (9U)
#define GPIO_POTR_POT09                                (0x0200U)
#define GPIO_POTR_POT10_POS                            (10U)
#define GPIO_POTR_POT10                                (0x0400U)
#define GPIO_POTR_POT11_POS                            (11U)
#define GPIO_POTR_POT11                                (0x0800U)
#define GPIO_POTR_POT12_POS                            (12U)
#define GPIO_POTR_POT12                                (0x1000U)
#define GPIO_POTR_POT13_POS                            (13U)
#define GPIO_POTR_POT13                                (0x2000U)
#define GPIO_POTR_POT14_POS                            (14U)
#define GPIO_POTR_POT14                                (0x4000U)
#define GPIO_POTR_POT15_POS                            (15U)
#define GPIO_POTR_POT15                                (0x8000U)

/*  Bit definition for GPIO_HRPWM register  */
#define GPIO_HRPWM_HRSEL0_POS                          (0U)
#define GPIO_HRPWM_HRSEL0                              (0x00000001UL)
#define GPIO_HRPWM_HRSEL1_POS                          (1U)
#define GPIO_HRPWM_HRSEL1                              (0x00000002UL)
#define GPIO_HRPWM_HRSEL2_POS                          (2U)
#define GPIO_HRPWM_HRSEL2                              (0x00000004UL)
#define GPIO_HRPWM_HRSEL3_POS                          (3U)
#define GPIO_HRPWM_HRSEL3                              (0x00000008UL)
#define GPIO_HRPWM_HRSEL4_POS                          (4U)
#define GPIO_HRPWM_HRSEL4                              (0x00000010UL)
#define GPIO_HRPWM_HRSEL5_POS                          (5U)
#define GPIO_HRPWM_HRSEL5                              (0x00000020UL)
#define GPIO_HRPWM_HRSEL6_POS                          (6U)
#define GPIO_HRPWM_HRSEL6                              (0x00000040UL)
#define GPIO_HRPWM_HRSEL7_POS                          (7U)
#define GPIO_HRPWM_HRSEL7                              (0x00000080UL)
#define GPIO_HRPWM_HRSEL8_POS                          (8U)
#define GPIO_HRPWM_HRSEL8                              (0x00000100UL)
#define GPIO_HRPWM_HRSEL9_POS                          (9U)
#define GPIO_HRPWM_HRSEL9                              (0x00000200UL)
#define GPIO_HRPWM_HRSEL10_POS                         (10U)
#define GPIO_HRPWM_HRSEL10                             (0x00000400UL)
#define GPIO_HRPWM_HRSEL11_POS                         (11U)
#define GPIO_HRPWM_HRSEL11                             (0x00000800UL)
#define GPIO_HRPWM_HREX0_POS                           (16U)
#define GPIO_HRPWM_HREX0                               (0x00010000UL)
#define GPIO_HRPWM_HREX1_POS                           (17U)
#define GPIO_HRPWM_HREX1                               (0x00020000UL)
#define GPIO_HRPWM_HREX2_POS                           (18U)
#define GPIO_HRPWM_HREX2                               (0x00040000UL)
#define GPIO_HRPWM_HREX3_POS                           (19U)
#define GPIO_HRPWM_HREX3                               (0x00080000UL)
#define GPIO_HRPWM_HREX4_POS                           (20U)
#define GPIO_HRPWM_HREX4                               (0x00100000UL)
#define GPIO_HRPWM_HREX5_POS                           (21U)
#define GPIO_HRPWM_HREX5                               (0x00200000UL)
#define GPIO_HRPWM_HREX6_POS                           (22U)
#define GPIO_HRPWM_HREX6                               (0x00400000UL)
#define GPIO_HRPWM_HREX7_POS                           (23U)
#define GPIO_HRPWM_HREX7                               (0x00800000UL)
#define GPIO_HRPWM_HREX8_POS                           (24U)
#define GPIO_HRPWM_HREX8                               (0x01000000UL)
#define GPIO_HRPWM_HREX9_POS                           (25U)
#define GPIO_HRPWM_HREX9                               (0x02000000UL)
#define GPIO_HRPWM_HREX10_POS                          (26U)
#define GPIO_HRPWM_HREX10                              (0x04000000UL)
#define GPIO_HRPWM_HREX11_POS                          (27U)
#define GPIO_HRPWM_HREX11                              (0x08000000UL)

/*  Bit definition for GPIO_PSPCR register  */
#define GPIO_PSPCR_SPFE                                (0x001FU)
#define GPIO_PSPCR_SPFE_0                              (0x0001U)
#define GPIO_PSPCR_SPFE_1                              (0x0002U)
#define GPIO_PSPCR_SPFE_2                              (0x0004U)
#define GPIO_PSPCR_SPFE_3                              (0x0008U)
#define GPIO_PSPCR_SPFE_4                              (0x0010U)

/*  Bit definition for GPIO_PCCR register  */
#define GPIO_PCCR_BFSEL_POS                            (0U)
#define GPIO_PCCR_BFSEL                                (0x003FU)
#define GPIO_PCCR_RDWT_POS                             (12U)
#define GPIO_PCCR_RDWT                                 (0x7000U)

/*  Bit definition for GPIO_PWPR register  */
#define GPIO_PWPR_WE_POS                               (0U)
#define GPIO_PWPR_WE                                   (0x0001U)
#define GPIO_PWPR_WP_POS                               (8U)
#define GPIO_PWPR_WP                                   (0xFF00U)

/*  Bit definition for GPIO_PCR register  */
#define GPIO_PCR_POUT_POS                              (0U)
#define GPIO_PCR_POUT                                  (0x0001U)
#define GPIO_PCR_POUTE_POS                             (1U)
#define GPIO_PCR_POUTE                                 (0x0002U)
#define GPIO_PCR_NOD_POS                               (2U)
#define GPIO_PCR_NOD                                   (0x0004U)
#define GPIO_PCR_DRV_POS                               (4U)
#define GPIO_PCR_DRV                                   (0x0030U)
#define GPIO_PCR_DRV_0                                 (0x0010U)
#define GPIO_PCR_DRV_1                                 (0x0020U)
#define GPIO_PCR_PUU_POS                               (6U)
#define GPIO_PCR_PUU                                   (0x0040U)
#define GPIO_PCR_PUD_POS                               (7U)
#define GPIO_PCR_PUD                                   (0x0080U)
#define GPIO_PCR_PIN_POS                               (8U)
#define GPIO_PCR_PIN                                   (0x0100U)
#define GPIO_PCR_INVE_POS                              (9U)
#define GPIO_PCR_INVE                                  (0x0200U)
#define GPIO_PCR_CINSEL_POS                            (10U)
#define GPIO_PCR_CINSEL                                (0x0400U)
#define GPIO_PCR_INTE_POS                              (12U)
#define GPIO_PCR_INTE                                  (0x1000U)
#define GPIO_PCR_PINAE_POS                             (13U)
#define GPIO_PCR_PINAE                                 (0x2000U)
#define GPIO_PCR_LTE_POS                               (14U)
#define GPIO_PCR_LTE                                   (0x4000U)
#define GPIO_PCR_DDIS_POS                              (15U)
#define GPIO_PCR_DDIS                                  (0x8000U)

/*  Bit definition for GPIO_PFSR register  */
#define GPIO_PFSR_FSEL_POS                             (0U)
#define GPIO_PFSR_FSEL                                 (0x003FU)
#define GPIO_PFSR_BFE_POS                              (8U)
#define GPIO_PFSR_BFE                                  (0x0100U)

/*******************************************************************************
                Bit definition for Peripheral HRPWM
*******************************************************************************/
/*  Bit definition for HRPWM_CNTER register  */
#define HRPWM_CNTER_CNT                                (0x003FFFFFUL)

/*  Bit definition for HRPWM_UPDAR register  */
#define HRPWM_UPDAR_UPDA                               (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRPERAR register  */
#define HRPWM_HRPERAR_HRPERA                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRPERBR register  */
#define HRPWM_HRPERBR_HRPERB                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMAR register  */
#define HRPWM_HRGCMAR_HRGCMA                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMBR register  */
#define HRPWM_HRGCMBR_HRGCMB                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMCR register  */
#define HRPWM_HRGCMCR_HRGCMC                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMDR register  */
#define HRPWM_HRGCMDR_HRGCMD                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMER register  */
#define HRPWM_HRGCMER_HRGCME                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMFR register  */
#define HRPWM_HRGCMFR_HRGCMF                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMGR register  */
#define HRPWM_HRGCMGR_HRGCMG                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRGCMHR register  */
#define HRPWM_HRGCMHR_HRGCMH                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_SCMAR register  */
#define HRPWM_SCMAR_SCMA                               (0x003FFFFFUL)

/*  Bit definition for HRPWM_SCMBR register  */
#define HRPWM_SCMBR_SCMB                               (0x003FFFFFUL)

/*  Bit definition for HRPWM_SCMCR register  */
#define HRPWM_SCMCR_SCMC                               (0x003FFFFFUL)

/*  Bit definition for HRPWM_SCMDR register  */
#define HRPWM_SCMDR_SCMD                               (0x003FFFFFUL)

/*  Bit definition for HRPWM_CAPAR register  */
#define HRPWM_CAPAR_CAPA_POS                           (0U)
#define HRPWM_CAPAR_CAPA                               (0x003FFFFFUL)
#define HRPWM_CAPAR_CAPDIRA_POS                        (22U)
#define HRPWM_CAPAR_CAPDIRA                            (0x00400000UL)

/*  Bit definition for HRPWM_CAPBR register  */
#define HRPWM_CAPBR_CAPB_POS                           (0U)
#define HRPWM_CAPBR_CAPB                               (0x003FFFFFUL)
#define HRPWM_CAPBR_CAPDIRB_POS                        (22U)
#define HRPWM_CAPBR_CAPDIRB                            (0x00400000UL)

/*  Bit definition for HRPWM_HRDTUAR register  */
#define HRPWM_HRDTUAR_HRDTUA                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRDTDAR register  */
#define HRPWM_HRDTDAR_HRDTDA                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRDTUBR register  */
#define HRPWM_HRDTUBR_HRDTUB                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_HRDTDBR register  */
#define HRPWM_HRDTDBR_HRDTDB                           (0x003FFFFFUL)

/*  Bit definition for HRPWM_GCONR register  */
#define HRPWM_GCONR_START_POS                          (0U)
#define HRPWM_GCONR_START                              (0x00000001UL)
#define HRPWM_GCONR_MODE_POS                           (2U)
#define HRPWM_GCONR_MODE                               (0x00000004UL)
#define HRPWM_GCONR_OVSTP_POS                          (8U)
#define HRPWM_GCONR_OVSTP                              (0x00000100UL)

/*  Bit definition for HRPWM_ICONR register  */
#define HRPWM_ICONR_INTENA_POS                         (0U)
#define HRPWM_ICONR_INTENA                             (0x00000001UL)
#define HRPWM_ICONR_INTENB_POS                         (1U)
#define HRPWM_ICONR_INTENB                             (0x00000002UL)
#define HRPWM_ICONR_INTENC_POS                         (2U)
#define HRPWM_ICONR_INTENC                             (0x00000004UL)
#define HRPWM_ICONR_INTEND_POS                         (3U)
#define HRPWM_ICONR_INTEND                             (0x00000008UL)
#define HRPWM_ICONR_INTENE_POS                         (4U)
#define HRPWM_ICONR_INTENE                             (0x00000010UL)
#define HRPWM_ICONR_INTENF_POS                         (5U)
#define HRPWM_ICONR_INTENF                             (0x00000020UL)
#define HRPWM_ICONR_INTENOVF_POS                       (6U)
#define HRPWM_ICONR_INTENOVF                           (0x00000040UL)
#define HRPWM_ICONR_INTENUDF_POS                       (7U)
#define HRPWM_ICONR_INTENUDF                           (0x00000080UL)
#define HRPWM_ICONR_INTENCAPA_POS                      (14U)
#define HRPWM_ICONR_INTENCAPA                          (0x00004000UL)
#define HRPWM_ICONR_INTENCAPB_POS                      (15U)
#define HRPWM_ICONR_INTENCAPB                          (0x00008000UL)
#define HRPWM_ICONR_INTENSAU_POS                       (16U)
#define HRPWM_ICONR_INTENSAU                           (0x00010000UL)
#define HRPWM_ICONR_INTENSAD_POS                       (17U)
#define HRPWM_ICONR_INTENSAD                           (0x00020000UL)
#define HRPWM_ICONR_INTENSBU_POS                       (18U)
#define HRPWM_ICONR_INTENSBU                           (0x00040000UL)
#define HRPWM_ICONR_INTENSBD_POS                       (19U)
#define HRPWM_ICONR_INTENSBD                           (0x00080000UL)

/*  Bit definition for HRPWM_BCONR1 register  */
#define HRPWM_BCONR1_BENAE_POS                         (0U)
#define HRPWM_BCONR1_BENAE                             (0x00000001UL)
#define HRPWM_BCONR1_BTRUAE_POS                        (2U)
#define HRPWM_BCONR1_BTRUAE                            (0x00000004UL)
#define HRPWM_BCONR1_BTRDAE_POS                        (3U)
#define HRPWM_BCONR1_BTRDAE                            (0x00000008UL)
#define HRPWM_BCONR1_BENBF_POS                         (4U)
#define HRPWM_BCONR1_BENBF                             (0x00000010UL)
#define HRPWM_BCONR1_BTRUBF_POS                        (6U)
#define HRPWM_BCONR1_BTRUBF                            (0x00000040UL)
#define HRPWM_BCONR1_BTRDBF_POS                        (7U)
#define HRPWM_BCONR1_BTRDBF                            (0x00000080UL)
#define HRPWM_BCONR1_BENP_POS                          (8U)
#define HRPWM_BCONR1_BENP                              (0x00000100UL)
#define HRPWM_BCONR1_BTRUP_POS                         (10U)
#define HRPWM_BCONR1_BTRUP                             (0x00000400UL)
#define HRPWM_BCONR1_BTRDP_POS                         (11U)
#define HRPWM_BCONR1_BTRDP                             (0x00000800UL)
#define HRPWM_BCONR1_BENSPA_POS                        (16U)
#define HRPWM_BCONR1_BENSPA                            (0x00010000UL)
#define HRPWM_BCONR1_BTRUSPA_POS                       (18U)
#define HRPWM_BCONR1_BTRUSPA                           (0x00040000UL)
#define HRPWM_BCONR1_BTRDSPA_POS                       (19U)
#define HRPWM_BCONR1_BTRDSPA                           (0x00080000UL)
#define HRPWM_BCONR1_BENSPB_POS                        (20U)
#define HRPWM_BCONR1_BENSPB                            (0x00100000UL)
#define HRPWM_BCONR1_BTRUSPB_POS                       (22U)
#define HRPWM_BCONR1_BTRUSPB                           (0x00400000UL)
#define HRPWM_BCONR1_BTRDSPB_POS                       (23U)
#define HRPWM_BCONR1_BTRDSPB                           (0x00800000UL)

/*  Bit definition for HRPWM_DCONR register  */
#define HRPWM_DCONR_DTCEN_POS                          (0U)
#define HRPWM_DCONR_DTCEN                              (0x00000001UL)
#define HRPWM_DCONR_SEPA_POS                           (1U)
#define HRPWM_DCONR_SEPA                               (0x00000002UL)
#define HRPWM_DCONR_DTBENU_POS                         (4U)
#define HRPWM_DCONR_DTBENU                             (0x00000010UL)
#define HRPWM_DCONR_DTBEND_POS                         (5U)
#define HRPWM_DCONR_DTBEND                             (0x00000020UL)
#define HRPWM_DCONR_DTBTRU_POS                         (6U)
#define HRPWM_DCONR_DTBTRU                             (0x00000040UL)
#define HRPWM_DCONR_DTBTRD_POS                         (7U)
#define HRPWM_DCONR_DTBTRD                             (0x00000080UL)

/*  Bit definition for HRPWM_PCNAR1 register  */
#define HRPWM_PCNAR1_STACA_POS                         (0U)
#define HRPWM_PCNAR1_STACA                             (0x00000003UL)
#define HRPWM_PCNAR1_STACA_0                           (0x00000001UL)
#define HRPWM_PCNAR1_STACA_1                           (0x00000002UL)
#define HRPWM_PCNAR1_STPCA_POS                         (2U)
#define HRPWM_PCNAR1_STPCA                             (0x0000000CUL)
#define HRPWM_PCNAR1_STPCA_0                           (0x00000004UL)
#define HRPWM_PCNAR1_STPCA_1                           (0x00000008UL)
#define HRPWM_PCNAR1_OVFCA_POS                         (4U)
#define HRPWM_PCNAR1_OVFCA                             (0x00000030UL)
#define HRPWM_PCNAR1_OVFCA_0                           (0x00000010UL)
#define HRPWM_PCNAR1_OVFCA_1                           (0x00000020UL)
#define HRPWM_PCNAR1_UDFCA_POS                         (6U)
#define HRPWM_PCNAR1_UDFCA                             (0x000000C0UL)
#define HRPWM_PCNAR1_UDFCA_0                           (0x00000040UL)
#define HRPWM_PCNAR1_UDFCA_1                           (0x00000080UL)
#define HRPWM_PCNAR1_CMAUCA_POS                        (8U)
#define HRPWM_PCNAR1_CMAUCA                            (0x00000300UL)
#define HRPWM_PCNAR1_CMAUCA_0                          (0x00000100UL)
#define HRPWM_PCNAR1_CMAUCA_1                          (0x00000200UL)
#define HRPWM_PCNAR1_CMADCA_POS                        (10U)
#define HRPWM_PCNAR1_CMADCA                            (0x00000C00UL)
#define HRPWM_PCNAR1_CMADCA_0                          (0x00000400UL)
#define HRPWM_PCNAR1_CMADCA_1                          (0x00000800UL)
#define HRPWM_PCNAR1_CMBUCA_POS                        (12U)
#define HRPWM_PCNAR1_CMBUCA                            (0x00003000UL)
#define HRPWM_PCNAR1_CMBUCA_0                          (0x00001000UL)
#define HRPWM_PCNAR1_CMBUCA_1                          (0x00002000UL)
#define HRPWM_PCNAR1_CMBDCA_POS                        (14U)
#define HRPWM_PCNAR1_CMBDCA                            (0x0000C000UL)
#define HRPWM_PCNAR1_CMBDCA_0                          (0x00004000UL)
#define HRPWM_PCNAR1_CMBDCA_1                          (0x00008000UL)
#define HRPWM_PCNAR1_FORCA_POS                         (16U)
#define HRPWM_PCNAR1_FORCA                             (0x00030000UL)
#define HRPWM_PCNAR1_FORCA_0                           (0x00010000UL)
#define HRPWM_PCNAR1_FORCA_1                           (0x00020000UL)
#define HRPWM_PCNAR1_EMBCA_POS                         (20U)
#define HRPWM_PCNAR1_EMBCA                             (0x00300000UL)
#define HRPWM_PCNAR1_EMBCA_0                           (0x00100000UL)
#define HRPWM_PCNAR1_EMBCA_1                           (0x00200000UL)
#define HRPWM_PCNAR1_EMBRA_POS                         (22U)
#define HRPWM_PCNAR1_EMBRA                             (0x00C00000UL)
#define HRPWM_PCNAR1_EMBRA_0                           (0x00400000UL)
#define HRPWM_PCNAR1_EMBRA_1                           (0x00800000UL)
#define HRPWM_PCNAR1_EMBSA_POS                         (24U)
#define HRPWM_PCNAR1_EMBSA                             (0x07000000UL)
#define HRPWM_PCNAR1_OUTENA_POS                        (28U)
#define HRPWM_PCNAR1_OUTENA                            (0x10000000UL)

/*  Bit definition for HRPWM_PCNBR1 register  */
#define HRPWM_PCNBR1_STACB_POS                         (0U)
#define HRPWM_PCNBR1_STACB                             (0x00000003UL)
#define HRPWM_PCNBR1_STACB_0                           (0x00000001UL)
#define HRPWM_PCNBR1_STACB_1                           (0x00000002UL)
#define HRPWM_PCNBR1_STPCB_POS                         (2U)
#define HRPWM_PCNBR1_STPCB                             (0x0000000CUL)
#define HRPWM_PCNBR1_STPCB_0                           (0x00000004UL)
#define HRPWM_PCNBR1_STPCB_1                           (0x00000008UL)
#define HRPWM_PCNBR1_OVFCB_POS                         (4U)
#define HRPWM_PCNBR1_OVFCB                             (0x00000030UL)
#define HRPWM_PCNBR1_OVFCB_0                           (0x00000010UL)
#define HRPWM_PCNBR1_OVFCB_1                           (0x00000020UL)
#define HRPWM_PCNBR1_UDFCB_POS                         (6U)
#define HRPWM_PCNBR1_UDFCB                             (0x000000C0UL)
#define HRPWM_PCNBR1_UDFCB_0                           (0x00000040UL)
#define HRPWM_PCNBR1_UDFCB_1                           (0x00000080UL)
#define HRPWM_PCNBR1_CMAUCB_POS                        (8U)
#define HRPWM_PCNBR1_CMAUCB                            (0x00000300UL)
#define HRPWM_PCNBR1_CMAUCB_0                          (0x00000100UL)
#define HRPWM_PCNBR1_CMAUCB_1                          (0x00000200UL)
#define HRPWM_PCNBR1_CMADCB_POS                        (10U)
#define HRPWM_PCNBR1_CMADCB                            (0x00000C00UL)
#define HRPWM_PCNBR1_CMADCB_0                          (0x00000400UL)
#define HRPWM_PCNBR1_CMADCB_1                          (0x00000800UL)
#define HRPWM_PCNBR1_CMBUCB_POS                        (12U)
#define HRPWM_PCNBR1_CMBUCB                            (0x00003000UL)
#define HRPWM_PCNBR1_CMBUCB_0                          (0x00001000UL)
#define HRPWM_PCNBR1_CMBUCB_1                          (0x00002000UL)
#define HRPWM_PCNBR1_CMBDCB_POS                        (14U)
#define HRPWM_PCNBR1_CMBDCB                            (0x0000C000UL)
#define HRPWM_PCNBR1_CMBDCB_0                          (0x00004000UL)
#define HRPWM_PCNBR1_CMBDCB_1                          (0x00008000UL)
#define HRPWM_PCNBR1_FORCB_POS                         (16U)
#define HRPWM_PCNBR1_FORCB                             (0x00030000UL)
#define HRPWM_PCNBR1_FORCB_0                           (0x00010000UL)
#define HRPWM_PCNBR1_FORCB_1                           (0x00020000UL)
#define HRPWM_PCNBR1_EMBCB_POS                         (20U)
#define HRPWM_PCNBR1_EMBCB                             (0x00300000UL)
#define HRPWM_PCNBR1_EMBCB_0                           (0x00100000UL)
#define HRPWM_PCNBR1_EMBCB_1                           (0x00200000UL)
#define HRPWM_PCNBR1_EMBRB_POS                         (22U)
#define HRPWM_PCNBR1_EMBRB                             (0x00C00000UL)
#define HRPWM_PCNBR1_EMBRB_0                           (0x00400000UL)
#define HRPWM_PCNBR1_EMBRB_1                           (0x00800000UL)
#define HRPWM_PCNBR1_EMBSB_POS                         (24U)
#define HRPWM_PCNBR1_EMBSB                             (0x07000000UL)
#define HRPWM_PCNBR1_OUTENB_POS                        (28U)
#define HRPWM_PCNBR1_OUTENB                            (0x10000000UL)

/*  Bit definition for HRPWM_VPERR register  */
#define HRPWM_VPERR_SPPERIA_POS                        (8U)
#define HRPWM_VPERR_SPPERIA                            (0x00000100UL)
#define HRPWM_VPERR_SPPERIB_POS                        (9U)
#define HRPWM_VPERR_SPPERIB                            (0x00000200UL)
#define HRPWM_VPERR_PCNTE_POS                          (16U)
#define HRPWM_VPERR_PCNTE                              (0x00030000UL)
#define HRPWM_VPERR_PCNTE_0                            (0x00010000UL)
#define HRPWM_VPERR_PCNTE_1                            (0x00020000UL)
#define HRPWM_VPERR_PCNTS_POS                          (18U)
#define HRPWM_VPERR_PCNTS                              (0x007C0000UL)

/*  Bit definition for HRPWM_STFLR1 register  */
#define HRPWM_STFLR1_CMAF_POS                          (0U)
#define HRPWM_STFLR1_CMAF                              (0x00000001UL)
#define HRPWM_STFLR1_CMBF_POS                          (1U)
#define HRPWM_STFLR1_CMBF                              (0x00000002UL)
#define HRPWM_STFLR1_CMCF_POS                          (2U)
#define HRPWM_STFLR1_CMCF                              (0x00000004UL)
#define HRPWM_STFLR1_CMDF_POS                          (3U)
#define HRPWM_STFLR1_CMDF                              (0x00000008UL)
#define HRPWM_STFLR1_CMEF_POS                          (4U)
#define HRPWM_STFLR1_CMEF                              (0x00000010UL)
#define HRPWM_STFLR1_CMFF_POS                          (5U)
#define HRPWM_STFLR1_CMFF                              (0x00000020UL)
#define HRPWM_STFLR1_OVFF_POS                          (6U)
#define HRPWM_STFLR1_OVFF                              (0x00000040UL)
#define HRPWM_STFLR1_UDFF_POS                          (7U)
#define HRPWM_STFLR1_UDFF                              (0x00000080UL)
#define HRPWM_STFLR1_CMSAUF_POS                        (9U)
#define HRPWM_STFLR1_CMSAUF                            (0x00000200UL)
#define HRPWM_STFLR1_CMSADF_POS                        (10U)
#define HRPWM_STFLR1_CMSADF                            (0x00000400UL)
#define HRPWM_STFLR1_CMSBUF_POS                        (11U)
#define HRPWM_STFLR1_CMSBUF                            (0x00000800UL)
#define HRPWM_STFLR1_CMSBDF_POS                        (12U)
#define HRPWM_STFLR1_CMSBDF                            (0x00001000UL)
#define HRPWM_STFLR1_VPERNUM_POS                       (21U)
#define HRPWM_STFLR1_VPERNUM                           (0x03E00000UL)
#define HRPWM_STFLR1_CAPAF_POS                         (26U)
#define HRPWM_STFLR1_CAPAF                             (0x04000000UL)
#define HRPWM_STFLR1_CAPBF_POS                         (27U)
#define HRPWM_STFLR1_CAPBF                             (0x08000000UL)
#define HRPWM_STFLR1_DIRF_POS                          (31U)
#define HRPWM_STFLR1_DIRF                              (0x80000000UL)

/*  Bit definition for HRPWM_STFLR2 register  */
#define HRPWM_STFLR2_DLYIDLEA_POS                      (0U)
#define HRPWM_STFLR2_DLYIDLEA                          (0x00000001UL)
#define HRPWM_STFLR2_DLYIDLEB_POS                      (1U)
#define HRPWM_STFLR2_DLYIDLEB                          (0x00000002UL)
#define HRPWM_STFLR2_DLYPRT_POS                        (2U)
#define HRPWM_STFLR2_DLYPRT                            (0x00000004UL)
#define HRPWM_STFLR2_OASTAT_POS                        (4U)
#define HRPWM_STFLR2_OASTAT                            (0x00000010UL)
#define HRPWM_STFLR2_OBSTAT_POS                        (5U)
#define HRPWM_STFLR2_OBSTAT                            (0x00000020UL)
#define HRPWM_STFLR2_PHSCMP1F_POS                      (11U)
#define HRPWM_STFLR2_PHSCMP1F                          (0x00000800UL)
#define HRPWM_STFLR2_PHSCMP2F_POS                      (12U)
#define HRPWM_STFLR2_PHSCMP2F                          (0x00001000UL)
#define HRPWM_STFLR2_PHSCMP3F_POS                      (13U)
#define HRPWM_STFLR2_PHSCMP3F                          (0x00002000UL)
#define HRPWM_STFLR2_PHSCMP4F_POS                      (14U)
#define HRPWM_STFLR2_PHSCMP4F                          (0x00004000UL)
#define HRPWM_STFLR2_PHSCMP5F_POS                      (15U)
#define HRPWM_STFLR2_PHSCMP5F                          (0x00008000UL)
#define HRPWM_STFLR2_OSTOVF_POS                        (16U)
#define HRPWM_STFLR2_OSTOVF                            (0x00010000UL)

/*  Bit definition for HRPWM_HSTAR1 register  */
#define HRPWM_HSTAR1_STAS_POS                          (7U)
#define HRPWM_HSTAR1_STAS                              (0x00000080UL)
#define HRPWM_HSTAR1_HSTA8_POS                         (8U)
#define HRPWM_HSTAR1_HSTA8                             (0x00000100UL)
#define HRPWM_HSTAR1_HSTA9_POS                         (9U)
#define HRPWM_HSTAR1_HSTA9                             (0x00000200UL)
#define HRPWM_HSTAR1_HSTA10_POS                        (10U)
#define HRPWM_HSTAR1_HSTA10                            (0x00000400UL)
#define HRPWM_HSTAR1_HSTA11_POS                        (11U)
#define HRPWM_HSTAR1_HSTA11                            (0x00000800UL)
#define HRPWM_HSTAR1_HSTA16_POS                        (16U)
#define HRPWM_HSTAR1_HSTA16                            (0x00010000UL)
#define HRPWM_HSTAR1_HSTA17_POS                        (17U)
#define HRPWM_HSTAR1_HSTA17                            (0x00020000UL)
#define HRPWM_HSTAR1_HSTA18_POS                        (18U)
#define HRPWM_HSTAR1_HSTA18                            (0x00040000UL)
#define HRPWM_HSTAR1_HSTA19_POS                        (19U)
#define HRPWM_HSTAR1_HSTA19                            (0x00080000UL)
#define HRPWM_HSTAR1_HSTA20_POS                        (20U)
#define HRPWM_HSTAR1_HSTA20                            (0x00100000UL)
#define HRPWM_HSTAR1_HSTA21_POS                        (21U)
#define HRPWM_HSTAR1_HSTA21                            (0x00200000UL)
#define HRPWM_HSTAR1_HSTA22_POS                        (22U)
#define HRPWM_HSTAR1_HSTA22                            (0x00400000UL)
#define HRPWM_HSTAR1_HSTA23_POS                        (23U)
#define HRPWM_HSTAR1_HSTA23                            (0x00800000UL)

/*  Bit definition for HRPWM_HCLRR1 register  */
#define HRPWM_HCLRR1_CLES_POS                          (7U)
#define HRPWM_HCLRR1_CLES                              (0x00000080UL)
#define HRPWM_HCLRR1_HCLE8_POS                         (8U)
#define HRPWM_HCLRR1_HCLE8                             (0x00000100UL)
#define HRPWM_HCLRR1_HCLE9_POS                         (9U)
#define HRPWM_HCLRR1_HCLE9                             (0x00000200UL)
#define HRPWM_HCLRR1_HCLE10_POS                        (10U)
#define HRPWM_HCLRR1_HCLE10                            (0x00000400UL)
#define HRPWM_HCLRR1_HCLE11_POS                        (11U)
#define HRPWM_HCLRR1_HCLE11                            (0x00000800UL)
#define HRPWM_HCLRR1_HCLE16_POS                        (16U)
#define HRPWM_HCLRR1_HCLE16                            (0x00010000UL)
#define HRPWM_HCLRR1_HCLE17_POS                        (17U)
#define HRPWM_HCLRR1_HCLE17                            (0x00020000UL)
#define HRPWM_HCLRR1_HCLE18_POS                        (18U)
#define HRPWM_HCLRR1_HCLE18                            (0x00040000UL)
#define HRPWM_HCLRR1_HCLE19_POS                        (19U)
#define HRPWM_HCLRR1_HCLE19                            (0x00080000UL)
#define HRPWM_HCLRR1_HCLE20_POS                        (20U)
#define HRPWM_HCLRR1_HCLE20                            (0x00100000UL)
#define HRPWM_HCLRR1_HCLE21_POS                        (21U)
#define HRPWM_HCLRR1_HCLE21                            (0x00200000UL)
#define HRPWM_HCLRR1_HCLE22_POS                        (22U)
#define HRPWM_HCLRR1_HCLE22                            (0x00400000UL)
#define HRPWM_HCLRR1_HCLE23_POS                        (23U)
#define HRPWM_HCLRR1_HCLE23                            (0x00800000UL)

/*  Bit definition for HRPWM_HCPAR1 register  */
#define HRPWM_HCPAR1_HCPA8_POS                         (8U)
#define HRPWM_HCPAR1_HCPA8                             (0x00000100UL)
#define HRPWM_HCPAR1_HCPA9_POS                         (9U)
#define HRPWM_HCPAR1_HCPA9                             (0x00000200UL)
#define HRPWM_HCPAR1_HCPA10_POS                        (10U)
#define HRPWM_HCPAR1_HCPA10                            (0x00000400UL)
#define HRPWM_HCPAR1_HCPA11_POS                        (11U)
#define HRPWM_HCPAR1_HCPA11                            (0x00000800UL)
#define HRPWM_HCPAR1_HCPA16_POS                        (16U)
#define HRPWM_HCPAR1_HCPA16                            (0x00010000UL)
#define HRPWM_HCPAR1_HCPA17_POS                        (17U)
#define HRPWM_HCPAR1_HCPA17                            (0x00020000UL)
#define HRPWM_HCPAR1_HCPA18_POS                        (18U)
#define HRPWM_HCPAR1_HCPA18                            (0x00040000UL)
#define HRPWM_HCPAR1_HCPA19_POS                        (19U)
#define HRPWM_HCPAR1_HCPA19                            (0x00080000UL)
#define HRPWM_HCPAR1_HCPA20_POS                        (20U)
#define HRPWM_HCPAR1_HCPA20                            (0x00100000UL)
#define HRPWM_HCPAR1_HCPA21_POS                        (21U)
#define HRPWM_HCPAR1_HCPA21                            (0x00200000UL)
#define HRPWM_HCPAR1_HCPA22_POS                        (22U)
#define HRPWM_HCPAR1_HCPA22                            (0x00400000UL)
#define HRPWM_HCPAR1_HCPA23_POS                        (23U)
#define HRPWM_HCPAR1_HCPA23                            (0x00800000UL)

/*  Bit definition for HRPWM_HCPBR1 register  */
#define HRPWM_HCPBR1_HCPB8_POS                         (8U)
#define HRPWM_HCPBR1_HCPB8                             (0x00000100UL)
#define HRPWM_HCPBR1_HCPB9_POS                         (9U)
#define HRPWM_HCPBR1_HCPB9                             (0x00000200UL)
#define HRPWM_HCPBR1_HCPB10_POS                        (10U)
#define HRPWM_HCPBR1_HCPB10                            (0x00000400UL)
#define HRPWM_HCPBR1_HCPB11_POS                        (11U)
#define HRPWM_HCPBR1_HCPB11                            (0x00000800UL)
#define HRPWM_HCPBR1_HCPB16_POS                        (16U)
#define HRPWM_HCPBR1_HCPB16                            (0x00010000UL)
#define HRPWM_HCPBR1_HCPB17_POS                        (17U)
#define HRPWM_HCPBR1_HCPB17                            (0x00020000UL)
#define HRPWM_HCPBR1_HCPB18_POS                        (18U)
#define HRPWM_HCPBR1_HCPB18                            (0x00040000UL)
#define HRPWM_HCPBR1_HCPB19_POS                        (19U)
#define HRPWM_HCPBR1_HCPB19                            (0x00080000UL)
#define HRPWM_HCPBR1_HCPB20_POS                        (20U)
#define HRPWM_HCPBR1_HCPB20                            (0x00100000UL)
#define HRPWM_HCPBR1_HCPB21_POS                        (21U)
#define HRPWM_HCPBR1_HCPB21                            (0x00200000UL)
#define HRPWM_HCPBR1_HCPB22_POS                        (22U)
#define HRPWM_HCPBR1_HCPB22                            (0x00400000UL)
#define HRPWM_HCPBR1_HCPB23_POS                        (23U)
#define HRPWM_HCPBR1_HCPB23                            (0x00800000UL)

/*  Bit definition for HRPWM_HCPAR2 register  */
#define HRPWM_HCPAR2_HCPAEEV1_POS                      (0U)
#define HRPWM_HCPAR2_HCPAEEV1                          (0x00000001UL)
#define HRPWM_HCPAR2_HCPAEEV2_POS                      (1U)
#define HRPWM_HCPAR2_HCPAEEV2                          (0x00000002UL)
#define HRPWM_HCPAR2_HCPAEEV3_POS                      (2U)
#define HRPWM_HCPAR2_HCPAEEV3                          (0x00000004UL)
#define HRPWM_HCPAR2_HCPAEEV4_POS                      (3U)
#define HRPWM_HCPAR2_HCPAEEV4                          (0x00000008UL)
#define HRPWM_HCPAR2_HCPAEEV5_POS                      (4U)
#define HRPWM_HCPAR2_HCPAEEV5                          (0x00000010UL)
#define HRPWM_HCPAR2_HCPAEEV6_POS                      (5U)
#define HRPWM_HCPAR2_HCPAEEV6                          (0x00000020UL)
#define HRPWM_HCPAR2_HCPAEEV7_POS                      (6U)
#define HRPWM_HCPAR2_HCPAEEV7                          (0x00000040UL)
#define HRPWM_HCPAR2_HCPAEEV8_POS                      (7U)
#define HRPWM_HCPAR2_HCPAEEV8                          (0x00000080UL)
#define HRPWM_HCPAR2_HCPAEEV9_POS                      (8U)
#define HRPWM_HCPAR2_HCPAEEV9                          (0x00000100UL)
#define HRPWM_HCPAR2_HCPAEEV10_POS                     (9U)
#define HRPWM_HCPAR2_HCPAEEV10                         (0x00000200UL)
#define HRPWM_HCPAR2_HCPAEN_POS                        (10U)
#define HRPWM_HCPAR2_HCPAEN                            (0x00000400UL)

/*  Bit definition for HRPWM_HCPBR2 register  */
#define HRPWM_HCPBR2_HCPBEEV1_POS                      (0U)
#define HRPWM_HCPBR2_HCPBEEV1                          (0x00000001UL)
#define HRPWM_HCPBR2_HCPBEEV2_POS                      (1U)
#define HRPWM_HCPBR2_HCPBEEV2                          (0x00000002UL)
#define HRPWM_HCPBR2_HCPBEEV3_POS                      (2U)
#define HRPWM_HCPBR2_HCPBEEV3                          (0x00000004UL)
#define HRPWM_HCPBR2_HCPBEEV4_POS                      (3U)
#define HRPWM_HCPBR2_HCPBEEV4                          (0x00000008UL)
#define HRPWM_HCPBR2_HCPBEEV5_POS                      (4U)
#define HRPWM_HCPBR2_HCPBEEV5                          (0x00000010UL)
#define HRPWM_HCPBR2_HCPBEEV6_POS                      (5U)
#define HRPWM_HCPBR2_HCPBEEV6                          (0x00000020UL)
#define HRPWM_HCPBR2_HCPBEEV7_POS                      (6U)
#define HRPWM_HCPBR2_HCPBEEV7                          (0x00000040UL)
#define HRPWM_HCPBR2_HCPBEEV8_POS                      (7U)
#define HRPWM_HCPBR2_HCPBEEV8                          (0x00000080UL)
#define HRPWM_HCPBR2_HCPBEEV9_POS                      (8U)
#define HRPWM_HCPBR2_HCPBEEV9                          (0x00000100UL)
#define HRPWM_HCPBR2_HCPBEEV10_POS                     (9U)
#define HRPWM_HCPBR2_HCPBEEV10                         (0x00000200UL)
#define HRPWM_HCPBR2_HCPBEN_POS                        (10U)
#define HRPWM_HCPBR2_HCPBEN                            (0x00000400UL)

/*  Bit definition for HRPWM_BCONR2 register  */
#define HRPWM_BCONR2_BENEEFOFF_POS                     (0U)
#define HRPWM_BCONR2_BENEEFOFF                         (0x00000001UL)
#define HRPWM_BCONR2_BTRUEEFOFF_POS                    (1U)
#define HRPWM_BCONR2_BTRUEEFOFF                        (0x00000002UL)
#define HRPWM_BCONR2_BTRDEEFOFF_POS                    (2U)
#define HRPWM_BCONR2_BTRDEEFOFF                        (0x00000004UL)
#define HRPWM_BCONR2_BENEEFWIN_POS                     (3U)
#define HRPWM_BCONR2_BENEEFWIN                         (0x00000008UL)
#define HRPWM_BCONR2_BTRUEEFWIN_POS                    (4U)
#define HRPWM_BCONR2_BTRUEEFWIN                        (0x00000010UL)
#define HRPWM_BCONR2_BTRDEEFWIN_POS                    (5U)
#define HRPWM_BCONR2_BTRDEEFWIN                        (0x00000020UL)
#define HRPWM_BCONR2_BTRU0EEFOFF_POS                   (6U)
#define HRPWM_BCONR2_BTRU0EEFOFF                       (0x00000040UL)
#define HRPWM_BCONR2_BTRU0EEFWIN_POS                   (7U)
#define HRPWM_BCONR2_BTRU0EEFWIN                       (0x00000080UL)
#define HRPWM_BCONR2_BTRU0PEEFOFF_POS                  (8U)
#define HRPWM_BCONR2_BTRU0PEEFOFF                      (0x00000100UL)
#define HRPWM_BCONR2_BTRU0PEEFWIN_POS                  (9U)
#define HRPWM_BCONR2_BTRU0PEEFWIN                      (0x00000200UL)
#define HRPWM_BCONR2_BENCTL_POS                        (12U)
#define HRPWM_BCONR2_BENCTL                            (0x00001000UL)
#define HRPWM_BCONR2_BTRUCTL_POS                       (13U)
#define HRPWM_BCONR2_BTRUCTL                           (0x00002000UL)
#define HRPWM_BCONR2_BTRDCTL_POS                       (14U)
#define HRPWM_BCONR2_BTRDCTL                           (0x00004000UL)
#define HRPWM_BCONR2_BTRU0AE_POS                       (16U)
#define HRPWM_BCONR2_BTRU0AE                           (0x00010000UL)
#define HRPWM_BCONR2_BTRU0BF_POS                       (17U)
#define HRPWM_BCONR2_BTRU0BF                           (0x00020000UL)
#define HRPWM_BCONR2_BTRU0P_POS                        (18U)
#define HRPWM_BCONR2_BTRU0P                            (0x00040000UL)
#define HRPWM_BCONR2_BTRU0SPA_POS                      (19U)
#define HRPWM_BCONR2_BTRU0SPA                          (0x00080000UL)
#define HRPWM_BCONR2_BTRU0SPB_POS                      (20U)
#define HRPWM_BCONR2_BTRU0SPB                          (0x00100000UL)
#define HRPWM_BCONR2_BTRU0DT_POS                       (21U)
#define HRPWM_BCONR2_BTRU0DT                           (0x00200000UL)
#define HRPWM_BCONR2_BTRU0CTL_POS                      (22U)
#define HRPWM_BCONR2_BTRU0CTL                          (0x00400000UL)
#define HRPWM_BCONR2_BTRU0PAE_POS                      (23U)
#define HRPWM_BCONR2_BTRU0PAE                          (0x00800000UL)
#define HRPWM_BCONR2_BTRU0PBF_POS                      (24U)
#define HRPWM_BCONR2_BTRU0PBF                          (0x01000000UL)
#define HRPWM_BCONR2_BTRU0PP_POS                       (25U)
#define HRPWM_BCONR2_BTRU0PP                           (0x02000000UL)
#define HRPWM_BCONR2_BTRU0PSPA_POS                     (26U)
#define HRPWM_BCONR2_BTRU0PSPA                         (0x04000000UL)
#define HRPWM_BCONR2_BTRU0PSPB_POS                     (27U)
#define HRPWM_BCONR2_BTRU0PSPB                         (0x08000000UL)
#define HRPWM_BCONR2_BTRU0PDT_POS                      (28U)
#define HRPWM_BCONR2_BTRU0PDT                          (0x10000000UL)
#define HRPWM_BCONR2_BTRU0PCTL_POS                     (29U)
#define HRPWM_BCONR2_BTRU0PCTL                         (0x20000000UL)

/*  Bit definition for HRPWM_PCNAR2 register  */
#define HRPWM_PCNAR2_EXEV1UCA_POS                      (0U)
#define HRPWM_PCNAR2_EXEV1UCA                          (0x00000003UL)
#define HRPWM_PCNAR2_EXEV1UCA_0                        (0x00000001UL)
#define HRPWM_PCNAR2_EXEV1UCA_1                        (0x00000002UL)
#define HRPWM_PCNAR2_EXEV2UCA_POS                      (2U)
#define HRPWM_PCNAR2_EXEV2UCA                          (0x0000000CUL)
#define HRPWM_PCNAR2_EXEV2UCA_0                        (0x00000004UL)
#define HRPWM_PCNAR2_EXEV2UCA_1                        (0x00000008UL)
#define HRPWM_PCNAR2_EXEV3UCA_POS                      (4U)
#define HRPWM_PCNAR2_EXEV3UCA                          (0x00000030UL)
#define HRPWM_PCNAR2_EXEV3UCA_0                        (0x00000010UL)
#define HRPWM_PCNAR2_EXEV3UCA_1                        (0x00000020UL)
#define HRPWM_PCNAR2_EXEV4UCA_POS                      (6U)
#define HRPWM_PCNAR2_EXEV4UCA                          (0x000000C0UL)
#define HRPWM_PCNAR2_EXEV4UCA_0                        (0x00000040UL)
#define HRPWM_PCNAR2_EXEV4UCA_1                        (0x00000080UL)
#define HRPWM_PCNAR2_EXEV5UCA_POS                      (8U)
#define HRPWM_PCNAR2_EXEV5UCA                          (0x00000300UL)
#define HRPWM_PCNAR2_EXEV5UCA_0                        (0x00000100UL)
#define HRPWM_PCNAR2_EXEV5UCA_1                        (0x00000200UL)
#define HRPWM_PCNAR2_EXEV6UCA_POS                      (10U)
#define HRPWM_PCNAR2_EXEV6UCA                          (0x00000C00UL)
#define HRPWM_PCNAR2_EXEV6UCA_0                        (0x00000400UL)
#define HRPWM_PCNAR2_EXEV6UCA_1                        (0x00000800UL)
#define HRPWM_PCNAR2_EXEV7UCA_POS                      (12U)
#define HRPWM_PCNAR2_EXEV7UCA                          (0x00003000UL)
#define HRPWM_PCNAR2_EXEV7UCA_0                        (0x00001000UL)
#define HRPWM_PCNAR2_EXEV7UCA_1                        (0x00002000UL)
#define HRPWM_PCNAR2_EXEV8UCA_POS                      (14U)
#define HRPWM_PCNAR2_EXEV8UCA                          (0x0000C000UL)
#define HRPWM_PCNAR2_EXEV8UCA_0                        (0x00004000UL)
#define HRPWM_PCNAR2_EXEV8UCA_1                        (0x00008000UL)
#define HRPWM_PCNAR2_EXEV9UCA_POS                      (16U)
#define HRPWM_PCNAR2_EXEV9UCA                          (0x00030000UL)
#define HRPWM_PCNAR2_EXEV9UCA_0                        (0x00010000UL)
#define HRPWM_PCNAR2_EXEV9UCA_1                        (0x00020000UL)
#define HRPWM_PCNAR2_EXEV10UCA_POS                     (18U)
#define HRPWM_PCNAR2_EXEV10UCA                         (0x000C0000UL)
#define HRPWM_PCNAR2_EXEV10UCA_0                       (0x00040000UL)
#define HRPWM_PCNAR2_EXEV10UCA_1                       (0x00080000UL)
#define HRPWM_PCNAR2_CMEUCA_POS                        (20U)
#define HRPWM_PCNAR2_CMEUCA                            (0x00300000UL)
#define HRPWM_PCNAR2_CMEUCA_0                          (0x00100000UL)
#define HRPWM_PCNAR2_CMEUCA_1                          (0x00200000UL)
#define HRPWM_PCNAR2_CMFUCA_POS                        (22U)
#define HRPWM_PCNAR2_CMFUCA                            (0x00C00000UL)
#define HRPWM_PCNAR2_CMFUCA_0                          (0x00400000UL)
#define HRPWM_PCNAR2_CMFUCA_1                          (0x00800000UL)
#define HRPWM_PCNAR2_SCMAUCA_POS                       (24U)
#define HRPWM_PCNAR2_SCMAUCA                           (0x03000000UL)
#define HRPWM_PCNAR2_SCMAUCA_0                         (0x01000000UL)
#define HRPWM_PCNAR2_SCMAUCA_1                         (0x02000000UL)
#define HRPWM_PCNAR2_SCMBUCA_POS                       (26U)
#define HRPWM_PCNAR2_SCMBUCA                           (0x0C000000UL)
#define HRPWM_PCNAR2_SCMBUCA_0                         (0x04000000UL)
#define HRPWM_PCNAR2_SCMBUCA_1                         (0x08000000UL)

/*  Bit definition for HRPWM_PCNBR2 register  */
#define HRPWM_PCNBR2_EXEV1UCB_POS                      (0U)
#define HRPWM_PCNBR2_EXEV1UCB                          (0x00000003UL)
#define HRPWM_PCNBR2_EXEV1UCB_0                        (0x00000001UL)
#define HRPWM_PCNBR2_EXEV1UCB_1                        (0x00000002UL)
#define HRPWM_PCNBR2_EXEV2UCB_POS                      (2U)
#define HRPWM_PCNBR2_EXEV2UCB                          (0x0000000CUL)
#define HRPWM_PCNBR2_EXEV2UCB_0                        (0x00000004UL)
#define HRPWM_PCNBR2_EXEV2UCB_1                        (0x00000008UL)
#define HRPWM_PCNBR2_EXEV3UCB_POS                      (4U)
#define HRPWM_PCNBR2_EXEV3UCB                          (0x00000030UL)
#define HRPWM_PCNBR2_EXEV3UCB_0                        (0x00000010UL)
#define HRPWM_PCNBR2_EXEV3UCB_1                        (0x00000020UL)
#define HRPWM_PCNBR2_EXEV4UCB_POS                      (6U)
#define HRPWM_PCNBR2_EXEV4UCB                          (0x000000C0UL)
#define HRPWM_PCNBR2_EXEV4UCB_0                        (0x00000040UL)
#define HRPWM_PCNBR2_EXEV4UCB_1                        (0x00000080UL)
#define HRPWM_PCNBR2_EXEV5UCB_POS                      (8U)
#define HRPWM_PCNBR2_EXEV5UCB                          (0x00000300UL)
#define HRPWM_PCNBR2_EXEV5UCB_0                        (0x00000100UL)
#define HRPWM_PCNBR2_EXEV5UCB_1                        (0x00000200UL)
#define HRPWM_PCNBR2_EXEV6UCB_POS                      (10U)
#define HRPWM_PCNBR2_EXEV6UCB                          (0x00000C00UL)
#define HRPWM_PCNBR2_EXEV6UCB_0                        (0x00000400UL)
#define HRPWM_PCNBR2_EXEV6UCB_1                        (0x00000800UL)
#define HRPWM_PCNBR2_EXEV7UCB_POS                      (12U)
#define HRPWM_PCNBR2_EXEV7UCB                          (0x00003000UL)
#define HRPWM_PCNBR2_EXEV7UCB_0                        (0x00001000UL)
#define HRPWM_PCNBR2_EXEV7UCB_1                        (0x00002000UL)
#define HRPWM_PCNBR2_EXEV8UCB_POS                      (14U)
#define HRPWM_PCNBR2_EXEV8UCB                          (0x0000C000UL)
#define HRPWM_PCNBR2_EXEV8UCB_0                        (0x00004000UL)
#define HRPWM_PCNBR2_EXEV8UCB_1                        (0x00008000UL)
#define HRPWM_PCNBR2_EXEV9UCB_POS                      (16U)
#define HRPWM_PCNBR2_EXEV9UCB                          (0x00030000UL)
#define HRPWM_PCNBR2_EXEV9UCB_0                        (0x00010000UL)
#define HRPWM_PCNBR2_EXEV9UCB_1                        (0x00020000UL)
#define HRPWM_PCNBR2_EXEV10UCB_POS                     (18U)
#define HRPWM_PCNBR2_EXEV10UCB                         (0x000C0000UL)
#define HRPWM_PCNBR2_EXEV10UCB_0                       (0x00040000UL)
#define HRPWM_PCNBR2_EXEV10UCB_1                       (0x00080000UL)
#define HRPWM_PCNBR2_CMEUCB_POS                        (20U)
#define HRPWM_PCNBR2_CMEUCB                            (0x00300000UL)
#define HRPWM_PCNBR2_CMEUCB_0                          (0x00100000UL)
#define HRPWM_PCNBR2_CMEUCB_1                          (0x00200000UL)
#define HRPWM_PCNBR2_CMFUCB_POS                        (22U)
#define HRPWM_PCNBR2_CMFUCB                            (0x00C00000UL)
#define HRPWM_PCNBR2_CMFUCB_0                          (0x00400000UL)
#define HRPWM_PCNBR2_CMFUCB_1                          (0x00800000UL)
#define HRPWM_PCNBR2_SCMAUCB_POS                       (24U)
#define HRPWM_PCNBR2_SCMAUCB                           (0x03000000UL)
#define HRPWM_PCNBR2_SCMAUCB_0                         (0x01000000UL)
#define HRPWM_PCNBR2_SCMAUCB_1                         (0x02000000UL)
#define HRPWM_PCNBR2_SCMBUCB_POS                       (26U)
#define HRPWM_PCNBR2_SCMBUCB                           (0x0C000000UL)
#define HRPWM_PCNBR2_SCMBUCB_0                         (0x04000000UL)
#define HRPWM_PCNBR2_SCMBUCB_1                         (0x08000000UL)

/*  Bit definition for HRPWM_HSTAR2 register  */
#define HRPWM_HSTAR2_HSTAEXEV1_POS                     (0U)
#define HRPWM_HSTAR2_HSTAEXEV1                         (0x00000001UL)
#define HRPWM_HSTAR2_HSTAEXEV2_POS                     (1U)
#define HRPWM_HSTAR2_HSTAEXEV2                         (0x00000002UL)
#define HRPWM_HSTAR2_HSTAEXEV3_POS                     (2U)
#define HRPWM_HSTAR2_HSTAEXEV3                         (0x00000004UL)
#define HRPWM_HSTAR2_HSTAEXEV4_POS                     (3U)
#define HRPWM_HSTAR2_HSTAEXEV4                         (0x00000008UL)
#define HRPWM_HSTAR2_HSTAEXEV5_POS                     (4U)
#define HRPWM_HSTAR2_HSTAEXEV5                         (0x00000010UL)
#define HRPWM_HSTAR2_HSTAEXEV6_POS                     (5U)
#define HRPWM_HSTAR2_HSTAEXEV6                         (0x00000020UL)
#define HRPWM_HSTAR2_HSTAEXEV7_POS                     (6U)
#define HRPWM_HSTAR2_HSTAEXEV7                         (0x00000040UL)
#define HRPWM_HSTAR2_HSTAEXEV8_POS                     (7U)
#define HRPWM_HSTAR2_HSTAEXEV8                         (0x00000080UL)
#define HRPWM_HSTAR2_HSTAEXEV9_POS                     (8U)
#define HRPWM_HSTAR2_HSTAEXEV9                         (0x00000100UL)
#define HRPWM_HSTAR2_HSTAEXEV10_POS                    (9U)
#define HRPWM_HSTAR2_HSTAEXEV10                        (0x00000200UL)
#define HRPWM_HSTAR2_HSTAGCMA1_POS                     (10U)
#define HRPWM_HSTAR2_HSTAGCMA1                         (0x00000400UL)
#define HRPWM_HSTAR2_HSTAGCMB1_POS                     (11U)
#define HRPWM_HSTAR2_HSTAGCMB1                         (0x00000800UL)
#define HRPWM_HSTAR2_HSTAGCMA2_POS                     (12U)
#define HRPWM_HSTAR2_HSTAGCMA2                         (0x00001000UL)
#define HRPWM_HSTAR2_HSTAGCMB2_POS                     (13U)
#define HRPWM_HSTAR2_HSTAGCMB2                         (0x00002000UL)
#define HRPWM_HSTAR2_HSTAGCMA3_POS                     (14U)
#define HRPWM_HSTAR2_HSTAGCMA3                         (0x00004000UL)
#define HRPWM_HSTAR2_HSTAGCMB3_POS                     (15U)
#define HRPWM_HSTAR2_HSTAGCMB3                         (0x00008000UL)
#define HRPWM_HSTAR2_HSTAGCMA4_POS                     (16U)
#define HRPWM_HSTAR2_HSTAGCMA4                         (0x00010000UL)
#define HRPWM_HSTAR2_HSTAGCMB4_POS                     (17U)
#define HRPWM_HSTAR2_HSTAGCMB4                         (0x00020000UL)
#define HRPWM_HSTAR2_HSTAGCMA5_POS                     (18U)
#define HRPWM_HSTAR2_HSTAGCMA5                         (0x00040000UL)
#define HRPWM_HSTAR2_HSTAGCMB5_POS                     (19U)
#define HRPWM_HSTAR2_HSTAGCMB5                         (0x00080000UL)
#define HRPWM_HSTAR2_HSTAGCMA6_POS                     (20U)
#define HRPWM_HSTAR2_HSTAGCMA6                         (0x00100000UL)
#define HRPWM_HSTAR2_HSTAGCMB6_POS                     (21U)
#define HRPWM_HSTAR2_HSTAGCMB6                         (0x00200000UL)
#define HRPWM_HSTAR2_HSTASCMA1_POS                     (22U)
#define HRPWM_HSTAR2_HSTASCMA1                         (0x00400000UL)
#define HRPWM_HSTAR2_HSTASCMB2_POS                     (23U)
#define HRPWM_HSTAR2_HSTASCMB2                         (0x00800000UL)
#define HRPWM_HSTAR2_HSTASCMB3_POS                     (24U)
#define HRPWM_HSTAR2_HSTASCMB3                         (0x01000000UL)
#define HRPWM_HSTAR2_HSTASCMB4_POS                     (25U)
#define HRPWM_HSTAR2_HSTASCMB4                         (0x02000000UL)
#define HRPWM_HSTAR2_HSTASCMB5_POS                     (26U)
#define HRPWM_HSTAR2_HSTASCMB5                         (0x04000000UL)
#define HRPWM_HSTAR2_HSTASCMB6_POS                     (27U)
#define HRPWM_HSTAR2_HSTASCMB6                         (0x08000000UL)

/*  Bit definition for HRPWM_HCLRR2 register  */
#define HRPWM_HCLRR2_HCLREXEV1_POS                     (0U)
#define HRPWM_HCLRR2_HCLREXEV1                         (0x00000001UL)
#define HRPWM_HCLRR2_HCLREXEV2_POS                     (1U)
#define HRPWM_HCLRR2_HCLREXEV2                         (0x00000002UL)
#define HRPWM_HCLRR2_HCLREXEV3_POS                     (2U)
#define HRPWM_HCLRR2_HCLREXEV3                         (0x00000004UL)
#define HRPWM_HCLRR2_HCLREXEV4_POS                     (3U)
#define HRPWM_HCLRR2_HCLREXEV4                         (0x00000008UL)
#define HRPWM_HCLRR2_HCLREXEV5_POS                     (4U)
#define HRPWM_HCLRR2_HCLREXEV5                         (0x00000010UL)
#define HRPWM_HCLRR2_HCLREXEV6_POS                     (5U)
#define HRPWM_HCLRR2_HCLREXEV6                         (0x00000020UL)
#define HRPWM_HCLRR2_HCLREXEV7_POS                     (6U)
#define HRPWM_HCLRR2_HCLREXEV7                         (0x00000040UL)
#define HRPWM_HCLRR2_HCLREXEV8_POS                     (7U)
#define HRPWM_HCLRR2_HCLREXEV8                         (0x00000080UL)
#define HRPWM_HCLRR2_HCLREXEV9_POS                     (8U)
#define HRPWM_HCLRR2_HCLREXEV9                         (0x00000100UL)
#define HRPWM_HCLRR2_HCLREXEV10_POS                    (9U)
#define HRPWM_HCLRR2_HCLREXEV10                        (0x00000200UL)
#define HRPWM_HCLRR2_HCLRGCMA1_POS                     (10U)
#define HRPWM_HCLRR2_HCLRGCMA1                         (0x00000400UL)
#define HRPWM_HCLRR2_HCLRGCMB1_POS                     (11U)
#define HRPWM_HCLRR2_HCLRGCMB1                         (0x00000800UL)
#define HRPWM_HCLRR2_HCLRGCMA2_POS                     (12U)
#define HRPWM_HCLRR2_HCLRGCMA2                         (0x00001000UL)
#define HRPWM_HCLRR2_HCLRGCMB2_POS                     (13U)
#define HRPWM_HCLRR2_HCLRGCMB2                         (0x00002000UL)
#define HRPWM_HCLRR2_HCLRGCMA3_POS                     (14U)
#define HRPWM_HCLRR2_HCLRGCMA3                         (0x00004000UL)
#define HRPWM_HCLRR2_HCLRGCMB3_POS                     (15U)
#define HRPWM_HCLRR2_HCLRGCMB3                         (0x00008000UL)
#define HRPWM_HCLRR2_HCLRGCMA4_POS                     (16U)
#define HRPWM_HCLRR2_HCLRGCMA4                         (0x00010000UL)
#define HRPWM_HCLRR2_HCLRGCMB4_POS                     (17U)
#define HRPWM_HCLRR2_HCLRGCMB4                         (0x00020000UL)
#define HRPWM_HCLRR2_HCLRGCMA5_POS                     (18U)
#define HRPWM_HCLRR2_HCLRGCMA5                         (0x00040000UL)
#define HRPWM_HCLRR2_HCLRGCMB5_POS                     (19U)
#define HRPWM_HCLRR2_HCLRGCMB5                         (0x00080000UL)
#define HRPWM_HCLRR2_HCLRGCMA6_POS                     (20U)
#define HRPWM_HCLRR2_HCLRGCMA6                         (0x00100000UL)
#define HRPWM_HCLRR2_HCLRGCMB6_POS                     (21U)
#define HRPWM_HCLRR2_HCLRGCMB6                         (0x00200000UL)
#define HRPWM_HCLRR2_HCLRSCMB1_POS                     (22U)
#define HRPWM_HCLRR2_HCLRSCMB1                         (0x00400000UL)
#define HRPWM_HCLRR2_HCLRSCMB2_POS                     (23U)
#define HRPWM_HCLRR2_HCLRSCMB2                         (0x00800000UL)
#define HRPWM_HCLRR2_HCLRSCMB3_POS                     (24U)
#define HRPWM_HCLRR2_HCLRSCMB3                         (0x01000000UL)
#define HRPWM_HCLRR2_HCLRSCMB4_POS                     (25U)
#define HRPWM_HCLRR2_HCLRSCMB4                         (0x02000000UL)
#define HRPWM_HCLRR2_HCLRSCMB5_POS                     (26U)
#define HRPWM_HCLRR2_HCLRSCMB5                         (0x04000000UL)
#define HRPWM_HCLRR2_HCLRSCMB6_POS                     (27U)
#define HRPWM_HCLRR2_HCLRSCMB6                         (0x08000000UL)

/*  Bit definition for HRPWM_EEFOFFSETAR register  */
#define HRPWM_EEFOFFSETAR_OFFSET_POS                   (0U)
#define HRPWM_EEFOFFSETAR_OFFSET                       (0x003FFFFFUL)
#define HRPWM_EEFOFFSETAR_OFFSETDIR_POS                (22U)
#define HRPWM_EEFOFFSETAR_OFFSETDIR                    (0x00400000UL)

/*  Bit definition for HRPWM_EEFOFFSETBR register  */
#define HRPWM_EEFOFFSETBR_OFFSET_POS                   (0U)
#define HRPWM_EEFOFFSETBR_OFFSET                       (0x003FFFFFUL)
#define HRPWM_EEFOFFSETBR_OFFSETDIR_POS                (22U)
#define HRPWM_EEFOFFSETBR_OFFSETDIR                    (0x00400000UL)

/*  Bit definition for HRPWM_EEFWINAR register  */
#define HRPWM_EEFWINAR_WIN_POS                         (0U)
#define HRPWM_EEFWINAR_WIN                             (0x003FFFFFUL)
#define HRPWM_EEFWINAR_WINDIR_POS                      (22U)
#define HRPWM_EEFWINAR_WINDIR                          (0x00400000UL)

/*  Bit definition for HRPWM_EEFWINBR register  */
#define HRPWM_EEFWINBR_WIN_POS                         (0U)
#define HRPWM_EEFWINBR_WIN                             (0x003FFFFFUL)
#define HRPWM_EEFWINBR_WINDIR_POS                      (22U)
#define HRPWM_EEFWINBR_WINDIR                          (0x00400000UL)

/*  Bit definition for HRPWM_EEFLTCR1 register  */
#define HRPWM_EEFLTCR1_EE1LAT_POS                      (0U)
#define HRPWM_EEFLTCR1_EE1LAT                          (0x00000001UL)
#define HRPWM_EEFLTCR1_EE1FM_POS                       (1U)
#define HRPWM_EEFLTCR1_EE1FM                           (0x0000001EUL)
#define HRPWM_EEFLTCR1_EE1TMO_POS                      (5U)
#define HRPWM_EEFLTCR1_EE1TMO                          (0x00000020UL)
#define HRPWM_EEFLTCR1_EE2LAT_POS                      (6U)
#define HRPWM_EEFLTCR1_EE2LAT                          (0x00000040UL)
#define HRPWM_EEFLTCR1_EE2FM_POS                       (7U)
#define HRPWM_EEFLTCR1_EE2FM                           (0x00000780UL)
#define HRPWM_EEFLTCR1_EE2TMO_POS                      (11U)
#define HRPWM_EEFLTCR1_EE2TMO                          (0x00000800UL)
#define HRPWM_EEFLTCR1_EE3LAT_POS                      (12U)
#define HRPWM_EEFLTCR1_EE3LAT                          (0x00001000UL)
#define HRPWM_EEFLTCR1_EE3FM_POS                       (13U)
#define HRPWM_EEFLTCR1_EE3FM                           (0x0001E000UL)
#define HRPWM_EEFLTCR1_EE3TMO_POS                      (17U)
#define HRPWM_EEFLTCR1_EE3TMO                          (0x00020000UL)
#define HRPWM_EEFLTCR1_EE4LAT_POS                      (18U)
#define HRPWM_EEFLTCR1_EE4LAT                          (0x00040000UL)
#define HRPWM_EEFLTCR1_EE4FM_POS                       (19U)
#define HRPWM_EEFLTCR1_EE4FM                           (0x00780000UL)
#define HRPWM_EEFLTCR1_EE4TMO_POS                      (23U)
#define HRPWM_EEFLTCR1_EE4TMO                          (0x00800000UL)
#define HRPWM_EEFLTCR1_EE5LAT_POS                      (24U)
#define HRPWM_EEFLTCR1_EE5LAT                          (0x01000000UL)
#define HRPWM_EEFLTCR1_EE5FM_POS                       (25U)
#define HRPWM_EEFLTCR1_EE5FM                           (0x1E000000UL)
#define HRPWM_EEFLTCR1_EE5TMO_POS                      (29U)
#define HRPWM_EEFLTCR1_EE5TMO                          (0x20000000UL)
#define HRPWM_EEFLTCR1_EEINTPOL_POS                    (30U)
#define HRPWM_EEFLTCR1_EEINTPOL                        (0x40000000UL)

/*  Bit definition for HRPWM_EEFLTCR2 register  */
#define HRPWM_EEFLTCR2_EE6LAT_POS                      (0U)
#define HRPWM_EEFLTCR2_EE6LAT                          (0x00000001UL)
#define HRPWM_EEFLTCR2_EE6FM_POS                       (1U)
#define HRPWM_EEFLTCR2_EE6FM                           (0x0000001EUL)
#define HRPWM_EEFLTCR2_EE6TMO_POS                      (5U)
#define HRPWM_EEFLTCR2_EE6TMO                          (0x00000020UL)
#define HRPWM_EEFLTCR2_EE7LAT_POS                      (6U)
#define HRPWM_EEFLTCR2_EE7LAT                          (0x00000040UL)
#define HRPWM_EEFLTCR2_EE7FM_POS                       (7U)
#define HRPWM_EEFLTCR2_EE7FM                           (0x00000780UL)
#define HRPWM_EEFLTCR2_EE7TMO_POS                      (11U)
#define HRPWM_EEFLTCR2_EE7TMO                          (0x00000800UL)
#define HRPWM_EEFLTCR2_EE8LAT_POS                      (12U)
#define HRPWM_EEFLTCR2_EE8LAT                          (0x00001000UL)
#define HRPWM_EEFLTCR2_EE8FM_POS                       (13U)
#define HRPWM_EEFLTCR2_EE8FM                           (0x0001E000UL)
#define HRPWM_EEFLTCR2_EE8TMO_POS                      (17U)
#define HRPWM_EEFLTCR2_EE8TMO                          (0x00020000UL)
#define HRPWM_EEFLTCR2_EE9LAT_POS                      (18U)
#define HRPWM_EEFLTCR2_EE9LAT                          (0x00040000UL)
#define HRPWM_EEFLTCR2_EE9FM_POS                       (19U)
#define HRPWM_EEFLTCR2_EE9FM                           (0x00780000UL)
#define HRPWM_EEFLTCR2_EE9TMO_POS                      (23U)
#define HRPWM_EEFLTCR2_EE9TMO                          (0x00800000UL)
#define HRPWM_EEFLTCR2_EE10LAT_POS                     (24U)
#define HRPWM_EEFLTCR2_EE10LAT                         (0x01000000UL)
#define HRPWM_EEFLTCR2_EE10FM_POS                      (25U)
#define HRPWM_EEFLTCR2_EE10FM                          (0x1E000000UL)
#define HRPWM_EEFLTCR2_EE10TMO_POS                     (29U)
#define HRPWM_EEFLTCR2_EE10TMO                         (0x20000000UL)

/*  Bit definition for HRPWM_PCNAR3 register  */
#define HRPWM_PCNAR3_EXEV1DCA_POS                      (0U)
#define HRPWM_PCNAR3_EXEV1DCA                          (0x00000003UL)
#define HRPWM_PCNAR3_EXEV1DCA_0                        (0x00000001UL)
#define HRPWM_PCNAR3_EXEV1DCA_1                        (0x00000002UL)
#define HRPWM_PCNAR3_EXEV2DCA_POS                      (2U)
#define HRPWM_PCNAR3_EXEV2DCA                          (0x0000000CUL)
#define HRPWM_PCNAR3_EXEV2DCA_0                        (0x00000004UL)
#define HRPWM_PCNAR3_EXEV2DCA_1                        (0x00000008UL)
#define HRPWM_PCNAR3_EXEV3DCA_POS                      (4U)
#define HRPWM_PCNAR3_EXEV3DCA                          (0x00000030UL)
#define HRPWM_PCNAR3_EXEV3DCA_0                        (0x00000010UL)
#define HRPWM_PCNAR3_EXEV3DCA_1                        (0x00000020UL)
#define HRPWM_PCNAR3_EXEV4DCA_POS                      (6U)
#define HRPWM_PCNAR3_EXEV4DCA                          (0x000000C0UL)
#define HRPWM_PCNAR3_EXEV4DCA_0                        (0x00000040UL)
#define HRPWM_PCNAR3_EXEV4DCA_1                        (0x00000080UL)
#define HRPWM_PCNAR3_EXEV5DCA_POS                      (8U)
#define HRPWM_PCNAR3_EXEV5DCA                          (0x00000300UL)
#define HRPWM_PCNAR3_EXEV5DCA_0                        (0x00000100UL)
#define HRPWM_PCNAR3_EXEV5DCA_1                        (0x00000200UL)
#define HRPWM_PCNAR3_EXEV6DCA_POS                      (10U)
#define HRPWM_PCNAR3_EXEV6DCA                          (0x00000C00UL)
#define HRPWM_PCNAR3_EXEV6DCA_0                        (0x00000400UL)
#define HRPWM_PCNAR3_EXEV6DCA_1                        (0x00000800UL)
#define HRPWM_PCNAR3_EXEV7DCA_POS                      (12U)
#define HRPWM_PCNAR3_EXEV7DCA                          (0x00003000UL)
#define HRPWM_PCNAR3_EXEV7DCA_0                        (0x00001000UL)
#define HRPWM_PCNAR3_EXEV7DCA_1                        (0x00002000UL)
#define HRPWM_PCNAR3_EXEV8DCA_POS                      (14U)
#define HRPWM_PCNAR3_EXEV8DCA                          (0x0000C000UL)
#define HRPWM_PCNAR3_EXEV8DCA_0                        (0x00004000UL)
#define HRPWM_PCNAR3_EXEV8DCA_1                        (0x00008000UL)
#define HRPWM_PCNAR3_EXEV9DCA_POS                      (16U)
#define HRPWM_PCNAR3_EXEV9DCA                          (0x00030000UL)
#define HRPWM_PCNAR3_EXEV9DCA_0                        (0x00010000UL)
#define HRPWM_PCNAR3_EXEV9DCA_1                        (0x00020000UL)
#define HRPWM_PCNAR3_EXEV10DCA_POS                     (18U)
#define HRPWM_PCNAR3_EXEV10DCA                         (0x000C0000UL)
#define HRPWM_PCNAR3_EXEV10DCA_0                       (0x00040000UL)
#define HRPWM_PCNAR3_EXEV10DCA_1                       (0x00080000UL)
#define HRPWM_PCNAR3_CMEDCA_POS                        (20U)
#define HRPWM_PCNAR3_CMEDCA                            (0x00300000UL)
#define HRPWM_PCNAR3_CMEDCA_0                          (0x00100000UL)
#define HRPWM_PCNAR3_CMEDCA_1                          (0x00200000UL)
#define HRPWM_PCNAR3_CMFDCA_POS                        (22U)
#define HRPWM_PCNAR3_CMFDCA                            (0x00C00000UL)
#define HRPWM_PCNAR3_CMFDCA_0                          (0x00400000UL)
#define HRPWM_PCNAR3_CMFDCA_1                          (0x00800000UL)
#define HRPWM_PCNAR3_SCMADCA_POS                       (24U)
#define HRPWM_PCNAR3_SCMADCA                           (0x03000000UL)
#define HRPWM_PCNAR3_SCMADCA_0                         (0x01000000UL)
#define HRPWM_PCNAR3_SCMADCA_1                         (0x02000000UL)
#define HRPWM_PCNAR3_SCMBDCA_POS                       (26U)
#define HRPWM_PCNAR3_SCMBDCA                           (0x0C000000UL)
#define HRPWM_PCNAR3_SCMBDCA_0                         (0x04000000UL)
#define HRPWM_PCNAR3_SCMBDCA_1                         (0x08000000UL)

/*  Bit definition for HRPWM_PCNBR3 register  */
#define HRPWM_PCNBR3_EXEV1DCB_POS                      (0U)
#define HRPWM_PCNBR3_EXEV1DCB                          (0x00000003UL)
#define HRPWM_PCNBR3_EXEV1DCB_0                        (0x00000001UL)
#define HRPWM_PCNBR3_EXEV1DCB_1                        (0x00000002UL)
#define HRPWM_PCNBR3_EXEV2DCB_POS                      (2U)
#define HRPWM_PCNBR3_EXEV2DCB                          (0x0000000CUL)
#define HRPWM_PCNBR3_EXEV2DCB_0                        (0x00000004UL)
#define HRPWM_PCNBR3_EXEV2DCB_1                        (0x00000008UL)
#define HRPWM_PCNBR3_EXEV3DCB_POS                      (4U)
#define HRPWM_PCNBR3_EXEV3DCB                          (0x00000030UL)
#define HRPWM_PCNBR3_EXEV3DCB_0                        (0x00000010UL)
#define HRPWM_PCNBR3_EXEV3DCB_1                        (0x00000020UL)
#define HRPWM_PCNBR3_EXEV4DCB_POS                      (6U)
#define HRPWM_PCNBR3_EXEV4DCB                          (0x000000C0UL)
#define HRPWM_PCNBR3_EXEV4DCB_0                        (0x00000040UL)
#define HRPWM_PCNBR3_EXEV4DCB_1                        (0x00000080UL)
#define HRPWM_PCNBR3_EXEV5DCB_POS                      (8U)
#define HRPWM_PCNBR3_EXEV5DCB                          (0x00000300UL)
#define HRPWM_PCNBR3_EXEV5DCB_0                        (0x00000100UL)
#define HRPWM_PCNBR3_EXEV5DCB_1                        (0x00000200UL)
#define HRPWM_PCNBR3_EXEV6DCB_POS                      (10U)
#define HRPWM_PCNBR3_EXEV6DCB                          (0x00000C00UL)
#define HRPWM_PCNBR3_EXEV6DCB_0                        (0x00000400UL)
#define HRPWM_PCNBR3_EXEV6DCB_1                        (0x00000800UL)
#define HRPWM_PCNBR3_EXEV7DCB_POS                      (12U)
#define HRPWM_PCNBR3_EXEV7DCB                          (0x00003000UL)
#define HRPWM_PCNBR3_EXEV7DCB_0                        (0x00001000UL)
#define HRPWM_PCNBR3_EXEV7DCB_1                        (0x00002000UL)
#define HRPWM_PCNBR3_EXEV8DCB_POS                      (14U)
#define HRPWM_PCNBR3_EXEV8DCB                          (0x0000C000UL)
#define HRPWM_PCNBR3_EXEV8DCB_0                        (0x00004000UL)
#define HRPWM_PCNBR3_EXEV8DCB_1                        (0x00008000UL)
#define HRPWM_PCNBR3_EXEV9DCB_POS                      (16U)
#define HRPWM_PCNBR3_EXEV9DCB                          (0x00030000UL)
#define HRPWM_PCNBR3_EXEV9DCB_0                        (0x00010000UL)
#define HRPWM_PCNBR3_EXEV9DCB_1                        (0x00020000UL)
#define HRPWM_PCNBR3_EXEV10DCB_POS                     (18U)
#define HRPWM_PCNBR3_EXEV10DCB                         (0x000C0000UL)
#define HRPWM_PCNBR3_EXEV10DCB_0                       (0x00040000UL)
#define HRPWM_PCNBR3_EXEV10DCB_1                       (0x00080000UL)
#define HRPWM_PCNBR3_CMEDCB_POS                        (20U)
#define HRPWM_PCNBR3_CMEDCB                            (0x00300000UL)
#define HRPWM_PCNBR3_CMEDCB_0                          (0x00100000UL)
#define HRPWM_PCNBR3_CMEDCB_1                          (0x00200000UL)
#define HRPWM_PCNBR3_CMFDCB_POS                        (22U)
#define HRPWM_PCNBR3_CMFDCB                            (0x00C00000UL)
#define HRPWM_PCNBR3_CMFDCB_0                          (0x00400000UL)
#define HRPWM_PCNBR3_CMFDCB_1                          (0x00800000UL)
#define HRPWM_PCNBR3_SCMADCB_POS                       (24U)
#define HRPWM_PCNBR3_SCMADCB                           (0x03000000UL)
#define HRPWM_PCNBR3_SCMADCB_0                         (0x01000000UL)
#define HRPWM_PCNBR3_SCMADCB_1                         (0x02000000UL)
#define HRPWM_PCNBR3_SCMBDCB_POS                       (26U)
#define HRPWM_PCNBR3_SCMBDCB                           (0x0C000000UL)
#define HRPWM_PCNBR3_SCMBDCB_0                         (0x04000000UL)
#define HRPWM_PCNBR3_SCMBDCB_1                         (0x08000000UL)

/*  Bit definition for HRPWM_IDLECR register  */
#define HRPWM_IDLECR_IDLEBMA_POS                       (0U)
#define HRPWM_IDLECR_IDLEBMA                           (0x00000001UL)
#define HRPWM_IDLECR_IDLESA_POS                        (1U)
#define HRPWM_IDLECR_IDLESA                            (0x00000002UL)
#define HRPWM_IDLECR_DIDLA_POS                         (2U)
#define HRPWM_IDLECR_DIDLA                             (0x00000004UL)
#define HRPWM_IDLECR_DLYCHA_POS                        (3U)
#define HRPWM_IDLECR_DLYCHA                            (0x00000008UL)
#define HRPWM_IDLECR_DLYPRTEN_POS                      (8U)
#define HRPWM_IDLECR_DLYPRTEN                          (0x00000100UL)
#define HRPWM_IDLECR_DLYEVSEL_POS                      (9U)
#define HRPWM_IDLECR_DLYEVSEL                          (0x00000E00UL)
#define HRPWM_IDLECR_DLYSTRG_POS                       (12U)
#define HRPWM_IDLECR_DLYSTRG                           (0x00001000UL)
#define HRPWM_IDLECR_IDLEBMB_POS                       (16U)
#define HRPWM_IDLECR_IDLEBMB                           (0x00010000UL)
#define HRPWM_IDLECR_IDLESB_POS                        (17U)
#define HRPWM_IDLECR_IDLESB                            (0x00020000UL)
#define HRPWM_IDLECR_DIDLB_POS                         (18U)
#define HRPWM_IDLECR_DIDLB                             (0x00040000UL)
#define HRPWM_IDLECR_DLYCHB_POS                        (19U)
#define HRPWM_IDLECR_DLYCHB                            (0x00080000UL)
#define HRPWM_IDLECR_INTENDLYPRT_POS                   (24U)
#define HRPWM_IDLECR_INTENDLYPRT                       (0x01000000UL)
#define HRPWM_IDLECR_FOLLOW_POS                        (25U)
#define HRPWM_IDLECR_FOLLOW                            (0x02000000UL)

/*  Bit definition for HRPWM_GCONR1 register  */
#define HRPWM_GCONR1_INVCAEN_POS                       (0U)
#define HRPWM_GCONR1_INVCAEN                           (0x00000001UL)
#define HRPWM_GCONR1_INVCBEN_POS                       (1U)
#define HRPWM_GCONR1_INVCBEN                           (0x00000002UL)
#define HRPWM_GCONR1_SWAPEN_POS                        (2U)
#define HRPWM_GCONR1_SWAPEN                            (0x00000004UL)
#define HRPWM_GCONR1_SWAPMD_POS                        (3U)
#define HRPWM_GCONR1_SWAPMD                            (0x00000008UL)
#define HRPWM_GCONR1_HALF_POS                          (4U)
#define HRPWM_GCONR1_HALF                              (0x00000010UL)
#define HRPWM_GCONR1_PRDLK_POS                         (5U)
#define HRPWM_GCONR1_PRDLK                             (0x00000020UL)
#define HRPWM_GCONR1_EEFM_POS                          (6U)
#define HRPWM_GCONR1_EEFM                              (0x00000040UL)
#define HRPWM_GCONR1_EEFREF_POS                        (7U)
#define HRPWM_GCONR1_EEFREF                            (0x00000080UL)
#define HRPWM_GCONR1_PRDSEL_POS                        (9U)
#define HRPWM_GCONR1_PRDSEL                            (0x00000600UL)
#define HRPWM_GCONR1_PRDSEL_0                          (0x00000200UL)
#define HRPWM_GCONR1_PRDSEL_1                          (0x00000400UL)
#define HRPWM_GCONR1_CMSCAUEN_POS                      (16U)
#define HRPWM_GCONR1_CMSCAUEN                          (0x00010000UL)
#define HRPWM_GCONR1_CMSCADEN_POS                      (17U)
#define HRPWM_GCONR1_CMSCADEN                          (0x00020000UL)
#define HRPWM_GCONR1_CMSCBUEN_POS                      (18U)
#define HRPWM_GCONR1_CMSCBUEN                          (0x00040000UL)
#define HRPWM_GCONR1_CMSCBDEN_POS                      (19U)
#define HRPWM_GCONR1_CMSCBDEN                          (0x00080000UL)
#define HRPWM_GCONR1_BFSEL_POS                         (20U)
#define HRPWM_GCONR1_BFSEL                             (0x00F00000UL)

/*  Bit definition for HRPWM_BICONR register  */
#define HRPWM_BICONR_INTENA_POS                        (0U)
#define HRPWM_BICONR_INTENA                            (0x00000001UL)
#define HRPWM_BICONR_INTENB_POS                        (1U)
#define HRPWM_BICONR_INTENB                            (0x00000002UL)
#define HRPWM_BICONR_INTENC_POS                        (2U)
#define HRPWM_BICONR_INTENC                            (0x00000004UL)
#define HRPWM_BICONR_INTEND_POS                        (3U)
#define HRPWM_BICONR_INTEND                            (0x00000008UL)
#define HRPWM_BICONR_INTENE_POS                        (4U)
#define HRPWM_BICONR_INTENE                            (0x00000010UL)
#define HRPWM_BICONR_INTENF_POS                        (5U)
#define HRPWM_BICONR_INTENF                            (0x00000020UL)
#define HRPWM_BICONR_INTENOVF_POS                      (6U)
#define HRPWM_BICONR_INTENOVF                          (0x00000040UL)
#define HRPWM_BICONR_NTENUDF_POS                       (7U)
#define HRPWM_BICONR_NTENUDF                           (0x00000080UL)
#define HRPWM_BICONR_INTENCAPA_POS                     (14U)
#define HRPWM_BICONR_INTENCAPA                         (0x00004000UL)
#define HRPWM_BICONR_INTENCAPB_POS                     (15U)
#define HRPWM_BICONR_INTENCAPB                         (0x00008000UL)
#define HRPWM_BICONR_INTENSAU_POS                      (16U)
#define HRPWM_BICONR_INTENSAU                          (0x00010000UL)
#define HRPWM_BICONR_INTENSAD_POS                      (17U)
#define HRPWM_BICONR_INTENSAD                          (0x00020000UL)
#define HRPWM_BICONR_INTENSBU_POS                      (18U)
#define HRPWM_BICONR_INTENSBU                          (0x00040000UL)
#define HRPWM_BICONR_INTENSBD_POS                      (19U)
#define HRPWM_BICONR_INTENSBD                          (0x00080000UL)

/*  Bit definition for HRPWM_BPCNAR1 register  */
#define HRPWM_BPCNAR1_STACA_POS                        (0U)
#define HRPWM_BPCNAR1_STACA                            (0x00000003UL)
#define HRPWM_BPCNAR1_STACA_0                          (0x00000001UL)
#define HRPWM_BPCNAR1_STACA_1                          (0x00000002UL)
#define HRPWM_BPCNAR1_STPCA_POS                        (2U)
#define HRPWM_BPCNAR1_STPCA                            (0x0000000CUL)
#define HRPWM_BPCNAR1_STPCA_0                          (0x00000004UL)
#define HRPWM_BPCNAR1_STPCA_1                          (0x00000008UL)
#define HRPWM_BPCNAR1_OVFCA_POS                        (4U)
#define HRPWM_BPCNAR1_OVFCA                            (0x00000030UL)
#define HRPWM_BPCNAR1_OVFCA_0                          (0x00000010UL)
#define HRPWM_BPCNAR1_OVFCA_1                          (0x00000020UL)
#define HRPWM_BPCNAR1_UDFCA_POS                        (6U)
#define HRPWM_BPCNAR1_UDFCA                            (0x000000C0UL)
#define HRPWM_BPCNAR1_UDFCA_0                          (0x00000040UL)
#define HRPWM_BPCNAR1_UDFCA_1                          (0x00000080UL)
#define HRPWM_BPCNAR1_CMAUCA_POS                       (8U)
#define HRPWM_BPCNAR1_CMAUCA                           (0x00000300UL)
#define HRPWM_BPCNAR1_CMAUCA_0                         (0x00000100UL)
#define HRPWM_BPCNAR1_CMAUCA_1                         (0x00000200UL)
#define HRPWM_BPCNAR1_CMADCA_POS                       (10U)
#define HRPWM_BPCNAR1_CMADCA                           (0x00000C00UL)
#define HRPWM_BPCNAR1_CMADCA_0                         (0x00000400UL)
#define HRPWM_BPCNAR1_CMADCA_1                         (0x00000800UL)
#define HRPWM_BPCNAR1_CMBUCA_POS                       (12U)
#define HRPWM_BPCNAR1_CMBUCA                           (0x00003000UL)
#define HRPWM_BPCNAR1_CMBUCA_0                         (0x00001000UL)
#define HRPWM_BPCNAR1_CMBUCA_1                         (0x00002000UL)
#define HRPWM_BPCNAR1_CMBDCA_POS                       (14U)
#define HRPWM_BPCNAR1_CMBDCA                           (0x0000C000UL)
#define HRPWM_BPCNAR1_CMBDCA_0                         (0x00004000UL)
#define HRPWM_BPCNAR1_CMBDCA_1                         (0x00008000UL)
#define HRPWM_BPCNAR1_FORCA_POS                        (16U)
#define HRPWM_BPCNAR1_FORCA                            (0x00030000UL)
#define HRPWM_BPCNAR1_FORCA_0                          (0x00010000UL)
#define HRPWM_BPCNAR1_FORCA_1                          (0x00020000UL)
#define HRPWM_BPCNAR1_EMBCA_POS                        (20U)
#define HRPWM_BPCNAR1_EMBCA                            (0x00300000UL)
#define HRPWM_BPCNAR1_EMBCA_0                          (0x00100000UL)
#define HRPWM_BPCNAR1_EMBCA_1                          (0x00200000UL)
#define HRPWM_BPCNAR1_EMBRA_POS                        (22U)
#define HRPWM_BPCNAR1_EMBRA                            (0x00C00000UL)
#define HRPWM_BPCNAR1_EMBRA_0                          (0x00400000UL)
#define HRPWM_BPCNAR1_EMBRA_1                          (0x00800000UL)
#define HRPWM_BPCNAR1_EMBSA_POS                        (24U)
#define HRPWM_BPCNAR1_EMBSA                            (0x07000000UL)
#define HRPWM_BPCNAR1_OUTENA_POS                       (28U)
#define HRPWM_BPCNAR1_OUTENA                           (0x10000000UL)

/*  Bit definition for HRPWM_BPCNBR1 register  */
#define HRPWM_BPCNBR1_STACB_POS                        (0U)
#define HRPWM_BPCNBR1_STACB                            (0x00000003UL)
#define HRPWM_BPCNBR1_STACB_0                          (0x00000001UL)
#define HRPWM_BPCNBR1_STACB_1                          (0x00000002UL)
#define HRPWM_BPCNBR1_STPCB_POS                        (2U)
#define HRPWM_BPCNBR1_STPCB                            (0x0000000CUL)
#define HRPWM_BPCNBR1_STPCB_0                          (0x00000004UL)
#define HRPWM_BPCNBR1_STPCB_1                          (0x00000008UL)
#define HRPWM_BPCNBR1_OVFCB_POS                        (4U)
#define HRPWM_BPCNBR1_OVFCB                            (0x00000030UL)
#define HRPWM_BPCNBR1_OVFCB_0                          (0x00000010UL)
#define HRPWM_BPCNBR1_OVFCB_1                          (0x00000020UL)
#define HRPWM_BPCNBR1_UDFCB_POS                        (6U)
#define HRPWM_BPCNBR1_UDFCB                            (0x000000C0UL)
#define HRPWM_BPCNBR1_UDFCB_0                          (0x00000040UL)
#define HRPWM_BPCNBR1_UDFCB_1                          (0x00000080UL)
#define HRPWM_BPCNBR1_CMAUCB_POS                       (8U)
#define HRPWM_BPCNBR1_CMAUCB                           (0x00000300UL)
#define HRPWM_BPCNBR1_CMAUCB_0                         (0x00000100UL)
#define HRPWM_BPCNBR1_CMAUCB_1                         (0x00000200UL)
#define HRPWM_BPCNBR1_CMADCB_POS                       (10U)
#define HRPWM_BPCNBR1_CMADCB                           (0x00000C00UL)
#define HRPWM_BPCNBR1_CMADCB_0                         (0x00000400UL)
#define HRPWM_BPCNBR1_CMADCB_1                         (0x00000800UL)
#define HRPWM_BPCNBR1_CMBUCB_POS                       (12U)
#define HRPWM_BPCNBR1_CMBUCB                           (0x00003000UL)
#define HRPWM_BPCNBR1_CMBUCB_0                         (0x00001000UL)
#define HRPWM_BPCNBR1_CMBUCB_1                         (0x00002000UL)
#define HRPWM_BPCNBR1_CMBDCB_POS                       (14U)
#define HRPWM_BPCNBR1_CMBDCB                           (0x0000C000UL)
#define HRPWM_BPCNBR1_CMBDCB_0                         (0x00004000UL)
#define HRPWM_BPCNBR1_CMBDCB_1                         (0x00008000UL)
#define HRPWM_BPCNBR1_FORCB_POS                        (16U)
#define HRPWM_BPCNBR1_FORCB                            (0x00030000UL)
#define HRPWM_BPCNBR1_FORCB_0                          (0x00010000UL)
#define HRPWM_BPCNBR1_FORCB_1                          (0x00020000UL)
#define HRPWM_BPCNBR1_EMBCB_POS                        (20U)
#define HRPWM_BPCNBR1_EMBCB                            (0x00300000UL)
#define HRPWM_BPCNBR1_EMBCB_0                          (0x00100000UL)
#define HRPWM_BPCNBR1_EMBCB_1                          (0x00200000UL)
#define HRPWM_BPCNBR1_EMBRB_POS                        (22U)
#define HRPWM_BPCNBR1_EMBRB                            (0x00C00000UL)
#define HRPWM_BPCNBR1_EMBRB_0                          (0x00400000UL)
#define HRPWM_BPCNBR1_EMBRB_1                          (0x00800000UL)
#define HRPWM_BPCNBR1_EMBSB_POS                        (24U)
#define HRPWM_BPCNBR1_EMBSB                            (0x07000000UL)
#define HRPWM_BPCNBR1_OUTENB_POS                       (28U)
#define HRPWM_BPCNBR1_OUTENB                           (0x10000000UL)

/*  Bit definition for HRPWM_BPCNAR2 register  */
#define HRPWM_BPCNAR2_EXEV1UCA_POS                     (0U)
#define HRPWM_BPCNAR2_EXEV1UCA                         (0x00000003UL)
#define HRPWM_BPCNAR2_EXEV1UCA_0                       (0x00000001UL)
#define HRPWM_BPCNAR2_EXEV1UCA_1                       (0x00000002UL)
#define HRPWM_BPCNAR2_EXEV2UCA_POS                     (2U)
#define HRPWM_BPCNAR2_EXEV2UCA                         (0x0000000CUL)
#define HRPWM_BPCNAR2_EXEV2UCA_0                       (0x00000004UL)
#define HRPWM_BPCNAR2_EXEV2UCA_1                       (0x00000008UL)
#define HRPWM_BPCNAR2_EXEV3UCA_POS                     (4U)
#define HRPWM_BPCNAR2_EXEV3UCA                         (0x00000030UL)
#define HRPWM_BPCNAR2_EXEV3UCA_0                       (0x00000010UL)
#define HRPWM_BPCNAR2_EXEV3UCA_1                       (0x00000020UL)
#define HRPWM_BPCNAR2_EXEV4UCA_POS                     (6U)
#define HRPWM_BPCNAR2_EXEV4UCA                         (0x000000C0UL)
#define HRPWM_BPCNAR2_EXEV4UCA_0                       (0x00000040UL)
#define HRPWM_BPCNAR2_EXEV4UCA_1                       (0x00000080UL)
#define HRPWM_BPCNAR2_EXEV5UCA_POS                     (8U)
#define HRPWM_BPCNAR2_EXEV5UCA                         (0x00000300UL)
#define HRPWM_BPCNAR2_EXEV5UCA_0                       (0x00000100UL)
#define HRPWM_BPCNAR2_EXEV5UCA_1                       (0x00000200UL)
#define HRPWM_BPCNAR2_EXEV6UCA_POS                     (10U)
#define HRPWM_BPCNAR2_EXEV6UCA                         (0x00000C00UL)
#define HRPWM_BPCNAR2_EXEV6UCA_0                       (0x00000400UL)
#define HRPWM_BPCNAR2_EXEV6UCA_1                       (0x00000800UL)
#define HRPWM_BPCNAR2_EXEV7UCA_POS                     (12U)
#define HRPWM_BPCNAR2_EXEV7UCA                         (0x00003000UL)
#define HRPWM_BPCNAR2_EXEV7UCA_0                       (0x00001000UL)
#define HRPWM_BPCNAR2_EXEV7UCA_1                       (0x00002000UL)
#define HRPWM_BPCNAR2_EXEV8UCA_POS                     (14U)
#define HRPWM_BPCNAR2_EXEV8UCA                         (0x0000C000UL)
#define HRPWM_BPCNAR2_EXEV8UCA_0                       (0x00004000UL)
#define HRPWM_BPCNAR2_EXEV8UCA_1                       (0x00008000UL)
#define HRPWM_BPCNAR2_EXEV9UCA_POS                     (16U)
#define HRPWM_BPCNAR2_EXEV9UCA                         (0x00030000UL)
#define HRPWM_BPCNAR2_EXEV9UCA_0                       (0x00010000UL)
#define HRPWM_BPCNAR2_EXEV9UCA_1                       (0x00020000UL)
#define HRPWM_BPCNAR2_EXEV10UCA_POS                    (18U)
#define HRPWM_BPCNAR2_EXEV10UCA                        (0x000C0000UL)
#define HRPWM_BPCNAR2_EXEV10UCA_0                      (0x00040000UL)
#define HRPWM_BPCNAR2_EXEV10UCA_1                      (0x00080000UL)
#define HRPWM_BPCNAR2_CMEUCA_POS                       (20U)
#define HRPWM_BPCNAR2_CMEUCA                           (0x00300000UL)
#define HRPWM_BPCNAR2_CMEUCA_0                         (0x00100000UL)
#define HRPWM_BPCNAR2_CMEUCA_1                         (0x00200000UL)
#define HRPWM_BPCNAR2_CMFUCA_POS                       (22U)
#define HRPWM_BPCNAR2_CMFUCA                           (0x00C00000UL)
#define HRPWM_BPCNAR2_CMFUCA_0                         (0x00400000UL)
#define HRPWM_BPCNAR2_CMFUCA_1                         (0x00800000UL)
#define HRPWM_BPCNAR2_SCMAUCA_POS                      (24U)
#define HRPWM_BPCNAR2_SCMAUCA                          (0x03000000UL)
#define HRPWM_BPCNAR2_SCMAUCA_0                        (0x01000000UL)
#define HRPWM_BPCNAR2_SCMAUCA_1                        (0x02000000UL)
#define HRPWM_BPCNAR2_SCMBUCA_POS                      (26U)
#define HRPWM_BPCNAR2_SCMBUCA                          (0x0C000000UL)
#define HRPWM_BPCNAR2_SCMBUCA_0                        (0x04000000UL)
#define HRPWM_BPCNAR2_SCMBUCA_1                        (0x08000000UL)

/*  Bit definition for HRPWM_BPCNBR2 register  */
#define HRPWM_BPCNBR2_EXEV1UCB_POS                     (0U)
#define HRPWM_BPCNBR2_EXEV1UCB                         (0x00000003UL)
#define HRPWM_BPCNBR2_EXEV1UCB_0                       (0x00000001UL)
#define HRPWM_BPCNBR2_EXEV1UCB_1                       (0x00000002UL)
#define HRPWM_BPCNBR2_EXEV2UCB_POS                     (2U)
#define HRPWM_BPCNBR2_EXEV2UCB                         (0x0000000CUL)
#define HRPWM_BPCNBR2_EXEV2UCB_0                       (0x00000004UL)
#define HRPWM_BPCNBR2_EXEV2UCB_1                       (0x00000008UL)
#define HRPWM_BPCNBR2_EXEV3UCB_POS                     (4U)
#define HRPWM_BPCNBR2_EXEV3UCB                         (0x00000030UL)
#define HRPWM_BPCNBR2_EXEV3UCB_0                       (0x00000010UL)
#define HRPWM_BPCNBR2_EXEV3UCB_1                       (0x00000020UL)
#define HRPWM_BPCNBR2_EXEV4UCB_POS                     (6U)
#define HRPWM_BPCNBR2_EXEV4UCB                         (0x000000C0UL)
#define HRPWM_BPCNBR2_EXEV4UCB_0                       (0x00000040UL)
#define HRPWM_BPCNBR2_EXEV4UCB_1                       (0x00000080UL)
#define HRPWM_BPCNBR2_EXEV5UCB_POS                     (8U)
#define HRPWM_BPCNBR2_EXEV5UCB                         (0x00000300UL)
#define HRPWM_BPCNBR2_EXEV5UCB_0                       (0x00000100UL)
#define HRPWM_BPCNBR2_EXEV5UCB_1                       (0x00000200UL)
#define HRPWM_BPCNBR2_EXEV6UCB_POS                     (10U)
#define HRPWM_BPCNBR2_EXEV6UCB                         (0x00000C00UL)
#define HRPWM_BPCNBR2_EXEV6UCB_0                       (0x00000400UL)
#define HRPWM_BPCNBR2_EXEV6UCB_1                       (0x00000800UL)
#define HRPWM_BPCNBR2_EXEV7UCB_POS                     (12U)
#define HRPWM_BPCNBR2_EXEV7UCB                         (0x00003000UL)
#define HRPWM_BPCNBR2_EXEV7UCB_0                       (0x00001000UL)
#define HRPWM_BPCNBR2_EXEV7UCB_1                       (0x00002000UL)
#define HRPWM_BPCNBR2_EXEV8UCB_POS                     (14U)
#define HRPWM_BPCNBR2_EXEV8UCB                         (0x0000C000UL)
#define HRPWM_BPCNBR2_EXEV8UCB_0                       (0x00004000UL)
#define HRPWM_BPCNBR2_EXEV8UCB_1                       (0x00008000UL)
#define HRPWM_BPCNBR2_EXEV9UCB_POS                     (16U)
#define HRPWM_BPCNBR2_EXEV9UCB                         (0x00030000UL)
#define HRPWM_BPCNBR2_EXEV9UCB_0                       (0x00010000UL)
#define HRPWM_BPCNBR2_EXEV9UCB_1                       (0x00020000UL)
#define HRPWM_BPCNBR2_EXEV10UCB_POS                    (18U)
#define HRPWM_BPCNBR2_EXEV10UCB                        (0x000C0000UL)
#define HRPWM_BPCNBR2_EXEV10UCB_0                      (0x00040000UL)
#define HRPWM_BPCNBR2_EXEV10UCB_1                      (0x00080000UL)
#define HRPWM_BPCNBR2_CMEUCB_POS                       (20U)
#define HRPWM_BPCNBR2_CMEUCB                           (0x00300000UL)
#define HRPWM_BPCNBR2_CMEUCB_0                         (0x00100000UL)
#define HRPWM_BPCNBR2_CMEUCB_1                         (0x00200000UL)
#define HRPWM_BPCNBR2_CMFUCB_POS                       (22U)
#define HRPWM_BPCNBR2_CMFUCB                           (0x00C00000UL)
#define HRPWM_BPCNBR2_CMFUCB_0                         (0x00400000UL)
#define HRPWM_BPCNBR2_CMFUCB_1                         (0x00800000UL)
#define HRPWM_BPCNBR2_SCMAUCB_POS                      (24U)
#define HRPWM_BPCNBR2_SCMAUCB                          (0x03000000UL)
#define HRPWM_BPCNBR2_SCMAUCB_0                        (0x01000000UL)
#define HRPWM_BPCNBR2_SCMAUCB_1                        (0x02000000UL)
#define HRPWM_BPCNBR2_SCMBUCB_POS                      (26U)
#define HRPWM_BPCNBR2_SCMBUCB                          (0x0C000000UL)
#define HRPWM_BPCNBR2_SCMBUCB_0                        (0x04000000UL)
#define HRPWM_BPCNBR2_SCMBUCB_1                        (0x08000000UL)

/*  Bit definition for HRPWM_BPCNAR3 register  */
#define HRPWM_BPCNAR3_EXEV1DCA_POS                     (0U)
#define HRPWM_BPCNAR3_EXEV1DCA                         (0x00000003UL)
#define HRPWM_BPCNAR3_EXEV1DCA_0                       (0x00000001UL)
#define HRPWM_BPCNAR3_EXEV1DCA_1                       (0x00000002UL)
#define HRPWM_BPCNAR3_EXEV2DCA_POS                     (2U)
#define HRPWM_BPCNAR3_EXEV2DCA                         (0x0000000CUL)
#define HRPWM_BPCNAR3_EXEV2DCA_0                       (0x00000004UL)
#define HRPWM_BPCNAR3_EXEV2DCA_1                       (0x00000008UL)
#define HRPWM_BPCNAR3_EXEV3DCA_POS                     (4U)
#define HRPWM_BPCNAR3_EXEV3DCA                         (0x00000030UL)
#define HRPWM_BPCNAR3_EXEV3DCA_0                       (0x00000010UL)
#define HRPWM_BPCNAR3_EXEV3DCA_1                       (0x00000020UL)
#define HRPWM_BPCNAR3_EXEV4DCA_POS                     (6U)
#define HRPWM_BPCNAR3_EXEV4DCA                         (0x000000C0UL)
#define HRPWM_BPCNAR3_EXEV4DCA_0                       (0x00000040UL)
#define HRPWM_BPCNAR3_EXEV4DCA_1                       (0x00000080UL)
#define HRPWM_BPCNAR3_EXEV5DCA_POS                     (8U)
#define HRPWM_BPCNAR3_EXEV5DCA                         (0x00000300UL)
#define HRPWM_BPCNAR3_EXEV5DCA_0                       (0x00000100UL)
#define HRPWM_BPCNAR3_EXEV5DCA_1                       (0x00000200UL)
#define HRPWM_BPCNAR3_EXEV6DCA_POS                     (10U)
#define HRPWM_BPCNAR3_EXEV6DCA                         (0x00000C00UL)
#define HRPWM_BPCNAR3_EXEV6DCA_0                       (0x00000400UL)
#define HRPWM_BPCNAR3_EXEV6DCA_1                       (0x00000800UL)
#define HRPWM_BPCNAR3_EXEV7DCA_POS                     (12U)
#define HRPWM_BPCNAR3_EXEV7DCA                         (0x00003000UL)
#define HRPWM_BPCNAR3_EXEV7DCA_0                       (0x00001000UL)
#define HRPWM_BPCNAR3_EXEV7DCA_1                       (0x00002000UL)
#define HRPWM_BPCNAR3_EXEV8DCA_POS                     (14U)
#define HRPWM_BPCNAR3_EXEV8DCA                         (0x0000C000UL)
#define HRPWM_BPCNAR3_EXEV8DCA_0                       (0x00004000UL)
#define HRPWM_BPCNAR3_EXEV8DCA_1                       (0x00008000UL)
#define HRPWM_BPCNAR3_EXEV9DCA_POS                     (16U)
#define HRPWM_BPCNAR3_EXEV9DCA                         (0x00030000UL)
#define HRPWM_BPCNAR3_EXEV9DCA_0                       (0x00010000UL)
#define HRPWM_BPCNAR3_EXEV9DCA_1                       (0x00020000UL)
#define HRPWM_BPCNAR3_EXEV10DCA_POS                    (18U)
#define HRPWM_BPCNAR3_EXEV10DCA                        (0x000C0000UL)
#define HRPWM_BPCNAR3_EXEV10DCA_0                      (0x00040000UL)
#define HRPWM_BPCNAR3_EXEV10DCA_1                      (0x00080000UL)
#define HRPWM_BPCNAR3_CMEDCA_POS                       (20U)
#define HRPWM_BPCNAR3_CMEDCA                           (0x00300000UL)
#define HRPWM_BPCNAR3_CMEDCA_0                         (0x00100000UL)
#define HRPWM_BPCNAR3_CMEDCA_1                         (0x00200000UL)
#define HRPWM_BPCNAR3_CMFDCA_POS                       (22U)
#define HRPWM_BPCNAR3_CMFDCA                           (0x00C00000UL)
#define HRPWM_BPCNAR3_CMFDCA_0                         (0x00400000UL)
#define HRPWM_BPCNAR3_CMFDCA_1                         (0x00800000UL)
#define HRPWM_BPCNAR3_SCMADCA_POS                      (24U)
#define HRPWM_BPCNAR3_SCMADCA                          (0x03000000UL)
#define HRPWM_BPCNAR3_SCMADCA_0                        (0x01000000UL)
#define HRPWM_BPCNAR3_SCMADCA_1                        (0x02000000UL)
#define HRPWM_BPCNAR3_SCMBDCA_POS                      (26U)
#define HRPWM_BPCNAR3_SCMBDCA                          (0x0C000000UL)
#define HRPWM_BPCNAR3_SCMBDCA_0                        (0x04000000UL)
#define HRPWM_BPCNAR3_SCMBDCA_1                        (0x08000000UL)

/*  Bit definition for HRPWM_BPCNBR3 register  */
#define HRPWM_BPCNBR3_EXEV1DCB_POS                     (0U)
#define HRPWM_BPCNBR3_EXEV1DCB                         (0x00000003UL)
#define HRPWM_BPCNBR3_EXEV1DCB_0                       (0x00000001UL)
#define HRPWM_BPCNBR3_EXEV1DCB_1                       (0x00000002UL)
#define HRPWM_BPCNBR3_EXEV2DCB_POS                     (2U)
#define HRPWM_BPCNBR3_EXEV2DCB                         (0x0000000CUL)
#define HRPWM_BPCNBR3_EXEV2DCB_0                       (0x00000004UL)
#define HRPWM_BPCNBR3_EXEV2DCB_1                       (0x00000008UL)
#define HRPWM_BPCNBR3_EXEV3DCB_POS                     (4U)
#define HRPWM_BPCNBR3_EXEV3DCB                         (0x00000030UL)
#define HRPWM_BPCNBR3_EXEV3DCB_0                       (0x00000010UL)
#define HRPWM_BPCNBR3_EXEV3DCB_1                       (0x00000020UL)
#define HRPWM_BPCNBR3_EXEV4DCB_POS                     (6U)
#define HRPWM_BPCNBR3_EXEV4DCB                         (0x000000C0UL)
#define HRPWM_BPCNBR3_EXEV4DCB_0                       (0x00000040UL)
#define HRPWM_BPCNBR3_EXEV4DCB_1                       (0x00000080UL)
#define HRPWM_BPCNBR3_EXEV5DCB_POS                     (8U)
#define HRPWM_BPCNBR3_EXEV5DCB                         (0x00000300UL)
#define HRPWM_BPCNBR3_EXEV5DCB_0                       (0x00000100UL)
#define HRPWM_BPCNBR3_EXEV5DCB_1                       (0x00000200UL)
#define HRPWM_BPCNBR3_EXEV6DCB_POS                     (10U)
#define HRPWM_BPCNBR3_EXEV6DCB                         (0x00000C00UL)
#define HRPWM_BPCNBR3_EXEV6DCB_0                       (0x00000400UL)
#define HRPWM_BPCNBR3_EXEV6DCB_1                       (0x00000800UL)
#define HRPWM_BPCNBR3_EXEV7DCB_POS                     (12U)
#define HRPWM_BPCNBR3_EXEV7DCB                         (0x00003000UL)
#define HRPWM_BPCNBR3_EXEV7DCB_0                       (0x00001000UL)
#define HRPWM_BPCNBR3_EXEV7DCB_1                       (0x00002000UL)
#define HRPWM_BPCNBR3_EXEV8DCB_POS                     (14U)
#define HRPWM_BPCNBR3_EXEV8DCB                         (0x0000C000UL)
#define HRPWM_BPCNBR3_EXEV8DCB_0                       (0x00004000UL)
#define HRPWM_BPCNBR3_EXEV8DCB_1                       (0x00008000UL)
#define HRPWM_BPCNBR3_EXEV9DCB_POS                     (16U)
#define HRPWM_BPCNBR3_EXEV9DCB                         (0x00030000UL)
#define HRPWM_BPCNBR3_EXEV9DCB_0                       (0x00010000UL)
#define HRPWM_BPCNBR3_EXEV9DCB_1                       (0x00020000UL)
#define HRPWM_BPCNBR3_EXEV10DCB_POS                    (18U)
#define HRPWM_BPCNBR3_EXEV10DCB                        (0x000C0000UL)
#define HRPWM_BPCNBR3_EXEV10DCB_0                      (0x00040000UL)
#define HRPWM_BPCNBR3_EXEV10DCB_1                      (0x00080000UL)
#define HRPWM_BPCNBR3_CMEDCB_POS                       (20U)
#define HRPWM_BPCNBR3_CMEDCB                           (0x00300000UL)
#define HRPWM_BPCNBR3_CMEDCB_0                         (0x00100000UL)
#define HRPWM_BPCNBR3_CMEDCB_1                         (0x00200000UL)
#define HRPWM_BPCNBR3_CMFDCB_POS                       (22U)
#define HRPWM_BPCNBR3_CMFDCB                           (0x00C00000UL)
#define HRPWM_BPCNBR3_CMFDCB_0                         (0x00400000UL)
#define HRPWM_BPCNBR3_CMFDCB_1                         (0x00800000UL)
#define HRPWM_BPCNBR3_SCMADCB_POS                      (24U)
#define HRPWM_BPCNBR3_SCMADCB                          (0x03000000UL)
#define HRPWM_BPCNBR3_SCMADCB_0                        (0x01000000UL)
#define HRPWM_BPCNBR3_SCMADCB_1                        (0x02000000UL)
#define HRPWM_BPCNBR3_SCMBDCB_POS                      (26U)
#define HRPWM_BPCNBR3_SCMBDCB                          (0x0C000000UL)
#define HRPWM_BPCNBR3_SCMBDCB_0                        (0x04000000UL)
#define HRPWM_BPCNBR3_SCMBDCB_1                        (0x08000000UL)

/*  Bit definition for HRPWM_BGCONR1 register  */
#define HRPWM_BGCONR1_INVCAEN_POS                      (0U)
#define HRPWM_BGCONR1_INVCAEN                          (0x00000001UL)
#define HRPWM_BGCONR1_INVCBEN_POS                      (1U)
#define HRPWM_BGCONR1_INVCBEN                          (0x00000002UL)
#define HRPWM_BGCONR1_SWAPEN_POS                       (2U)
#define HRPWM_BGCONR1_SWAPEN                           (0x00000004UL)
#define HRPWM_BGCONR1_SWAPMD_POS                       (3U)
#define HRPWM_BGCONR1_SWAPMD                           (0x00000008UL)
#define HRPWM_BGCONR1_HALF_POS                         (4U)
#define HRPWM_BGCONR1_HALF                             (0x00000010UL)
#define HRPWM_BGCONR1_PRDLK_POS                        (5U)
#define HRPWM_BGCONR1_PRDLK                            (0x00000020UL)
#define HRPWM_BGCONR1_EEFM_POS                         (6U)
#define HRPWM_BGCONR1_EEFM                             (0x00000040UL)
#define HRPWM_BGCONR1_EEFREF_POS                       (7U)
#define HRPWM_BGCONR1_EEFREF                           (0x00000080UL)
#define HRPWM_BGCONR1_PRDSEL_POS                       (9U)
#define HRPWM_BGCONR1_PRDSEL                           (0x00000600UL)
#define HRPWM_BGCONR1_PRDSEL_0                         (0x00000200UL)
#define HRPWM_BGCONR1_PRDSEL_1                         (0x00000400UL)
#define HRPWM_BGCONR1_CMSCAUEN_POS                     (16U)
#define HRPWM_BGCONR1_CMSCAUEN                         (0x00010000UL)
#define HRPWM_BGCONR1_CMSCADEN_POS                     (17U)
#define HRPWM_BGCONR1_CMSCADEN                         (0x00020000UL)
#define HRPWM_BGCONR1_CMSCBUEN_POS                     (18U)
#define HRPWM_BGCONR1_CMSCBUEN                         (0x00040000UL)
#define HRPWM_BGCONR1_CMSCBDEN_POS                     (19U)
#define HRPWM_BGCONR1_CMSCBDEN                         (0x00080000UL)
#define HRPWM_BGCONR1_BFSEL_POS                        (20U)
#define HRPWM_BGCONR1_BFSEL                            (0x00F00000UL)

/*  Bit definition for HRPWM_SCMASELR register  */
#define HRPWM_SCMASELR_CMSA1_POS                       (0U)
#define HRPWM_SCMASELR_CMSA1                           (0x00000001UL)
#define HRPWM_SCMASELR_CMSB1_POS                       (1U)
#define HRPWM_SCMASELR_CMSB1                           (0x00000002UL)
#define HRPWM_SCMASELR_OVF1_POS                        (2U)
#define HRPWM_SCMASELR_OVF1                            (0x00000004UL)
#define HRPWM_SCMASELR_UDF1_POS                        (3U)
#define HRPWM_SCMASELR_UDF1                            (0x00000008UL)
#define HRPWM_SCMASELR_CMSA2_POS                       (4U)
#define HRPWM_SCMASELR_CMSA2                           (0x00000010UL)
#define HRPWM_SCMASELR_CMSB2_POS                       (5U)
#define HRPWM_SCMASELR_CMSB2                           (0x00000020UL)
#define HRPWM_SCMASELR_OVF2_POS                        (6U)
#define HRPWM_SCMASELR_OVF2                            (0x00000040UL)
#define HRPWM_SCMASELR_UDF2_POS                        (7U)
#define HRPWM_SCMASELR_UDF2                            (0x00000080UL)
#define HRPWM_SCMASELR_CMSA3_POS                       (8U)
#define HRPWM_SCMASELR_CMSA3                           (0x00000100UL)
#define HRPWM_SCMASELR_CMSB3_POS                       (9U)
#define HRPWM_SCMASELR_CMSB3                           (0x00000200UL)
#define HRPWM_SCMASELR_OVF3_POS                        (10U)
#define HRPWM_SCMASELR_OVF3                            (0x00000400UL)
#define HRPWM_SCMASELR_UDF3_POS                        (11U)
#define HRPWM_SCMASELR_UDF3                            (0x00000800UL)
#define HRPWM_SCMASELR_CMSA4_POS                       (12U)
#define HRPWM_SCMASELR_CMSA4                           (0x00001000UL)
#define HRPWM_SCMASELR_CMSB4_POS                       (13U)
#define HRPWM_SCMASELR_CMSB4                           (0x00002000UL)
#define HRPWM_SCMASELR_OVF4_POS                        (14U)
#define HRPWM_SCMASELR_OVF4                            (0x00004000UL)
#define HRPWM_SCMASELR_UDF4_POS                        (15U)
#define HRPWM_SCMASELR_UDF4                            (0x00008000UL)
#define HRPWM_SCMASELR_CMSA5_POS                       (16U)
#define HRPWM_SCMASELR_CMSA5                           (0x00010000UL)
#define HRPWM_SCMASELR_CMSB5_POS                       (17U)
#define HRPWM_SCMASELR_CMSB5                           (0x00020000UL)
#define HRPWM_SCMASELR_OVF5_POS                        (18U)
#define HRPWM_SCMASELR_OVF5                            (0x00040000UL)
#define HRPWM_SCMASELR_UDF5_POS                        (19U)
#define HRPWM_SCMASELR_UDF5                            (0x00080000UL)
#define HRPWM_SCMASELR_CMSA6_POS                       (20U)
#define HRPWM_SCMASELR_CMSA6                           (0x00100000UL)
#define HRPWM_SCMASELR_CMSB6_POS                       (21U)
#define HRPWM_SCMASELR_CMSB6                           (0x00200000UL)
#define HRPWM_SCMASELR_OVF6_POS                        (22U)
#define HRPWM_SCMASELR_OVF6                            (0x00400000UL)
#define HRPWM_SCMASELR_UDF6_POS                        (23U)
#define HRPWM_SCMASELR_UDF6                            (0x00800000UL)
#define HRPWM_SCMASELR_EEVDET_POS                      (24U)
#define HRPWM_SCMASELR_EEVDET                          (0x01000000UL)

/*  Bit definition for HRPWM_CR register  */
#define HRPWM_CR_EN_POS                                (3U)
#define HRPWM_CR_EN                                    (0x00000008UL)
#define HRPWM_CR_DACSYNC1_POS                          (4U)
#define HRPWM_CR_DACSYNC1                              (0x00000030UL)
#define HRPWM_CR_DACSYNC1_0                            (0x00000010UL)
#define HRPWM_CR_DACSYNC1_1                            (0x00000020UL)
#define HRPWM_CR_DACSYNC2_POS                          (8U)
#define HRPWM_CR_DACSYNC2                              (0x00000300UL)
#define HRPWM_CR_DACSYNC2_0                            (0x00000100UL)
#define HRPWM_CR_DACSYNC2_1                            (0x00000200UL)
#define HRPWM_CR_DACSRC_POS                            (12U)
#define HRPWM_CR_DACSRC                                (0x00007000UL)

/*  Bit definition for HRPWM_PHSCTL register  */
#define HRPWM_PHSCTL_PHSEN_POS                         (0U)
#define HRPWM_PHSCTL_PHSEN                             (0x00000001UL)
#define HRPWM_PHSCTL_PHCMPSEL_POS                      (1U)
#define HRPWM_PHSCTL_PHCMPSEL                          (0x0000000EUL)
#define HRPWM_PHSCTL_PHSFORCA_POS                      (6U)
#define HRPWM_PHSCTL_PHSFORCA                          (0x00000040UL)
#define HRPWM_PHSCTL_PHSFORCB_POS                      (7U)
#define HRPWM_PHSCTL_PHSFORCB                          (0x00000080UL)
#define HRPWM_PHSCTL_BENPHS_POS                        (8U)
#define HRPWM_PHSCTL_BENPHS                            (0x00000100UL)
#define HRPWM_PHSCTL_BTRUPHS_POS                       (9U)
#define HRPWM_PHSCTL_BTRUPHS                           (0x00000200UL)
#define HRPWM_PHSCTL_BTRDPHS_POS                       (10U)
#define HRPWM_PHSCTL_BTRDPHS                           (0x00000400UL)

/*  Bit definition for HRPWM_PHSCMP1A register  */
#define HRPWM_PHSCMP1A_PHSCMP1A                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP1B register  */
#define HRPWM_PHSCMP1B_PHSCMP1B                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP2A register  */
#define HRPWM_PHSCMP2A_PHSCMP2A                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP2B register  */
#define HRPWM_PHSCMP2B_PHSCMP2B                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP3A register  */
#define HRPWM_PHSCMP3A_PHSCMP3A                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP3B register  */
#define HRPWM_PHSCMP3B_PHSCMP3B                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP4A register  */
#define HRPWM_PHSCMP4A_PHSCMP4A                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP4B register  */
#define HRPWM_PHSCMP4B_PHSCMP4B                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP5A register  */
#define HRPWM_PHSCMP5A_PHSCMP5A                        (0x007FFFFFUL)

/*  Bit definition for HRPWM_PHSCMP5B register  */
#define HRPWM_PHSCMP5B_PHSCMP5B                        (0x007FFFFFUL)

/*******************************************************************************
                Bit definition for Peripheral HRPWM_COMMON
*******************************************************************************/
/*  Bit definition for HRPWM_COMMON_CALCR register  */
#define HRPWM_COMMON_CALCR_CAL_POS                     (0U)
#define HRPWM_COMMON_CALCR_CAL                         (0x00000001UL)
#define HRPWM_COMMON_CALCR_CALEN_POS                   (1U)
#define HRPWM_COMMON_CALCR_CALEN                       (0x00000002UL)
#define HRPWM_COMMON_CALCR_CALPRD_POS                  (2U)
#define HRPWM_COMMON_CALCR_CALPRD                      (0x0000003CUL)
#define HRPWM_COMMON_CALCR_CALENF_POS                  (8U)
#define HRPWM_COMMON_CALCR_CALENF                      (0x00000100UL)
#define HRPWM_COMMON_CALCR_ERRF_POS                    (9U)
#define HRPWM_COMMON_CALCR_ERRF                        (0x00000200UL)
#define HRPWM_COMMON_CALCR_CALIE_POS                   (10U)
#define HRPWM_COMMON_CALCR_CALIE                       (0x00000400UL)

/*  Bit definition for HRPWM_COMMON_SCAPR register  */
#define HRPWM_COMMON_SCAPR_SCAP1A_POS                  (0U)
#define HRPWM_COMMON_SCAPR_SCAP1A                      (0x00000001UL)
#define HRPWM_COMMON_SCAPR_SCAP1B_POS                  (1U)
#define HRPWM_COMMON_SCAPR_SCAP1B                      (0x00000002UL)
#define HRPWM_COMMON_SCAPR_SCAP2A_POS                  (2U)
#define HRPWM_COMMON_SCAPR_SCAP2A                      (0x00000004UL)
#define HRPWM_COMMON_SCAPR_SCAP2B_POS                  (3U)
#define HRPWM_COMMON_SCAPR_SCAP2B                      (0x00000008UL)
#define HRPWM_COMMON_SCAPR_SCAP3A_POS                  (4U)
#define HRPWM_COMMON_SCAPR_SCAP3A                      (0x00000010UL)
#define HRPWM_COMMON_SCAPR_SCAP3B_POS                  (5U)
#define HRPWM_COMMON_SCAPR_SCAP3B                      (0x00000020UL)
#define HRPWM_COMMON_SCAPR_SCAP4A_POS                  (6U)
#define HRPWM_COMMON_SCAPR_SCAP4A                      (0x00000040UL)
#define HRPWM_COMMON_SCAPR_SCAP4B_POS                  (7U)
#define HRPWM_COMMON_SCAPR_SCAP4B                      (0x00000080UL)
#define HRPWM_COMMON_SCAPR_SCAP5A_POS                  (8U)
#define HRPWM_COMMON_SCAPR_SCAP5A                      (0x00000100UL)
#define HRPWM_COMMON_SCAPR_SCAP5B_POS                  (9U)
#define HRPWM_COMMON_SCAPR_SCAP5B                      (0x00000200UL)
#define HRPWM_COMMON_SCAPR_SCAP6A_POS                  (10U)
#define HRPWM_COMMON_SCAPR_SCAP6A                      (0x00000400UL)
#define HRPWM_COMMON_SCAPR_SCAP6B_POS                  (11U)
#define HRPWM_COMMON_SCAPR_SCAP6B                      (0x00000800UL)

/*  Bit definition for HRPWM_COMMON_SSTAIDLR register  */
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL1A_POS            (0U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL1A                (0x00000001UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL1B_POS            (1U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL1B                (0x00000002UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL2A_POS            (2U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL2A                (0x00000004UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL2B_POS            (3U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL2B                (0x00000008UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL3A_POS            (4U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL3A                (0x00000010UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL3B_POS            (5U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL3B                (0x00000020UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL4A_POS            (6U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL4A                (0x00000040UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL4B_POS            (7U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL4B                (0x00000080UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL5A_POS            (8U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL5A                (0x00000100UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL5B_POS            (9U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL5B                (0x00000200UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL6A_POS            (10U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL6A                (0x00000400UL)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL6B_POS            (11U)
#define HRPWM_COMMON_SSTAIDLR_SSTAIDL6B                (0x00000800UL)

/*  Bit definition for HRPWM_COMMON_SSTARUNR1 register  */
#define HRPWM_COMMON_SSTARUNR1_SSTARUN1A_POS           (0U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN1A               (0x00000001UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN1B_POS           (1U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN1B               (0x00000002UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN2A_POS           (2U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN2A               (0x00000004UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN2B_POS           (3U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN2B               (0x00000008UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN3A_POS           (4U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN3A               (0x00000010UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN3B_POS           (5U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN3B               (0x00000020UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN4A_POS           (6U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN4A               (0x00000040UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN4B_POS           (7U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN4B               (0x00000080UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN5A_POS           (8U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN5A               (0x00000100UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN5B_POS           (9U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN5B               (0x00000200UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN6A_POS           (10U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN6A               (0x00000400UL)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN6B_POS           (11U)
#define HRPWM_COMMON_SSTARUNR1_SSTARUN6B               (0x00000800UL)

/*  Bit definition for HRPWM_COMMON_SSTARUNR2 register  */
#define HRPWM_COMMON_SSTARUNR2_SSTARUN1A2_POS          (0U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN1A2              (0x00000001UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN1B2_POS          (1U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN1B2              (0x00000002UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN2A2_POS          (2U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN2A2              (0x00000004UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN2B2_POS          (3U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN2B2              (0x00000008UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN3A2_POS          (4U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN3A2              (0x00000010UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN3B2_POS          (5U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN3B2              (0x00000020UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN4A2_POS          (6U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN4A2              (0x00000040UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN4B2_POS          (7U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN4B2              (0x00000080UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN5A2_POS          (8U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN5A2              (0x00000100UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN5B2_POS          (9U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN5B2              (0x00000200UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN6A2_POS          (10U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN6A2              (0x00000400UL)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN6B2_POS          (11U)
#define HRPWM_COMMON_SSTARUNR2_SSTARUN6B2              (0x00000800UL)

/*  Bit definition for HRPWM_COMMON_SSTADIDLR register  */
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU1_POS           (0U)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU1               (0x00000001UL)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU2_POS           (1U)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU2               (0x00000002UL)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU3_POS           (2U)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU3               (0x00000004UL)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU4_POS           (3U)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU4               (0x00000008UL)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU5_POS           (4U)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU5               (0x00000010UL)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU6_POS           (5U)
#define HRPWM_COMMON_SSTADIDLR_DLYSTRGU6               (0x00000020UL)

/*  Bit definition for HRPWM_COMMON_GCTLR register  */
#define HRPWM_COMMON_GCTLR_EE1SRC2_POS                 (0U)
#define HRPWM_COMMON_GCTLR_EE1SRC2                     (0x00000003UL)
#define HRPWM_COMMON_GCTLR_EE1SRC2_0                   (0x00000001UL)
#define HRPWM_COMMON_GCTLR_EE1SRC2_1                   (0x00000002UL)
#define HRPWM_COMMON_GCTLR_EE2SRC2_POS                 (2U)
#define HRPWM_COMMON_GCTLR_EE2SRC2                     (0x0000000CUL)
#define HRPWM_COMMON_GCTLR_EE2SRC2_0                   (0x00000004UL)
#define HRPWM_COMMON_GCTLR_EE2SRC2_1                   (0x00000008UL)
#define HRPWM_COMMON_GCTLR_BKDLY1_POS                  (4U)
#define HRPWM_COMMON_GCTLR_BKDLY1                      (0x00000010UL)
#define HRPWM_COMMON_GCTLR_BKDLY2_POS                  (5U)
#define HRPWM_COMMON_GCTLR_BKDLY2                      (0x00000020UL)
#define HRPWM_COMMON_GCTLR_BKDLY3_POS                  (6U)
#define HRPWM_COMMON_GCTLR_BKDLY3                      (0x00000040UL)
#define HRPWM_COMMON_GCTLR_BKDLY4_POS                  (7U)
#define HRPWM_COMMON_GCTLR_BKDLY4                      (0x00000080UL)
#define HRPWM_COMMON_GCTLR_BKDLY5_POS                  (8U)
#define HRPWM_COMMON_GCTLR_BKDLY5                      (0x00000100UL)
#define HRPWM_COMMON_GCTLR_BKDLY6_POS                  (9U)
#define HRPWM_COMMON_GCTLR_BKDLY6                      (0x00000200UL)
#define HRPWM_COMMON_GCTLR_EE3SRC2_POS                 (16U)
#define HRPWM_COMMON_GCTLR_EE3SRC2                     (0x00030000UL)
#define HRPWM_COMMON_GCTLR_EE3SRC2_0                   (0x00010000UL)
#define HRPWM_COMMON_GCTLR_EE3SRC2_1                   (0x00020000UL)
#define HRPWM_COMMON_GCTLR_EE4SRC2_POS                 (18U)
#define HRPWM_COMMON_GCTLR_EE4SRC2                     (0x000C0000UL)
#define HRPWM_COMMON_GCTLR_EE4SRC2_0                   (0x00040000UL)
#define HRPWM_COMMON_GCTLR_EE4SRC2_1                   (0x00080000UL)
#define HRPWM_COMMON_GCTLR_EE5SRC2_POS                 (20U)
#define HRPWM_COMMON_GCTLR_EE5SRC2                     (0x00300000UL)
#define HRPWM_COMMON_GCTLR_EE5SRC2_0                   (0x00100000UL)
#define HRPWM_COMMON_GCTLR_EE5SRC2_1                   (0x00200000UL)
#define HRPWM_COMMON_GCTLR_EE6SRC2_POS                 (22U)
#define HRPWM_COMMON_GCTLR_EE6SRC2                     (0x00C00000UL)
#define HRPWM_COMMON_GCTLR_EE6SRC2_0                   (0x00400000UL)
#define HRPWM_COMMON_GCTLR_EE6SRC2_1                   (0x00800000UL)
#define HRPWM_COMMON_GCTLR_EE7SRC2_POS                 (24U)
#define HRPWM_COMMON_GCTLR_EE7SRC2                     (0x03000000UL)
#define HRPWM_COMMON_GCTLR_EE7SRC2_0                   (0x01000000UL)
#define HRPWM_COMMON_GCTLR_EE7SRC2_1                   (0x02000000UL)
#define HRPWM_COMMON_GCTLR_EE8SRC2_POS                 (26U)
#define HRPWM_COMMON_GCTLR_EE8SRC2                     (0x0C000000UL)
#define HRPWM_COMMON_GCTLR_EE8SRC2_0                   (0x04000000UL)
#define HRPWM_COMMON_GCTLR_EE8SRC2_1                   (0x08000000UL)
#define HRPWM_COMMON_GCTLR_EE9SRC2_POS                 (28U)
#define HRPWM_COMMON_GCTLR_EE9SRC2                     (0x30000000UL)
#define HRPWM_COMMON_GCTLR_EE9SRC2_0                   (0x10000000UL)
#define HRPWM_COMMON_GCTLR_EE9SRC2_1                   (0x20000000UL)
#define HRPWM_COMMON_GCTLR_EE10SRC2_POS                (30U)
#define HRPWM_COMMON_GCTLR_EE10SRC2                    (0xC0000000UL)
#define HRPWM_COMMON_GCTLR_EE10SRC2_0                  (0x40000000UL)
#define HRPWM_COMMON_GCTLR_EE10SRC2_1                  (0x80000000UL)

/*  Bit definition for HRPWM_COMMON_GBCONR register  */
#define HRPWM_COMMON_GBCONR_BTRU1EN_POS                (0U)
#define HRPWM_COMMON_GBCONR_BTRU1EN                    (0x00000001UL)
#define HRPWM_COMMON_GBCONR_BTRU2EN_POS                (1U)
#define HRPWM_COMMON_GBCONR_BTRU2EN                    (0x00000002UL)
#define HRPWM_COMMON_GBCONR_BTRU3EN_POS                (2U)
#define HRPWM_COMMON_GBCONR_BTRU3EN                    (0x00000004UL)
#define HRPWM_COMMON_GBCONR_BTRU4EN_POS                (3U)
#define HRPWM_COMMON_GBCONR_BTRU4EN                    (0x00000008UL)
#define HRPWM_COMMON_GBCONR_BTRU5EN_POS                (4U)
#define HRPWM_COMMON_GBCONR_BTRU5EN                    (0x00000010UL)
#define HRPWM_COMMON_GBCONR_BTRU6EN_POS                (5U)
#define HRPWM_COMMON_GBCONR_BTRU6EN                    (0x00000020UL)
#define HRPWM_COMMON_GBCONR_BTRU1SFT_POS               (8U)
#define HRPWM_COMMON_GBCONR_BTRU1SFT                   (0x00000100UL)
#define HRPWM_COMMON_GBCONR_BTRU2SFT_POS               (9U)
#define HRPWM_COMMON_GBCONR_BTRU2SFT                   (0x00000200UL)
#define HRPWM_COMMON_GBCONR_BTRU3SFT_POS               (10U)
#define HRPWM_COMMON_GBCONR_BTRU3SFT                   (0x00000400UL)
#define HRPWM_COMMON_GBCONR_BTRU4SFT_POS               (11U)
#define HRPWM_COMMON_GBCONR_BTRU4SFT                   (0x00000800UL)
#define HRPWM_COMMON_GBCONR_BTRU5SFT_POS               (12U)
#define HRPWM_COMMON_GBCONR_BTRU5SFT                   (0x00001000UL)
#define HRPWM_COMMON_GBCONR_BTRU6SFT_POS               (13U)
#define HRPWM_COMMON_GBCONR_BTRU6SFT                   (0x00002000UL)
#define HRPWM_COMMON_GBCONR_OSTBTRU1_POS               (30U)
#define HRPWM_COMMON_GBCONR_OSTBTRU1                   (0x40000000UL)
#define HRPWM_COMMON_GBCONR_OSTENU1_POS                (31U)
#define HRPWM_COMMON_GBCONR_OSTENU1                    (0x80000000UL)

/*  Bit definition for HRPWM_COMMON_GBSFLR register  */
#define HRPWM_COMMON_GBSFLR_U1BTRENF_POS               (0U)
#define HRPWM_COMMON_GBSFLR_U1BTRENF                   (0x00000001UL)
#define HRPWM_COMMON_GBSFLR_U2BTRENF_POS               (1U)
#define HRPWM_COMMON_GBSFLR_U2BTRENF                   (0x00000002UL)
#define HRPWM_COMMON_GBSFLR_U3BTRENF_POS               (2U)
#define HRPWM_COMMON_GBSFLR_U3BTRENF                   (0x00000004UL)
#define HRPWM_COMMON_GBSFLR_U4BTRENF_POS               (3U)
#define HRPWM_COMMON_GBSFLR_U4BTRENF                   (0x00000008UL)
#define HRPWM_COMMON_GBSFLR_U5BTRENF_POS               (4U)
#define HRPWM_COMMON_GBSFLR_U5BTRENF                   (0x00000010UL)
#define HRPWM_COMMON_GBSFLR_U6BTRENF_POS               (5U)
#define HRPWM_COMMON_GBSFLR_U6BTRENF                   (0x00000020UL)

/*  Bit definition for HRPWM_COMMON_BMCR register  */
#define HRPWM_COMMON_BMCR_BMEN_POS                     (0U)
#define HRPWM_COMMON_BMCR_BMEN                         (0x00000001UL)
#define HRPWM_COMMON_BMCR_BMCTN_POS                    (1U)
#define HRPWM_COMMON_BMCR_BMCTN                        (0x00000002UL)
#define HRPWM_COMMON_BMCR_BMCLKS_POS                   (2U)
#define HRPWM_COMMON_BMCR_BMCLKS                       (0x0000003CUL)
#define HRPWM_COMMON_BMCR_BMPSC_POS                    (6U)
#define HRPWM_COMMON_BMCR_BMPSC                        (0x000003C0UL)
#define HRPWM_COMMON_BMCR_BMTMR1_POS                   (10U)
#define HRPWM_COMMON_BMCR_BMTMR1                       (0x00000400UL)
#define HRPWM_COMMON_BMCR_BMTMR2_POS                   (11U)
#define HRPWM_COMMON_BMCR_BMTMR2                       (0x00000800UL)
#define HRPWM_COMMON_BMCR_BMTMR3_POS                   (12U)
#define HRPWM_COMMON_BMCR_BMTMR3                       (0x00001000UL)
#define HRPWM_COMMON_BMCR_BMTMR4_POS                   (13U)
#define HRPWM_COMMON_BMCR_BMTMR4                       (0x00002000UL)
#define HRPWM_COMMON_BMCR_BMTMR5_POS                   (14U)
#define HRPWM_COMMON_BMCR_BMTMR5                       (0x00004000UL)
#define HRPWM_COMMON_BMCR_BMTMR6_POS                   (15U)
#define HRPWM_COMMON_BMCR_BMTMR6                       (0x00008000UL)
#define HRPWM_COMMON_BMCR_BMOPTF_POS                   (16U)
#define HRPWM_COMMON_BMCR_BMOPTF                       (0x00010000UL)
#define HRPWM_COMMON_BMCR_BMOVFF_POS                   (17U)
#define HRPWM_COMMON_BMCR_BMOVFF                       (0x00020000UL)
#define HRPWM_COMMON_BMCR_INTENBMOVF_POS               (18U)
#define HRPWM_COMMON_BMCR_INTENBMOVF                   (0x00040000UL)
#define HRPWM_COMMON_BMCR_BENBMCMP_POS                 (19U)
#define HRPWM_COMMON_BMCR_BENBMCMP                     (0x00080000UL)
#define HRPWM_COMMON_BMCR_BENBMP_POS                   (20U)
#define HRPWM_COMMON_BMCR_BENBMP                       (0x00100000UL)
#define HRPWM_COMMON_BMCR_BMMD_POS                     (21U)
#define HRPWM_COMMON_BMCR_BMMD                         (0x00200000UL)

/*  Bit definition for HRPWM_COMMON_BMSTRG1 register  */
#define HRPWM_COMMON_BMSTRG1_SSTRG_POS                 (0U)
#define HRPWM_COMMON_BMSTRG1_SSTRG                     (0x00000001UL)
#define HRPWM_COMMON_BMSTRG1_OVF1_POS                  (1U)
#define HRPWM_COMMON_BMSTRG1_OVF1                      (0x00000002UL)
#define HRPWM_COMMON_BMSTRG1_UDF1_POS                  (2U)
#define HRPWM_COMMON_BMSTRG1_UDF1                      (0x00000004UL)
#define HRPWM_COMMON_BMSTRG1_GCMA1_POS                 (3U)
#define HRPWM_COMMON_BMSTRG1_GCMA1                     (0x00000008UL)
#define HRPWM_COMMON_BMSTRG1_GCMB1_POS                 (4U)
#define HRPWM_COMMON_BMSTRG1_GCMB1                     (0x00000010UL)
#define HRPWM_COMMON_BMSTRG1_OVF2_POS                  (5U)
#define HRPWM_COMMON_BMSTRG1_OVF2                      (0x00000020UL)
#define HRPWM_COMMON_BMSTRG1_UDF2_POS                  (6U)
#define HRPWM_COMMON_BMSTRG1_UDF2                      (0x00000040UL)
#define HRPWM_COMMON_BMSTRG1_GCMA2_POS                 (7U)
#define HRPWM_COMMON_BMSTRG1_GCMA2                     (0x00000080UL)
#define HRPWM_COMMON_BMSTRG1_GCMB2_POS                 (8U)
#define HRPWM_COMMON_BMSTRG1_GCMB2                     (0x00000100UL)
#define HRPWM_COMMON_BMSTRG1_OVF3_POS                  (9U)
#define HRPWM_COMMON_BMSTRG1_OVF3                      (0x00000200UL)
#define HRPWM_COMMON_BMSTRG1_UDF3_POS                  (10U)
#define HRPWM_COMMON_BMSTRG1_UDF3                      (0x00000400UL)
#define HRPWM_COMMON_BMSTRG1_GCMA3_POS                 (11U)
#define HRPWM_COMMON_BMSTRG1_GCMA3                     (0x00000800UL)
#define HRPWM_COMMON_BMSTRG1_GCMB3_POS                 (12U)
#define HRPWM_COMMON_BMSTRG1_GCMB3                     (0x00001000UL)
#define HRPWM_COMMON_BMSTRG1_OVF4_POS                  (13U)
#define HRPWM_COMMON_BMSTRG1_OVF4                      (0x00002000UL)
#define HRPWM_COMMON_BMSTRG1_UDF4_POS                  (14U)
#define HRPWM_COMMON_BMSTRG1_UDF4                      (0x00004000UL)
#define HRPWM_COMMON_BMSTRG1_GCMA4_POS                 (15U)
#define HRPWM_COMMON_BMSTRG1_GCMA4                     (0x00008000UL)
#define HRPWM_COMMON_BMSTRG1_GCMB4_POS                 (16U)
#define HRPWM_COMMON_BMSTRG1_GCMB4                     (0x00010000UL)
#define HRPWM_COMMON_BMSTRG1_OVF5_POS                  (17U)
#define HRPWM_COMMON_BMSTRG1_OVF5                      (0x00020000UL)
#define HRPWM_COMMON_BMSTRG1_UDF5_POS                  (18U)
#define HRPWM_COMMON_BMSTRG1_UDF5                      (0x00040000UL)
#define HRPWM_COMMON_BMSTRG1_GCMA5_POS                 (19U)
#define HRPWM_COMMON_BMSTRG1_GCMA5                     (0x00080000UL)
#define HRPWM_COMMON_BMSTRG1_GCMB5_POS                 (20U)
#define HRPWM_COMMON_BMSTRG1_GCMB5                     (0x00100000UL)
#define HRPWM_COMMON_BMSTRG1_OVF6_POS                  (21U)
#define HRPWM_COMMON_BMSTRG1_OVF6                      (0x00200000UL)
#define HRPWM_COMMON_BMSTRG1_UDF6_POS                  (22U)
#define HRPWM_COMMON_BMSTRG1_UDF6                      (0x00400000UL)
#define HRPWM_COMMON_BMSTRG1_GCMA6_POS                 (23U)
#define HRPWM_COMMON_BMSTRG1_GCMA6                     (0x00800000UL)
#define HRPWM_COMMON_BMSTRG1_GCMB6_POS                 (24U)
#define HRPWM_COMMON_BMSTRG1_GCMB6                     (0x01000000UL)
#define HRPWM_COMMON_BMSTRG1_T1OVFEEV7_POS             (25U)
#define HRPWM_COMMON_BMSTRG1_T1OVFEEV7                 (0x02000000UL)
#define HRPWM_COMMON_BMSTRG1_T1UDFEEV7_POS             (26U)
#define HRPWM_COMMON_BMSTRG1_T1UDFEEV7                 (0x04000000UL)
#define HRPWM_COMMON_BMSTRG1_T4OVFEEV8_POS             (27U)
#define HRPWM_COMMON_BMSTRG1_T4OVFEEV8                 (0x08000000UL)
#define HRPWM_COMMON_BMSTRG1_T4UDFEEV8_POS             (28U)
#define HRPWM_COMMON_BMSTRG1_T4UDFEEV8                 (0x10000000UL)
#define HRPWM_COMMON_BMSTRG1_EEV7_POS                  (29U)
#define HRPWM_COMMON_BMSTRG1_EEV7                      (0x20000000UL)
#define HRPWM_COMMON_BMSTRG1_EEV8_POS                  (30U)
#define HRPWM_COMMON_BMSTRG1_EEV8                      (0x40000000UL)

/*  Bit definition for HRPWM_COMMON_BMSTRG2 register  */
#define HRPWM_COMMON_BMSTRG2_IEV0_POS                  (0U)
#define HRPWM_COMMON_BMSTRG2_IEV0                      (0x00000001UL)
#define HRPWM_COMMON_BMSTRG2_IEV1_POS                  (1U)
#define HRPWM_COMMON_BMSTRG2_IEV1                      (0x00000002UL)
#define HRPWM_COMMON_BMSTRG2_IEV2_POS                  (2U)
#define HRPWM_COMMON_BMSTRG2_IEV2                      (0x00000004UL)
#define HRPWM_COMMON_BMSTRG2_IEV3_POS                  (3U)
#define HRPWM_COMMON_BMSTRG2_IEV3                      (0x00000008UL)

/*  Bit definition for HRPWM_COMMON_BMPERAR register  */
#define HRPWM_COMMON_BMPERAR_BMPERAR                   (0x0000FFFFUL)

/*  Bit definition for HRPWM_COMMON_BMPERBR register  */
#define HRPWM_COMMON_BMPERBR_BMPERBR                   (0x0000FFFFUL)

/*  Bit definition for HRPWM_COMMON_BMCMAR register  */
#define HRPWM_COMMON_BMCMAR_BMCMAR                     (0x0000FFFFUL)

/*  Bit definition for HRPWM_COMMON_BMCMBR register  */
#define HRPWM_COMMON_BMCMBR_BMCMBR                     (0x0000FFFFUL)

/*  Bit definition for HRPWM_COMMON_EECR1 register  */
#define HRPWM_COMMON_EECR1_EE1SRC_POS                  (0U)
#define HRPWM_COMMON_EECR1_EE1SRC                      (0x00000003UL)
#define HRPWM_COMMON_EECR1_EE1SRC_0                    (0x00000001UL)
#define HRPWM_COMMON_EECR1_EE1SRC_1                    (0x00000002UL)
#define HRPWM_COMMON_EECR1_EE1POL_POS                  (2U)
#define HRPWM_COMMON_EECR1_EE1POL                      (0x00000004UL)
#define HRPWM_COMMON_EECR1_EE1SNS_POS                  (3U)
#define HRPWM_COMMON_EECR1_EE1SNS                      (0x00000018UL)
#define HRPWM_COMMON_EECR1_EE1SNS_0                    (0x00000008UL)
#define HRPWM_COMMON_EECR1_EE1SNS_1                    (0x00000010UL)
#define HRPWM_COMMON_EECR1_EE1FAST_POS                 (5U)
#define HRPWM_COMMON_EECR1_EE1FAST                     (0x00000020UL)
#define HRPWM_COMMON_EECR1_EE2SRC_POS                  (6U)
#define HRPWM_COMMON_EECR1_EE2SRC                      (0x000000C0UL)
#define HRPWM_COMMON_EECR1_EE2SRC_0                    (0x00000040UL)
#define HRPWM_COMMON_EECR1_EE2SRC_1                    (0x00000080UL)
#define HRPWM_COMMON_EECR1_EE2POL_POS                  (8U)
#define HRPWM_COMMON_EECR1_EE2POL                      (0x00000100UL)
#define HRPWM_COMMON_EECR1_EE2SNS_POS                  (9U)
#define HRPWM_COMMON_EECR1_EE2SNS                      (0x00000600UL)
#define HRPWM_COMMON_EECR1_EE2SNS_0                    (0x00000200UL)
#define HRPWM_COMMON_EECR1_EE2SNS_1                    (0x00000400UL)
#define HRPWM_COMMON_EECR1_EE2FAST_POS                 (11U)
#define HRPWM_COMMON_EECR1_EE2FAST                     (0x00000800UL)
#define HRPWM_COMMON_EECR1_EE3SRC_POS                  (12U)
#define HRPWM_COMMON_EECR1_EE3SRC                      (0x00003000UL)
#define HRPWM_COMMON_EECR1_EE3SRC_0                    (0x00001000UL)
#define HRPWM_COMMON_EECR1_EE3SRC_1                    (0x00002000UL)
#define HRPWM_COMMON_EECR1_EE3POL_POS                  (14U)
#define HRPWM_COMMON_EECR1_EE3POL                      (0x00004000UL)
#define HRPWM_COMMON_EECR1_EE3SNS_POS                  (15U)
#define HRPWM_COMMON_EECR1_EE3SNS                      (0x00018000UL)
#define HRPWM_COMMON_EECR1_EE3SNS_0                    (0x00008000UL)
#define HRPWM_COMMON_EECR1_EE3SNS_1                    (0x00010000UL)
#define HRPWM_COMMON_EECR1_EE3FAST_POS                 (17U)
#define HRPWM_COMMON_EECR1_EE3FAST                     (0x00020000UL)
#define HRPWM_COMMON_EECR1_EE4SRC_POS                  (18U)
#define HRPWM_COMMON_EECR1_EE4SRC                      (0x000C0000UL)
#define HRPWM_COMMON_EECR1_EE4SRC_0                    (0x00040000UL)
#define HRPWM_COMMON_EECR1_EE4SRC_1                    (0x00080000UL)
#define HRPWM_COMMON_EECR1_EE4POL_POS                  (20U)
#define HRPWM_COMMON_EECR1_EE4POL                      (0x00100000UL)
#define HRPWM_COMMON_EECR1_EE4SNS_POS                  (21U)
#define HRPWM_COMMON_EECR1_EE4SNS                      (0x00600000UL)
#define HRPWM_COMMON_EECR1_EE4SNS_0                    (0x00200000UL)
#define HRPWM_COMMON_EECR1_EE4SNS_1                    (0x00400000UL)
#define HRPWM_COMMON_EECR1_EE4FAST_POS                 (23U)
#define HRPWM_COMMON_EECR1_EE4FAST                     (0x00800000UL)
#define HRPWM_COMMON_EECR1_EE5SRC_POS                  (24U)
#define HRPWM_COMMON_EECR1_EE5SRC                      (0x03000000UL)
#define HRPWM_COMMON_EECR1_EE5SRC_0                    (0x01000000UL)
#define HRPWM_COMMON_EECR1_EE5SRC_1                    (0x02000000UL)
#define HRPWM_COMMON_EECR1_EE5POL_POS                  (26U)
#define HRPWM_COMMON_EECR1_EE5POL                      (0x04000000UL)
#define HRPWM_COMMON_EECR1_EE5SNS_POS                  (27U)
#define HRPWM_COMMON_EECR1_EE5SNS                      (0x18000000UL)
#define HRPWM_COMMON_EECR1_EE5SNS_0                    (0x08000000UL)
#define HRPWM_COMMON_EECR1_EE5SNS_1                    (0x10000000UL)
#define HRPWM_COMMON_EECR1_EE5FAST_POS                 (29U)
#define HRPWM_COMMON_EECR1_EE5FAST                     (0x20000000UL)

/*  Bit definition for HRPWM_COMMON_EECR2 register  */
#define HRPWM_COMMON_EECR2_EE6SRC_POS                  (0U)
#define HRPWM_COMMON_EECR2_EE6SRC                      (0x00000003UL)
#define HRPWM_COMMON_EECR2_EE6SRC_0                    (0x00000001UL)
#define HRPWM_COMMON_EECR2_EE6SRC_1                    (0x00000002UL)
#define HRPWM_COMMON_EECR2_EE6POL_POS                  (2U)
#define HRPWM_COMMON_EECR2_EE6POL                      (0x00000004UL)
#define HRPWM_COMMON_EECR2_EE6SNS_POS                  (3U)
#define HRPWM_COMMON_EECR2_EE6SNS                      (0x00000018UL)
#define HRPWM_COMMON_EECR2_EE6SNS_0                    (0x00000008UL)
#define HRPWM_COMMON_EECR2_EE6SNS_1                    (0x00000010UL)
#define HRPWM_COMMON_EECR2_EE7SRC_POS                  (6U)
#define HRPWM_COMMON_EECR2_EE7SRC                      (0x000000C0UL)
#define HRPWM_COMMON_EECR2_EE7SRC_0                    (0x00000040UL)
#define HRPWM_COMMON_EECR2_EE7SRC_1                    (0x00000080UL)
#define HRPWM_COMMON_EECR2_EE7POL_POS                  (8U)
#define HRPWM_COMMON_EECR2_EE7POL                      (0x00000100UL)
#define HRPWM_COMMON_EECR2_EE7SNS_POS                  (9U)
#define HRPWM_COMMON_EECR2_EE7SNS                      (0x00000600UL)
#define HRPWM_COMMON_EECR2_EE7SNS_0                    (0x00000200UL)
#define HRPWM_COMMON_EECR2_EE7SNS_1                    (0x00000400UL)
#define HRPWM_COMMON_EECR2_EE8SRC_POS                  (12U)
#define HRPWM_COMMON_EECR2_EE8SRC                      (0x00003000UL)
#define HRPWM_COMMON_EECR2_EE8SRC_0                    (0x00001000UL)
#define HRPWM_COMMON_EECR2_EE8SRC_1                    (0x00002000UL)
#define HRPWM_COMMON_EECR2_EE8POL_POS                  (14U)
#define HRPWM_COMMON_EECR2_EE8POL                      (0x00004000UL)
#define HRPWM_COMMON_EECR2_EE8SNS_POS                  (15U)
#define HRPWM_COMMON_EECR2_EE8SNS                      (0x00018000UL)
#define HRPWM_COMMON_EECR2_EE8SNS_0                    (0x00008000UL)
#define HRPWM_COMMON_EECR2_EE8SNS_1                    (0x00010000UL)
#define HRPWM_COMMON_EECR2_EE9SRC_POS                  (18U)
#define HRPWM_COMMON_EECR2_EE9SRC                      (0x000C0000UL)
#define HRPWM_COMMON_EECR2_EE9SRC_0                    (0x00040000UL)
#define HRPWM_COMMON_EECR2_EE9SRC_1                    (0x00080000UL)
#define HRPWM_COMMON_EECR2_EE9POL_POS                  (20U)
#define HRPWM_COMMON_EECR2_EE9POL                      (0x00100000UL)
#define HRPWM_COMMON_EECR2_EE9SNS_POS                  (21U)
#define HRPWM_COMMON_EECR2_EE9SNS                      (0x00600000UL)
#define HRPWM_COMMON_EECR2_EE9SNS_0                    (0x00200000UL)
#define HRPWM_COMMON_EECR2_EE9SNS_1                    (0x00400000UL)
#define HRPWM_COMMON_EECR2_EE10SRC_POS                 (24U)
#define HRPWM_COMMON_EECR2_EE10SRC                     (0x03000000UL)
#define HRPWM_COMMON_EECR2_EE10SRC_0                   (0x01000000UL)
#define HRPWM_COMMON_EECR2_EE10SRC_1                   (0x02000000UL)
#define HRPWM_COMMON_EECR2_EE10POL_POS                 (26U)
#define HRPWM_COMMON_EECR2_EE10POL                     (0x04000000UL)
#define HRPWM_COMMON_EECR2_EE10SNS_POS                 (27U)
#define HRPWM_COMMON_EECR2_EE10SNS                     (0x18000000UL)
#define HRPWM_COMMON_EECR2_EE10SNS_0                   (0x08000000UL)
#define HRPWM_COMMON_EECR2_EE10SNS_1                   (0x10000000UL)

/*  Bit definition for HRPWM_COMMON_EECR3 register  */
#define HRPWM_COMMON_EECR3_EE6F_POS                    (0U)
#define HRPWM_COMMON_EECR3_EE6F                        (0x0000000FUL)
#define HRPWM_COMMON_EECR3_EE7F_POS                    (6U)
#define HRPWM_COMMON_EECR3_EE7F                        (0x000003C0UL)
#define HRPWM_COMMON_EECR3_EE8F_POS                    (12U)
#define HRPWM_COMMON_EECR3_EE8F                        (0x0000F000UL)
#define HRPWM_COMMON_EECR3_EE9F_POS                    (18U)
#define HRPWM_COMMON_EECR3_EE9F                        (0x003C0000UL)
#define HRPWM_COMMON_EECR3_EE10F_POS                   (24U)
#define HRPWM_COMMON_EECR3_EE10F                       (0x0F000000UL)
#define HRPWM_COMMON_EECR3_EEVSD_POS                   (30U)
#define HRPWM_COMMON_EECR3_EEVSD                       (0xC0000000UL)
#define HRPWM_COMMON_EECR3_EEVSD_0                     (0x40000000UL)
#define HRPWM_COMMON_EECR3_EEVSD_1                     (0x80000000UL)

/*  Bit definition for HRPWM_COMMON_SYNOCR register  */
#define HRPWM_COMMON_SYNOCR_SYNCSRC_POS                (0U)
#define HRPWM_COMMON_SYNOCR_SYNCSRC                    (0x0000000FUL)
#define HRPWM_COMMON_SYNOCR_SYNOPLS_POS                (4U)
#define HRPWM_COMMON_SYNOCR_SYNOPLS                    (0x00000030UL)
#define HRPWM_COMMON_SYNOCR_SYNOPLS_0                  (0x00000010UL)
#define HRPWM_COMMON_SYNOCR_SYNOPLS_1                  (0x00000020UL)
#define HRPWM_COMMON_SYNOCR_SRCDIR_POS                 (6U)
#define HRPWM_COMMON_SYNOCR_SRCDIR                     (0x00000040UL)
#define HRPWM_COMMON_SYNOCR_SYNCMP_POS                 (8U)
#define HRPWM_COMMON_SYNOCR_SYNCMP                     (0x0000FF00UL)

/*  Bit definition for HRPWM_COMMON_EEDSELR register  */
#define HRPWM_COMMON_EEDSELR_EEV1_POS                  (0U)
#define HRPWM_COMMON_EEDSELR_EEV1                      (0x00000001UL)
#define HRPWM_COMMON_EEDSELR_EEV2_POS                  (1U)
#define HRPWM_COMMON_EEDSELR_EEV2                      (0x00000002UL)
#define HRPWM_COMMON_EEDSELR_EEV3_POS                  (2U)
#define HRPWM_COMMON_EEDSELR_EEV3                      (0x00000004UL)
#define HRPWM_COMMON_EEDSELR_EEV4_POS                  (3U)
#define HRPWM_COMMON_EEDSELR_EEV4                      (0x00000008UL)
#define HRPWM_COMMON_EEDSELR_EEV5_POS                  (4U)
#define HRPWM_COMMON_EEDSELR_EEV5                      (0x00000010UL)
#define HRPWM_COMMON_EEDSELR_EEV6_POS                  (5U)
#define HRPWM_COMMON_EEDSELR_EEV6                      (0x00000020UL)
#define HRPWM_COMMON_EEDSELR_EEV7_POS                  (6U)
#define HRPWM_COMMON_EEDSELR_EEV7                      (0x00000040UL)
#define HRPWM_COMMON_EEDSELR_EEV8_POS                  (7U)
#define HRPWM_COMMON_EEDSELR_EEV8                      (0x00000080UL)
#define HRPWM_COMMON_EEDSELR_EEV9_POS                  (8U)
#define HRPWM_COMMON_EEDSELR_EEV9                      (0x00000100UL)
#define HRPWM_COMMON_EEDSELR_EEV10_POS                 (9U)
#define HRPWM_COMMON_EEDSELR_EEV10                     (0x00000200UL)

/*  Bit definition for HRPWM_COMMON_FCNTR register  */
#define HRPWM_COMMON_FCNTR_NOFIENTA_POS                (0U)
#define HRPWM_COMMON_FCNTR_NOFIENTA                    (0x00000001UL)
#define HRPWM_COMMON_FCNTR_NOFICKTA_POS                (1U)
#define HRPWM_COMMON_FCNTR_NOFICKTA                    (0x00000006UL)
#define HRPWM_COMMON_FCNTR_NOFICKTA_0                  (0x00000002UL)
#define HRPWM_COMMON_FCNTR_NOFICKTA_1                  (0x00000004UL)
#define HRPWM_COMMON_FCNTR_NOFIENTB_POS                (4U)
#define HRPWM_COMMON_FCNTR_NOFIENTB                    (0x00000010UL)
#define HRPWM_COMMON_FCNTR_NOFICKTB_POS                (5U)
#define HRPWM_COMMON_FCNTR_NOFICKTB                    (0x00000060UL)
#define HRPWM_COMMON_FCNTR_NOFICKTB_0                  (0x00000020UL)
#define HRPWM_COMMON_FCNTR_NOFICKTB_1                  (0x00000040UL)
#define HRPWM_COMMON_FCNTR_NOFIENTC_POS                (8U)
#define HRPWM_COMMON_FCNTR_NOFIENTC                    (0x00000100UL)
#define HRPWM_COMMON_FCNTR_NOFICKTC_POS                (9U)
#define HRPWM_COMMON_FCNTR_NOFICKTC                    (0x00000600UL)
#define HRPWM_COMMON_FCNTR_NOFICKTC_0                  (0x00000200UL)
#define HRPWM_COMMON_FCNTR_NOFICKTC_1                  (0x00000400UL)
#define HRPWM_COMMON_FCNTR_NOFIENTD_POS                (12U)
#define HRPWM_COMMON_FCNTR_NOFIENTD                    (0x00001000UL)
#define HRPWM_COMMON_FCNTR_NOFICKTD_POS                (13U)
#define HRPWM_COMMON_FCNTR_NOFICKTD                    (0x00006000UL)
#define HRPWM_COMMON_FCNTR_NOFICKTD_0                  (0x00002000UL)
#define HRPWM_COMMON_FCNTR_NOFICKTD_1                  (0x00004000UL)

/*  Bit definition for HRPWM_COMMON_SSTAR register  */
#define HRPWM_COMMON_SSTAR_SSTA1_POS                   (0U)
#define HRPWM_COMMON_SSTAR_SSTA1                       (0x00000001UL)
#define HRPWM_COMMON_SSTAR_SSTA2_POS                   (1U)
#define HRPWM_COMMON_SSTAR_SSTA2                       (0x00000002UL)
#define HRPWM_COMMON_SSTAR_SSTA3_POS                   (2U)
#define HRPWM_COMMON_SSTAR_SSTA3                       (0x00000004UL)
#define HRPWM_COMMON_SSTAR_SSTA4_POS                   (3U)
#define HRPWM_COMMON_SSTAR_SSTA4                       (0x00000008UL)
#define HRPWM_COMMON_SSTAR_SSTA5_POS                   (4U)
#define HRPWM_COMMON_SSTAR_SSTA5                       (0x00000010UL)
#define HRPWM_COMMON_SSTAR_SSTA6_POS                   (5U)
#define HRPWM_COMMON_SSTAR_SSTA6                       (0x00000020UL)

/*  Bit definition for HRPWM_COMMON_SSTPR register  */
#define HRPWM_COMMON_SSTPR_SSTP1_POS                   (0U)
#define HRPWM_COMMON_SSTPR_SSTP1                       (0x00000001UL)
#define HRPWM_COMMON_SSTPR_SSTP2_POS                   (1U)
#define HRPWM_COMMON_SSTPR_SSTP2                       (0x00000002UL)
#define HRPWM_COMMON_SSTPR_SSTP3_POS                   (2U)
#define HRPWM_COMMON_SSTPR_SSTP3                       (0x00000004UL)
#define HRPWM_COMMON_SSTPR_SSTP4_POS                   (3U)
#define HRPWM_COMMON_SSTPR_SSTP4                       (0x00000008UL)
#define HRPWM_COMMON_SSTPR_SSTP5_POS                   (4U)
#define HRPWM_COMMON_SSTPR_SSTP5                       (0x00000010UL)
#define HRPWM_COMMON_SSTPR_SSTP6_POS                   (5U)
#define HRPWM_COMMON_SSTPR_SSTP6                       (0x00000020UL)

/*  Bit definition for HRPWM_COMMON_SCLRR register  */
#define HRPWM_COMMON_SCLRR_SCLE1_POS                   (0U)
#define HRPWM_COMMON_SCLRR_SCLE1                       (0x00000001UL)
#define HRPWM_COMMON_SCLRR_SCLE2_POS                   (1U)
#define HRPWM_COMMON_SCLRR_SCLE2                       (0x00000002UL)
#define HRPWM_COMMON_SCLRR_SCLE3_POS                   (2U)
#define HRPWM_COMMON_SCLRR_SCLE3                       (0x00000004UL)
#define HRPWM_COMMON_SCLRR_SCLE4_POS                   (3U)
#define HRPWM_COMMON_SCLRR_SCLE4                       (0x00000008UL)
#define HRPWM_COMMON_SCLRR_SCLE5_POS                   (4U)
#define HRPWM_COMMON_SCLRR_SCLE5                       (0x00000010UL)
#define HRPWM_COMMON_SCLRR_SCLE6_POS                   (5U)
#define HRPWM_COMMON_SCLRR_SCLE6                       (0x00000020UL)

/*  Bit definition for HRPWM_COMMON_SUPDR register  */
#define HRPWM_COMMON_SUPDR_SUPD1_POS                   (0U)
#define HRPWM_COMMON_SUPDR_SUPD1                       (0x00000001UL)
#define HRPWM_COMMON_SUPDR_SUPD2_POS                   (1U)
#define HRPWM_COMMON_SUPDR_SUPD2                       (0x00000002UL)
#define HRPWM_COMMON_SUPDR_SUPD3_POS                   (2U)
#define HRPWM_COMMON_SUPDR_SUPD3                       (0x00000004UL)
#define HRPWM_COMMON_SUPDR_SUPD4_POS                   (3U)
#define HRPWM_COMMON_SUPDR_SUPD4                       (0x00000008UL)
#define HRPWM_COMMON_SUPDR_SUPD5_POS                   (4U)
#define HRPWM_COMMON_SUPDR_SUPD5                       (0x00000010UL)
#define HRPWM_COMMON_SUPDR_SUPD6_POS                   (5U)
#define HRPWM_COMMON_SUPDR_SUPD6                       (0x00000020UL)

/*******************************************************************************
                Bit definition for Peripheral I2C
*******************************************************************************/
/*  Bit definition for I2C_CR1 register  */
#define I2C_CR1_PE_POS                                 (0U)
#define I2C_CR1_PE                                     (0x00000001UL)
#define I2C_CR1_SMBUS_POS                              (1U)
#define I2C_CR1_SMBUS                                  (0x00000002UL)
#define I2C_CR1_SMBALRTEN_POS                          (2U)
#define I2C_CR1_SMBALRTEN                              (0x00000004UL)
#define I2C_CR1_SMBDEFAULTEN_POS                       (3U)
#define I2C_CR1_SMBDEFAULTEN                           (0x00000008UL)
#define I2C_CR1_SMBHOSTEN_POS                          (4U)
#define I2C_CR1_SMBHOSTEN                              (0x00000010UL)
#define I2C_CR1_GCEN_POS                               (6U)
#define I2C_CR1_GCEN                                   (0x00000040UL)
#define I2C_CR1_RESTART_POS                            (7U)
#define I2C_CR1_RESTART                                (0x00000080UL)
#define I2C_CR1_START_POS                              (8U)
#define I2C_CR1_START                                  (0x00000100UL)
#define I2C_CR1_STOP_POS                               (9U)
#define I2C_CR1_STOP                                   (0x00000200UL)
#define I2C_CR1_ACK_POS                                (10U)
#define I2C_CR1_ACK                                    (0x00000400UL)
#define I2C_CR1_SWRST_POS                              (15U)
#define I2C_CR1_SWRST                                  (0x00008000UL)

/*  Bit definition for I2C_CR2 register  */
#define I2C_CR2_STARTIE_POS                            (0U)
#define I2C_CR2_STARTIE                                (0x00000001UL)
#define I2C_CR2_SLADDR0IE_POS                          (1U)
#define I2C_CR2_SLADDR0IE                              (0x00000002UL)
#define I2C_CR2_SLADDR1IE_POS                          (2U)
#define I2C_CR2_SLADDR1IE                              (0x00000004UL)
#define I2C_CR2_TENDIE_POS                             (3U)
#define I2C_CR2_TENDIE                                 (0x00000008UL)
#define I2C_CR2_STOPIE_POS                             (4U)
#define I2C_CR2_STOPIE                                 (0x00000010UL)
#define I2C_CR2_RFULLIE_POS                            (6U)
#define I2C_CR2_RFULLIE                                (0x00000040UL)
#define I2C_CR2_TEMPTYIE_POS                           (7U)
#define I2C_CR2_TEMPTYIE                               (0x00000080UL)
#define I2C_CR2_ARLOIE_POS                             (9U)
#define I2C_CR2_ARLOIE                                 (0x00000200UL)
#define I2C_CR2_RFREQIE_POS                            (11U)
#define I2C_CR2_RFREQIE                                (0x00000800UL)
#define I2C_CR2_NACKIE_POS                             (12U)
#define I2C_CR2_NACKIE                                 (0x00001000UL)
#define I2C_CR2_TMOUTIE_POS                            (14U)
#define I2C_CR2_TMOUTIE                                (0x00004000UL)
#define I2C_CR2_GENCALLIE_POS                          (20U)
#define I2C_CR2_GENCALLIE                              (0x00100000UL)
#define I2C_CR2_SMBDEFAULTIE_POS                       (21U)
#define I2C_CR2_SMBDEFAULTIE                           (0x00200000UL)
#define I2C_CR2_SMBHOSTIE_POS                          (22U)
#define I2C_CR2_SMBHOSTIE                              (0x00400000UL)
#define I2C_CR2_SMBALRTIE_POS                          (23U)
#define I2C_CR2_SMBALRTIE                              (0x00800000UL)

/*  Bit definition for I2C_CR3 register  */
#define I2C_CR3_TMOUTEN_POS                            (0U)
#define I2C_CR3_TMOUTEN                                (0x00000001UL)
#define I2C_CR3_LTMOUT_POS                             (1U)
#define I2C_CR3_LTMOUT                                 (0x00000002UL)
#define I2C_CR3_HTMOUT_POS                             (2U)
#define I2C_CR3_HTMOUT                                 (0x00000004UL)
#define I2C_CR3_FACKEN_POS                             (7U)
#define I2C_CR3_FACKEN                                 (0x00000080UL)

/*  Bit definition for I2C_CR4 register  */
#define I2C_CR4_BUSWAIT_POS                            (10U)
#define I2C_CR4_BUSWAIT                                (0x00000400UL)
#define I2C_CR4_BUSFREECLREN_POS                       (12U)
#define I2C_CR4_BUSFREECLREN                           (0x00001000UL)

/*  Bit definition for I2C_SLR0 register  */
#define I2C_SLR0_SLADDR0_POS                           (0U)
#define I2C_SLR0_SLADDR0                               (0x000003FFUL)
#define I2C_SLR0_SLADDR0EN_POS                         (12U)
#define I2C_SLR0_SLADDR0EN                             (0x00001000UL)
#define I2C_SLR0_ADDRMOD0_POS                          (15U)
#define I2C_SLR0_ADDRMOD0                              (0x00008000UL)
#define I2C_SLR0_MSLADDR0_POS                          (16U)
#define I2C_SLR0_MSLADDR0                              (0x03FF0000UL)
#define I2C_SLR0_MASKEN0_POS                           (26U)
#define I2C_SLR0_MASKEN0                               (0x04000000UL)

/*  Bit definition for I2C_SLR1 register  */
#define I2C_SLR1_SLADDR1_POS                           (0U)
#define I2C_SLR1_SLADDR1                               (0x000003FFUL)
#define I2C_SLR1_SLADDR1EN_POS                         (12U)
#define I2C_SLR1_SLADDR1EN                             (0x00001000UL)
#define I2C_SLR1_ADDRMOD1_POS                          (15U)
#define I2C_SLR1_ADDRMOD1                              (0x00008000UL)
#define I2C_SLR1_MSLADDR1_POS                          (16U)
#define I2C_SLR1_MSLADDR1                              (0x03FF0000UL)
#define I2C_SLR1_MASKEN1_POS                           (26U)
#define I2C_SLR1_MASKEN1                               (0x04000000UL)

/*  Bit definition for I2C_SLTR register  */
#define I2C_SLTR_TOUTLOW_POS                           (0U)
#define I2C_SLTR_TOUTLOW                               (0x0000FFFFUL)
#define I2C_SLTR_TOUTHIGH_POS                          (16U)
#define I2C_SLTR_TOUTHIGH                              (0xFFFF0000UL)

/*  Bit definition for I2C_SR register  */
#define I2C_SR_STARTF_POS                              (0U)
#define I2C_SR_STARTF                                  (0x00000001UL)
#define I2C_SR_SLADDR0F_POS                            (1U)
#define I2C_SR_SLADDR0F                                (0x00000002UL)
#define I2C_SR_SLADDR1F_POS                            (2U)
#define I2C_SR_SLADDR1F                                (0x00000004UL)
#define I2C_SR_TENDF_POS                               (3U)
#define I2C_SR_TENDF                                   (0x00000008UL)
#define I2C_SR_STOPF_POS                               (4U)
#define I2C_SR_STOPF                                   (0x00000010UL)
#define I2C_SR_RFULLF_POS                              (6U)
#define I2C_SR_RFULLF                                  (0x00000040UL)
#define I2C_SR_TEMPTYF_POS                             (7U)
#define I2C_SR_TEMPTYF                                 (0x00000080UL)
#define I2C_SR_ARLOF_POS                               (9U)
#define I2C_SR_ARLOF                                   (0x00000200UL)
#define I2C_SR_ACKRF_POS                               (10U)
#define I2C_SR_ACKRF                                   (0x00000400UL)
#define I2C_SR_NACKF_POS                               (12U)
#define I2C_SR_NACKF                                   (0x00001000UL)
#define I2C_SR_TMOUTF_POS                              (14U)
#define I2C_SR_TMOUTF                                  (0x00004000UL)
#define I2C_SR_MSL_POS                                 (16U)
#define I2C_SR_MSL                                     (0x00010000UL)
#define I2C_SR_BUSY_POS                                (17U)
#define I2C_SR_BUSY                                    (0x00020000UL)
#define I2C_SR_TRA_POS                                 (18U)
#define I2C_SR_TRA                                     (0x00040000UL)
#define I2C_SR_GENCALLF_POS                            (20U)
#define I2C_SR_GENCALLF                                (0x00100000UL)
#define I2C_SR_SMBDEFAULTF_POS                         (21U)
#define I2C_SR_SMBDEFAULTF                             (0x00200000UL)
#define I2C_SR_SMBHOSTF_POS                            (22U)
#define I2C_SR_SMBHOSTF                                (0x00400000UL)
#define I2C_SR_SMBALRTF_POS                            (23U)
#define I2C_SR_SMBALRTF                                (0x00800000UL)
#define I2C_SR_TFEMPTY_POS                             (24U)
#define I2C_SR_TFEMPTY                                 (0x01000000UL)
#define I2C_SR_TFFULL_POS                              (25U)
#define I2C_SR_TFFULL                                  (0x02000000UL)
#define I2C_SR_RFEMPTY_POS                             (26U)
#define I2C_SR_RFEMPTY                                 (0x04000000UL)
#define I2C_SR_RFFULL_POS                              (27U)
#define I2C_SR_RFFULL                                  (0x08000000UL)
#define I2C_SR_TFST_POS                                (28U)
#define I2C_SR_TFST                                    (0x30000000UL)
#define I2C_SR_TFST_0                                  (0x10000000UL)
#define I2C_SR_TFST_1                                  (0x20000000UL)
#define I2C_SR_RFREQ_POS                               (31U)
#define I2C_SR_RFREQ                                   (0x80000000UL)

/*  Bit definition for I2C_CLR register  */
#define I2C_CLR_STARTFCLR_POS                          (0U)
#define I2C_CLR_STARTFCLR                              (0x00000001UL)
#define I2C_CLR_SLADDR0FCLR_POS                        (1U)
#define I2C_CLR_SLADDR0FCLR                            (0x00000002UL)
#define I2C_CLR_SLADDR1FCLR_POS                        (2U)
#define I2C_CLR_SLADDR1FCLR                            (0x00000004UL)
#define I2C_CLR_TENDFCLR_POS                           (3U)
#define I2C_CLR_TENDFCLR                               (0x00000008UL)
#define I2C_CLR_STOPFCLR_POS                           (4U)
#define I2C_CLR_STOPFCLR                               (0x00000010UL)
#define I2C_CLR_RFULLFCLR_POS                          (6U)
#define I2C_CLR_RFULLFCLR                              (0x00000040UL)
#define I2C_CLR_ARLOFCLR_POS                           (9U)
#define I2C_CLR_ARLOFCLR                               (0x00000200UL)
#define I2C_CLR_RFREQCLR_POS                           (10U)
#define I2C_CLR_RFREQCLR                               (0x00000400UL)
#define I2C_CLR_NACKFCLR_POS                           (12U)
#define I2C_CLR_NACKFCLR                               (0x00001000UL)
#define I2C_CLR_TMOUTFCLR_POS                          (14U)
#define I2C_CLR_TMOUTFCLR                              (0x00004000UL)
#define I2C_CLR_GENCALLFCLR_POS                        (20U)
#define I2C_CLR_GENCALLFCLR                            (0x00100000UL)
#define I2C_CLR_SMBDEFAULTFCLR_POS                     (21U)
#define I2C_CLR_SMBDEFAULTFCLR                         (0x00200000UL)
#define I2C_CLR_SMBHOSTFCLR_POS                        (22U)
#define I2C_CLR_SMBHOSTFCLR                            (0x00400000UL)
#define I2C_CLR_SMBALRTFCLR_POS                        (23U)
#define I2C_CLR_SMBALRTFCLR                            (0x00800000UL)

/*  Bit definition for I2C_DTR register  */
#define I2C_DTR                                        (0xFFU)

/*  Bit definition for I2C_DRR register  */
#define I2C_DRR                                        (0xFFU)

/*  Bit definition for I2C_CCR register  */
#define I2C_CCR_SLOWW_POS                              (0U)
#define I2C_CCR_SLOWW                                  (0x000000FFUL)
#define I2C_CCR_SHIGHW_POS                             (8U)
#define I2C_CCR_SHIGHW                                 (0x0000FF00UL)
#define I2C_CCR_CKDIV_POS                              (16U)
#define I2C_CCR_CKDIV                                  (0x00070000UL)
#define I2C_CCR_FMPLUSEN_POS                           (23U)
#define I2C_CCR_FMPLUSEN                               (0x00800000UL)

/*  Bit definition for I2C_FLTR register  */
#define I2C_FLTR_DNF_POS                               (0U)
#define I2C_FLTR_DNF                                   (0x00000003UL)
#define I2C_FLTR_DNF_0                                 (0x00000001UL)
#define I2C_FLTR_DNF_1                                 (0x00000002UL)
#define I2C_FLTR_DNFEN_POS                             (4U)
#define I2C_FLTR_DNFEN                                 (0x00000010UL)
#define I2C_FLTR_ANFEN_POS                             (5U)
#define I2C_FLTR_ANFEN                                 (0x00000020UL)

/*  Bit definition for I2C_FSTR register  */
#define I2C_FSTR_FEN_POS                               (0U)
#define I2C_FSTR_FEN                                   (0x00000001UL)
#define I2C_FSTR_TFFLUSH_POS                           (1U)
#define I2C_FSTR_TFFLUSH                               (0x00000002UL)
#define I2C_FSTR_RFFLUSH_POS                           (2U)
#define I2C_FSTR_RFFLUSH                               (0x00000004UL)
#define I2C_FSTR_NACKTFFLUSH_POS                       (3U)
#define I2C_FSTR_NACKTFFLUSH                           (0x00000008UL)
#define I2C_FSTR_TFST_POS                              (4U)
#define I2C_FSTR_TFST                                  (0x00000030UL)
#define I2C_FSTR_TFST_0                                (0x00000010UL)
#define I2C_FSTR_TFST_1                                (0x00000020UL)
#define I2C_FSTR_RFST_POS                              (6U)
#define I2C_FSTR_RFST                                  (0x000000C0UL)
#define I2C_FSTR_RFST_0                                (0x00000040UL)
#define I2C_FSTR_RFST_1                                (0x00000080UL)

/*  Bit definition for I2C_SLVADDR register  */
#define I2C_SLVADDR_SLVADRR                            (0x000003FFUL)

/*******************************************************************************
                Bit definition for Peripheral ICG
*******************************************************************************/
/*  Bit definition for ICG_ICG0 register  */
#define ICG_ICG0_SWDTAUTS_POS                          (0U)
#define ICG_ICG0_SWDTAUTS                              (0x00000001UL)
#define ICG_ICG0_SWDTITS_POS                           (1U)
#define ICG_ICG0_SWDTITS                               (0x00000002UL)
#define ICG_ICG0_SWDTPERI_POS                          (2U)
#define ICG_ICG0_SWDTPERI                              (0x0000000CUL)
#define ICG_ICG0_SWDTPERI_0                            (0x00000004UL)
#define ICG_ICG0_SWDTPERI_1                            (0x00000008UL)
#define ICG_ICG0_SWDTCKS_POS                           (4U)
#define ICG_ICG0_SWDTCKS                               (0x000000F0UL)
#define ICG_ICG0_SWDTWDPT_POS                          (8U)
#define ICG_ICG0_SWDTWDPT                              (0x00000F00UL)
#define ICG_ICG0_SWDTSLPOFF_POS                        (12U)
#define ICG_ICG0_SWDTSLPOFF                            (0x00001000UL)
#define ICG_ICG0_WDTAUTS_POS                           (16U)
#define ICG_ICG0_WDTAUTS                               (0x00010000UL)
#define ICG_ICG0_WDTITS_POS                            (17U)
#define ICG_ICG0_WDTITS                                (0x00020000UL)
#define ICG_ICG0_WDTPERI_POS                           (18U)
#define ICG_ICG0_WDTPERI                               (0x000C0000UL)
#define ICG_ICG0_WDTPERI_0                             (0x00040000UL)
#define ICG_ICG0_WDTPERI_1                             (0x00080000UL)
#define ICG_ICG0_WDTCKS_POS                            (20U)
#define ICG_ICG0_WDTCKS                                (0x00F00000UL)
#define ICG_ICG0_WDTWDPT_POS                           (24U)
#define ICG_ICG0_WDTWDPT                               (0x0F000000UL)
#define ICG_ICG0_WDTSLPOFF_POS                         (28U)
#define ICG_ICG0_WDTSLPOFF                             (0x10000000UL)

/*  Bit definition for ICG_ICG1 register  */
#define ICG_ICG1_HRCFREQSEL_POS                        (0U)
#define ICG_ICG1_HRCFREQSEL                            (0x00000001UL)
#define ICG_ICG1_HRCSTOP_POS                           (8U)
#define ICG_ICG1_HRCSTOP                               (0x00000100UL)
#define ICG_ICG1_BOR_LEV_POS                           (16U)
#define ICG_ICG1_BOR_LEV                               (0x00030000UL)
#define ICG_ICG1_BOR_LEV_0                             (0x00010000UL)
#define ICG_ICG1_BOR_LEV_1                             (0x00020000UL)
#define ICG_ICG1_BORDIS_POS                            (18U)
#define ICG_ICG1_BORDIS                                (0x00040000UL)

/*  Bit definition for ICG_ICG3 register  */
#define ICG_ICG3_DBUSPRT_POS                           (0U)
#define ICG_ICG3_DBUSPRT                               (0x0000FFFFUL)
#define ICG_ICG3_DBUSPSZ_POS                           (16U)
#define ICG_ICG3_DBUSPSZ                               (0x001F0000UL)

/*******************************************************************************
                Bit definition for Peripheral INTC
*******************************************************************************/
/*  Bit definition for INTC_NMIER register  */
#define INTC_NMIER_SWDTEN_POS                          (1U)
#define INTC_NMIER_SWDTEN                              (0x00000002UL)
#define INTC_NMIER_PVD1EN_POS                          (2U)
#define INTC_NMIER_PVD1EN                              (0x00000004UL)
#define INTC_NMIER_PVD2EN_POS                          (3U)
#define INTC_NMIER_PVD2EN                              (0x00000008UL)
#define INTC_NMIER_XTALSTPEN_POS                       (5U)
#define INTC_NMIER_XTALSTPEN                           (0x00000020UL)
#define INTC_NMIER_RPARERREN_POS                       (8U)
#define INTC_NMIER_RPARERREN                           (0x00000100UL)
#define INTC_NMIER_RECCERREN_POS                       (9U)
#define INTC_NMIER_RECCERREN                           (0x00000200UL)
#define INTC_NMIER_BUSERREN_POS                        (10U)
#define INTC_NMIER_BUSERREN                            (0x00000400UL)
#define INTC_NMIER_WDTEN_POS                           (11U)
#define INTC_NMIER_WDTEN                               (0x00000800UL)

/*  Bit definition for INTC_NMIFR register  */
#define INTC_NMIFR_SWDTF_POS                           (1U)
#define INTC_NMIFR_SWDTF                               (0x00000002UL)
#define INTC_NMIFR_PVD1F_POS                           (2U)
#define INTC_NMIFR_PVD1F                               (0x00000004UL)
#define INTC_NMIFR_PVD2F_POS                           (3U)
#define INTC_NMIFR_PVD2F                               (0x00000008UL)
#define INTC_NMIFR_XTALSTPF_POS                        (5U)
#define INTC_NMIFR_XTALSTPF                            (0x00000020UL)
#define INTC_NMIFR_RPARERRF_POS                        (8U)
#define INTC_NMIFR_RPARERRF                            (0x00000100UL)
#define INTC_NMIFR_RECCERRF_POS                        (9U)
#define INTC_NMIFR_RECCERRF                            (0x00000200UL)
#define INTC_NMIFR_BUSERRF_POS                         (10U)
#define INTC_NMIFR_BUSERRF                             (0x00000400UL)
#define INTC_NMIFR_WDTF_POS                            (11U)
#define INTC_NMIFR_WDTF                                (0x00000800UL)

/*  Bit definition for INTC_NMIFCR register  */
#define INTC_NMIFCR_SWDTFCLR_POS                       (1U)
#define INTC_NMIFCR_SWDTFCLR                           (0x00000002UL)
#define INTC_NMIFCR_PVD1FCLR_POS                       (2U)
#define INTC_NMIFCR_PVD1FCLR                           (0x00000004UL)
#define INTC_NMIFCR_PVD2FCLR_POS                       (3U)
#define INTC_NMIFCR_PVD2FCLR                           (0x00000008UL)
#define INTC_NMIFCR_XTALSTPFCLR_POS                    (5U)
#define INTC_NMIFCR_XTALSTPFCLR                        (0x00000020UL)
#define INTC_NMIFCR_RPARERRFCLR_POS                    (8U)
#define INTC_NMIFCR_RPARERRFCLR                        (0x00000100UL)
#define INTC_NMIFCR_RECCERRFCLR_POS                    (9U)
#define INTC_NMIFCR_RECCERRFCLR                        (0x00000200UL)
#define INTC_NMIFCR_BUSERRFCLR_POS                     (10U)
#define INTC_NMIFCR_BUSERRFCLR                         (0x00000400UL)
#define INTC_NMIFCR_WDTFCLR_POS                        (11U)
#define INTC_NMIFCR_WDTFCLR                            (0x00000800UL)

/*  Bit definition for INTC_EIRQCR register  */
#define INTC_EIRQCR_EIRQTRG_POS                        (0U)
#define INTC_EIRQCR_EIRQTRG                            (0x00000003UL)
#define INTC_EIRQCR_EIRQTRG_0                          (0x00000001UL)
#define INTC_EIRQCR_EIRQTRG_1                          (0x00000002UL)
#define INTC_EIRQCR_EISMPCLK_POS                       (4U)
#define INTC_EIRQCR_EISMPCLK                           (0x00000030UL)
#define INTC_EIRQCR_EISMPCLK_0                         (0x00000010UL)
#define INTC_EIRQCR_EISMPCLK_1                         (0x00000020UL)
#define INTC_EIRQCR_EFEN_POS                           (7U)
#define INTC_EIRQCR_EFEN                               (0x00000080UL)
#define INTC_EIRQCR_NOCSEL_POS                         (12U)
#define INTC_EIRQCR_NOCSEL                             (0x00003000UL)
#define INTC_EIRQCR_NOCSEL_0                           (0x00001000UL)
#define INTC_EIRQCR_NOCSEL_1                           (0x00002000UL)
#define INTC_EIRQCR_NOCEN_POS                          (15U)
#define INTC_EIRQCR_NOCEN                              (0x00008000UL)

/*  Bit definition for INTC_WKEN register  */
#define INTC_WKEN_EIRQWKEN_POS                         (0U)
#define INTC_WKEN_EIRQWKEN                             (0x0000FFFFUL)
#define INTC_WKEN_EIRQWKEN_0                           (0x00000001UL)
#define INTC_WKEN_EIRQWKEN_1                           (0x00000002UL)
#define INTC_WKEN_EIRQWKEN_2                           (0x00000004UL)
#define INTC_WKEN_EIRQWKEN_3                           (0x00000008UL)
#define INTC_WKEN_EIRQWKEN_4                           (0x00000010UL)
#define INTC_WKEN_EIRQWKEN_5                           (0x00000020UL)
#define INTC_WKEN_EIRQWKEN_6                           (0x00000040UL)
#define INTC_WKEN_EIRQWKEN_7                           (0x00000080UL)
#define INTC_WKEN_EIRQWKEN_8                           (0x00000100UL)
#define INTC_WKEN_EIRQWKEN_9                           (0x00000200UL)
#define INTC_WKEN_EIRQWKEN_10                          (0x00000400UL)
#define INTC_WKEN_EIRQWKEN_11                          (0x00000800UL)
#define INTC_WKEN_EIRQWKEN_12                          (0x00001000UL)
#define INTC_WKEN_EIRQWKEN_13                          (0x00002000UL)
#define INTC_WKEN_EIRQWKEN_14                          (0x00004000UL)
#define INTC_WKEN_EIRQWKEN_15                          (0x00008000UL)
#define INTC_WKEN_SWDTWKEN_POS                         (16U)
#define INTC_WKEN_SWDTWKEN                             (0x00010000UL)
#define INTC_WKEN_PVD1WKEN_POS                         (17U)
#define INTC_WKEN_PVD1WKEN                             (0x00020000UL)
#define INTC_WKEN_PVD2WKEN_POS                         (18U)
#define INTC_WKEN_PVD2WKEN                             (0x00040000UL)
#define INTC_WKEN_CMP1WKEN_POS                         (19U)
#define INTC_WKEN_CMP1WKEN                             (0x00080000UL)
#define INTC_WKEN_WKTMWKEN_POS                         (20U)
#define INTC_WKEN_WKTMWKEN                             (0x00100000UL)
#define INTC_WKEN_RTCALMWKEN_POS                       (21U)
#define INTC_WKEN_RTCALMWKEN                           (0x00200000UL)
#define INTC_WKEN_RTCPRDWKEN_POS                       (22U)
#define INTC_WKEN_RTCPRDWKEN                           (0x00400000UL)
#define INTC_WKEN_TMR0CMPWKEN_POS                      (23U)
#define INTC_WKEN_TMR0CMPWKEN                          (0x00800000UL)
#define INTC_WKEN_RXWKEN_POS                           (26U)
#define INTC_WKEN_RXWKEN                               (0x04000000UL)
#define INTC_WKEN_CMP2WKEN_POS                         (29U)
#define INTC_WKEN_CMP2WKEN                             (0x20000000UL)
#define INTC_WKEN_CMP3WKEN_POS                         (30U)
#define INTC_WKEN_CMP3WKEN                             (0x40000000UL)

/*  Bit definition for INTC_EIFR register  */
#define INTC_EIFR_EIF0_POS                             (0U)
#define INTC_EIFR_EIF0                                 (0x00000001UL)
#define INTC_EIFR_EIF1_POS                             (1U)
#define INTC_EIFR_EIF1                                 (0x00000002UL)
#define INTC_EIFR_EIF2_POS                             (2U)
#define INTC_EIFR_EIF2                                 (0x00000004UL)
#define INTC_EIFR_EIF3_POS                             (3U)
#define INTC_EIFR_EIF3                                 (0x00000008UL)
#define INTC_EIFR_EIF4_POS                             (4U)
#define INTC_EIFR_EIF4                                 (0x00000010UL)
#define INTC_EIFR_EIF5_POS                             (5U)
#define INTC_EIFR_EIF5                                 (0x00000020UL)
#define INTC_EIFR_EIF6_POS                             (6U)
#define INTC_EIFR_EIF6                                 (0x00000040UL)
#define INTC_EIFR_EIF7_POS                             (7U)
#define INTC_EIFR_EIF7                                 (0x00000080UL)
#define INTC_EIFR_EIF8_POS                             (8U)
#define INTC_EIFR_EIF8                                 (0x00000100UL)
#define INTC_EIFR_EIF9_POS                             (9U)
#define INTC_EIFR_EIF9                                 (0x00000200UL)
#define INTC_EIFR_EIF10_POS                            (10U)
#define INTC_EIFR_EIF10                                (0x00000400UL)
#define INTC_EIFR_EIF11_POS                            (11U)
#define INTC_EIFR_EIF11                                (0x00000800UL)
#define INTC_EIFR_EIF12_POS                            (12U)
#define INTC_EIFR_EIF12                                (0x00001000UL)
#define INTC_EIFR_EIF13_POS                            (13U)
#define INTC_EIFR_EIF13                                (0x00002000UL)
#define INTC_EIFR_EIF14_POS                            (14U)
#define INTC_EIFR_EIF14                                (0x00004000UL)
#define INTC_EIFR_EIF15_POS                            (15U)
#define INTC_EIFR_EIF15                                (0x00008000UL)

/*  Bit definition for INTC_EIFCR register  */
#define INTC_EIFCR_EIFCLR0_POS                         (0U)
#define INTC_EIFCR_EIFCLR0                             (0x00000001UL)
#define INTC_EIFCR_EIFCLR1_POS                         (1U)
#define INTC_EIFCR_EIFCLR1                             (0x00000002UL)
#define INTC_EIFCR_EIFCLR2_POS                         (2U)
#define INTC_EIFCR_EIFCLR2                             (0x00000004UL)
#define INTC_EIFCR_EIFCLR3_POS                         (3U)
#define INTC_EIFCR_EIFCLR3                             (0x00000008UL)
#define INTC_EIFCR_EIFCLR4_POS                         (4U)
#define INTC_EIFCR_EIFCLR4                             (0x00000010UL)
#define INTC_EIFCR_EIFCLR5_POS                         (5U)
#define INTC_EIFCR_EIFCLR5                             (0x00000020UL)
#define INTC_EIFCR_EIFCLR6_POS                         (6U)
#define INTC_EIFCR_EIFCLR6                             (0x00000040UL)
#define INTC_EIFCR_EIFCLR7_POS                         (7U)
#define INTC_EIFCR_EIFCLR7                             (0x00000080UL)
#define INTC_EIFCR_EIFCLR8_POS                         (8U)
#define INTC_EIFCR_EIFCLR8                             (0x00000100UL)
#define INTC_EIFCR_EIFCLR9_POS                         (9U)
#define INTC_EIFCR_EIFCLR9                             (0x00000200UL)
#define INTC_EIFCR_EIFCLR10_POS                        (10U)
#define INTC_EIFCR_EIFCLR10                            (0x00000400UL)
#define INTC_EIFCR_EIFCLR11_POS                        (11U)
#define INTC_EIFCR_EIFCLR11                            (0x00000800UL)
#define INTC_EIFCR_EIFCLR12_POS                        (12U)
#define INTC_EIFCR_EIFCLR12                            (0x00001000UL)
#define INTC_EIFCR_EIFCLR13_POS                        (13U)
#define INTC_EIFCR_EIFCLR13                            (0x00002000UL)
#define INTC_EIFCR_EIFCLR14_POS                        (14U)
#define INTC_EIFCR_EIFCLR14                            (0x00004000UL)
#define INTC_EIFCR_EIFCLR15_POS                        (15U)
#define INTC_EIFCR_EIFCLR15                            (0x00008000UL)

/*  Bit definition for INTC_INTSEL register  */
#define INTC_INTSEL_INTSEL                             (0x000001FFUL)

/*  Bit definition for INTC_INTEN register  */
#define INTC_INTEN_INTEN                               (0xFFFFFFFFUL)
#define INTC_INTEN_INTEN_0                             (0x00000001UL)
#define INTC_INTEN_INTEN_1                             (0x00000002UL)
#define INTC_INTEN_INTEN_2                             (0x00000004UL)
#define INTC_INTEN_INTEN_3                             (0x00000008UL)
#define INTC_INTEN_INTEN_4                             (0x00000010UL)
#define INTC_INTEN_INTEN_5                             (0x00000020UL)
#define INTC_INTEN_INTEN_6                             (0x00000040UL)
#define INTC_INTEN_INTEN_7                             (0x00000080UL)
#define INTC_INTEN_INTEN_8                             (0x00000100UL)
#define INTC_INTEN_INTEN_9                             (0x00000200UL)
#define INTC_INTEN_INTEN_10                            (0x00000400UL)
#define INTC_INTEN_INTEN_11                            (0x00000800UL)
#define INTC_INTEN_INTEN_12                            (0x00001000UL)
#define INTC_INTEN_INTEN_13                            (0x00002000UL)
#define INTC_INTEN_INTEN_14                            (0x00004000UL)
#define INTC_INTEN_INTEN_15                            (0x00008000UL)
#define INTC_INTEN_INTEN_16                            (0x00010000UL)
#define INTC_INTEN_INTEN_17                            (0x00020000UL)
#define INTC_INTEN_INTEN_18                            (0x00040000UL)
#define INTC_INTEN_INTEN_19                            (0x00080000UL)
#define INTC_INTEN_INTEN_20                            (0x00100000UL)
#define INTC_INTEN_INTEN_21                            (0x00200000UL)
#define INTC_INTEN_INTEN_22                            (0x00400000UL)
#define INTC_INTEN_INTEN_23                            (0x00800000UL)
#define INTC_INTEN_INTEN_24                            (0x01000000UL)
#define INTC_INTEN_INTEN_25                            (0x02000000UL)
#define INTC_INTEN_INTEN_26                            (0x04000000UL)
#define INTC_INTEN_INTEN_27                            (0x08000000UL)
#define INTC_INTEN_INTEN_28                            (0x10000000UL)
#define INTC_INTEN_INTEN_29                            (0x20000000UL)
#define INTC_INTEN_INTEN_30                            (0x40000000UL)
#define INTC_INTEN_INTEN_31                            (0x80000000UL)

/*  Bit definition for INTC_SWIER register  */
#define INTC_SWIER_SWIE0_POS                           (0U)
#define INTC_SWIER_SWIE0                               (0x00000001UL)
#define INTC_SWIER_SWIE1_POS                           (1U)
#define INTC_SWIER_SWIE1                               (0x00000002UL)
#define INTC_SWIER_SWIE2_POS                           (2U)
#define INTC_SWIER_SWIE2                               (0x00000004UL)
#define INTC_SWIER_SWIE3_POS                           (3U)
#define INTC_SWIER_SWIE3                               (0x00000008UL)
#define INTC_SWIER_SWIE4_POS                           (4U)
#define INTC_SWIER_SWIE4                               (0x00000010UL)
#define INTC_SWIER_SWIE5_POS                           (5U)
#define INTC_SWIER_SWIE5                               (0x00000020UL)
#define INTC_SWIER_SWIE6_POS                           (6U)
#define INTC_SWIER_SWIE6                               (0x00000040UL)
#define INTC_SWIER_SWIE7_POS                           (7U)
#define INTC_SWIER_SWIE7                               (0x00000080UL)
#define INTC_SWIER_SWIE8_POS                           (8U)
#define INTC_SWIER_SWIE8                               (0x00000100UL)
#define INTC_SWIER_SWIE9_POS                           (9U)
#define INTC_SWIER_SWIE9                               (0x00000200UL)
#define INTC_SWIER_SWIE10_POS                          (10U)
#define INTC_SWIER_SWIE10                              (0x00000400UL)
#define INTC_SWIER_SWIE11_POS                          (11U)
#define INTC_SWIER_SWIE11                              (0x00000800UL)
#define INTC_SWIER_SWIE12_POS                          (12U)
#define INTC_SWIER_SWIE12                              (0x00001000UL)
#define INTC_SWIER_SWIE13_POS                          (13U)
#define INTC_SWIER_SWIE13                              (0x00002000UL)
#define INTC_SWIER_SWIE14_POS                          (14U)
#define INTC_SWIER_SWIE14                              (0x00004000UL)
#define INTC_SWIER_SWIE15_POS                          (15U)
#define INTC_SWIER_SWIE15                              (0x00008000UL)
#define INTC_SWIER_SWIE16_POS                          (16U)
#define INTC_SWIER_SWIE16                              (0x00010000UL)
#define INTC_SWIER_SWIE17_POS                          (17U)
#define INTC_SWIER_SWIE17                              (0x00020000UL)
#define INTC_SWIER_SWIE18_POS                          (18U)
#define INTC_SWIER_SWIE18                              (0x00040000UL)
#define INTC_SWIER_SWIE19_POS                          (19U)
#define INTC_SWIER_SWIE19                              (0x00080000UL)
#define INTC_SWIER_SWIE20_POS                          (20U)
#define INTC_SWIER_SWIE20                              (0x00100000UL)
#define INTC_SWIER_SWIE21_POS                          (21U)
#define INTC_SWIER_SWIE21                              (0x00200000UL)
#define INTC_SWIER_SWIE22_POS                          (22U)
#define INTC_SWIER_SWIE22                              (0x00400000UL)
#define INTC_SWIER_SWIE23_POS                          (23U)
#define INTC_SWIER_SWIE23                              (0x00800000UL)
#define INTC_SWIER_SWIE24_POS                          (24U)
#define INTC_SWIER_SWIE24                              (0x01000000UL)
#define INTC_SWIER_SWIE25_POS                          (25U)
#define INTC_SWIER_SWIE25                              (0x02000000UL)
#define INTC_SWIER_SWIE26_POS                          (26U)
#define INTC_SWIER_SWIE26                              (0x04000000UL)
#define INTC_SWIER_SWIE27_POS                          (27U)
#define INTC_SWIER_SWIE27                              (0x08000000UL)
#define INTC_SWIER_SWIE28_POS                          (28U)
#define INTC_SWIER_SWIE28                              (0x10000000UL)
#define INTC_SWIER_SWIE29_POS                          (29U)
#define INTC_SWIER_SWIE29                              (0x20000000UL)
#define INTC_SWIER_SWIE30_POS                          (30U)
#define INTC_SWIER_SWIE30                              (0x40000000UL)
#define INTC_SWIER_SWIE31_POS                          (31U)
#define INTC_SWIER_SWIE31                              (0x80000000UL)

/*  Bit definition for INTC_EVTER register  */
#define INTC_EVTER_EVTE0_POS                           (0U)
#define INTC_EVTER_EVTE0                               (0x00000001UL)
#define INTC_EVTER_EVTE1_POS                           (1U)
#define INTC_EVTER_EVTE1                               (0x00000002UL)
#define INTC_EVTER_EVTE2_POS                           (2U)
#define INTC_EVTER_EVTE2                               (0x00000004UL)
#define INTC_EVTER_EVTE3_POS                           (3U)
#define INTC_EVTER_EVTE3                               (0x00000008UL)
#define INTC_EVTER_EVTE4_POS                           (4U)
#define INTC_EVTER_EVTE4                               (0x00000010UL)
#define INTC_EVTER_EVTE5_POS                           (5U)
#define INTC_EVTER_EVTE5                               (0x00000020UL)
#define INTC_EVTER_EVTE6_POS                           (6U)
#define INTC_EVTER_EVTE6                               (0x00000040UL)
#define INTC_EVTER_EVTE7_POS                           (7U)
#define INTC_EVTER_EVTE7                               (0x00000080UL)
#define INTC_EVTER_EVTE8_POS                           (8U)
#define INTC_EVTER_EVTE8                               (0x00000100UL)
#define INTC_EVTER_EVTE9_POS                           (9U)
#define INTC_EVTER_EVTE9                               (0x00000200UL)
#define INTC_EVTER_EVTE10_POS                          (10U)
#define INTC_EVTER_EVTE10                              (0x00000400UL)
#define INTC_EVTER_EVTE11_POS                          (11U)
#define INTC_EVTER_EVTE11                              (0x00000800UL)
#define INTC_EVTER_EVTE12_POS                          (12U)
#define INTC_EVTER_EVTE12                              (0x00001000UL)
#define INTC_EVTER_EVTE13_POS                          (13U)
#define INTC_EVTER_EVTE13                              (0x00002000UL)
#define INTC_EVTER_EVTE14_POS                          (14U)
#define INTC_EVTER_EVTE14                              (0x00004000UL)
#define INTC_EVTER_EVTE15_POS                          (15U)
#define INTC_EVTER_EVTE15                              (0x00008000UL)
#define INTC_EVTER_EVTE16_POS                          (16U)
#define INTC_EVTER_EVTE16                              (0x00010000UL)
#define INTC_EVTER_EVTE17_POS                          (17U)
#define INTC_EVTER_EVTE17                              (0x00020000UL)
#define INTC_EVTER_EVTE18_POS                          (18U)
#define INTC_EVTER_EVTE18                              (0x00040000UL)
#define INTC_EVTER_EVTE19_POS                          (19U)
#define INTC_EVTER_EVTE19                              (0x00080000UL)
#define INTC_EVTER_EVTE20_POS                          (20U)
#define INTC_EVTER_EVTE20                              (0x00100000UL)
#define INTC_EVTER_EVTE21_POS                          (21U)
#define INTC_EVTER_EVTE21                              (0x00200000UL)
#define INTC_EVTER_EVTE22_POS                          (22U)
#define INTC_EVTER_EVTE22                              (0x00400000UL)
#define INTC_EVTER_EVTE23_POS                          (23U)
#define INTC_EVTER_EVTE23                              (0x00800000UL)
#define INTC_EVTER_EVTE24_POS                          (24U)
#define INTC_EVTER_EVTE24                              (0x01000000UL)
#define INTC_EVTER_EVTE25_POS                          (25U)
#define INTC_EVTER_EVTE25                              (0x02000000UL)
#define INTC_EVTER_EVTE26_POS                          (26U)
#define INTC_EVTER_EVTE26                              (0x04000000UL)
#define INTC_EVTER_EVTE27_POS                          (27U)
#define INTC_EVTER_EVTE27                              (0x08000000UL)
#define INTC_EVTER_EVTE28_POS                          (28U)
#define INTC_EVTER_EVTE28                              (0x10000000UL)
#define INTC_EVTER_EVTE29_POS                          (29U)
#define INTC_EVTER_EVTE29                              (0x20000000UL)
#define INTC_EVTER_EVTE30_POS                          (30U)
#define INTC_EVTER_EVTE30                              (0x40000000UL)
#define INTC_EVTER_EVTE31_POS                          (31U)
#define INTC_EVTER_EVTE31                              (0x80000000UL)

/*  Bit definition for INTC_IER register  */
#define INTC_IER_IEN0_POS                              (0U)
#define INTC_IER_IEN0                                  (0x00000001UL)
#define INTC_IER_IEN1_POS                              (1U)
#define INTC_IER_IEN1                                  (0x00000002UL)
#define INTC_IER_IEN2_POS                              (2U)
#define INTC_IER_IEN2                                  (0x00000004UL)
#define INTC_IER_IEN3_POS                              (3U)
#define INTC_IER_IEN3                                  (0x00000008UL)
#define INTC_IER_IEN4_POS                              (4U)
#define INTC_IER_IEN4                                  (0x00000010UL)
#define INTC_IER_IEN5_POS                              (5U)
#define INTC_IER_IEN5                                  (0x00000020UL)
#define INTC_IER_IEN6_POS                              (6U)
#define INTC_IER_IEN6                                  (0x00000040UL)
#define INTC_IER_IEN7_POS                              (7U)
#define INTC_IER_IEN7                                  (0x00000080UL)
#define INTC_IER_IEN8_POS                              (8U)
#define INTC_IER_IEN8                                  (0x00000100UL)
#define INTC_IER_IEN9_POS                              (9U)
#define INTC_IER_IEN9                                  (0x00000200UL)
#define INTC_IER_IEN10_POS                             (10U)
#define INTC_IER_IEN10                                 (0x00000400UL)
#define INTC_IER_IEN11_POS                             (11U)
#define INTC_IER_IEN11                                 (0x00000800UL)
#define INTC_IER_IEN12_POS                             (12U)
#define INTC_IER_IEN12                                 (0x00001000UL)
#define INTC_IER_IEN13_POS                             (13U)
#define INTC_IER_IEN13                                 (0x00002000UL)
#define INTC_IER_IEN14_POS                             (14U)
#define INTC_IER_IEN14                                 (0x00004000UL)
#define INTC_IER_IEN15_POS                             (15U)
#define INTC_IER_IEN15                                 (0x00008000UL)
#define INTC_IER_IEN16_POS                             (16U)
#define INTC_IER_IEN16                                 (0x00010000UL)
#define INTC_IER_IEN17_POS                             (17U)
#define INTC_IER_IEN17                                 (0x00020000UL)
#define INTC_IER_IEN18_POS                             (18U)
#define INTC_IER_IEN18                                 (0x00040000UL)
#define INTC_IER_IEN19_POS                             (19U)
#define INTC_IER_IEN19                                 (0x00080000UL)
#define INTC_IER_IEN20_POS                             (20U)
#define INTC_IER_IEN20                                 (0x00100000UL)
#define INTC_IER_IEN21_POS                             (21U)
#define INTC_IER_IEN21                                 (0x00200000UL)
#define INTC_IER_IEN22_POS                             (22U)
#define INTC_IER_IEN22                                 (0x00400000UL)
#define INTC_IER_IEN23_POS                             (23U)
#define INTC_IER_IEN23                                 (0x00800000UL)
#define INTC_IER_IEN24_POS                             (24U)
#define INTC_IER_IEN24                                 (0x01000000UL)
#define INTC_IER_IEN25_POS                             (25U)
#define INTC_IER_IEN25                                 (0x02000000UL)
#define INTC_IER_IEN26_POS                             (26U)
#define INTC_IER_IEN26                                 (0x04000000UL)
#define INTC_IER_IEN27_POS                             (27U)
#define INTC_IER_IEN27                                 (0x08000000UL)
#define INTC_IER_IEN28_POS                             (28U)
#define INTC_IER_IEN28                                 (0x10000000UL)
#define INTC_IER_IEN29_POS                             (29U)
#define INTC_IER_IEN29                                 (0x20000000UL)
#define INTC_IER_IEN30_POS                             (30U)
#define INTC_IER_IEN30                                 (0x40000000UL)
#define INTC_IER_IEN31_POS                             (31U)
#define INTC_IER_IEN31                                 (0x80000000UL)

/*  Bit definition for INTC_FPUIER register  */
#define INTC_FPUIER_IOCIEN_POS                         (0U)
#define INTC_FPUIER_IOCIEN                             (0x00000001UL)
#define INTC_FPUIER_DZCIEN_POS                         (1U)
#define INTC_FPUIER_DZCIEN                             (0x00000002UL)
#define INTC_FPUIER_OFCIEN_POS                         (2U)
#define INTC_FPUIER_OFCIEN                             (0x00000004UL)
#define INTC_FPUIER_UFCIEN_POS                         (3U)
#define INTC_FPUIER_UFCIEN                             (0x00000008UL)
#define INTC_FPUIER_IXCIEN_POS                         (4U)
#define INTC_FPUIER_IXCIEN                             (0x00000010UL)
#define INTC_FPUIER_IDCIEN_POS                         (5U)
#define INTC_FPUIER_IDCIEN                             (0x00000020UL)

/*******************************************************************************
                Bit definition for Peripheral MCAN
*******************************************************************************/
/*  Bit definition for MCAN_ENDN register  */
#define MCAN_ENDN                                      (0xFFFFFFFFUL)

/*  Bit definition for MCAN_DBTP register  */
#define MCAN_DBTP_DSJW_POS                             (0U)
#define MCAN_DBTP_DSJW                                 (0x0000000FUL)
#define MCAN_DBTP_DTSEG2_POS                           (4U)
#define MCAN_DBTP_DTSEG2                               (0x000000F0UL)
#define MCAN_DBTP_DTSEG1_POS                           (8U)
#define MCAN_DBTP_DTSEG1                               (0x00001F00UL)
#define MCAN_DBTP_DBRP_POS                             (16U)
#define MCAN_DBTP_DBRP                                 (0x001F0000UL)
#define MCAN_DBTP_TDC_POS                              (23U)
#define MCAN_DBTP_TDC                                  (0x00800000UL)

/*  Bit definition for MCAN_TEST register  */
#define MCAN_TEST_LBCK_POS                             (4U)
#define MCAN_TEST_LBCK                                 (0x00000010UL)
#define MCAN_TEST_TX_POS                               (5U)
#define MCAN_TEST_TX                                   (0x00000060UL)
#define MCAN_TEST_TX_0                                 (0x00000020UL)
#define MCAN_TEST_TX_1                                 (0x00000040UL)
#define MCAN_TEST_RX_POS                               (7U)
#define MCAN_TEST_RX                                   (0x00000080UL)
#define MCAN_TEST_TXBNP_POS                            (8U)
#define MCAN_TEST_TXBNP                                (0x00001F00UL)
#define MCAN_TEST_PVAL_POS                             (13U)
#define MCAN_TEST_PVAL                                 (0x00002000UL)
#define MCAN_TEST_TXBNS_POS                            (16U)
#define MCAN_TEST_TXBNS                                (0x001F0000UL)
#define MCAN_TEST_SVAL_POS                             (21U)
#define MCAN_TEST_SVAL                                 (0x00200000UL)

/*  Bit definition for MCAN_RWD register  */
#define MCAN_RWD_WDC_POS                               (0U)
#define MCAN_RWD_WDC                                   (0x000000FFUL)
#define MCAN_RWD_WDV_POS                               (8U)
#define MCAN_RWD_WDV                                   (0x0000FF00UL)

/*  Bit definition for MCAN_CCCR register  */
#define MCAN_CCCR_INIT_POS                             (0U)
#define MCAN_CCCR_INIT                                 (0x00000001UL)
#define MCAN_CCCR_CCE_POS                              (1U)
#define MCAN_CCCR_CCE                                  (0x00000002UL)
#define MCAN_CCCR_ASM_POS                              (2U)
#define MCAN_CCCR_ASM                                  (0x00000004UL)
#define MCAN_CCCR_CSA_POS                              (3U)
#define MCAN_CCCR_CSA                                  (0x00000008UL)
#define MCAN_CCCR_CSR_POS                              (4U)
#define MCAN_CCCR_CSR                                  (0x00000010UL)
#define MCAN_CCCR_MON_POS                              (5U)
#define MCAN_CCCR_MON                                  (0x00000020UL)
#define MCAN_CCCR_DAR_POS                              (6U)
#define MCAN_CCCR_DAR                                  (0x00000040UL)
#define MCAN_CCCR_TEST_POS                             (7U)
#define MCAN_CCCR_TEST                                 (0x00000080UL)
#define MCAN_CCCR_FDOE_POS                             (8U)
#define MCAN_CCCR_FDOE                                 (0x00000100UL)
#define MCAN_CCCR_BRSE_POS                             (9U)
#define MCAN_CCCR_BRSE                                 (0x00000200UL)
#define MCAN_CCCR_UTSU_POS                             (10U)
#define MCAN_CCCR_UTSU                                 (0x00000400UL)
#define MCAN_CCCR_WMM_POS                              (11U)
#define MCAN_CCCR_WMM                                  (0x00000800UL)
#define MCAN_CCCR_PXHD_POS                             (12U)
#define MCAN_CCCR_PXHD                                 (0x00001000UL)
#define MCAN_CCCR_EFBI_POS                             (13U)
#define MCAN_CCCR_EFBI                                 (0x00002000UL)
#define MCAN_CCCR_TXP_POS                              (14U)
#define MCAN_CCCR_TXP                                  (0x00004000UL)
#define MCAN_CCCR_NISO_POS                             (15U)
#define MCAN_CCCR_NISO                                 (0x00008000UL)

/*  Bit definition for MCAN_NBTP register  */
#define MCAN_NBTP_NTSEG2_POS                           (0U)
#define MCAN_NBTP_NTSEG2                               (0x0000007FUL)
#define MCAN_NBTP_NTSEG1_POS                           (8U)
#define MCAN_NBTP_NTSEG1                               (0x0000FF00UL)
#define MCAN_NBTP_NBRP_POS                             (16U)
#define MCAN_NBTP_NBRP                                 (0x01FF0000UL)
#define MCAN_NBTP_NSJW_POS                             (25U)
#define MCAN_NBTP_NSJW                                 (0xFE000000UL)

/*  Bit definition for MCAN_TSCC register  */
#define MCAN_TSCC_TSS_POS                              (0U)
#define MCAN_TSCC_TSS                                  (0x00000003UL)
#define MCAN_TSCC_TSS_0                                (0x00000001UL)
#define MCAN_TSCC_TSS_1                                (0x00000002UL)
#define MCAN_TSCC_TCP_POS                              (16U)
#define MCAN_TSCC_TCP                                  (0x000F0000UL)

/*  Bit definition for MCAN_TSCV register  */
#define MCAN_TSCV_TSC                                  (0x0000FFFFUL)

/*  Bit definition for MCAN_TOCC register  */
#define MCAN_TOCC_ETOC_POS                             (0U)
#define MCAN_TOCC_ETOC                                 (0x00000001UL)
#define MCAN_TOCC_TOS_POS                              (1U)
#define MCAN_TOCC_TOS                                  (0x00000006UL)
#define MCAN_TOCC_TOS_0                                (0x00000002UL)
#define MCAN_TOCC_TOS_1                                (0x00000004UL)
#define MCAN_TOCC_TOP_POS                              (16U)
#define MCAN_TOCC_TOP                                  (0xFFFF0000UL)

/*  Bit definition for MCAN_TOCV register  */
#define MCAN_TOCV_TOC                                  (0x0000FFFFUL)

/*  Bit definition for MCAN_ECR register  */
#define MCAN_ECR_TEC_POS                               (0U)
#define MCAN_ECR_TEC                                   (0x000000FFUL)
#define MCAN_ECR_REC_POS                               (8U)
#define MCAN_ECR_REC                                   (0x00007F00UL)
#define MCAN_ECR_RP_POS                                (15U)
#define MCAN_ECR_RP                                    (0x00008000UL)
#define MCAN_ECR_CEL_POS                               (16U)
#define MCAN_ECR_CEL                                   (0x00FF0000UL)

/*  Bit definition for MCAN_PSR register  */
#define MCAN_PSR_LEC_POS                               (0U)
#define MCAN_PSR_LEC                                   (0x00000007UL)
#define MCAN_PSR_ACT_POS                               (3U)
#define MCAN_PSR_ACT                                   (0x00000018UL)
#define MCAN_PSR_ACT_0                                 (0x00000008UL)
#define MCAN_PSR_ACT_1                                 (0x00000010UL)
#define MCAN_PSR_EP_POS                                (5U)
#define MCAN_PSR_EP                                    (0x00000020UL)
#define MCAN_PSR_EW_POS                                (6U)
#define MCAN_PSR_EW                                    (0x00000040UL)
#define MCAN_PSR_BO_POS                                (7U)
#define MCAN_PSR_BO                                    (0x00000080UL)
#define MCAN_PSR_DLEC_POS                              (8U)
#define MCAN_PSR_DLEC                                  (0x00000700UL)
#define MCAN_PSR_RESI_POS                              (11U)
#define MCAN_PSR_RESI                                  (0x00000800UL)
#define MCAN_PSR_RBRS_POS                              (12U)
#define MCAN_PSR_RBRS                                  (0x00001000UL)
#define MCAN_PSR_RFDF_POS                              (13U)
#define MCAN_PSR_RFDF                                  (0x00002000UL)
#define MCAN_PSR_PXE_POS                               (14U)
#define MCAN_PSR_PXE                                   (0x00004000UL)
#define MCAN_PSR_TDCV_POS                              (16U)
#define MCAN_PSR_TDCV                                  (0x007F0000UL)

/*  Bit definition for MCAN_TDCR register  */
#define MCAN_TDCR_TDCF_POS                             (0U)
#define MCAN_TDCR_TDCF                                 (0x0000007FUL)
#define MCAN_TDCR_TDCO_POS                             (8U)
#define MCAN_TDCR_TDCO                                 (0x00007F00UL)

/*  Bit definition for MCAN_IR register  */
#define MCAN_IR_RF0N_POS                               (0U)
#define MCAN_IR_RF0N                                   (0x00000001UL)
#define MCAN_IR_RF0W_POS                               (1U)
#define MCAN_IR_RF0W                                   (0x00000002UL)
#define MCAN_IR_RF0F_POS                               (2U)
#define MCAN_IR_RF0F                                   (0x00000004UL)
#define MCAN_IR_RF0L_POS                               (3U)
#define MCAN_IR_RF0L                                   (0x00000008UL)
#define MCAN_IR_RF1N_POS                               (4U)
#define MCAN_IR_RF1N                                   (0x00000010UL)
#define MCAN_IR_RF1W_POS                               (5U)
#define MCAN_IR_RF1W                                   (0x00000020UL)
#define MCAN_IR_RF1F_POS                               (6U)
#define MCAN_IR_RF1F                                   (0x00000040UL)
#define MCAN_IR_RF1L_POS                               (7U)
#define MCAN_IR_RF1L                                   (0x00000080UL)
#define MCAN_IR_HPM_POS                                (8U)
#define MCAN_IR_HPM                                    (0x00000100UL)
#define MCAN_IR_TC_POS                                 (9U)
#define MCAN_IR_TC                                     (0x00000200UL)
#define MCAN_IR_TCF_POS                                (10U)
#define MCAN_IR_TCF                                    (0x00000400UL)
#define MCAN_IR_TFE_POS                                (11U)
#define MCAN_IR_TFE                                    (0x00000800UL)
#define MCAN_IR_TEFN_POS                               (12U)
#define MCAN_IR_TEFN                                   (0x00001000UL)
#define MCAN_IR_TEFW_POS                               (13U)
#define MCAN_IR_TEFW                                   (0x00002000UL)
#define MCAN_IR_TEFF_POS                               (14U)
#define MCAN_IR_TEFF                                   (0x00004000UL)
#define MCAN_IR_TEFL_POS                               (15U)
#define MCAN_IR_TEFL                                   (0x00008000UL)
#define MCAN_IR_TSW_POS                                (16U)
#define MCAN_IR_TSW                                    (0x00010000UL)
#define MCAN_IR_MRAF_POS                               (17U)
#define MCAN_IR_MRAF                                   (0x00020000UL)
#define MCAN_IR_TOO_POS                                (18U)
#define MCAN_IR_TOO                                    (0x00040000UL)
#define MCAN_IR_DRX_POS                                (19U)
#define MCAN_IR_DRX                                    (0x00080000UL)
#define MCAN_IR_BEC_POS                                (20U)
#define MCAN_IR_BEC                                    (0x00100000UL)
#define MCAN_IR_BEU_POS                                (21U)
#define MCAN_IR_BEU                                    (0x00200000UL)
#define MCAN_IR_ELO_POS                                (22U)
#define MCAN_IR_ELO                                    (0x00400000UL)
#define MCAN_IR_EP_POS                                 (23U)
#define MCAN_IR_EP                                     (0x00800000UL)
#define MCAN_IR_EW_POS                                 (24U)
#define MCAN_IR_EW                                     (0x01000000UL)
#define MCAN_IR_BO_POS                                 (25U)
#define MCAN_IR_BO                                     (0x02000000UL)
#define MCAN_IR_WDI_POS                                (26U)
#define MCAN_IR_WDI                                    (0x04000000UL)
#define MCAN_IR_PEA_POS                                (27U)
#define MCAN_IR_PEA                                    (0x08000000UL)
#define MCAN_IR_PED_POS                                (28U)
#define MCAN_IR_PED                                    (0x10000000UL)
#define MCAN_IR_ARA_POS                                (29U)
#define MCAN_IR_ARA                                    (0x20000000UL)

/*  Bit definition for MCAN_IE register  */
#define MCAN_IE_RF0NE_POS                              (0U)
#define MCAN_IE_RF0NE                                  (0x00000001UL)
#define MCAN_IE_RF0WE_POS                              (1U)
#define MCAN_IE_RF0WE                                  (0x00000002UL)
#define MCAN_IE_RF0FE_POS                              (2U)
#define MCAN_IE_RF0FE                                  (0x00000004UL)
#define MCAN_IE_RF0LE_POS                              (3U)
#define MCAN_IE_RF0LE                                  (0x00000008UL)
#define MCAN_IE_RF1NE_POS                              (4U)
#define MCAN_IE_RF1NE                                  (0x00000010UL)
#define MCAN_IE_RF1WE_POS                              (5U)
#define MCAN_IE_RF1WE                                  (0x00000020UL)
#define MCAN_IE_RF1FE_POS                              (6U)
#define MCAN_IE_RF1FE                                  (0x00000040UL)
#define MCAN_IE_RF1LE_POS                              (7U)
#define MCAN_IE_RF1LE                                  (0x00000080UL)
#define MCAN_IE_HPME_POS                               (8U)
#define MCAN_IE_HPME                                   (0x00000100UL)
#define MCAN_IE_TCE_POS                                (9U)
#define MCAN_IE_TCE                                    (0x00000200UL)
#define MCAN_IE_TCFE_POS                               (10U)
#define MCAN_IE_TCFE                                   (0x00000400UL)
#define MCAN_IE_TFEE_POS                               (11U)
#define MCAN_IE_TFEE                                   (0x00000800UL)
#define MCAN_IE_TEFNE_POS                              (12U)
#define MCAN_IE_TEFNE                                  (0x00001000UL)
#define MCAN_IE_TEFWE_POS                              (13U)
#define MCAN_IE_TEFWE                                  (0x00002000UL)
#define MCAN_IE_TEFFE_POS                              (14U)
#define MCAN_IE_TEFFE                                  (0x00004000UL)
#define MCAN_IE_TEFLE_POS                              (15U)
#define MCAN_IE_TEFLE                                  (0x00008000UL)
#define MCAN_IE_TSWE_POS                               (16U)
#define MCAN_IE_TSWE                                   (0x00010000UL)
#define MCAN_IE_MRAFE_POS                              (17U)
#define MCAN_IE_MRAFE                                  (0x00020000UL)
#define MCAN_IE_TOOE_POS                               (18U)
#define MCAN_IE_TOOE                                   (0x00040000UL)
#define MCAN_IE_DRXE_POS                               (19U)
#define MCAN_IE_DRXE                                   (0x00080000UL)
#define MCAN_IE_BECE_POS                               (20U)
#define MCAN_IE_BECE                                   (0x00100000UL)
#define MCAN_IE_BEUE_POS                               (21U)
#define MCAN_IE_BEUE                                   (0x00200000UL)
#define MCAN_IE_ELOE_POS                               (22U)
#define MCAN_IE_ELOE                                   (0x00400000UL)
#define MCAN_IE_EPE_POS                                (23U)
#define MCAN_IE_EPE                                    (0x00800000UL)
#define MCAN_IE_EWE_POS                                (24U)
#define MCAN_IE_EWE                                    (0x01000000UL)
#define MCAN_IE_BOE_POS                                (25U)
#define MCAN_IE_BOE                                    (0x02000000UL)
#define MCAN_IE_WDIE_POS                               (26U)
#define MCAN_IE_WDIE                                   (0x04000000UL)
#define MCAN_IE_PEAE_POS                               (27U)
#define MCAN_IE_PEAE                                   (0x08000000UL)
#define MCAN_IE_PEDE_POS                               (28U)
#define MCAN_IE_PEDE                                   (0x10000000UL)
#define MCAN_IE_ARAE_POS                               (29U)
#define MCAN_IE_ARAE                                   (0x20000000UL)

/*  Bit definition for MCAN_ILS register  */
#define MCAN_ILS_RF0NL_POS                             (0U)
#define MCAN_ILS_RF0NL                                 (0x00000001UL)
#define MCAN_ILS_RF0WL_POS                             (1U)
#define MCAN_ILS_RF0WL                                 (0x00000002UL)
#define MCAN_ILS_RF0FL_POS                             (2U)
#define MCAN_ILS_RF0FL                                 (0x00000004UL)
#define MCAN_ILS_RF0LL_POS                             (3U)
#define MCAN_ILS_RF0LL                                 (0x00000008UL)
#define MCAN_ILS_RF1NL_POS                             (4U)
#define MCAN_ILS_RF1NL                                 (0x00000010UL)
#define MCAN_ILS_RF1WL_POS                             (5U)
#define MCAN_ILS_RF1WL                                 (0x00000020UL)
#define MCAN_ILS_RF1FL_POS                             (6U)
#define MCAN_ILS_RF1FL                                 (0x00000040UL)
#define MCAN_ILS_RF1LL_POS                             (7U)
#define MCAN_ILS_RF1LL                                 (0x00000080UL)
#define MCAN_ILS_HPML_POS                              (8U)
#define MCAN_ILS_HPML                                  (0x00000100UL)
#define MCAN_ILS_TCL_POS                               (9U)
#define MCAN_ILS_TCL                                   (0x00000200UL)
#define MCAN_ILS_TCFL_POS                              (10U)
#define MCAN_ILS_TCFL                                  (0x00000400UL)
#define MCAN_ILS_TFEL_POS                              (11U)
#define MCAN_ILS_TFEL                                  (0x00000800UL)
#define MCAN_ILS_TEFNL_POS                             (12U)
#define MCAN_ILS_TEFNL                                 (0x00001000UL)
#define MCAN_ILS_TEFWL_POS                             (13U)
#define MCAN_ILS_TEFWL                                 (0x00002000UL)
#define MCAN_ILS_TEFFL_POS                             (14U)
#define MCAN_ILS_TEFFL                                 (0x00004000UL)
#define MCAN_ILS_TEFLL_POS                             (15U)
#define MCAN_ILS_TEFLL                                 (0x00008000UL)
#define MCAN_ILS_TSWL_POS                              (16U)
#define MCAN_ILS_TSWL                                  (0x00010000UL)
#define MCAN_ILS_MRAFL_POS                             (17U)
#define MCAN_ILS_MRAFL                                 (0x00020000UL)
#define MCAN_ILS_TOOL_POS                              (18U)
#define MCAN_ILS_TOOL                                  (0x00040000UL)
#define MCAN_ILS_DRXL_POS                              (19U)
#define MCAN_ILS_DRXL                                  (0x00080000UL)
#define MCAN_ILS_BECL_POS                              (20U)
#define MCAN_ILS_BECL                                  (0x00100000UL)
#define MCAN_ILS_BEUL_POS                              (21U)
#define MCAN_ILS_BEUL                                  (0x00200000UL)
#define MCAN_ILS_ELOL_POS                              (22U)
#define MCAN_ILS_ELOL                                  (0x00400000UL)
#define MCAN_ILS_EPL_POS                               (23U)
#define MCAN_ILS_EPL                                   (0x00800000UL)
#define MCAN_ILS_EWL_POS                               (24U)
#define MCAN_ILS_EWL                                   (0x01000000UL)
#define MCAN_ILS_BOL_POS                               (25U)
#define MCAN_ILS_BOL                                   (0x02000000UL)
#define MCAN_ILS_WDIL_POS                              (26U)
#define MCAN_ILS_WDIL                                  (0x04000000UL)
#define MCAN_ILS_PEAL_POS                              (27U)
#define MCAN_ILS_PEAL                                  (0x08000000UL)
#define MCAN_ILS_PEDL_POS                              (28U)
#define MCAN_ILS_PEDL                                  (0x10000000UL)
#define MCAN_ILS_ARAL_POS                              (29U)
#define MCAN_ILS_ARAL                                  (0x20000000UL)

/*  Bit definition for MCAN_ILE register  */
#define MCAN_ILE_EINT0_POS                             (0U)
#define MCAN_ILE_EINT0                                 (0x00000001UL)
#define MCAN_ILE_EINT1_POS                             (1U)
#define MCAN_ILE_EINT1                                 (0x00000002UL)

/*  Bit definition for MCAN_GFC register  */
#define MCAN_GFC_RRFE_POS                              (0U)
#define MCAN_GFC_RRFE                                  (0x00000001UL)
#define MCAN_GFC_RRFS_POS                              (1U)
#define MCAN_GFC_RRFS                                  (0x00000002UL)
#define MCAN_GFC_ANFE_POS                              (2U)
#define MCAN_GFC_ANFE                                  (0x0000000CUL)
#define MCAN_GFC_ANFE_0                                (0x00000004UL)
#define MCAN_GFC_ANFE_1                                (0x00000008UL)
#define MCAN_GFC_ANFS_POS                              (4U)
#define MCAN_GFC_ANFS                                  (0x00000030UL)
#define MCAN_GFC_ANFS_0                                (0x00000010UL)
#define MCAN_GFC_ANFS_1                                (0x00000020UL)

/*  Bit definition for MCAN_SIDFC register  */
#define MCAN_SIDFC_FLSSA_POS                           (2U)
#define MCAN_SIDFC_FLSSA                               (0x0000FFFCUL)
#define MCAN_SIDFC_LSS_POS                             (16U)
#define MCAN_SIDFC_LSS                                 (0x00FF0000UL)

/*  Bit definition for MCAN_XIDFC register  */
#define MCAN_XIDFC_FLESA_POS                           (2U)
#define MCAN_XIDFC_FLESA                               (0x0000FFFCUL)
#define MCAN_XIDFC_LSE_POS                             (16U)
#define MCAN_XIDFC_LSE                                 (0x007F0000UL)

/*  Bit definition for MCAN_XIDAM register  */
#define MCAN_XIDAM_EIDM                                (0x1FFFFFFFUL)

/*  Bit definition for MCAN_HPMS register  */
#define MCAN_HPMS_BIDX_POS                             (0U)
#define MCAN_HPMS_BIDX                                 (0x0000003FUL)
#define MCAN_HPMS_MSI_POS                              (6U)
#define MCAN_HPMS_MSI                                  (0x000000C0UL)
#define MCAN_HPMS_MSI_0                                (0x00000040UL)
#define MCAN_HPMS_MSI_1                                (0x00000080UL)
#define MCAN_HPMS_FIDX_POS                             (8U)
#define MCAN_HPMS_FIDX                                 (0x00007F00UL)
#define MCAN_HPMS_FLST_POS                             (15U)
#define MCAN_HPMS_FLST                                 (0x00008000UL)

/*  Bit definition for MCAN_NDAT1 register  */
#define MCAN_NDAT1_ND0_POS                             (0U)
#define MCAN_NDAT1_ND0                                 (0x00000001UL)
#define MCAN_NDAT1_ND1_POS                             (1U)
#define MCAN_NDAT1_ND1                                 (0x00000002UL)
#define MCAN_NDAT1_ND2_POS                             (2U)
#define MCAN_NDAT1_ND2                                 (0x00000004UL)
#define MCAN_NDAT1_ND3_POS                             (3U)
#define MCAN_NDAT1_ND3                                 (0x00000008UL)
#define MCAN_NDAT1_ND4_POS                             (4U)
#define MCAN_NDAT1_ND4                                 (0x00000010UL)
#define MCAN_NDAT1_ND5_POS                             (5U)
#define MCAN_NDAT1_ND5                                 (0x00000020UL)
#define MCAN_NDAT1_ND6_POS                             (6U)
#define MCAN_NDAT1_ND6                                 (0x00000040UL)
#define MCAN_NDAT1_ND7_POS                             (7U)
#define MCAN_NDAT1_ND7                                 (0x00000080UL)
#define MCAN_NDAT1_ND8_POS                             (8U)
#define MCAN_NDAT1_ND8                                 (0x00000100UL)
#define MCAN_NDAT1_ND9_POS                             (9U)
#define MCAN_NDAT1_ND9                                 (0x00000200UL)
#define MCAN_NDAT1_ND10_POS                            (10U)
#define MCAN_NDAT1_ND10                                (0x00000400UL)
#define MCAN_NDAT1_ND11_POS                            (11U)
#define MCAN_NDAT1_ND11                                (0x00000800UL)
#define MCAN_NDAT1_ND12_POS                            (12U)
#define MCAN_NDAT1_ND12                                (0x00001000UL)
#define MCAN_NDAT1_ND13_POS                            (13U)
#define MCAN_NDAT1_ND13                                (0x00002000UL)
#define MCAN_NDAT1_ND14_POS                            (14U)
#define MCAN_NDAT1_ND14                                (0x00004000UL)
#define MCAN_NDAT1_ND15_POS                            (15U)
#define MCAN_NDAT1_ND15                                (0x00008000UL)
#define MCAN_NDAT1_ND16_POS                            (16U)
#define MCAN_NDAT1_ND16                                (0x00010000UL)
#define MCAN_NDAT1_ND17_POS                            (17U)
#define MCAN_NDAT1_ND17                                (0x00020000UL)
#define MCAN_NDAT1_ND18_POS                            (18U)
#define MCAN_NDAT1_ND18                                (0x00040000UL)
#define MCAN_NDAT1_ND19_POS                            (19U)
#define MCAN_NDAT1_ND19                                (0x00080000UL)
#define MCAN_NDAT1_ND20_POS                            (20U)
#define MCAN_NDAT1_ND20                                (0x00100000UL)
#define MCAN_NDAT1_ND21_POS                            (21U)
#define MCAN_NDAT1_ND21                                (0x00200000UL)
#define MCAN_NDAT1_ND22_POS                            (22U)
#define MCAN_NDAT1_ND22                                (0x00400000UL)
#define MCAN_NDAT1_ND23_POS                            (23U)
#define MCAN_NDAT1_ND23                                (0x00800000UL)
#define MCAN_NDAT1_ND24_POS                            (24U)
#define MCAN_NDAT1_ND24                                (0x01000000UL)
#define MCAN_NDAT1_ND25_POS                            (25U)
#define MCAN_NDAT1_ND25                                (0x02000000UL)
#define MCAN_NDAT1_ND26_POS                            (26U)
#define MCAN_NDAT1_ND26                                (0x04000000UL)
#define MCAN_NDAT1_ND27_POS                            (27U)
#define MCAN_NDAT1_ND27                                (0x08000000UL)
#define MCAN_NDAT1_ND28_POS                            (28U)
#define MCAN_NDAT1_ND28                                (0x10000000UL)
#define MCAN_NDAT1_ND29_POS                            (29U)
#define MCAN_NDAT1_ND29                                (0x20000000UL)
#define MCAN_NDAT1_ND30_POS                            (30U)
#define MCAN_NDAT1_ND30                                (0x40000000UL)
#define MCAN_NDAT1_ND31_POS                            (31U)
#define MCAN_NDAT1_ND31                                (0x80000000UL)

/*  Bit definition for MCAN_NDAT2 register  */
#define MCAN_NDAT2_ND32_POS                            (0U)
#define MCAN_NDAT2_ND32                                (0x00000001UL)
#define MCAN_NDAT2_ND33_POS                            (1U)
#define MCAN_NDAT2_ND33                                (0x00000002UL)
#define MCAN_NDAT2_ND34_POS                            (2U)
#define MCAN_NDAT2_ND34                                (0x00000004UL)
#define MCAN_NDAT2_ND35_POS                            (3U)
#define MCAN_NDAT2_ND35                                (0x00000008UL)
#define MCAN_NDAT2_ND36_POS                            (4U)
#define MCAN_NDAT2_ND36                                (0x00000010UL)
#define MCAN_NDAT2_ND37_POS                            (5U)
#define MCAN_NDAT2_ND37                                (0x00000020UL)
#define MCAN_NDAT2_ND38_POS                            (6U)
#define MCAN_NDAT2_ND38                                (0x00000040UL)
#define MCAN_NDAT2_ND39_POS                            (7U)
#define MCAN_NDAT2_ND39                                (0x00000080UL)
#define MCAN_NDAT2_ND40_POS                            (8U)
#define MCAN_NDAT2_ND40                                (0x00000100UL)
#define MCAN_NDAT2_ND41_POS                            (9U)
#define MCAN_NDAT2_ND41                                (0x00000200UL)
#define MCAN_NDAT2_ND42_POS                            (10U)
#define MCAN_NDAT2_ND42                                (0x00000400UL)
#define MCAN_NDAT2_ND43_POS                            (11U)
#define MCAN_NDAT2_ND43                                (0x00000800UL)
#define MCAN_NDAT2_ND44_POS                            (12U)
#define MCAN_NDAT2_ND44                                (0x00001000UL)
#define MCAN_NDAT2_ND45_POS                            (13U)
#define MCAN_NDAT2_ND45                                (0x00002000UL)
#define MCAN_NDAT2_ND46_POS                            (14U)
#define MCAN_NDAT2_ND46                                (0x00004000UL)
#define MCAN_NDAT2_ND47_POS                            (15U)
#define MCAN_NDAT2_ND47                                (0x00008000UL)
#define MCAN_NDAT2_ND48_POS                            (16U)
#define MCAN_NDAT2_ND48                                (0x00010000UL)
#define MCAN_NDAT2_ND49_POS                            (17U)
#define MCAN_NDAT2_ND49                                (0x00020000UL)
#define MCAN_NDAT2_ND50_POS                            (18U)
#define MCAN_NDAT2_ND50                                (0x00040000UL)
#define MCAN_NDAT2_ND51_POS                            (19U)
#define MCAN_NDAT2_ND51                                (0x00080000UL)
#define MCAN_NDAT2_ND52_POS                            (20U)
#define MCAN_NDAT2_ND52                                (0x00100000UL)
#define MCAN_NDAT2_ND53_POS                            (21U)
#define MCAN_NDAT2_ND53                                (0x00200000UL)
#define MCAN_NDAT2_ND54_POS                            (22U)
#define MCAN_NDAT2_ND54                                (0x00400000UL)
#define MCAN_NDAT2_ND55_POS                            (23U)
#define MCAN_NDAT2_ND55                                (0x00800000UL)
#define MCAN_NDAT2_ND56_POS                            (24U)
#define MCAN_NDAT2_ND56                                (0x01000000UL)
#define MCAN_NDAT2_ND57_POS                            (25U)
#define MCAN_NDAT2_ND57                                (0x02000000UL)
#define MCAN_NDAT2_ND58_POS                            (26U)
#define MCAN_NDAT2_ND58                                (0x04000000UL)
#define MCAN_NDAT2_ND59_POS                            (27U)
#define MCAN_NDAT2_ND59                                (0x08000000UL)
#define MCAN_NDAT2_ND60_POS                            (28U)
#define MCAN_NDAT2_ND60                                (0x10000000UL)
#define MCAN_NDAT2_ND61_POS                            (29U)
#define MCAN_NDAT2_ND61                                (0x20000000UL)
#define MCAN_NDAT2_ND62_POS                            (30U)
#define MCAN_NDAT2_ND62                                (0x40000000UL)
#define MCAN_NDAT2_ND63_POS                            (31U)
#define MCAN_NDAT2_ND63                                (0x80000000UL)

/*  Bit definition for MCAN_RXF0C register  */
#define MCAN_RXF0C_F0SA_POS                            (2U)
#define MCAN_RXF0C_F0SA                                (0x0000FFFCUL)
#define MCAN_RXF0C_F0S_POS                             (16U)
#define MCAN_RXF0C_F0S                                 (0x007F0000UL)
#define MCAN_RXF0C_F0WM_POS                            (24U)
#define MCAN_RXF0C_F0WM                                (0x7F000000UL)
#define MCAN_RXF0C_F0OM_POS                            (31U)
#define MCAN_RXF0C_F0OM                                (0x80000000UL)

/*  Bit definition for MCAN_RXF0S register  */
#define MCAN_RXF0S_F0FL_POS                            (0U)
#define MCAN_RXF0S_F0FL                                (0x0000007FUL)
#define MCAN_RXF0S_F0GI_POS                            (8U)
#define MCAN_RXF0S_F0GI                                (0x00003F00UL)
#define MCAN_RXF0S_F0PI_POS                            (16U)
#define MCAN_RXF0S_F0PI                                (0x003F0000UL)
#define MCAN_RXF0S_F0F_POS                             (24U)
#define MCAN_RXF0S_F0F                                 (0x01000000UL)
#define MCAN_RXF0S_RF0L_POS                            (25U)
#define MCAN_RXF0S_RF0L                                (0x02000000UL)

/*  Bit definition for MCAN_RXF0A register  */
#define MCAN_RXF0A_F0AI                                (0x0000003FUL)

/*  Bit definition for MCAN_RXBC register  */
#define MCAN_RXBC_RBSA_POS                             (2U)
#define MCAN_RXBC_RBSA                                 (0x0000FFFCUL)

/*  Bit definition for MCAN_RXF1C register  */
#define MCAN_RXF1C_F1SA_POS                            (2U)
#define MCAN_RXF1C_F1SA                                (0x0000FFFCUL)
#define MCAN_RXF1C_F1S_POS                             (16U)
#define MCAN_RXF1C_F1S                                 (0x007F0000UL)
#define MCAN_RXF1C_F1WM_POS                            (24U)
#define MCAN_RXF1C_F1WM                                (0x7F000000UL)
#define MCAN_RXF1C_F1OM_POS                            (31U)
#define MCAN_RXF1C_F1OM                                (0x80000000UL)

/*  Bit definition for MCAN_RXF1S register  */
#define MCAN_RXF1S_F1FL_POS                            (0U)
#define MCAN_RXF1S_F1FL                                (0x0000007FUL)
#define MCAN_RXF1S_F1GI_POS                            (8U)
#define MCAN_RXF1S_F1GI                                (0x00003F00UL)
#define MCAN_RXF1S_F1PI_POS                            (16U)
#define MCAN_RXF1S_F1PI                                (0x003F0000UL)
#define MCAN_RXF1S_F1F_POS                             (24U)
#define MCAN_RXF1S_F1F                                 (0x01000000UL)
#define MCAN_RXF1S_RF1L_POS                            (25U)
#define MCAN_RXF1S_RF1L                                (0x02000000UL)
#define MCAN_RXF1S_DMS_POS                             (30U)
#define MCAN_RXF1S_DMS                                 (0xC0000000UL)
#define MCAN_RXF1S_DMS_0                               (0x40000000UL)
#define MCAN_RXF1S_DMS_1                               (0x80000000UL)

/*  Bit definition for MCAN_RXF1A register  */
#define MCAN_RXF1A_F1AI                                (0x0000003FUL)

/*  Bit definition for MCAN_RXESC register  */
#define MCAN_RXESC_F0DS_POS                            (0U)
#define MCAN_RXESC_F0DS                                (0x00000007UL)
#define MCAN_RXESC_F1DS_POS                            (4U)
#define MCAN_RXESC_F1DS                                (0x00000070UL)
#define MCAN_RXESC_RBDS_POS                            (8U)
#define MCAN_RXESC_RBDS                                (0x00000700UL)

/*  Bit definition for MCAN_TXBC register  */
#define MCAN_TXBC_TBSA_POS                             (2U)
#define MCAN_TXBC_TBSA                                 (0x0000FFFCUL)
#define MCAN_TXBC_NDTB_POS                             (16U)
#define MCAN_TXBC_NDTB                                 (0x003F0000UL)
#define MCAN_TXBC_TFQS_POS                             (24U)
#define MCAN_TXBC_TFQS                                 (0x3F000000UL)
#define MCAN_TXBC_TFQM_POS                             (30U)
#define MCAN_TXBC_TFQM                                 (0x40000000UL)

/*  Bit definition for MCAN_TXFQS register  */
#define MCAN_TXFQS_TFFL_POS                            (0U)
#define MCAN_TXFQS_TFFL                                (0x0000003FUL)
#define MCAN_TXFQS_TFGI_POS                            (8U)
#define MCAN_TXFQS_TFGI                                (0x00001F00UL)
#define MCAN_TXFQS_TFQPI_POS                           (16U)
#define MCAN_TXFQS_TFQPI                               (0x001F0000UL)
#define MCAN_TXFQS_TFQF_POS                            (21U)
#define MCAN_TXFQS_TFQF                                (0x00200000UL)

/*  Bit definition for MCAN_TXESC register  */
#define MCAN_TXESC_TBDS                                (0x00000007UL)

/*  Bit definition for MCAN_TXBRP register  */
#define MCAN_TXBRP_TRP0_POS                            (0U)
#define MCAN_TXBRP_TRP0                                (0x00000001UL)
#define MCAN_TXBRP_TRP1_POS                            (1U)
#define MCAN_TXBRP_TRP1                                (0x00000002UL)
#define MCAN_TXBRP_TRP2_POS                            (2U)
#define MCAN_TXBRP_TRP2                                (0x00000004UL)
#define MCAN_TXBRP_TRP3_POS                            (3U)
#define MCAN_TXBRP_TRP3                                (0x00000008UL)
#define MCAN_TXBRP_TRP4_POS                            (4U)
#define MCAN_TXBRP_TRP4                                (0x00000010UL)
#define MCAN_TXBRP_TRP5_POS                            (5U)
#define MCAN_TXBRP_TRP5                                (0x00000020UL)
#define MCAN_TXBRP_TRP6_POS                            (6U)
#define MCAN_TXBRP_TRP6                                (0x00000040UL)
#define MCAN_TXBRP_TRP7_POS                            (7U)
#define MCAN_TXBRP_TRP7                                (0x00000080UL)
#define MCAN_TXBRP_TRP8_POS                            (8U)
#define MCAN_TXBRP_TRP8                                (0x00000100UL)
#define MCAN_TXBRP_TRP9_POS                            (9U)
#define MCAN_TXBRP_TRP9                                (0x00000200UL)
#define MCAN_TXBRP_TRP10_POS                           (10U)
#define MCAN_TXBRP_TRP10                               (0x00000400UL)
#define MCAN_TXBRP_TRP11_POS                           (11U)
#define MCAN_TXBRP_TRP11                               (0x00000800UL)
#define MCAN_TXBRP_TRP12_POS                           (12U)
#define MCAN_TXBRP_TRP12                               (0x00001000UL)
#define MCAN_TXBRP_TRP13_POS                           (13U)
#define MCAN_TXBRP_TRP13                               (0x00002000UL)
#define MCAN_TXBRP_TRP14_POS                           (14U)
#define MCAN_TXBRP_TRP14                               (0x00004000UL)
#define MCAN_TXBRP_TRP15_POS                           (15U)
#define MCAN_TXBRP_TRP15                               (0x00008000UL)
#define MCAN_TXBRP_TRP16_POS                           (16U)
#define MCAN_TXBRP_TRP16                               (0x00010000UL)
#define MCAN_TXBRP_TRP17_POS                           (17U)
#define MCAN_TXBRP_TRP17                               (0x00020000UL)
#define MCAN_TXBRP_TRP18_POS                           (18U)
#define MCAN_TXBRP_TRP18                               (0x00040000UL)
#define MCAN_TXBRP_TRP19_POS                           (19U)
#define MCAN_TXBRP_TRP19                               (0x00080000UL)
#define MCAN_TXBRP_TRP20_POS                           (20U)
#define MCAN_TXBRP_TRP20                               (0x00100000UL)
#define MCAN_TXBRP_TRP21_POS                           (21U)
#define MCAN_TXBRP_TRP21                               (0x00200000UL)
#define MCAN_TXBRP_TRP22_POS                           (22U)
#define MCAN_TXBRP_TRP22                               (0x00400000UL)
#define MCAN_TXBRP_TRP23_POS                           (23U)
#define MCAN_TXBRP_TRP23                               (0x00800000UL)
#define MCAN_TXBRP_TRP24_POS                           (24U)
#define MCAN_TXBRP_TRP24                               (0x01000000UL)
#define MCAN_TXBRP_TRP25_POS                           (25U)
#define MCAN_TXBRP_TRP25                               (0x02000000UL)
#define MCAN_TXBRP_TRP26_POS                           (26U)
#define MCAN_TXBRP_TRP26                               (0x04000000UL)
#define MCAN_TXBRP_TRP27_POS                           (27U)
#define MCAN_TXBRP_TRP27                               (0x08000000UL)
#define MCAN_TXBRP_TRP28_POS                           (28U)
#define MCAN_TXBRP_TRP28                               (0x10000000UL)
#define MCAN_TXBRP_TRP29_POS                           (29U)
#define MCAN_TXBRP_TRP29                               (0x20000000UL)
#define MCAN_TXBRP_TRP30_POS                           (30U)
#define MCAN_TXBRP_TRP30                               (0x40000000UL)
#define MCAN_TXBRP_TRP31_POS                           (31U)
#define MCAN_TXBRP_TRP31                               (0x80000000UL)

/*  Bit definition for MCAN_TXBAR register  */
#define MCAN_TXBAR_AR0_POS                             (0U)
#define MCAN_TXBAR_AR0                                 (0x00000001UL)
#define MCAN_TXBAR_AR1_POS                             (1U)
#define MCAN_TXBAR_AR1                                 (0x00000002UL)
#define MCAN_TXBAR_AR2_POS                             (2U)
#define MCAN_TXBAR_AR2                                 (0x00000004UL)
#define MCAN_TXBAR_AR3_POS                             (3U)
#define MCAN_TXBAR_AR3                                 (0x00000008UL)
#define MCAN_TXBAR_AR4_POS                             (4U)
#define MCAN_TXBAR_AR4                                 (0x00000010UL)
#define MCAN_TXBAR_AR5_POS                             (5U)
#define MCAN_TXBAR_AR5                                 (0x00000020UL)
#define MCAN_TXBAR_AR6_POS                             (6U)
#define MCAN_TXBAR_AR6                                 (0x00000040UL)
#define MCAN_TXBAR_AR7_POS                             (7U)
#define MCAN_TXBAR_AR7                                 (0x00000080UL)
#define MCAN_TXBAR_AR8_POS                             (8U)
#define MCAN_TXBAR_AR8                                 (0x00000100UL)
#define MCAN_TXBAR_AR9_POS                             (9U)
#define MCAN_TXBAR_AR9                                 (0x00000200UL)
#define MCAN_TXBAR_AR10_POS                            (10U)
#define MCAN_TXBAR_AR10                                (0x00000400UL)
#define MCAN_TXBAR_AR11_POS                            (11U)
#define MCAN_TXBAR_AR11                                (0x00000800UL)
#define MCAN_TXBAR_AR12_POS                            (12U)
#define MCAN_TXBAR_AR12                                (0x00001000UL)
#define MCAN_TXBAR_AR13_POS                            (13U)
#define MCAN_TXBAR_AR13                                (0x00002000UL)
#define MCAN_TXBAR_AR14_POS                            (14U)
#define MCAN_TXBAR_AR14                                (0x00004000UL)
#define MCAN_TXBAR_AR15_POS                            (15U)
#define MCAN_TXBAR_AR15                                (0x00008000UL)
#define MCAN_TXBAR_AR16_POS                            (16U)
#define MCAN_TXBAR_AR16                                (0x00010000UL)
#define MCAN_TXBAR_AR17_POS                            (17U)
#define MCAN_TXBAR_AR17                                (0x00020000UL)
#define MCAN_TXBAR_AR18_POS                            (18U)
#define MCAN_TXBAR_AR18                                (0x00040000UL)
#define MCAN_TXBAR_AR19_POS                            (19U)
#define MCAN_TXBAR_AR19                                (0x00080000UL)
#define MCAN_TXBAR_AR20_POS                            (20U)
#define MCAN_TXBAR_AR20                                (0x00100000UL)
#define MCAN_TXBAR_AR21_POS                            (21U)
#define MCAN_TXBAR_AR21                                (0x00200000UL)
#define MCAN_TXBAR_AR22_POS                            (22U)
#define MCAN_TXBAR_AR22                                (0x00400000UL)
#define MCAN_TXBAR_AR23_POS                            (23U)
#define MCAN_TXBAR_AR23                                (0x00800000UL)
#define MCAN_TXBAR_AR24_POS                            (24U)
#define MCAN_TXBAR_AR24                                (0x01000000UL)
#define MCAN_TXBAR_AR25_POS                            (25U)
#define MCAN_TXBAR_AR25                                (0x02000000UL)
#define MCAN_TXBAR_AR26_POS                            (26U)
#define MCAN_TXBAR_AR26                                (0x04000000UL)
#define MCAN_TXBAR_AR27_POS                            (27U)
#define MCAN_TXBAR_AR27                                (0x08000000UL)
#define MCAN_TXBAR_AR28_POS                            (28U)
#define MCAN_TXBAR_AR28                                (0x10000000UL)
#define MCAN_TXBAR_AR29_POS                            (29U)
#define MCAN_TXBAR_AR29                                (0x20000000UL)
#define MCAN_TXBAR_AR30_POS                            (30U)
#define MCAN_TXBAR_AR30                                (0x40000000UL)
#define MCAN_TXBAR_AR31_POS                            (31U)
#define MCAN_TXBAR_AR31                                (0x80000000UL)

/*  Bit definition for MCAN_TXBCR register  */
#define MCAN_TXBCR_CR0_POS                             (0U)
#define MCAN_TXBCR_CR0                                 (0x00000001UL)
#define MCAN_TXBCR_CR1_POS                             (1U)
#define MCAN_TXBCR_CR1                                 (0x00000002UL)
#define MCAN_TXBCR_CR2_POS                             (2U)
#define MCAN_TXBCR_CR2                                 (0x00000004UL)
#define MCAN_TXBCR_CR3_POS                             (3U)
#define MCAN_TXBCR_CR3                                 (0x00000008UL)
#define MCAN_TXBCR_CR4_POS                             (4U)
#define MCAN_TXBCR_CR4                                 (0x00000010UL)
#define MCAN_TXBCR_CR5_POS                             (5U)
#define MCAN_TXBCR_CR5                                 (0x00000020UL)
#define MCAN_TXBCR_CR6_POS                             (6U)
#define MCAN_TXBCR_CR6                                 (0x00000040UL)
#define MCAN_TXBCR_CR7_POS                             (7U)
#define MCAN_TXBCR_CR7                                 (0x00000080UL)
#define MCAN_TXBCR_CR8_POS                             (8U)
#define MCAN_TXBCR_CR8                                 (0x00000100UL)
#define MCAN_TXBCR_CR9_POS                             (9U)
#define MCAN_TXBCR_CR9                                 (0x00000200UL)
#define MCAN_TXBCR_CR10_POS                            (10U)
#define MCAN_TXBCR_CR10                                (0x00000400UL)
#define MCAN_TXBCR_CR11_POS                            (11U)
#define MCAN_TXBCR_CR11                                (0x00000800UL)
#define MCAN_TXBCR_CR12_POS                            (12U)
#define MCAN_TXBCR_CR12                                (0x00001000UL)
#define MCAN_TXBCR_CR13_POS                            (13U)
#define MCAN_TXBCR_CR13                                (0x00002000UL)
#define MCAN_TXBCR_CR14_POS                            (14U)
#define MCAN_TXBCR_CR14                                (0x00004000UL)
#define MCAN_TXBCR_CR15_POS                            (15U)
#define MCAN_TXBCR_CR15                                (0x00008000UL)
#define MCAN_TXBCR_CR16_POS                            (16U)
#define MCAN_TXBCR_CR16                                (0x00010000UL)
#define MCAN_TXBCR_CR17_POS                            (17U)
#define MCAN_TXBCR_CR17                                (0x00020000UL)
#define MCAN_TXBCR_CR18_POS                            (18U)
#define MCAN_TXBCR_CR18                                (0x00040000UL)
#define MCAN_TXBCR_CR19_POS                            (19U)
#define MCAN_TXBCR_CR19                                (0x00080000UL)
#define MCAN_TXBCR_CR20_POS                            (20U)
#define MCAN_TXBCR_CR20                                (0x00100000UL)
#define MCAN_TXBCR_CR21_POS                            (21U)
#define MCAN_TXBCR_CR21                                (0x00200000UL)
#define MCAN_TXBCR_CR22_POS                            (22U)
#define MCAN_TXBCR_CR22                                (0x00400000UL)
#define MCAN_TXBCR_CR23_POS                            (23U)
#define MCAN_TXBCR_CR23                                (0x00800000UL)
#define MCAN_TXBCR_CR24_POS                            (24U)
#define MCAN_TXBCR_CR24                                (0x01000000UL)
#define MCAN_TXBCR_CR25_POS                            (25U)
#define MCAN_TXBCR_CR25                                (0x02000000UL)
#define MCAN_TXBCR_CR26_POS                            (26U)
#define MCAN_TXBCR_CR26                                (0x04000000UL)
#define MCAN_TXBCR_CR27_POS                            (27U)
#define MCAN_TXBCR_CR27                                (0x08000000UL)
#define MCAN_TXBCR_CR28_POS                            (28U)
#define MCAN_TXBCR_CR28                                (0x10000000UL)
#define MCAN_TXBCR_CR29_POS                            (29U)
#define MCAN_TXBCR_CR29                                (0x20000000UL)
#define MCAN_TXBCR_CR30_POS                            (30U)
#define MCAN_TXBCR_CR30                                (0x40000000UL)
#define MCAN_TXBCR_CR31_POS                            (31U)
#define MCAN_TXBCR_CR31                                (0x80000000UL)

/*  Bit definition for MCAN_TXBTO register  */
#define MCAN_TXBTO_TO0_POS                             (0U)
#define MCAN_TXBTO_TO0                                 (0x00000001UL)
#define MCAN_TXBTO_TO1_POS                             (1U)
#define MCAN_TXBTO_TO1                                 (0x00000002UL)
#define MCAN_TXBTO_TO2_POS                             (2U)
#define MCAN_TXBTO_TO2                                 (0x00000004UL)
#define MCAN_TXBTO_TO3_POS                             (3U)
#define MCAN_TXBTO_TO3                                 (0x00000008UL)
#define MCAN_TXBTO_TO4_POS                             (4U)
#define MCAN_TXBTO_TO4                                 (0x00000010UL)
#define MCAN_TXBTO_TO5_POS                             (5U)
#define MCAN_TXBTO_TO5                                 (0x00000020UL)
#define MCAN_TXBTO_TO6_POS                             (6U)
#define MCAN_TXBTO_TO6                                 (0x00000040UL)
#define MCAN_TXBTO_TO7_POS                             (7U)
#define MCAN_TXBTO_TO7                                 (0x00000080UL)
#define MCAN_TXBTO_TO8_POS                             (8U)
#define MCAN_TXBTO_TO8                                 (0x00000100UL)
#define MCAN_TXBTO_TO9_POS                             (9U)
#define MCAN_TXBTO_TO9                                 (0x00000200UL)
#define MCAN_TXBTO_TO10_POS                            (10U)
#define MCAN_TXBTO_TO10                                (0x00000400UL)
#define MCAN_TXBTO_TO11_POS                            (11U)
#define MCAN_TXBTO_TO11                                (0x00000800UL)
#define MCAN_TXBTO_TO12_POS                            (12U)
#define MCAN_TXBTO_TO12                                (0x00001000UL)
#define MCAN_TXBTO_TO13_POS                            (13U)
#define MCAN_TXBTO_TO13                                (0x00002000UL)
#define MCAN_TXBTO_TO14_POS                            (14U)
#define MCAN_TXBTO_TO14                                (0x00004000UL)
#define MCAN_TXBTO_TO15_POS                            (15U)
#define MCAN_TXBTO_TO15                                (0x00008000UL)
#define MCAN_TXBTO_TO16_POS                            (16U)
#define MCAN_TXBTO_TO16                                (0x00010000UL)
#define MCAN_TXBTO_TO17_POS                            (17U)
#define MCAN_TXBTO_TO17                                (0x00020000UL)
#define MCAN_TXBTO_TO18_POS                            (18U)
#define MCAN_TXBTO_TO18                                (0x00040000UL)
#define MCAN_TXBTO_TO19_POS                            (19U)
#define MCAN_TXBTO_TO19                                (0x00080000UL)
#define MCAN_TXBTO_TO20_POS                            (20U)
#define MCAN_TXBTO_TO20                                (0x00100000UL)
#define MCAN_TXBTO_TO21_POS                            (21U)
#define MCAN_TXBTO_TO21                                (0x00200000UL)
#define MCAN_TXBTO_TO22_POS                            (22U)
#define MCAN_TXBTO_TO22                                (0x00400000UL)
#define MCAN_TXBTO_TO23_POS                            (23U)
#define MCAN_TXBTO_TO23                                (0x00800000UL)
#define MCAN_TXBTO_TO24_POS                            (24U)
#define MCAN_TXBTO_TO24                                (0x01000000UL)
#define MCAN_TXBTO_TO25_POS                            (25U)
#define MCAN_TXBTO_TO25                                (0x02000000UL)
#define MCAN_TXBTO_TO26_POS                            (26U)
#define MCAN_TXBTO_TO26                                (0x04000000UL)
#define MCAN_TXBTO_TO27_POS                            (27U)
#define MCAN_TXBTO_TO27                                (0x08000000UL)
#define MCAN_TXBTO_TO28_POS                            (28U)
#define MCAN_TXBTO_TO28                                (0x10000000UL)
#define MCAN_TXBTO_TO29_POS                            (29U)
#define MCAN_TXBTO_TO29                                (0x20000000UL)
#define MCAN_TXBTO_TO30_POS                            (30U)
#define MCAN_TXBTO_TO30                                (0x40000000UL)
#define MCAN_TXBTO_TO31_POS                            (31U)
#define MCAN_TXBTO_TO31                                (0x80000000UL)

/*  Bit definition for MCAN_TXBCF register  */
#define MCAN_TXBCF_CF0_POS                             (0U)
#define MCAN_TXBCF_CF0                                 (0x00000001UL)
#define MCAN_TXBCF_CF1_POS                             (1U)
#define MCAN_TXBCF_CF1                                 (0x00000002UL)
#define MCAN_TXBCF_CF2_POS                             (2U)
#define MCAN_TXBCF_CF2                                 (0x00000004UL)
#define MCAN_TXBCF_CF3_POS                             (3U)
#define MCAN_TXBCF_CF3                                 (0x00000008UL)
#define MCAN_TXBCF_CF4_POS                             (4U)
#define MCAN_TXBCF_CF4                                 (0x00000010UL)
#define MCAN_TXBCF_CF5_POS                             (5U)
#define MCAN_TXBCF_CF5                                 (0x00000020UL)
#define MCAN_TXBCF_CF6_POS                             (6U)
#define MCAN_TXBCF_CF6                                 (0x00000040UL)
#define MCAN_TXBCF_CF7_POS                             (7U)
#define MCAN_TXBCF_CF7                                 (0x00000080UL)
#define MCAN_TXBCF_CF8_POS                             (8U)
#define MCAN_TXBCF_CF8                                 (0x00000100UL)
#define MCAN_TXBCF_CF9_POS                             (9U)
#define MCAN_TXBCF_CF9                                 (0x00000200UL)
#define MCAN_TXBCF_CF10_POS                            (10U)
#define MCAN_TXBCF_CF10                                (0x00000400UL)
#define MCAN_TXBCF_CF11_POS                            (11U)
#define MCAN_TXBCF_CF11                                (0x00000800UL)
#define MCAN_TXBCF_CF12_POS                            (12U)
#define MCAN_TXBCF_CF12                                (0x00001000UL)
#define MCAN_TXBCF_CF13_POS                            (13U)
#define MCAN_TXBCF_CF13                                (0x00002000UL)
#define MCAN_TXBCF_CF14_POS                            (14U)
#define MCAN_TXBCF_CF14                                (0x00004000UL)
#define MCAN_TXBCF_CF15_POS                            (15U)
#define MCAN_TXBCF_CF15                                (0x00008000UL)
#define MCAN_TXBCF_CF16_POS                            (16U)
#define MCAN_TXBCF_CF16                                (0x00010000UL)
#define MCAN_TXBCF_CF17_POS                            (17U)
#define MCAN_TXBCF_CF17                                (0x00020000UL)
#define MCAN_TXBCF_CF18_POS                            (18U)
#define MCAN_TXBCF_CF18                                (0x00040000UL)
#define MCAN_TXBCF_CF19_POS                            (19U)
#define MCAN_TXBCF_CF19                                (0x00080000UL)
#define MCAN_TXBCF_CF20_POS                            (20U)
#define MCAN_TXBCF_CF20                                (0x00100000UL)
#define MCAN_TXBCF_CF21_POS                            (21U)
#define MCAN_TXBCF_CF21                                (0x00200000UL)
#define MCAN_TXBCF_CF22_POS                            (22U)
#define MCAN_TXBCF_CF22                                (0x00400000UL)
#define MCAN_TXBCF_CF23_POS                            (23U)
#define MCAN_TXBCF_CF23                                (0x00800000UL)
#define MCAN_TXBCF_CF24_POS                            (24U)
#define MCAN_TXBCF_CF24                                (0x01000000UL)
#define MCAN_TXBCF_CF25_POS                            (25U)
#define MCAN_TXBCF_CF25                                (0x02000000UL)
#define MCAN_TXBCF_CF26_POS                            (26U)
#define MCAN_TXBCF_CF26                                (0x04000000UL)
#define MCAN_TXBCF_CF27_POS                            (27U)
#define MCAN_TXBCF_CF27                                (0x08000000UL)
#define MCAN_TXBCF_CF28_POS                            (28U)
#define MCAN_TXBCF_CF28                                (0x10000000UL)
#define MCAN_TXBCF_CF29_POS                            (29U)
#define MCAN_TXBCF_CF29                                (0x20000000UL)
#define MCAN_TXBCF_CF30_POS                            (30U)
#define MCAN_TXBCF_CF30                                (0x40000000UL)
#define MCAN_TXBCF_CF31_POS                            (31U)
#define MCAN_TXBCF_CF31                                (0x80000000UL)

/*  Bit definition for MCAN_TXBTIE register  */
#define MCAN_TXBTIE_TIE0_POS                           (0U)
#define MCAN_TXBTIE_TIE0                               (0x00000001UL)
#define MCAN_TXBTIE_TIE1_POS                           (1U)
#define MCAN_TXBTIE_TIE1                               (0x00000002UL)
#define MCAN_TXBTIE_TIE2_POS                           (2U)
#define MCAN_TXBTIE_TIE2                               (0x00000004UL)
#define MCAN_TXBTIE_TIE3_POS                           (3U)
#define MCAN_TXBTIE_TIE3                               (0x00000008UL)
#define MCAN_TXBTIE_TIE4_POS                           (4U)
#define MCAN_TXBTIE_TIE4                               (0x00000010UL)
#define MCAN_TXBTIE_TIE5_POS                           (5U)
#define MCAN_TXBTIE_TIE5                               (0x00000020UL)
#define MCAN_TXBTIE_TIE6_POS                           (6U)
#define MCAN_TXBTIE_TIE6                               (0x00000040UL)
#define MCAN_TXBTIE_TIE7_POS                           (7U)
#define MCAN_TXBTIE_TIE7                               (0x00000080UL)
#define MCAN_TXBTIE_TIE8_POS                           (8U)
#define MCAN_TXBTIE_TIE8                               (0x00000100UL)
#define MCAN_TXBTIE_TIE9_POS                           (9U)
#define MCAN_TXBTIE_TIE9                               (0x00000200UL)
#define MCAN_TXBTIE_TIE10_POS                          (10U)
#define MCAN_TXBTIE_TIE10                              (0x00000400UL)
#define MCAN_TXBTIE_TIE11_POS                          (11U)
#define MCAN_TXBTIE_TIE11                              (0x00000800UL)
#define MCAN_TXBTIE_TIE12_POS                          (12U)
#define MCAN_TXBTIE_TIE12                              (0x00001000UL)
#define MCAN_TXBTIE_TIE13_POS                          (13U)
#define MCAN_TXBTIE_TIE13                              (0x00002000UL)
#define MCAN_TXBTIE_TIE14_POS                          (14U)
#define MCAN_TXBTIE_TIE14                              (0x00004000UL)
#define MCAN_TXBTIE_TIE15_POS                          (15U)
#define MCAN_TXBTIE_TIE15                              (0x00008000UL)
#define MCAN_TXBTIE_TIE16_POS                          (16U)
#define MCAN_TXBTIE_TIE16                              (0x00010000UL)
#define MCAN_TXBTIE_TIE17_POS                          (17U)
#define MCAN_TXBTIE_TIE17                              (0x00020000UL)
#define MCAN_TXBTIE_TIE18_POS                          (18U)
#define MCAN_TXBTIE_TIE18                              (0x00040000UL)
#define MCAN_TXBTIE_TIE19_POS                          (19U)
#define MCAN_TXBTIE_TIE19                              (0x00080000UL)
#define MCAN_TXBTIE_TIE20_POS                          (20U)
#define MCAN_TXBTIE_TIE20                              (0x00100000UL)
#define MCAN_TXBTIE_TIE21_POS                          (21U)
#define MCAN_TXBTIE_TIE21                              (0x00200000UL)
#define MCAN_TXBTIE_TIE22_POS                          (22U)
#define MCAN_TXBTIE_TIE22                              (0x00400000UL)
#define MCAN_TXBTIE_TIE23_POS                          (23U)
#define MCAN_TXBTIE_TIE23                              (0x00800000UL)
#define MCAN_TXBTIE_TIE24_POS                          (24U)
#define MCAN_TXBTIE_TIE24                              (0x01000000UL)
#define MCAN_TXBTIE_TIE25_POS                          (25U)
#define MCAN_TXBTIE_TIE25                              (0x02000000UL)
#define MCAN_TXBTIE_TIE26_POS                          (26U)
#define MCAN_TXBTIE_TIE26                              (0x04000000UL)
#define MCAN_TXBTIE_TIE27_POS                          (27U)
#define MCAN_TXBTIE_TIE27                              (0x08000000UL)
#define MCAN_TXBTIE_TIE28_POS                          (28U)
#define MCAN_TXBTIE_TIE28                              (0x10000000UL)
#define MCAN_TXBTIE_TIE29_POS                          (29U)
#define MCAN_TXBTIE_TIE29                              (0x20000000UL)
#define MCAN_TXBTIE_TIE30_POS                          (30U)
#define MCAN_TXBTIE_TIE30                              (0x40000000UL)
#define MCAN_TXBTIE_TIE31_POS                          (31U)
#define MCAN_TXBTIE_TIE31                              (0x80000000UL)

/*  Bit definition for MCAN_TXBCIE register  */
#define MCAN_TXBCIE_CFIE0_POS                          (0U)
#define MCAN_TXBCIE_CFIE0                              (0x00000001UL)
#define MCAN_TXBCIE_CFIE1_POS                          (1U)
#define MCAN_TXBCIE_CFIE1                              (0x00000002UL)
#define MCAN_TXBCIE_CFIE2_POS                          (2U)
#define MCAN_TXBCIE_CFIE2                              (0x00000004UL)
#define MCAN_TXBCIE_CFIE3_POS                          (3U)
#define MCAN_TXBCIE_CFIE3                              (0x00000008UL)
#define MCAN_TXBCIE_CFIE4_POS                          (4U)
#define MCAN_TXBCIE_CFIE4                              (0x00000010UL)
#define MCAN_TXBCIE_CFIE5_POS                          (5U)
#define MCAN_TXBCIE_CFIE5                              (0x00000020UL)
#define MCAN_TXBCIE_CFIE6_POS                          (6U)
#define MCAN_TXBCIE_CFIE6                              (0x00000040UL)
#define MCAN_TXBCIE_CFIE7_POS                          (7U)
#define MCAN_TXBCIE_CFIE7                              (0x00000080UL)
#define MCAN_TXBCIE_CFIE8_POS                          (8U)
#define MCAN_TXBCIE_CFIE8                              (0x00000100UL)
#define MCAN_TXBCIE_CFIE9_POS                          (9U)
#define MCAN_TXBCIE_CFIE9                              (0x00000200UL)
#define MCAN_TXBCIE_CFIE10_POS                         (10U)
#define MCAN_TXBCIE_CFIE10                             (0x00000400UL)
#define MCAN_TXBCIE_CFIE11_POS                         (11U)
#define MCAN_TXBCIE_CFIE11                             (0x00000800UL)
#define MCAN_TXBCIE_CFIE12_POS                         (12U)
#define MCAN_TXBCIE_CFIE12                             (0x00001000UL)
#define MCAN_TXBCIE_CFIE13_POS                         (13U)
#define MCAN_TXBCIE_CFIE13                             (0x00002000UL)
#define MCAN_TXBCIE_CFIE14_POS                         (14U)
#define MCAN_TXBCIE_CFIE14                             (0x00004000UL)
#define MCAN_TXBCIE_CFIE15_POS                         (15U)
#define MCAN_TXBCIE_CFIE15                             (0x00008000UL)
#define MCAN_TXBCIE_CFIE16_POS                         (16U)
#define MCAN_TXBCIE_CFIE16                             (0x00010000UL)
#define MCAN_TXBCIE_CFIE17_POS                         (17U)
#define MCAN_TXBCIE_CFIE17                             (0x00020000UL)
#define MCAN_TXBCIE_CFIE18_POS                         (18U)
#define MCAN_TXBCIE_CFIE18                             (0x00040000UL)
#define MCAN_TXBCIE_CFIE19_POS                         (19U)
#define MCAN_TXBCIE_CFIE19                             (0x00080000UL)
#define MCAN_TXBCIE_CFIE20_POS                         (20U)
#define MCAN_TXBCIE_CFIE20                             (0x00100000UL)
#define MCAN_TXBCIE_CFIE21_POS                         (21U)
#define MCAN_TXBCIE_CFIE21                             (0x00200000UL)
#define MCAN_TXBCIE_CFIE22_POS                         (22U)
#define MCAN_TXBCIE_CFIE22                             (0x00400000UL)
#define MCAN_TXBCIE_CFIE23_POS                         (23U)
#define MCAN_TXBCIE_CFIE23                             (0x00800000UL)
#define MCAN_TXBCIE_CFIE24_POS                         (24U)
#define MCAN_TXBCIE_CFIE24                             (0x01000000UL)
#define MCAN_TXBCIE_CFIE25_POS                         (25U)
#define MCAN_TXBCIE_CFIE25                             (0x02000000UL)
#define MCAN_TXBCIE_CFIE26_POS                         (26U)
#define MCAN_TXBCIE_CFIE26                             (0x04000000UL)
#define MCAN_TXBCIE_CFIE27_POS                         (27U)
#define MCAN_TXBCIE_CFIE27                             (0x08000000UL)
#define MCAN_TXBCIE_CFIE28_POS                         (28U)
#define MCAN_TXBCIE_CFIE28                             (0x10000000UL)
#define MCAN_TXBCIE_CFIE29_POS                         (29U)
#define MCAN_TXBCIE_CFIE29                             (0x20000000UL)
#define MCAN_TXBCIE_CFIE30_POS                         (30U)
#define MCAN_TXBCIE_CFIE30                             (0x40000000UL)
#define MCAN_TXBCIE_CFIE31_POS                         (31U)
#define MCAN_TXBCIE_CFIE31                             (0x80000000UL)

/*  Bit definition for MCAN_TXEFC register  */
#define MCAN_TXEFC_EFSA_POS                            (2U)
#define MCAN_TXEFC_EFSA                                (0x0000FFFCUL)
#define MCAN_TXEFC_EFS_POS                             (16U)
#define MCAN_TXEFC_EFS                                 (0x003F0000UL)
#define MCAN_TXEFC_EFWM_POS                            (24U)
#define MCAN_TXEFC_EFWM                                (0x3F000000UL)

/*  Bit definition for MCAN_TXEFS register  */
#define MCAN_TXEFS_EFFL_POS                            (0U)
#define MCAN_TXEFS_EFFL                                (0x0000003FUL)
#define MCAN_TXEFS_EFGI_POS                            (8U)
#define MCAN_TXEFS_EFGI                                (0x00001F00UL)
#define MCAN_TXEFS_EFPI_POS                            (16U)
#define MCAN_TXEFS_EFPI                                (0x001F0000UL)
#define MCAN_TXEFS_EFF_POS                             (24U)
#define MCAN_TXEFS_EFF                                 (0x01000000UL)
#define MCAN_TXEFS_TEFL_POS                            (25U)
#define MCAN_TXEFS_TEFL                                (0x02000000UL)

/*  Bit definition for MCAN_TXEFA register  */
#define MCAN_TXEFA_EFAI                                (0x0000001FUL)

/*******************************************************************************
                Bit definition for Peripheral MCANRAM
*******************************************************************************/
/*  Bit definition for MCANRAM_CKCR register  */
#define MCANRAM_CKCR_ECCMOD                            (0x00000003UL)
#define MCANRAM_CKCR_ECCMOD_0                          (0x00000001UL)
#define MCANRAM_CKCR_ECCMOD_1                          (0x00000002UL)

/*  Bit definition for MCANRAM_CKSR register  */
#define MCANRAM_CKSR_RAM_1ERR_POS                      (0U)
#define MCANRAM_CKSR_RAM_1ERR                          (0x00000001UL)
#define MCANRAM_CKSR_RAM_2ERR_POS                      (1U)
#define MCANRAM_CKSR_RAM_2ERR                          (0x00000002UL)

/*  Bit definition for MCANRAM_EIEN register  */
#define MCANRAM_EIEN_EIEN                              (0x00000001UL)

/*  Bit definition for MCANRAM_EIBIT0 register  */
#define MCANRAM_EIBIT0                                 (0xFFFFFFFFUL)

/*  Bit definition for MCANRAM_EIBIT1 register  */
#define MCANRAM_EIBIT1_EIBIT                           (0x0000007FUL)

/*  Bit definition for MCANRAM_ECCERRADDR register  */
#define MCANRAM_ECCERRADDR_ECCERRADDR                  (0x000001FFUL)

/*******************************************************************************
                Bit definition for Peripheral MPU
*******************************************************************************/
/*  Bit definition for MPU_RGD register  */
#define MPU_RGD_MPURGSIZE_POS                          (0U)
#define MPU_RGD_MPURGSIZE                              (0x0000001FUL)
#define MPU_RGD_MPURGADDR_POS                          (5U)
#define MPU_RGD_MPURGADDR                              (0xFFFFFFE0UL)

/*  Bit definition for MPU_SR register  */
#define MPU_SR_SMPU1EAF_POS                            (0U)
#define MPU_SR_SMPU1EAF                                (0x00000001UL)
#define MPU_SR_PSPEF_POS                               (1U)
#define MPU_SR_PSPEF                                   (0x00000002UL)
#define MPU_SR_MSPEF_POS                               (2U)
#define MPU_SR_MSPEF                                   (0x00000004UL)

/*  Bit definition for MPU_ECLR register  */
#define MPU_ECLR_SMPU1ECLR_POS                         (0U)
#define MPU_ECLR_SMPU1ECLR                             (0x00000001UL)
#define MPU_ECLR_PSPECLR_POS                           (1U)
#define MPU_ECLR_PSPECLR                               (0x00000002UL)
#define MPU_ECLR_MSPECLR_POS                           (2U)
#define MPU_ECLR_MSPECLR                               (0x00000004UL)

/*  Bit definition for MPU_WP register  */
#define MPU_WP_MPUWE_POS                               (0U)
#define MPU_WP_MPUWE                                   (0x00000001UL)
#define MPU_WP_WKEY_POS                                (1U)
#define MPU_WP_WKEY                                    (0x0000FFFEUL)

/*  Bit definition for MPU_IPPR register  */
#define MPU_IPPR_CRCRDP_POS                            (6U)
#define MPU_IPPR_CRCRDP                                (0x00000040UL)
#define MPU_IPPR_CRCWRP_POS                            (7U)
#define MPU_IPPR_CRCWRP                                (0x00000080UL)
#define MPU_IPPR_EFMRDP_POS                            (8U)
#define MPU_IPPR_EFMRDP                                (0x00000100UL)
#define MPU_IPPR_EFMWRP_POS                            (9U)
#define MPU_IPPR_EFMWRP                                (0x00000200UL)
#define MPU_IPPR_WDTRDP_POS                            (12U)
#define MPU_IPPR_WDTRDP                                (0x00001000UL)
#define MPU_IPPR_WDTWRP_POS                            (13U)
#define MPU_IPPR_WDTWRP                                (0x00002000UL)
#define MPU_IPPR_SWDTRDP_POS                           (14U)
#define MPU_IPPR_SWDTRDP                               (0x00004000UL)
#define MPU_IPPR_SWDTWRP_POS                           (15U)
#define MPU_IPPR_SWDTWRP                               (0x00008000UL)
#define MPU_IPPR_BKSRAMRDP_POS                         (16U)
#define MPU_IPPR_BKSRAMRDP                             (0x00010000UL)
#define MPU_IPPR_BKSRAMWRP_POS                         (17U)
#define MPU_IPPR_BKSRAMWRP                             (0x00020000UL)
#define MPU_IPPR_RTCRDP_POS                            (18U)
#define MPU_IPPR_RTCRDP                                (0x00040000UL)
#define MPU_IPPR_RTCWRP_POS                            (19U)
#define MPU_IPPR_RTCWRP                                (0x00080000UL)
#define MPU_IPPR_DMPURDP_POS                           (20U)
#define MPU_IPPR_DMPURDP                               (0x00100000UL)
#define MPU_IPPR_DMPUWRP_POS                           (21U)
#define MPU_IPPR_DMPUWRP                               (0x00200000UL)
#define MPU_IPPR_SRAMCRDP_POS                          (22U)
#define MPU_IPPR_SRAMCRDP                              (0x00400000UL)
#define MPU_IPPR_SRAMCWRP_POS                          (23U)
#define MPU_IPPR_SRAMCWRP                              (0x00800000UL)
#define MPU_IPPR_INTCRDP_POS                           (24U)
#define MPU_IPPR_INTCRDP                               (0x01000000UL)
#define MPU_IPPR_INTCWRP_POS                           (25U)
#define MPU_IPPR_INTCWRP                               (0x02000000UL)
#define MPU_IPPR_SYSCRDP_POS                           (26U)
#define MPU_IPPR_SYSCRDP                               (0x04000000UL)
#define MPU_IPPR_SYSCWRP_POS                           (27U)
#define MPU_IPPR_SYSCWRP                               (0x08000000UL)
#define MPU_IPPR_MSTPRDP_POS                           (28U)
#define MPU_IPPR_MSTPRDP                               (0x10000000UL)
#define MPU_IPPR_MSPTWRP_POS                           (29U)
#define MPU_IPPR_MSPTWRP                               (0x20000000UL)
#define MPU_IPPR_BUSERRE_POS                           (31U)
#define MPU_IPPR_BUSERRE                               (0x80000000UL)

/*  Bit definition for MPU_MSPPBA register  */
#define MPU_MSPPBA_MSPPBA_POS                          (2U)
#define MPU_MSPPBA_MSPPBA                              (0xFFFFFFFCUL)

/*  Bit definition for MPU_MSPPCTL register  */
#define MPU_MSPPCTL_MSPPSIZE_POS                       (2U)
#define MPU_MSPPCTL_MSPPSIZE                           (0x0000FFFCUL)
#define MPU_MSPPCTL_MSPPACT_POS                        (30U)
#define MPU_MSPPCTL_MSPPACT                            (0x40000000UL)
#define MPU_MSPPCTL_MSPPE_POS                          (31U)
#define MPU_MSPPCTL_MSPPE                              (0x80000000UL)

/*  Bit definition for MPU_PSPPBA register  */
#define MPU_PSPPBA_PSPPBA_POS                          (2U)
#define MPU_PSPPBA_PSPPBA                              (0xFFFFFFFCUL)

/*  Bit definition for MPU_PSPPCTL register  */
#define MPU_PSPPCTL_PSPPSIZE_POS                       (2U)
#define MPU_PSPPCTL_PSPPSIZE                           (0x0000FFFCUL)
#define MPU_PSPPCTL_PSPPACT_POS                        (30U)
#define MPU_PSPPCTL_PSPPACT                            (0x40000000UL)
#define MPU_PSPPCTL_PSPPE_POS                          (31U)
#define MPU_PSPPCTL_PSPPE                              (0x80000000UL)

/*  Bit definition for MPU_SRGE register  */
#define MPU_SRGE_RG0E_POS                              (0U)
#define MPU_SRGE_RG0E                                  (0x00000001UL)
#define MPU_SRGE_RG1E_POS                              (1U)
#define MPU_SRGE_RG1E                                  (0x00000002UL)
#define MPU_SRGE_RG2E_POS                              (2U)
#define MPU_SRGE_RG2E                                  (0x00000004UL)
#define MPU_SRGE_RG3E_POS                              (3U)
#define MPU_SRGE_RG3E                                  (0x00000008UL)
#define MPU_SRGE_RG4E_POS                              (4U)
#define MPU_SRGE_RG4E                                  (0x00000010UL)
#define MPU_SRGE_RG5E_POS                              (5U)
#define MPU_SRGE_RG5E                                  (0x00000020UL)
#define MPU_SRGE_RG6E_POS                              (6U)
#define MPU_SRGE_RG6E                                  (0x00000040UL)
#define MPU_SRGE_RG7E_POS                              (7U)
#define MPU_SRGE_RG7E                                  (0x00000080UL)
#define MPU_SRGE_RG8E_POS                              (8U)
#define MPU_SRGE_RG8E                                  (0x00000100UL)
#define MPU_SRGE_RG9E_POS                              (9U)
#define MPU_SRGE_RG9E                                  (0x00000200UL)
#define MPU_SRGE_RG10E_POS                             (10U)
#define MPU_SRGE_RG10E                                 (0x00000400UL)
#define MPU_SRGE_RG11E_POS                             (11U)
#define MPU_SRGE_RG11E                                 (0x00000800UL)
#define MPU_SRGE_RG12E_POS                             (12U)
#define MPU_SRGE_RG12E                                 (0x00001000UL)
#define MPU_SRGE_RG13E_POS                             (13U)
#define MPU_SRGE_RG13E                                 (0x00002000UL)
#define MPU_SRGE_RG14E_POS                             (14U)
#define MPU_SRGE_RG14E                                 (0x00004000UL)
#define MPU_SRGE_RG15E_POS                             (15U)
#define MPU_SRGE_RG15E                                 (0x00008000UL)

/*  Bit definition for MPU_SRGWP register  */
#define MPU_SRGWP_RG0WP_POS                            (0U)
#define MPU_SRGWP_RG0WP                                (0x00000001UL)
#define MPU_SRGWP_RG1WP_POS                            (1U)
#define MPU_SRGWP_RG1WP                                (0x00000002UL)
#define MPU_SRGWP_RG2WP_POS                            (2U)
#define MPU_SRGWP_RG2WP                                (0x00000004UL)
#define MPU_SRGWP_RG3WP_POS                            (3U)
#define MPU_SRGWP_RG3WP                                (0x00000008UL)
#define MPU_SRGWP_RG4WP_POS                            (4U)
#define MPU_SRGWP_RG4WP                                (0x00000010UL)
#define MPU_SRGWP_RG5WP_POS                            (5U)
#define MPU_SRGWP_RG5WP                                (0x00000020UL)
#define MPU_SRGWP_RG6WP_POS                            (6U)
#define MPU_SRGWP_RG6WP                                (0x00000040UL)
#define MPU_SRGWP_RG7WP_POS                            (7U)
#define MPU_SRGWP_RG7WP                                (0x00000080UL)
#define MPU_SRGWP_RG8WP_POS                            (8U)
#define MPU_SRGWP_RG8WP                                (0x00000100UL)
#define MPU_SRGWP_RG9WP_POS                            (9U)
#define MPU_SRGWP_RG9WP                                (0x00000200UL)
#define MPU_SRGWP_RG10WP_POS                           (10U)
#define MPU_SRGWP_RG10WP                               (0x00000400UL)
#define MPU_SRGWP_RG11WP_POS                           (11U)
#define MPU_SRGWP_RG11WP                               (0x00000800UL)
#define MPU_SRGWP_RG12WP_POS                           (12U)
#define MPU_SRGWP_RG12WP                               (0x00001000UL)
#define MPU_SRGWP_RG13WP_POS                           (13U)
#define MPU_SRGWP_RG13WP                               (0x00002000UL)
#define MPU_SRGWP_RG14WP_POS                           (14U)
#define MPU_SRGWP_RG14WP                               (0x00004000UL)
#define MPU_SRGWP_RG15WP_POS                           (15U)
#define MPU_SRGWP_RG15WP                               (0x00008000UL)

/*  Bit definition for MPU_SRGRP register  */
#define MPU_SRGRP_RG0RP_POS                            (0U)
#define MPU_SRGRP_RG0RP                                (0x00000001UL)
#define MPU_SRGRP_RG1RP_POS                            (1U)
#define MPU_SRGRP_RG1RP                                (0x00000002UL)
#define MPU_SRGRP_RG2RP_POS                            (2U)
#define MPU_SRGRP_RG2RP                                (0x00000004UL)
#define MPU_SRGRP_RG3RP_POS                            (3U)
#define MPU_SRGRP_RG3RP                                (0x00000008UL)
#define MPU_SRGRP_RG4RP_POS                            (4U)
#define MPU_SRGRP_RG4RP                                (0x00000010UL)
#define MPU_SRGRP_RG5RP_POS                            (5U)
#define MPU_SRGRP_RG5RP                                (0x00000020UL)
#define MPU_SRGRP_RG6RP_POS                            (6U)
#define MPU_SRGRP_RG6RP                                (0x00000040UL)
#define MPU_SRGRP_RG7RP_POS                            (7U)
#define MPU_SRGRP_RG7RP                                (0x00000080UL)
#define MPU_SRGRP_RG8RP_POS                            (8U)
#define MPU_SRGRP_RG8RP                                (0x00000100UL)
#define MPU_SRGRP_RG9RP_POS                            (9U)
#define MPU_SRGRP_RG9RP                                (0x00000200UL)
#define MPU_SRGRP_RG10RP_POS                           (10U)
#define MPU_SRGRP_RG10RP                               (0x00000400UL)
#define MPU_SRGRP_RG11RP_POS                           (11U)
#define MPU_SRGRP_RG11RP                               (0x00000800UL)
#define MPU_SRGRP_RG12RP_POS                           (12U)
#define MPU_SRGRP_RG12RP                               (0x00001000UL)
#define MPU_SRGRP_RG13RP_POS                           (13U)
#define MPU_SRGRP_RG13RP                               (0x00002000UL)
#define MPU_SRGRP_RG14RP_POS                           (14U)
#define MPU_SRGRP_RG14RP                               (0x00004000UL)
#define MPU_SRGRP_RG15RP_POS                           (15U)
#define MPU_SRGRP_RG15RP                               (0x00008000UL)

/*  Bit definition for MPU_SCR register  */
#define MPU_SCR_SMPUBRP_POS                            (0U)
#define MPU_SCR_SMPUBRP                                (0x00000001UL)
#define MPU_SCR_SMPUBWP_POS                            (1U)
#define MPU_SCR_SMPUBWP                                (0x00000002UL)
#define MPU_SCR_SMPUACT_POS                            (2U)
#define MPU_SCR_SMPUACT                                (0x0000000CUL)
#define MPU_SCR_SMPUACT_0                              (0x00000004UL)
#define MPU_SCR_SMPUACT_1                              (0x00000008UL)
#define MPU_SCR_SMPUE_POS                              (7U)
#define MPU_SCR_SMPUE                                  (0x00000080UL)

/*******************************************************************************
                Bit definition for Peripheral PERIC
*******************************************************************************/
/*  Bit definition for PERIC_TMR_SYNENR register  */
#define PERIC_TMR_SYNENR_TMR0U1A_POS                   (0U)
#define PERIC_TMR_SYNENR_TMR0U1A                       (0x00000001UL)
#define PERIC_TMR_SYNENR_TMR0U1B_POS                   (1U)
#define PERIC_TMR_SYNENR_TMR0U1B                       (0x00000002UL)
#define PERIC_TMR_SYNENR_TMR0U2A_POS                   (2U)
#define PERIC_TMR_SYNENR_TMR0U2A                       (0x00000004UL)
#define PERIC_TMR_SYNENR_TMR0U2B_POS                   (3U)
#define PERIC_TMR_SYNENR_TMR0U2B                       (0x00000008UL)
#define PERIC_TMR_SYNENR_TMR4U1_POS                    (4U)
#define PERIC_TMR_SYNENR_TMR4U1                        (0x00000010UL)
#define PERIC_TMR_SYNENR_TMR6U1_POS                    (8U)
#define PERIC_TMR_SYNENR_TMR6U1                        (0x00000100UL)
#define PERIC_TMR_SYNENR_TMR6U2_POS                    (9U)
#define PERIC_TMR_SYNENR_TMR6U2                        (0x00000200UL)
#define PERIC_TMR_SYNENR_TMR6U3_POS                    (10U)
#define PERIC_TMR_SYNENR_TMR6U3                        (0x00000400UL)
#define PERIC_TMR_SYNENR_TMR6U4_POS                    (11U)
#define PERIC_TMR_SYNENR_TMR6U4                        (0x00000800UL)
#define PERIC_TMR_SYNENR_TMRAU1_POS                    (16U)
#define PERIC_TMR_SYNENR_TMRAU1                        (0x00010000UL)
#define PERIC_TMR_SYNENR_TMRAU2_POS                    (17U)
#define PERIC_TMR_SYNENR_TMRAU2                        (0x00020000UL)
#define PERIC_TMR_SYNENR_TMRAU3_POS                    (18U)
#define PERIC_TMR_SYNENR_TMRAU3                        (0x00040000UL)
#define PERIC_TMR_SYNENR_TMRAU4_POS                    (19U)
#define PERIC_TMR_SYNENR_TMRAU4                        (0x00080000UL)
#define PERIC_TMR_SYNENR_TMRAU5_POS                    (20U)
#define PERIC_TMR_SYNENR_TMRAU5                        (0x00100000UL)
#define PERIC_TMR_SYNENR_HRPWMU1_POS                   (24U)
#define PERIC_TMR_SYNENR_HRPWMU1                       (0x01000000UL)
#define PERIC_TMR_SYNENR_HRPWMU2_POS                   (25U)
#define PERIC_TMR_SYNENR_HRPWMU2                       (0x02000000UL)
#define PERIC_TMR_SYNENR_HRPWMU3_POS                   (26U)
#define PERIC_TMR_SYNENR_HRPWMU3                       (0x04000000UL)
#define PERIC_TMR_SYNENR_HRPWMU4_POS                   (27U)
#define PERIC_TMR_SYNENR_HRPWMU4                       (0x08000000UL)
#define PERIC_TMR_SYNENR_HRPWMU5_POS                   (28U)
#define PERIC_TMR_SYNENR_HRPWMU5                       (0x10000000UL)
#define PERIC_TMR_SYNENR_HRPWMU6_POS                   (29U)
#define PERIC_TMR_SYNENR_HRPWMU6                       (0x20000000UL)

/*  Bit definition for PERIC_USART1_NFC register  */
#define PERIC_USART1_NFC_USASRT1_NFS_POS               (0U)
#define PERIC_USART1_NFC_USASRT1_NFS                   (0x00000003UL)
#define PERIC_USART1_NFC_USASRT1_NFS_0                 (0x00000001UL)
#define PERIC_USART1_NFC_USASRT1_NFS_1                 (0x00000002UL)
#define PERIC_USART1_NFC_USART1_NFE_POS                (2U)
#define PERIC_USART1_NFC_USART1_NFE                    (0x00000004UL)

/*******************************************************************************
                Bit definition for Peripheral PLA
*******************************************************************************/
/*  Bit definition for PLA_GCTL register  */
#define PLA_GCTL_EN                                    (0x0000FFFFUL)

/*  Bit definition for PLA_STAT register  */
#define PLA_STAT_OUT                                   (0x0000FFFFUL)

/*  Bit definition for PLA_MUXS register  */
#define PLA_MUXS_MUX1_POS                              (0U)
#define PLA_MUXS_MUX1                                  (0x0000000FUL)
#define PLA_MUXS_MUX0_POS                              (4U)
#define PLA_MUXS_MUX0                                  (0x000000F0UL)
#define PLA_MUXS_MUX1_4_POS                            (14U)
#define PLA_MUXS_MUX1_4                                (0x00004000UL)
#define PLA_MUXS_MUX0_4_POS                            (15U)
#define PLA_MUXS_MUX0_4                                (0x00008000UL)

/*  Bit definition for PLA_LUTCTL register  */
#define PLA_LUTCTL_LUTCTL                              (0x000000FFUL)

/*  Bit definition for PLA_CTL register  */
#define PLA_CTL_OEN_POS                                (6U)
#define PLA_CTL_OEN                                    (0x00000040UL)
#define PLA_CTL_OSEL_POS                               (7U)
#define PLA_CTL_OSEL                                   (0x00000080UL)

/*******************************************************************************
                Bit definition for Peripheral PWC
*******************************************************************************/
/*  Bit definition for PWC_FCG0 register  */
#define PWC_FCG0_SRAMH_POS                             (0U)
#define PWC_FCG0_SRAMH                                 (0x00000001UL)
#define PWC_FCG0_SRAM0_POS                             (4U)
#define PWC_FCG0_SRAM0                                 (0x00000010UL)
#define PWC_FCG0_SRAMB_POS                             (10U)
#define PWC_FCG0_SRAMB                                 (0x00000400UL)
#define PWC_FCG0_PLA_POS                               (11U)
#define PWC_FCG0_PLA                                   (0x00000800UL)
#define PWC_FCG0_DMA_POS                               (14U)
#define PWC_FCG0_DMA                                   (0x00004000UL)
#define PWC_FCG0_FCM_POS                               (16U)
#define PWC_FCG0_FCM                                   (0x00010000UL)
#define PWC_FCG0_AOS_POS                               (17U)
#define PWC_FCG0_AOS                                   (0x00020000UL)
#define PWC_FCG0_CTC_POS                               (18U)
#define PWC_FCG0_CTC                                   (0x00040000UL)
#define PWC_FCG0_CRC_POS                               (23U)
#define PWC_FCG0_CRC                                   (0x00800000UL)

/*  Bit definition for PWC_FCG1 register  */
#define PWC_FCG1_MCAN1_POS                             (0U)
#define PWC_FCG1_MCAN1                                 (0x00000001UL)
#define PWC_FCG1_MCAN2_POS                             (1U)
#define PWC_FCG1_MCAN2                                 (0x00000002UL)
#define PWC_FCG1_I2C_POS                               (4U)
#define PWC_FCG1_I2C                                   (0x00000010UL)
#define PWC_FCG1_SPI_POS                               (16U)
#define PWC_FCG1_SPI                                   (0x00010000UL)

/*  Bit definition for PWC_FCG2 register  */
#define PWC_FCG2_TMR6_1_POS                            (0U)
#define PWC_FCG2_TMR6_1                                (0x00000001UL)
#define PWC_FCG2_TMR6_2_POS                            (1U)
#define PWC_FCG2_TMR6_2                                (0x00000002UL)
#define PWC_FCG2_TMR6_3_POS                            (2U)
#define PWC_FCG2_TMR6_3                                (0x00000004UL)
#define PWC_FCG2_TMR6_4_POS                            (3U)
#define PWC_FCG2_TMR6_4                                (0x00000008UL)
#define PWC_FCG2_HRPWM_1_POS                           (4U)
#define PWC_FCG2_HRPWM_1                               (0x00000010UL)
#define PWC_FCG2_HRPWM_2_POS                           (5U)
#define PWC_FCG2_HRPWM_2                               (0x00000020UL)
#define PWC_FCG2_HRPWM_3_POS                           (6U)
#define PWC_FCG2_HRPWM_3                               (0x00000040UL)
#define PWC_FCG2_HRPWM_4_POS                           (7U)
#define PWC_FCG2_HRPWM_4                               (0x00000080UL)
#define PWC_FCG2_HRPWM_5_POS                           (8U)
#define PWC_FCG2_HRPWM_5                               (0x00000100UL)
#define PWC_FCG2_HRPWM_6_POS                           (9U)
#define PWC_FCG2_HRPWM_6                               (0x00000200UL)
#define PWC_FCG2_TMR4_POS                              (10U)
#define PWC_FCG2_TMR4                                  (0x00000400UL)
#define PWC_FCG2_TMR0_1_POS                            (12U)
#define PWC_FCG2_TMR0_1                                (0x00001000UL)
#define PWC_FCG2_TMR0_2_POS                            (13U)
#define PWC_FCG2_TMR0_2                                (0x00002000UL)
#define PWC_FCG2_EMB_POS                               (15U)
#define PWC_FCG2_EMB                                   (0x00008000UL)
#define PWC_FCG2_TMRA_1_POS                            (20U)
#define PWC_FCG2_TMRA_1                                (0x00100000UL)
#define PWC_FCG2_TMRA_2_POS                            (21U)
#define PWC_FCG2_TMRA_2                                (0x00200000UL)
#define PWC_FCG2_TMRA_3_POS                            (22U)
#define PWC_FCG2_TMRA_3                                (0x00400000UL)
#define PWC_FCG2_TMRA_4_POS                            (23U)
#define PWC_FCG2_TMRA_4                                (0x00800000UL)
#define PWC_FCG2_TMRA_5_POS                            (24U)
#define PWC_FCG2_TMRA_5                                (0x01000000UL)

/*  Bit definition for PWC_FCG3 register  */
#define PWC_FCG3_ADC1_POS                              (0U)
#define PWC_FCG3_ADC1                                  (0x00000001UL)
#define PWC_FCG3_ADC2_POS                              (1U)
#define PWC_FCG3_ADC2                                  (0x00000002UL)
#define PWC_FCG3_ADC3_POS                              (2U)
#define PWC_FCG3_ADC3                                  (0x00000004UL)
#define PWC_FCG3_DAC1_POS                              (4U)
#define PWC_FCG3_DAC1                                  (0x00000010UL)
#define PWC_FCG3_DAC2_POS                              (5U)
#define PWC_FCG3_DAC2                                  (0x00000020UL)
#define PWC_FCG3_CMP12_POS                             (8U)
#define PWC_FCG3_CMP12                                 (0x00000100UL)
#define PWC_FCG3_CMP3_POS                              (9U)
#define PWC_FCG3_CMP3                                  (0x00000200UL)
#define PWC_FCG3_USART1_POS                            (20U)
#define PWC_FCG3_USART1                                (0x00100000UL)
#define PWC_FCG3_USART2_POS                            (21U)
#define PWC_FCG3_USART2                                (0x00200000UL)
#define PWC_FCG3_USART3_POS                            (22U)
#define PWC_FCG3_USART3                                (0x00400000UL)
#define PWC_FCG3_USART4_POS                            (23U)
#define PWC_FCG3_USART4                                (0x00800000UL)

/*  Bit definition for PWC_FCG0PC register  */
#define PWC_FCG0PC_PRT0_POS                            (0U)
#define PWC_FCG0PC_PRT0                                (0x00000001UL)
#define PWC_FCG0PC_FCG0PCWE_POS                        (16U)
#define PWC_FCG0PC_FCG0PCWE                            (0xFFFF0000UL)

/*  Bit definition for PWC_WKTCR register  */
#define PWC_WKTCR_WKTMCMP_POS                          (0U)
#define PWC_WKTCR_WKTMCMP                              (0x0FFFU)
#define PWC_WKTCR_WKOVF_POS                            (12U)
#define PWC_WKTCR_WKOVF                                (0x1000U)
#define PWC_WKTCR_WKCKS_POS                            (13U)
#define PWC_WKTCR_WKCKS                                (0x6000U)
#define PWC_WKTCR_WKCKS_0                              (0x2000U)
#define PWC_WKTCR_WKCKS_1                              (0x4000U)
#define PWC_WKTCR_WKTCE_POS                            (15U)
#define PWC_WKTCR_WKTCE                                (0x8000U)

/*  Bit definition for PWC_PWRC0 register  */
#define PWC_PWRC0_PDMDS_POS                            (0U)
#define PWC_PWRC0_PDMDS                                (0x03U)
#define PWC_PWRC0_PDMDS_0                              (0x01U)
#define PWC_PWRC0_PDMDS_1                              (0x02U)
#define PWC_PWRC0_IORTN_POS                            (4U)
#define PWC_PWRC0_IORTN                                (0x30U)
#define PWC_PWRC0_IORTN_0                              (0x10U)
#define PWC_PWRC0_IORTN_1                              (0x20U)
#define PWC_PWRC0_PWDN_POS                             (7U)
#define PWC_PWRC0_PWDN                                 (0x80U)

/*  Bit definition for PWC_PWRC1 register  */
#define PWC_PWRC1_VPLLSD_POS                           (0U)
#define PWC_PWRC1_VPLLSD                               (0x03U)
#define PWC_PWRC1_VPLLSD_0                             (0x01U)
#define PWC_PWRC1_VPLLSD_1                             (0x02U)
#define PWC_PWRC1_VHRCSD_POS                           (2U)
#define PWC_PWRC1_VHRCSD                               (0x04U)

/*  Bit definition for PWC_PWRC4 register  */
#define PWC_PWRC4_PD1PW_POS                            (5U)
#define PWC_PWRC4_PD1PW                                (0x20U)
#define PWC_PWRC4_ADBUFE_POS                           (7U)
#define PWC_PWRC4_ADBUFE                               (0x80U)

/*  Bit definition for PWC_PVDCR0 register  */
#define PWC_PVDCR0_EXVCCINEN_POS                       (0U)
#define PWC_PVDCR0_EXVCCINEN                           (0x01U)
#define PWC_PVDCR0_PVD1EN_POS                          (5U)
#define PWC_PVDCR0_PVD1EN                              (0x20U)
#define PWC_PVDCR0_PVD2EN_POS                          (6U)
#define PWC_PVDCR0_PVD2EN                              (0x40U)

/*  Bit definition for PWC_PVDCR1 register  */
#define PWC_PVDCR1_PVD1IRE_POS                         (0U)
#define PWC_PVDCR1_PVD1IRE                             (0x01U)
#define PWC_PVDCR1_PVD1IRS_POS                         (1U)
#define PWC_PVDCR1_PVD1IRS                             (0x02U)
#define PWC_PVDCR1_PVD1CMPOE_POS                       (2U)
#define PWC_PVDCR1_PVD1CMPOE                           (0x04U)
#define PWC_PVDCR1_PVD2IRE_POS                         (4U)
#define PWC_PVDCR1_PVD2IRE                             (0x10U)
#define PWC_PVDCR1_PVD2IRS_POS                         (5U)
#define PWC_PVDCR1_PVD2IRS                             (0x20U)
#define PWC_PVDCR1_PVD2CMPOE_POS                       (6U)
#define PWC_PVDCR1_PVD2CMPOE                           (0x40U)

/*  Bit definition for PWC_PVDFCR register  */
#define PWC_PVDFCR_PVD1NFDIS_POS                       (0U)
#define PWC_PVDFCR_PVD1NFDIS                           (0x01U)
#define PWC_PVDFCR_PVD1NFCKS_POS                       (1U)
#define PWC_PVDFCR_PVD1NFCKS                           (0x06U)
#define PWC_PVDFCR_PVD1NFCKS_0                         (0x02U)
#define PWC_PVDFCR_PVD1NFCKS_1                         (0x04U)
#define PWC_PVDFCR_PVD2NFDIS_POS                       (4U)
#define PWC_PVDFCR_PVD2NFDIS                           (0x10U)
#define PWC_PVDFCR_PVD2NFCKS_POS                       (5U)
#define PWC_PVDFCR_PVD2NFCKS                           (0x60U)
#define PWC_PVDFCR_PVD2NFCKS_0                         (0x20U)
#define PWC_PVDFCR_PVD2NFCKS_1                         (0x40U)

/*  Bit definition for PWC_PVDLCR register  */
#define PWC_PVDLCR_PVD1LVL_POS                         (0U)
#define PWC_PVDLCR_PVD1LVL                             (0x07U)
#define PWC_PVDLCR_PVD2LVL_POS                         (4U)
#define PWC_PVDLCR_PVD2LVL                             (0x70U)

/*  Bit definition for PWC_PDWKE0 register  */
#define PWC_PDWKE0_WKE00_POS                           (0U)
#define PWC_PDWKE0_WKE00                               (0x01U)
#define PWC_PDWKE0_WKE01_POS                           (1U)
#define PWC_PDWKE0_WKE01                               (0x02U)
#define PWC_PDWKE0_WKE02_POS                           (2U)
#define PWC_PDWKE0_WKE02                               (0x04U)
#define PWC_PDWKE0_WKE03_POS                           (3U)
#define PWC_PDWKE0_WKE03                               (0x08U)
#define PWC_PDWKE0_WKE10_POS                           (4U)
#define PWC_PDWKE0_WKE10                               (0x10U)
#define PWC_PDWKE0_WKE11_POS                           (5U)
#define PWC_PDWKE0_WKE11                               (0x20U)
#define PWC_PDWKE0_WKE12_POS                           (6U)
#define PWC_PDWKE0_WKE12                               (0x40U)
#define PWC_PDWKE0_WKE13_POS                           (7U)
#define PWC_PDWKE0_WKE13                               (0x80U)

/*  Bit definition for PWC_PDWKE1 register  */
#define PWC_PDWKE1_WKE20_POS                           (0U)
#define PWC_PDWKE1_WKE20                               (0x01U)
#define PWC_PDWKE1_WKE21_POS                           (1U)
#define PWC_PDWKE1_WKE21                               (0x02U)
#define PWC_PDWKE1_WKE22_POS                           (2U)
#define PWC_PDWKE1_WKE22                               (0x04U)
#define PWC_PDWKE1_WKE23_POS                           (3U)
#define PWC_PDWKE1_WKE23                               (0x08U)
#define PWC_PDWKE1_WKE30_POS                           (4U)
#define PWC_PDWKE1_WKE30                               (0x10U)
#define PWC_PDWKE1_WKE31_POS                           (5U)
#define PWC_PDWKE1_WKE31                               (0x20U)
#define PWC_PDWKE1_WKE32_POS                           (6U)
#define PWC_PDWKE1_WKE32                               (0x40U)
#define PWC_PDWKE1_WKE33_POS                           (7U)
#define PWC_PDWKE1_WKE33                               (0x80U)

/*  Bit definition for PWC_PDWKE2 register  */
#define PWC_PDWKE2_VD1WKE_POS                          (0U)
#define PWC_PDWKE2_VD1WKE                              (0x01U)
#define PWC_PDWKE2_VD2WKE_POS                          (1U)
#define PWC_PDWKE2_VD2WKE                              (0x02U)
#define PWC_PDWKE2_RTCPRDWKE_POS                       (4U)
#define PWC_PDWKE2_RTCPRDWKE                           (0x10U)
#define PWC_PDWKE2_RTCALMWKE_POS                       (5U)
#define PWC_PDWKE2_RTCALMWKE                           (0x20U)
#define PWC_PDWKE2_WKTMWKE_POS                         (7U)
#define PWC_PDWKE2_WKTMWKE                             (0x80U)

/*  Bit definition for PWC_PDWKES register  */
#define PWC_PDWKES_WK0EGS_POS                          (0U)
#define PWC_PDWKES_WK0EGS                              (0x01U)
#define PWC_PDWKES_WK1EGS_POS                          (1U)
#define PWC_PDWKES_WK1EGS                              (0x02U)
#define PWC_PDWKES_WK2EGS_POS                          (2U)
#define PWC_PDWKES_WK2EGS                              (0x04U)
#define PWC_PDWKES_WK3EGS_POS                          (3U)
#define PWC_PDWKES_WK3EGS                              (0x08U)
#define PWC_PDWKES_VD1EGS_POS                          (4U)
#define PWC_PDWKES_VD1EGS                              (0x10U)
#define PWC_PDWKES_VD2EGS_POS                          (5U)
#define PWC_PDWKES_VD2EGS                              (0x20U)

/*  Bit definition for PWC_PDWKF0 register  */
#define PWC_PDWKF0_PTWK0F_POS                          (0U)
#define PWC_PDWKF0_PTWK0F                              (0x01U)
#define PWC_PDWKF0_PTWK1F_POS                          (1U)
#define PWC_PDWKF0_PTWK1F                              (0x02U)
#define PWC_PDWKF0_PTWK2F_POS                          (2U)
#define PWC_PDWKF0_PTWK2F                              (0x04U)
#define PWC_PDWKF0_PTWK3F_POS                          (3U)
#define PWC_PDWKF0_PTWK3F                              (0x08U)
#define PWC_PDWKF0_VD1WKF_POS                          (4U)
#define PWC_PDWKF0_VD1WKF                              (0x10U)
#define PWC_PDWKF0_VD2WKF_POS                          (5U)
#define PWC_PDWKF0_VD2WKF                              (0x20U)

/*  Bit definition for PWC_PDWKF1 register  */
#define PWC_PDWKF1_RXD0WKF_POS                         (3U)
#define PWC_PDWKF1_RXD0WKF                             (0x08U)
#define PWC_PDWKF1_RTCPRDWKF_POS                       (4U)
#define PWC_PDWKF1_RTCPRDWKF                           (0x10U)
#define PWC_PDWKF1_RTCALMWKF_POS                       (5U)
#define PWC_PDWKF1_RTCALMWKF                           (0x20U)
#define PWC_PDWKF1_WKTMWKF_POS                         (7U)
#define PWC_PDWKF1_WKTMWKF                             (0x80U)

/*  Bit definition for PWC_PWRC5 register  */
#define PWC_PWRC5_VVDRSD_POS                           (0U)
#define PWC_PWRC5_VVDRSD                               (0x01U)
#define PWC_PWRC5_SRAMBSD_POS                          (1U)
#define PWC_PWRC5_SRAMBSD                              (0x02U)
#define PWC_PWRC5_CSDIS_POS                            (7U)
#define PWC_PWRC5_CSDIS                                (0x80U)

/*  Bit definition for PWC_PWRC6 register  */
#define PWC_PWRC6_RTCCKSEL                             (0x03U)
#define PWC_PWRC6_RTCCKSEL_0                           (0x01U)
#define PWC_PWRC6_RTCCKSEL_1                           (0x02U)

/*  Bit definition for PWC_PVDICR register  */
#define PWC_PVDICR_PVD1NMIS_POS                        (0U)
#define PWC_PVDICR_PVD1NMIS                            (0x01U)
#define PWC_PVDICR_PVD1EDGS_POS                        (1U)
#define PWC_PVDICR_PVD1EDGS                            (0x06U)
#define PWC_PVDICR_PVD1EDGS_0                          (0x02U)
#define PWC_PVDICR_PVD1EDGS_1                          (0x04U)
#define PWC_PVDICR_PVD2NMIS_POS                        (4U)
#define PWC_PVDICR_PVD2NMIS                            (0x10U)
#define PWC_PVDICR_PVD2EDGS_POS                        (5U)
#define PWC_PVDICR_PVD2EDGS                            (0x60U)
#define PWC_PVDICR_PVD2EDGS_0                          (0x20U)
#define PWC_PVDICR_PVD2EDGS_1                          (0x40U)

/*  Bit definition for PWC_PVDDSR register  */
#define PWC_PVDDSR_PVD1MON_POS                         (0U)
#define PWC_PVDDSR_PVD1MON                             (0x01U)
#define PWC_PVDDSR_PVD1DETFLG_POS                      (1U)
#define PWC_PVDDSR_PVD1DETFLG                          (0x02U)
#define PWC_PVDDSR_PVD2MON_POS                         (4U)
#define PWC_PVDDSR_PVD2MON                             (0x10U)
#define PWC_PVDDSR_PVD2DETFLG_POS                      (5U)
#define PWC_PVDDSR_PVD2DETFLG                          (0x20U)

/*  Bit definition for PWC_RAMPC0 register  */
#define PWC_RAMPC0_RAMPDC0_POS                         (0U)
#define PWC_RAMPC0_RAMPDC0                             (0x00000001UL)
#define PWC_RAMPC0_RAMPDC10_POS                        (10U)
#define PWC_RAMPC0_RAMPDC10                            (0x00000400UL)

/*  Bit definition for PWC_PRAMLPC register  */
#define PWC_PRAMLPC_PRAMPDC0_POS                       (0U)
#define PWC_PRAMLPC_PRAMPDC0                           (0x00000001UL)
#define PWC_PRAMLPC_PRAMPDC2_POS                       (2U)
#define PWC_PRAMLPC_PRAMPDC2                           (0x00000004UL)

/*  Bit definition for PWC_LPMCSR register  */
#define PWC_LPMCSR_LPMF                                (0x0001U)

/*  Bit definition for PWC_LPMCSCR register  */
#define PWC_LPMCSCR_LPMFC                              (0x0001U)

/*  Bit definition for PWC_STPMCR register  */
#define PWC_STPMCR_FLNWT_POS                           (0U)
#define PWC_STPMCR_FLNWT                               (0x0001U)
#define PWC_STPMCR_CKSMRC_POS                          (1U)
#define PWC_STPMCR_CKSMRC                              (0x0002U)
#define PWC_STPMCR_STOP_POS                            (15U)
#define PWC_STPMCR_STOP                                (0x8000U)

/*  Bit definition for PWC_FPRC register  */
#define PWC_FPRC_FPRCB0_POS                            (0U)
#define PWC_FPRC_FPRCB0                                (0x0001U)
#define PWC_FPRC_FPRCB1_POS                            (1U)
#define PWC_FPRC_FPRCB1                                (0x0002U)
#define PWC_FPRC_FPRCB3_POS                            (3U)
#define PWC_FPRC_FPRCB3                                (0x0008U)
#define PWC_FPRC_FPRCWE_POS                            (8U)
#define PWC_FPRC_FPRCWE                                (0xFF00U)

/*******************************************************************************
                Bit definition for Peripheral RMU
*******************************************************************************/
/*  Bit definition for RMU_FRST0 register  */
#define RMU_FRST0_PLA_POS                              (11U)
#define RMU_FRST0_PLA                                  (0x00000800UL)
#define RMU_FRST0_DMA_POS                              (14U)
#define RMU_FRST0_DMA                                  (0x00004000UL)
#define RMU_FRST0_FCM_POS                              (16U)
#define RMU_FRST0_FCM                                  (0x00010000UL)
#define RMU_FRST0_AOS_POS                              (17U)
#define RMU_FRST0_AOS                                  (0x00020000UL)
#define RMU_FRST0_CTC_POS                              (18U)
#define RMU_FRST0_CTC                                  (0x00040000UL)
#define RMU_FRST0_CRC_POS                              (23U)
#define RMU_FRST0_CRC                                  (0x00800000UL)

/*  Bit definition for RMU_FRST1 register  */
#define RMU_FRST1_MCAN1_POS                            (0U)
#define RMU_FRST1_MCAN1                                (0x00000001UL)
#define RMU_FRST1_MCAN2_POS                            (1U)
#define RMU_FRST1_MCAN2                                (0x00000002UL)
#define RMU_FRST1_I2C_POS                              (4U)
#define RMU_FRST1_I2C                                  (0x00000010UL)
#define RMU_FRST1_SPI_POS                              (16U)
#define RMU_FRST1_SPI                                  (0x00010000UL)

/*  Bit definition for RMU_FRST2 register  */
#define RMU_FRST2_TMR6_POS                             (0U)
#define RMU_FRST2_TMR6                                 (0x00000001UL)
#define RMU_FRST2_TMR4_POS                             (8U)
#define RMU_FRST2_TMR4                                 (0x00000100UL)
#define RMU_FRST2_HRPWM_POS                            (11U)
#define RMU_FRST2_HRPWM                                (0x00000800UL)
#define RMU_FRST2_TMR0_1_POS                           (12U)
#define RMU_FRST2_TMR0_1                               (0x00001000UL)
#define RMU_FRST2_TMR0_2_POS                           (13U)
#define RMU_FRST2_TMR0_2                               (0x00002000UL)
#define RMU_FRST2_EMB_POS                              (15U)
#define RMU_FRST2_EMB                                  (0x00008000UL)
#define RMU_FRST2_TMRA_1_POS                           (20U)
#define RMU_FRST2_TMRA_1                               (0x00100000UL)
#define RMU_FRST2_TMRA_2_POS                           (21U)
#define RMU_FRST2_TMRA_2                               (0x00200000UL)
#define RMU_FRST2_TMRA_3_POS                           (22U)
#define RMU_FRST2_TMRA_3                               (0x00400000UL)
#define RMU_FRST2_TMRA_4_POS                           (23U)
#define RMU_FRST2_TMRA_4                               (0x00800000UL)
#define RMU_FRST2_TMRA_5_POS                           (24U)
#define RMU_FRST2_TMRA_5                               (0x01000000UL)

/*  Bit definition for RMU_FRST3 register  */
#define RMU_FRST3_ADC1_POS                             (0U)
#define RMU_FRST3_ADC1                                 (0x00000001UL)
#define RMU_FRST3_ADC2_POS                             (1U)
#define RMU_FRST3_ADC2                                 (0x00000002UL)
#define RMU_FRST3_ADC3_POS                             (2U)
#define RMU_FRST3_ADC3                                 (0x00000004UL)
#define RMU_FRST3_DAC1_POS                             (4U)
#define RMU_FRST3_DAC1                                 (0x00000010UL)
#define RMU_FRST3_DAC2_POS                             (5U)
#define RMU_FRST3_DAC2                                 (0x00000020UL)
#define RMU_FRST3_CMP12_POS                            (8U)
#define RMU_FRST3_CMP12                                (0x00000100UL)
#define RMU_FRST3_CMP3_POS                             (9U)
#define RMU_FRST3_CMP3                                 (0x00000200UL)
#define RMU_FRST3_VREF_POS                             (13U)
#define RMU_FRST3_VREF                                 (0x00002000UL)
#define RMU_FRST3_USART1_POS                           (20U)
#define RMU_FRST3_USART1                               (0x00100000UL)
#define RMU_FRST3_USART2_POS                           (21U)
#define RMU_FRST3_USART2                               (0x00200000UL)
#define RMU_FRST3_USART3_POS                           (22U)
#define RMU_FRST3_USART3                               (0x00400000UL)
#define RMU_FRST3_USART4_POS                           (23U)
#define RMU_FRST3_USART4                               (0x00800000UL)

/*  Bit definition for RMU_PRSTCR0 register  */
#define RMU_PRSTCR0_LKUPREN_POS                        (5U)
#define RMU_PRSTCR0_LKUPREN                            (0x20U)

/*  Bit definition for RMU_RSTF0 register  */
#define RMU_RSTF0_PORF_POS                             (0U)
#define RMU_RSTF0_PORF                                 (0x00000001UL)
#define RMU_RSTF0_PINRF_POS                            (1U)
#define RMU_RSTF0_PINRF                                (0x00000002UL)
#define RMU_RSTF0_BORF_POS                             (2U)
#define RMU_RSTF0_BORF                                 (0x00000004UL)
#define RMU_RSTF0_PVD1RF_POS                           (3U)
#define RMU_RSTF0_PVD1RF                               (0x00000008UL)
#define RMU_RSTF0_PVD2RF_POS                           (4U)
#define RMU_RSTF0_PVD2RF                               (0x00000010UL)
#define RMU_RSTF0_WDRF_POS                             (5U)
#define RMU_RSTF0_WDRF                                 (0x00000020UL)
#define RMU_RSTF0_SWDRF_POS                            (6U)
#define RMU_RSTF0_SWDRF                                (0x00000040UL)
#define RMU_RSTF0_PDRF_POS                             (7U)
#define RMU_RSTF0_PDRF                                 (0x00000080UL)
#define RMU_RSTF0_SWRF_POS                             (8U)
#define RMU_RSTF0_SWRF                                 (0x00000100UL)
#define RMU_RSTF0_MPUERF_POS                           (9U)
#define RMU_RSTF0_MPUERF                               (0x00000200UL)
#define RMU_RSTF0_RAPERF_POS                           (10U)
#define RMU_RSTF0_RAPERF                               (0x00000400UL)
#define RMU_RSTF0_RAECRF_POS                           (11U)
#define RMU_RSTF0_RAECRF                               (0x00000800UL)
#define RMU_RSTF0_CKFERF_POS                           (12U)
#define RMU_RSTF0_CKFERF                               (0x00001000UL)
#define RMU_RSTF0_XTALERF_POS                          (13U)
#define RMU_RSTF0_XTALERF                              (0x00002000UL)
#define RMU_RSTF0_LKUPRF_POS                           (14U)
#define RMU_RSTF0_LKUPRF                               (0x00004000UL)
#define RMU_RSTF0_MULTIRF_POS                          (30U)
#define RMU_RSTF0_MULTIRF                              (0x40000000UL)
#define RMU_RSTF0_CLRF_POS                             (31U)
#define RMU_RSTF0_CLRF                                 (0x80000000UL)

/*******************************************************************************
                Bit definition for Peripheral RTC
*******************************************************************************/
/*  Bit definition for RTC_CR0 register  */
#define RTC_CR0_RESET                                  (0x01U)

/*  Bit definition for RTC_CR1 register  */
#define RTC_CR1_PRDS_POS                               (0U)
#define RTC_CR1_PRDS                                   (0x07U)
#define RTC_CR1_AMPM_POS                               (3U)
#define RTC_CR1_AMPM                                   (0x08U)
#define RTC_CR1_ONEHZOE_POS                            (5U)
#define RTC_CR1_ONEHZOE                                (0x20U)
#define RTC_CR1_ONEHZSEL_POS                           (6U)
#define RTC_CR1_ONEHZSEL                               (0x40U)
#define RTC_CR1_START_POS                              (7U)
#define RTC_CR1_START                                  (0x80U)

/*  Bit definition for RTC_CR2 register  */
#define RTC_CR2_RWREQ_POS                              (0U)
#define RTC_CR2_RWREQ                                  (0x01U)
#define RTC_CR2_RWEN_POS                               (1U)
#define RTC_CR2_RWEN                                   (0x02U)
#define RTC_CR2_PRDF_POS                               (2U)
#define RTC_CR2_PRDF                                   (0x04U)
#define RTC_CR2_ALMF_POS                               (3U)
#define RTC_CR2_ALMF                                   (0x08U)
#define RTC_CR2_PRDIE_POS                              (5U)
#define RTC_CR2_PRDIE                                  (0x20U)
#define RTC_CR2_ALMIE_POS                              (6U)
#define RTC_CR2_ALMIE                                  (0x40U)
#define RTC_CR2_ALME_POS                               (7U)
#define RTC_CR2_ALME                                   (0x80U)

/*  Bit definition for RTC_CR3 register  */
#define RTC_CR3_LRCEN_POS                              (4U)
#define RTC_CR3_LRCEN                                  (0x10U)
#define RTC_CR3_RCKSEL_POS                             (7U)
#define RTC_CR3_RCKSEL                                 (0x80U)

/*  Bit definition for RTC_SEC register  */
#define RTC_SEC_SECU_POS                               (0U)
#define RTC_SEC_SECU                                   (0x0FU)
#define RTC_SEC_SECD_POS                               (4U)
#define RTC_SEC_SECD                                   (0x70U)

/*  Bit definition for RTC_MIN register  */
#define RTC_MIN_MINU_POS                               (0U)
#define RTC_MIN_MINU                                   (0x0FU)
#define RTC_MIN_MIND_POS                               (4U)
#define RTC_MIN_MIND                                   (0x70U)

/*  Bit definition for RTC_HOUR register  */
#define RTC_HOUR_HOURU_POS                             (0U)
#define RTC_HOUR_HOURU                                 (0x0FU)
#define RTC_HOUR_HOURD_POS                             (4U)
#define RTC_HOUR_HOURD                                 (0x30U)
#define RTC_HOUR_HOURD_0                               (0x10U)
#define RTC_HOUR_HOURD_1                               (0x20U)

/*  Bit definition for RTC_WEEK register  */
#define RTC_WEEK_WEEK                                  (0x07U)

/*  Bit definition for RTC_DAY register  */
#define RTC_DAY_DAYU_POS                               (0U)
#define RTC_DAY_DAYU                                   (0x0FU)
#define RTC_DAY_DAYD_POS                               (4U)
#define RTC_DAY_DAYD                                   (0x30U)
#define RTC_DAY_DAYD_0                                 (0x10U)
#define RTC_DAY_DAYD_1                                 (0x20U)

/*  Bit definition for RTC_MON register  */
#define RTC_MON_MON                                    (0x1FU)

/*  Bit definition for RTC_YEAR register  */
#define RTC_YEAR_YEARU_POS                             (0U)
#define RTC_YEAR_YEARU                                 (0x0FU)
#define RTC_YEAR_YEARD_POS                             (4U)
#define RTC_YEAR_YEARD                                 (0xF0U)

/*  Bit definition for RTC_ALMMIN register  */
#define RTC_ALMMIN_ALMMINU_POS                         (0U)
#define RTC_ALMMIN_ALMMINU                             (0x0FU)
#define RTC_ALMMIN_ALMMIND_POS                         (4U)
#define RTC_ALMMIN_ALMMIND                             (0x70U)

/*  Bit definition for RTC_ALMHOUR register  */
#define RTC_ALMHOUR_ALMHOURU_POS                       (0U)
#define RTC_ALMHOUR_ALMHOURU                           (0x0FU)
#define RTC_ALMHOUR_ALMHOURD_POS                       (4U)
#define RTC_ALMHOUR_ALMHOURD                           (0x30U)
#define RTC_ALMHOUR_ALMHOURD_0                         (0x10U)
#define RTC_ALMHOUR_ALMHOURD_1                         (0x20U)

/*  Bit definition for RTC_ALMWEEK register  */
#define RTC_ALMWEEK_ALMWEEK                            (0x7FU)

/*  Bit definition for RTC_ERRCRH register  */
#define RTC_ERRCRH_COMP8_POS                           (0U)
#define RTC_ERRCRH_COMP8                               (0x01U)
#define RTC_ERRCRH_COMPEN_POS                          (7U)
#define RTC_ERRCRH_COMPEN                              (0x80U)

/*  Bit definition for RTC_ERRCRL register  */
#define RTC_ERRCRL                                     (0xFFU)

/*******************************************************************************
                Bit definition for Peripheral SPI
*******************************************************************************/
/*  Bit definition for SPI_DR register  */
#define SPI_DR                                         (0xFFFFFFFFUL)

/*  Bit definition for SPI_CR register  */
#define SPI_CR_SPIMDS_POS                              (0U)
#define SPI_CR_SPIMDS                                  (0x00000001UL)
#define SPI_CR_TXMDS_POS                               (1U)
#define SPI_CR_TXMDS                                   (0x00000002UL)
#define SPI_CR_MSTR_POS                                (3U)
#define SPI_CR_MSTR                                    (0x00000008UL)
#define SPI_CR_SPLPBK_POS                              (4U)
#define SPI_CR_SPLPBK                                  (0x00000010UL)
#define SPI_CR_SPLPBK2_POS                             (5U)
#define SPI_CR_SPLPBK2                                 (0x00000020UL)
#define SPI_CR_SPE_POS                                 (6U)
#define SPI_CR_SPE                                     (0x00000040UL)
#define SPI_CR_CSUSPE_POS                              (7U)
#define SPI_CR_CSUSPE                                  (0x00000080UL)
#define SPI_CR_EIE_POS                                 (8U)
#define SPI_CR_EIE                                     (0x00000100UL)
#define SPI_CR_TXIE_POS                                (9U)
#define SPI_CR_TXIE                                    (0x00000200UL)
#define SPI_CR_RXIE_POS                                (10U)
#define SPI_CR_RXIE                                    (0x00000400UL)
#define SPI_CR_IDIE_POS                                (11U)
#define SPI_CR_IDIE                                    (0x00000800UL)
#define SPI_CR_MODFE_POS                               (12U)
#define SPI_CR_MODFE                                   (0x00001000UL)
#define SPI_CR_PATE_POS                                (13U)
#define SPI_CR_PATE                                    (0x00002000UL)
#define SPI_CR_PAOE_POS                                (14U)
#define SPI_CR_PAOE                                    (0x00004000UL)
#define SPI_CR_PAE_POS                                 (15U)
#define SPI_CR_PAE                                     (0x00008000UL)

/*  Bit definition for SPI_CFG1 register  */
#define SPI_CFG1_FTHLV_POS                             (0U)
#define SPI_CFG1_FTHLV                                 (0x00000003UL)
#define SPI_CFG1_FTHLV_0                               (0x00000001UL)
#define SPI_CFG1_FTHLV_1                               (0x00000002UL)
#define SPI_CFG1_CTMDS_POS                             (2U)
#define SPI_CFG1_CTMDS                                 (0x00000004UL)
#define SPI_CFG1_SPRDTD_POS                            (6U)
#define SPI_CFG1_SPRDTD                                (0x00000040UL)
#define SPI_CFG1_SS0PV_POS                             (8U)
#define SPI_CFG1_SS0PV                                 (0x00000100UL)
#define SPI_CFG1_SS1PV_POS                             (9U)
#define SPI_CFG1_SS1PV                                 (0x00000200UL)
#define SPI_CFG1_SS2PV_POS                             (10U)
#define SPI_CFG1_SS2PV                                 (0x00000400UL)
#define SPI_CFG1_SS3PV_POS                             (11U)
#define SPI_CFG1_SS3PV                                 (0x00000800UL)
#define SPI_CFG1_CLKDIV_POS                            (12U)
#define SPI_CFG1_CLKDIV                                (0x0000F000UL)
#define SPI_CFG1_MSSI_POS                              (20U)
#define SPI_CFG1_MSSI                                  (0x00700000UL)
#define SPI_CFG1_MSSDL_POS                             (24U)
#define SPI_CFG1_MSSDL                                 (0x07000000UL)
#define SPI_CFG1_MIDI_POS                              (28U)
#define SPI_CFG1_MIDI                                  (0x70000000UL)

/*  Bit definition for SPI_SR register  */
#define SPI_SR_OVRERF_POS                              (0U)
#define SPI_SR_OVRERF                                  (0x00000001UL)
#define SPI_SR_IDLNF_POS                               (1U)
#define SPI_SR_IDLNF                                   (0x00000002UL)
#define SPI_SR_MODFERF_POS                             (2U)
#define SPI_SR_MODFERF                                 (0x00000004UL)
#define SPI_SR_PERF_POS                                (3U)
#define SPI_SR_PERF                                    (0x00000008UL)
#define SPI_SR_UDRERF_POS                              (4U)
#define SPI_SR_UDRERF                                  (0x00000010UL)
#define SPI_SR_TDEF_POS                                (5U)
#define SPI_SR_TDEF                                    (0x00000020UL)
#define SPI_SR_FMIDLF_POS                              (6U)
#define SPI_SR_FMIDLF                                  (0x00000040UL)
#define SPI_SR_RDFF_POS                                (7U)
#define SPI_SR_RDFF                                    (0x00000080UL)

/*  Bit definition for SPI_CFG2 register  */
#define SPI_CFG2_CPHA_POS                              (0U)
#define SPI_CFG2_CPHA                                  (0x00000001UL)
#define SPI_CFG2_CPOL_POS                              (1U)
#define SPI_CFG2_CPOL                                  (0x00000002UL)
#define SPI_CFG2_MBR_POS                               (2U)
#define SPI_CFG2_MBR                                   (0x0000000CUL)
#define SPI_CFG2_MBR_0                                 (0x00000004UL)
#define SPI_CFG2_MBR_1                                 (0x00000008UL)
#define SPI_CFG2_SSA_POS                               (5U)
#define SPI_CFG2_SSA                                   (0x000000E0UL)
#define SPI_CFG2_SSA_0                                 (0x00000020UL)
#define SPI_CFG2_SSA_1                                 (0x00000040UL)
#define SPI_CFG2_SSA_2                                 (0x00000080UL)
#define SPI_CFG2_DSIZE_POS                             (8U)
#define SPI_CFG2_DSIZE                                 (0x00000F00UL)
#define SPI_CFG2_LSBF_POS                              (12U)
#define SPI_CFG2_LSBF                                  (0x00001000UL)
#define SPI_CFG2_MIDIE_POS                             (13U)
#define SPI_CFG2_MIDIE                                 (0x00002000UL)
#define SPI_CFG2_MSSDLE_POS                            (14U)
#define SPI_CFG2_MSSDLE                                (0x00004000UL)
#define SPI_CFG2_MSSIE_POS                             (15U)
#define SPI_CFG2_MSSIE                                 (0x00008000UL)

/*******************************************************************************
                Bit definition for Peripheral SRAMC
*******************************************************************************/
/*  Bit definition for SRAMC_CKCR register  */
#define SRAMC_CKCR_PYOAD_POS                           (0U)
#define SRAMC_CKCR_PYOAD                               (0x00000001UL)
#define SRAMC_CKCR_ECCOAD_POS                          (16U)
#define SRAMC_CKCR_ECCOAD                              (0x00010000UL)
#define SRAMC_CKCR_BECCOAD_POS                         (17U)
#define SRAMC_CKCR_BECCOAD                             (0x00020000UL)
#define SRAMC_CKCR_HECCOAD_POS                         (18U)
#define SRAMC_CKCR_HECCOAD                             (0x00040000UL)
#define SRAMC_CKCR_ECCMOD_POS                          (24U)
#define SRAMC_CKCR_ECCMOD                              (0x03000000UL)
#define SRAMC_CKCR_ECCMOD_0                            (0x01000000UL)
#define SRAMC_CKCR_ECCMOD_1                            (0x02000000UL)
#define SRAMC_CKCR_BECCMOD_POS                         (26U)
#define SRAMC_CKCR_BECCMOD                             (0x0C000000UL)
#define SRAMC_CKCR_BECCMOD_0                           (0x04000000UL)
#define SRAMC_CKCR_BECCMOD_1                           (0x08000000UL)
#define SRAMC_CKCR_HECCMOD_POS                         (28U)
#define SRAMC_CKCR_HECCMOD                             (0x30000000UL)
#define SRAMC_CKCR_HECCMOD_0                           (0x10000000UL)
#define SRAMC_CKCR_HECCMOD_1                           (0x20000000UL)

/*  Bit definition for SRAMC_CKPR register  */
#define SRAMC_CKPR_CKPRC_POS                           (0U)
#define SRAMC_CKPR_CKPRC                               (0x00000001UL)
#define SRAMC_CKPR_CKPRKW_POS                          (1U)
#define SRAMC_CKPR_CKPRKW                              (0x000000FEUL)

/*  Bit definition for SRAMC_CKSR register  */
#define SRAMC_CKSR_SRAMH_1ERR_POS                      (2U)
#define SRAMC_CKSR_SRAMH_1ERR                          (0x00000004UL)
#define SRAMC_CKSR_SRAMH_2ERR_POS                      (3U)
#define SRAMC_CKSR_SRAMH_2ERR                          (0x00000008UL)
#define SRAMC_CKSR_SRAM0_1ERR_POS                      (4U)
#define SRAMC_CKSR_SRAM0_1ERR                          (0x00000010UL)
#define SRAMC_CKSR_SRAM0_2ERR_POS                      (5U)
#define SRAMC_CKSR_SRAM0_2ERR                          (0x00000020UL)
#define SRAMC_CKSR_SRAMB_1ERR_POS                      (6U)
#define SRAMC_CKSR_SRAMB_1ERR                          (0x00000040UL)
#define SRAMC_CKSR_SRAMB_2ERR_POS                      (7U)
#define SRAMC_CKSR_SRAMB_2ERR                          (0x00000080UL)
#define SRAMC_CKSR_CACHE_PYERR_POS                     (8U)
#define SRAMC_CKSR_CACHE_PYERR                         (0x00000100UL)

/*  Bit definition for SRAMC_SRAM0_EIEN register  */
#define SRAMC_SRAM0_EIEN_EIEN                          (0x00000001UL)

/*  Bit definition for SRAMC_SRAM0_EIBIT0 register  */
#define SRAMC_SRAM0_EIBIT0                             (0xFFFFFFFFUL)

/*  Bit definition for SRAMC_SRAM0_EIBIT1 register  */
#define SRAMC_SRAM0_EIBIT1_EIBIT                       (0x0000007FUL)

/*  Bit definition for SRAMC_SRAM0_ECCERRADDR register  */
#define SRAMC_SRAM0_ECCERRADDR_ECCERRADDR              (0x00007FFFUL)

/*  Bit definition for SRAMC_SRAMH_EIEN register  */
#define SRAMC_SRAMH_EIEN_EIEN                          (0x00000001UL)

/*  Bit definition for SRAMC_SRAMH_EIBIT0 register  */
#define SRAMC_SRAMH_EIBIT0                             (0xFFFFFFFFUL)

/*  Bit definition for SRAMC_SRAMH_EIBIT1 register  */
#define SRAMC_SRAMH_EIBIT1_EIBIT                       (0x0000007FUL)

/*  Bit definition for SRAMC_SRAMH_ECCERRADDR register  */
#define SRAMC_SRAMH_ECCERRADDR_ECCERRADDR              (0x00007FFFUL)

/*  Bit definition for SRAMC_SRAMB_EIEN register  */
#define SRAMC_SRAMB_EIEN_EIEN                          (0x00000001UL)

/*  Bit definition for SRAMC_SRAMB_EIBIT0 register  */
#define SRAMC_SRAMB_EIBIT0                             (0xFFFFFFFFUL)

/*  Bit definition for SRAMC_SRAMB_EIBIT1 register  */
#define SRAMC_SRAMB_EIBIT1_EIBIT                       (0x0000007FUL)

/*  Bit definition for SRAMC_SRAMB_ECCERRADDR register  */
#define SRAMC_SRAMB_ECCERRADDR_ECCERRADDR              (0x00000FFFUL)

/*******************************************************************************
                Bit definition for Peripheral SWDT
*******************************************************************************/
/*  Bit definition for SWDT_CR register  */
#define SWDT_CR_PERI_POS                               (0U)
#define SWDT_CR_PERI                                   (0x00000003UL)
#define SWDT_CR_PERI_0                                 (0x00000001UL)
#define SWDT_CR_PERI_1                                 (0x00000002UL)
#define SWDT_CR_CKS_POS                                (4U)
#define SWDT_CR_CKS                                    (0x000000F0UL)
#define SWDT_CR_WDPT_POS                               (8U)
#define SWDT_CR_WDPT                                   (0x00000F00UL)
#define SWDT_CR_SLPOFF_POS                             (16U)
#define SWDT_CR_SLPOFF                                 (0x00010000UL)
#define SWDT_CR_ITS_POS                                (31U)
#define SWDT_CR_ITS                                    (0x80000000UL)

/*  Bit definition for SWDT_SR register  */
#define SWDT_SR_CNT_POS                                (0U)
#define SWDT_SR_CNT                                    (0x0000FFFFUL)
#define SWDT_SR_UDF_POS                                (16U)
#define SWDT_SR_UDF                                    (0x00010000UL)
#define SWDT_SR_REF_POS                                (17U)
#define SWDT_SR_REF                                    (0x00020000UL)

/*  Bit definition for SWDT_RR register  */
#define SWDT_RR_RF                                     (0x0000FFFFUL)

/*******************************************************************************
                Bit definition for Peripheral TMR0
*******************************************************************************/
/*  Bit definition for TMR0_CNTAR register  */
#define TMR0_CNTAR_CNTA                                (0x0000FFFFUL)

/*  Bit definition for TMR0_CNTBR register  */
#define TMR0_CNTBR_CNTB                                (0x0000FFFFUL)

/*  Bit definition for TMR0_CMPAR register  */
#define TMR0_CMPAR_CMPA                                (0x0000FFFFUL)

/*  Bit definition for TMR0_CMPBR register  */
#define TMR0_CMPBR_CMPB                                (0x0000FFFFUL)

/*  Bit definition for TMR0_BCONR register  */
#define TMR0_BCONR_CSTA_POS                            (0U)
#define TMR0_BCONR_CSTA                                (0x00000001UL)
#define TMR0_BCONR_CAPMDA_POS                          (1U)
#define TMR0_BCONR_CAPMDA                              (0x00000002UL)
#define TMR0_BCONR_CMENA_POS                           (2U)
#define TMR0_BCONR_CMENA                               (0x00000004UL)
#define TMR0_BCONR_OVENA_POS                           (3U)
#define TMR0_BCONR_OVENA                               (0x00000008UL)
#define TMR0_BCONR_CKDIVA_POS                          (4U)
#define TMR0_BCONR_CKDIVA                              (0x000000F0UL)
#define TMR0_BCONR_SYNSA_POS                           (8U)
#define TMR0_BCONR_SYNSA                               (0x00000100UL)
#define TMR0_BCONR_SYNCLKA_POS                         (9U)
#define TMR0_BCONR_SYNCLKA                             (0x00000200UL)
#define TMR0_BCONR_ASYNCLKA_POS                        (10U)
#define TMR0_BCONR_ASYNCLKA                            (0x00000400UL)
#define TMR0_BCONR_HSTAA_POS                           (12U)
#define TMR0_BCONR_HSTAA                               (0x00001000UL)
#define TMR0_BCONR_HSTPA_POS                           (13U)
#define TMR0_BCONR_HSTPA                               (0x00002000UL)
#define TMR0_BCONR_HCLEA_POS                           (14U)
#define TMR0_BCONR_HCLEA                               (0x00004000UL)
#define TMR0_BCONR_HICPA_POS                           (15U)
#define TMR0_BCONR_HICPA                               (0x00008000UL)
#define TMR0_BCONR_CSTB_POS                            (16U)
#define TMR0_BCONR_CSTB                                (0x00010000UL)
#define TMR0_BCONR_CAPMDB_POS                          (17U)
#define TMR0_BCONR_CAPMDB                              (0x00020000UL)
#define TMR0_BCONR_CMENB_POS                           (18U)
#define TMR0_BCONR_CMENB                               (0x00040000UL)
#define TMR0_BCONR_OVENB_POS                           (19U)
#define TMR0_BCONR_OVENB                               (0x00080000UL)
#define TMR0_BCONR_CKDIVB_POS                          (20U)
#define TMR0_BCONR_CKDIVB                              (0x00F00000UL)
#define TMR0_BCONR_SYNSB_POS                           (24U)
#define TMR0_BCONR_SYNSB                               (0x01000000UL)
#define TMR0_BCONR_SYNCLKB_POS                         (25U)
#define TMR0_BCONR_SYNCLKB                             (0x02000000UL)
#define TMR0_BCONR_ASYNCLKB_POS                        (26U)
#define TMR0_BCONR_ASYNCLKB                            (0x04000000UL)
#define TMR0_BCONR_HSTAB_POS                           (28U)
#define TMR0_BCONR_HSTAB                               (0x10000000UL)
#define TMR0_BCONR_HSTPB_POS                           (29U)
#define TMR0_BCONR_HSTPB                               (0x20000000UL)
#define TMR0_BCONR_HCLEB_POS                           (30U)
#define TMR0_BCONR_HCLEB                               (0x40000000UL)
#define TMR0_BCONR_HICPB_POS                           (31U)
#define TMR0_BCONR_HICPB                               (0x80000000UL)

/*  Bit definition for TMR0_STFLR register  */
#define TMR0_STFLR_CMFA_POS                            (0U)
#define TMR0_STFLR_CMFA                                (0x00000001UL)
#define TMR0_STFLR_OVFA_POS                            (1U)
#define TMR0_STFLR_OVFA                                (0x00000002UL)
#define TMR0_STFLR_ICPA_POS                            (2U)
#define TMR0_STFLR_ICPA                                (0x00000004UL)
#define TMR0_STFLR_SYDA_POS                            (8U)
#define TMR0_STFLR_SYDA                                (0x00000100UL)
#define TMR0_STFLR_CMFB_POS                            (16U)
#define TMR0_STFLR_CMFB                                (0x00010000UL)
#define TMR0_STFLR_OVFB_POS                            (17U)
#define TMR0_STFLR_OVFB                                (0x00020000UL)
#define TMR0_STFLR_ICPB_POS                            (18U)
#define TMR0_STFLR_ICPB                                (0x00040000UL)
#define TMR0_STFLR_SYDB_POS                            (24U)
#define TMR0_STFLR_SYDB                                (0x01000000UL)

/*******************************************************************************
                Bit definition for Peripheral TMR4
*******************************************************************************/
/*  Bit definition for TMR4_OCCRUH register  */
#define TMR4_OCCRUH                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRUL register  */
#define TMR4_OCCRUL                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRVH register  */
#define TMR4_OCCRVH                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRVL register  */
#define TMR4_OCCRVL                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRWH register  */
#define TMR4_OCCRWH                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRWL register  */
#define TMR4_OCCRWL                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRXH register  */
#define TMR4_OCCRXH                                    (0xFFFFU)

/*  Bit definition for TMR4_OCCRXL register  */
#define TMR4_OCCRXL                                    (0xFFFFU)

/*  Bit definition for TMR4_OCSR register  */
#define TMR4_OCSR_OCEH_POS                             (0U)
#define TMR4_OCSR_OCEH                                 (0x0001U)
#define TMR4_OCSR_OCEL_POS                             (1U)
#define TMR4_OCSR_OCEL                                 (0x0002U)
#define TMR4_OCSR_OCPH_POS                             (2U)
#define TMR4_OCSR_OCPH                                 (0x0004U)
#define TMR4_OCSR_OCPL_POS                             (3U)
#define TMR4_OCSR_OCPL                                 (0x0008U)
#define TMR4_OCSR_OCIEH_POS                            (4U)
#define TMR4_OCSR_OCIEH                                (0x0010U)
#define TMR4_OCSR_OCIEL_POS                            (5U)
#define TMR4_OCSR_OCIEL                                (0x0020U)
#define TMR4_OCSR_OCFH_POS                             (6U)
#define TMR4_OCSR_OCFH                                 (0x0040U)
#define TMR4_OCSR_OCFL_POS                             (7U)
#define TMR4_OCSR_OCFL                                 (0x0080U)

/*  Bit definition for TMR4_OCER register  */
#define TMR4_OCER_CHBUFEN_POS                          (0U)
#define TMR4_OCER_CHBUFEN                              (0x0003U)
#define TMR4_OCER_CHBUFEN_0                            (0x0001U)
#define TMR4_OCER_CHBUFEN_1                            (0x0002U)
#define TMR4_OCER_CLBUFEN_POS                          (2U)
#define TMR4_OCER_CLBUFEN                              (0x000CU)
#define TMR4_OCER_CLBUFEN_0                            (0x0004U)
#define TMR4_OCER_CLBUFEN_1                            (0x0008U)
#define TMR4_OCER_MHBUFEN_POS                          (4U)
#define TMR4_OCER_MHBUFEN                              (0x0030U)
#define TMR4_OCER_MHBUFEN_0                            (0x0010U)
#define TMR4_OCER_MHBUFEN_1                            (0x0020U)
#define TMR4_OCER_MLBUFEN_POS                          (6U)
#define TMR4_OCER_MLBUFEN                              (0x00C0U)
#define TMR4_OCER_MLBUFEN_0                            (0x0040U)
#define TMR4_OCER_MLBUFEN_1                            (0x0080U)
#define TMR4_OCER_LMCH_POS                             (8U)
#define TMR4_OCER_LMCH                                 (0x0100U)
#define TMR4_OCER_LMCL_POS                             (9U)
#define TMR4_OCER_LMCL                                 (0x0200U)
#define TMR4_OCER_LMMH_POS                             (10U)
#define TMR4_OCER_LMMH                                 (0x0400U)
#define TMR4_OCER_LMML_POS                             (11U)
#define TMR4_OCER_LMML                                 (0x0800U)
#define TMR4_OCER_MCECH_POS                            (12U)
#define TMR4_OCER_MCECH                                (0x1000U)
#define TMR4_OCER_MCECL_POS                            (13U)
#define TMR4_OCER_MCECL                                (0x2000U)

/*  Bit definition for TMR4_OCMRH register  */
#define TMR4_OCMRH_OCFDCH_POS                          (0U)
#define TMR4_OCMRH_OCFDCH                              (0x0001U)
#define TMR4_OCMRH_OCFPKH_POS                          (1U)
#define TMR4_OCMRH_OCFPKH                              (0x0002U)
#define TMR4_OCMRH_OCFUCH_POS                          (2U)
#define TMR4_OCMRH_OCFUCH                              (0x0004U)
#define TMR4_OCMRH_OCFZRH_POS                          (3U)
#define TMR4_OCMRH_OCFZRH                              (0x0008U)
#define TMR4_OCMRH_OPDCH_POS                           (4U)
#define TMR4_OCMRH_OPDCH                               (0x0030U)
#define TMR4_OCMRH_OPDCH_0                             (0x0010U)
#define TMR4_OCMRH_OPDCH_1                             (0x0020U)
#define TMR4_OCMRH_OPPKH_POS                           (6U)
#define TMR4_OCMRH_OPPKH                               (0x00C0U)
#define TMR4_OCMRH_OPPKH_0                             (0x0040U)
#define TMR4_OCMRH_OPPKH_1                             (0x0080U)
#define TMR4_OCMRH_OPUCH_POS                           (8U)
#define TMR4_OCMRH_OPUCH                               (0x0300U)
#define TMR4_OCMRH_OPUCH_0                             (0x0100U)
#define TMR4_OCMRH_OPUCH_1                             (0x0200U)
#define TMR4_OCMRH_OPZRH_POS                           (10U)
#define TMR4_OCMRH_OPZRH                               (0x0C00U)
#define TMR4_OCMRH_OPZRH_0                             (0x0400U)
#define TMR4_OCMRH_OPZRH_1                             (0x0800U)
#define TMR4_OCMRH_OPNPKH_POS                          (12U)
#define TMR4_OCMRH_OPNPKH                              (0x3000U)
#define TMR4_OCMRH_OPNPKH_0                            (0x1000U)
#define TMR4_OCMRH_OPNPKH_1                            (0x2000U)
#define TMR4_OCMRH_OPNZRH_POS                          (14U)
#define TMR4_OCMRH_OPNZRH                              (0xC000U)
#define TMR4_OCMRH_OPNZRH_0                            (0x4000U)
#define TMR4_OCMRH_OPNZRH_1                            (0x8000U)

/*  Bit definition for TMR4_OCMRL register  */
#define TMR4_OCMRL_OCFDCL_POS                          (0U)
#define TMR4_OCMRL_OCFDCL                              (0x00000001UL)
#define TMR4_OCMRL_OCFPKL_POS                          (1U)
#define TMR4_OCMRL_OCFPKL                              (0x00000002UL)
#define TMR4_OCMRL_OCFUCL_POS                          (2U)
#define TMR4_OCMRL_OCFUCL                              (0x00000004UL)
#define TMR4_OCMRL_OCFZRL_POS                          (3U)
#define TMR4_OCMRL_OCFZRL                              (0x00000008UL)
#define TMR4_OCMRL_OPDCL_POS                           (4U)
#define TMR4_OCMRL_OPDCL                               (0x00000030UL)
#define TMR4_OCMRL_OPDCL_0                             (0x00000010UL)
#define TMR4_OCMRL_OPDCL_1                             (0x00000020UL)
#define TMR4_OCMRL_OPPKL_POS                           (6U)
#define TMR4_OCMRL_OPPKL                               (0x000000C0UL)
#define TMR4_OCMRL_OPPKL_0                             (0x00000040UL)
#define TMR4_OCMRL_OPPKL_1                             (0x00000080UL)
#define TMR4_OCMRL_OPUCL_POS                           (8U)
#define TMR4_OCMRL_OPUCL                               (0x00000300UL)
#define TMR4_OCMRL_OPUCL_0                             (0x00000100UL)
#define TMR4_OCMRL_OPUCL_1                             (0x00000200UL)
#define TMR4_OCMRL_OPZRL_POS                           (10U)
#define TMR4_OCMRL_OPZRL                               (0x00000C00UL)
#define TMR4_OCMRL_OPZRL_0                             (0x00000400UL)
#define TMR4_OCMRL_OPZRL_1                             (0x00000800UL)
#define TMR4_OCMRL_OPNPKL_POS                          (12U)
#define TMR4_OCMRL_OPNPKL                              (0x00003000UL)
#define TMR4_OCMRL_OPNPKL_0                            (0x00001000UL)
#define TMR4_OCMRL_OPNPKL_1                            (0x00002000UL)
#define TMR4_OCMRL_OPNZRL_POS                          (14U)
#define TMR4_OCMRL_OPNZRL                              (0x0000C000UL)
#define TMR4_OCMRL_OPNZRL_0                            (0x00004000UL)
#define TMR4_OCMRL_OPNZRL_1                            (0x00008000UL)
#define TMR4_OCMRL_EOPNDCL_POS                         (16U)
#define TMR4_OCMRL_EOPNDCL                             (0x00030000UL)
#define TMR4_OCMRL_EOPNDCL_0                           (0x00010000UL)
#define TMR4_OCMRL_EOPNDCL_1                           (0x00020000UL)
#define TMR4_OCMRL_EOPNUCL_POS                         (18U)
#define TMR4_OCMRL_EOPNUCL                             (0x000C0000UL)
#define TMR4_OCMRL_EOPNUCL_0                           (0x00040000UL)
#define TMR4_OCMRL_EOPNUCL_1                           (0x00080000UL)
#define TMR4_OCMRL_EOPDCL_POS                          (20U)
#define TMR4_OCMRL_EOPDCL                              (0x00300000UL)
#define TMR4_OCMRL_EOPDCL_0                            (0x00100000UL)
#define TMR4_OCMRL_EOPDCL_1                            (0x00200000UL)
#define TMR4_OCMRL_EOPPKL_POS                          (22U)
#define TMR4_OCMRL_EOPPKL                              (0x00C00000UL)
#define TMR4_OCMRL_EOPPKL_0                            (0x00400000UL)
#define TMR4_OCMRL_EOPPKL_1                            (0x00800000UL)
#define TMR4_OCMRL_EOPUCL_POS                          (24U)
#define TMR4_OCMRL_EOPUCL                              (0x03000000UL)
#define TMR4_OCMRL_EOPUCL_0                            (0x01000000UL)
#define TMR4_OCMRL_EOPUCL_1                            (0x02000000UL)
#define TMR4_OCMRL_EOPZRL_POS                          (26U)
#define TMR4_OCMRL_EOPZRL                              (0x0C000000UL)
#define TMR4_OCMRL_EOPZRL_0                            (0x04000000UL)
#define TMR4_OCMRL_EOPZRL_1                            (0x08000000UL)
#define TMR4_OCMRL_EOPNPKL_POS                         (28U)
#define TMR4_OCMRL_EOPNPKL                             (0x30000000UL)
#define TMR4_OCMRL_EOPNPKL_0                           (0x10000000UL)
#define TMR4_OCMRL_EOPNPKL_1                           (0x20000000UL)
#define TMR4_OCMRL_EOPNZRL_POS                         (30U)
#define TMR4_OCMRL_EOPNZRL                             (0xC0000000UL)
#define TMR4_OCMRL_EOPNZRL_0                           (0x40000000UL)
#define TMR4_OCMRL_EOPNZRL_1                           (0x80000000UL)

/*  Bit definition for TMR4_CPSR register  */
#define TMR4_CPSR                                      (0xFFFFU)

/*  Bit definition for TMR4_CNTR register  */
#define TMR4_CNTR                                      (0xFFFFU)

/*  Bit definition for TMR4_CCSR register  */
#define TMR4_CCSR_CKDIV_POS                            (0U)
#define TMR4_CCSR_CKDIV                                (0x000FU)
#define TMR4_CCSR_CLEAR_POS                            (4U)
#define TMR4_CCSR_CLEAR                                (0x0010U)
#define TMR4_CCSR_MODE_POS                             (5U)
#define TMR4_CCSR_MODE                                 (0x0020U)
#define TMR4_CCSR_STOP_POS                             (6U)
#define TMR4_CCSR_STOP                                 (0x0040U)
#define TMR4_CCSR_BUFEN_POS                            (7U)
#define TMR4_CCSR_BUFEN                                (0x0080U)
#define TMR4_CCSR_IRQPEN_POS                           (8U)
#define TMR4_CCSR_IRQPEN                               (0x0100U)
#define TMR4_CCSR_IRQPF_POS                            (9U)
#define TMR4_CCSR_IRQPF                                (0x0200U)
#define TMR4_CCSR_IRQZEN_POS                           (10U)
#define TMR4_CCSR_IRQZEN                               (0x0400U)
#define TMR4_CCSR_IRQZF_POS                            (11U)
#define TMR4_CCSR_IRQZF                                (0x0800U)
#define TMR4_CCSR_HST_POS                              (13U)
#define TMR4_CCSR_HST                                  (0x2000U)
#define TMR4_CCSR_ECKEN_POS                            (15U)
#define TMR4_CCSR_ECKEN                                (0x8000U)

/*  Bit definition for TMR4_CVPR register  */
#define TMR4_CVPR_ZIM_POS                              (0U)
#define TMR4_CVPR_ZIM                                  (0x000FU)
#define TMR4_CVPR_PIM_POS                              (4U)
#define TMR4_CVPR_PIM                                  (0x00F0U)
#define TMR4_CVPR_ZIC_POS                              (8U)
#define TMR4_CVPR_ZIC                                  (0x0F00U)
#define TMR4_CVPR_PIC_POS                              (12U)
#define TMR4_CVPR_PIC                                  (0xF000U)

/*  Bit definition for TMR4_PSCR register  */
#define TMR4_PSCR_OEUH_POS                             (0U)
#define TMR4_PSCR_OEUH                                 (0x00000001UL)
#define TMR4_PSCR_OEUL_POS                             (1U)
#define TMR4_PSCR_OEUL                                 (0x00000002UL)
#define TMR4_PSCR_OEVH_POS                             (2U)
#define TMR4_PSCR_OEVH                                 (0x00000004UL)
#define TMR4_PSCR_OEVL_POS                             (3U)
#define TMR4_PSCR_OEVL                                 (0x00000008UL)
#define TMR4_PSCR_OEWH_POS                             (4U)
#define TMR4_PSCR_OEWH                                 (0x00000010UL)
#define TMR4_PSCR_OEWL_POS                             (5U)
#define TMR4_PSCR_OEWL                                 (0x00000020UL)
#define TMR4_PSCR_OEXH_POS                             (6U)
#define TMR4_PSCR_OEXH                                 (0x00000040UL)
#define TMR4_PSCR_OEXL_POS                             (7U)
#define TMR4_PSCR_OEXL                                 (0x00000080UL)
#define TMR4_PSCR_MOE_POS                              (8U)
#define TMR4_PSCR_MOE                                  (0x00000100UL)
#define TMR4_PSCR_AOE_POS                              (9U)
#define TMR4_PSCR_AOE                                  (0x00000200UL)
#define TMR4_PSCR_ODT_POS                              (10U)
#define TMR4_PSCR_ODT                                  (0x00000C00UL)
#define TMR4_PSCR_ODT_0                                (0x00000400UL)
#define TMR4_PSCR_ODT_1                                (0x00000800UL)
#define TMR4_PSCR_OSUH_POS                             (16U)
#define TMR4_PSCR_OSUH                                 (0x00030000UL)
#define TMR4_PSCR_OSUH_0                               (0x00010000UL)
#define TMR4_PSCR_OSUH_1                               (0x00020000UL)
#define TMR4_PSCR_OSUL_POS                             (18U)
#define TMR4_PSCR_OSUL                                 (0x000C0000UL)
#define TMR4_PSCR_OSUL_0                               (0x00040000UL)
#define TMR4_PSCR_OSUL_1                               (0x00080000UL)
#define TMR4_PSCR_OSVH_POS                             (20U)
#define TMR4_PSCR_OSVH                                 (0x00300000UL)
#define TMR4_PSCR_OSVH_0                               (0x00100000UL)
#define TMR4_PSCR_OSVH_1                               (0x00200000UL)
#define TMR4_PSCR_OSVL_POS                             (22U)
#define TMR4_PSCR_OSVL                                 (0x00C00000UL)
#define TMR4_PSCR_OSVL_0                               (0x00400000UL)
#define TMR4_PSCR_OSVL_1                               (0x00800000UL)
#define TMR4_PSCR_OSWH_POS                             (24U)
#define TMR4_PSCR_OSWH                                 (0x03000000UL)
#define TMR4_PSCR_OSWH_0                               (0x01000000UL)
#define TMR4_PSCR_OSWH_1                               (0x02000000UL)
#define TMR4_PSCR_OSWL_POS                             (26U)
#define TMR4_PSCR_OSWL                                 (0x0C000000UL)
#define TMR4_PSCR_OSWL_0                               (0x04000000UL)
#define TMR4_PSCR_OSWL_1                               (0x08000000UL)
#define TMR4_PSCR_OSXH_POS                             (28U)
#define TMR4_PSCR_OSXH                                 (0x30000000UL)
#define TMR4_PSCR_OSXH_0                               (0x10000000UL)
#define TMR4_PSCR_OSXH_1                               (0x20000000UL)
#define TMR4_PSCR_OSXL_POS                             (30U)
#define TMR4_PSCR_OSXL                                 (0xC0000000UL)
#define TMR4_PSCR_OSXL_0                               (0x40000000UL)
#define TMR4_PSCR_OSXL_1                               (0x80000000UL)

/*  Bit definition for TMR4_PFSRU register  */
#define TMR4_PFSRU                                     (0xFFFFU)

/*  Bit definition for TMR4_PDARU register  */
#define TMR4_PDARU                                     (0xFFFFU)

/*  Bit definition for TMR4_PDBRU register  */
#define TMR4_PDBRU                                     (0xFFFFU)

/*  Bit definition for TMR4_PFSRV register  */
#define TMR4_PFSRV                                     (0xFFFFU)

/*  Bit definition for TMR4_PDARV register  */
#define TMR4_PDARV                                     (0xFFFFU)

/*  Bit definition for TMR4_PDBRV register  */
#define TMR4_PDBRV                                     (0xFFFFU)

/*  Bit definition for TMR4_PFSRW register  */
#define TMR4_PFSRW                                     (0xFFFFU)

/*  Bit definition for TMR4_PDARW register  */
#define TMR4_PDARW                                     (0xFFFFU)

/*  Bit definition for TMR4_PDBRW register  */
#define TMR4_PDBRW                                     (0xFFFFU)

/*  Bit definition for TMR4_PFSRX register  */
#define TMR4_PFSRX                                     (0xFFFFU)

/*  Bit definition for TMR4_PDARX register  */
#define TMR4_PDARX                                     (0xFFFFU)

/*  Bit definition for TMR4_PDBRX register  */
#define TMR4_PDBRX                                     (0xFFFFU)

/*  Bit definition for TMR4_POCR register  */
#define TMR4_POCR_DIVCK_POS                            (0U)
#define TMR4_POCR_DIVCK                                (0x0007U)
#define TMR4_POCR_PWMMD_POS                            (4U)
#define TMR4_POCR_PWMMD                                (0x0030U)
#define TMR4_POCR_PWMMD_0                              (0x0010U)
#define TMR4_POCR_PWMMD_1                              (0x0020U)
#define TMR4_POCR_LVLS_POS                             (6U)
#define TMR4_POCR_LVLS                                 (0x00C0U)
#define TMR4_POCR_LVLS_0                               (0x0040U)
#define TMR4_POCR_LVLS_1                               (0x0080U)

/*  Bit definition for TMR4_SCCRUH register  */
#define TMR4_SCCRUH                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRUL register  */
#define TMR4_SCCRUL                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRVH register  */
#define TMR4_SCCRVH                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRVL register  */
#define TMR4_SCCRVL                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRWH register  */
#define TMR4_SCCRWH                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRWL register  */
#define TMR4_SCCRWL                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRXH register  */
#define TMR4_SCCRXH                                    (0xFFFFU)

/*  Bit definition for TMR4_SCCRXL register  */
#define TMR4_SCCRXL                                    (0xFFFFU)

/*  Bit definition for TMR4_SCSR register  */
#define TMR4_SCSR_BUFEN_POS                            (0U)
#define TMR4_SCSR_BUFEN                                (0x0003U)
#define TMR4_SCSR_BUFEN_0                              (0x0001U)
#define TMR4_SCSR_BUFEN_1                              (0x0002U)
#define TMR4_SCSR_EVTOS_POS                            (2U)
#define TMR4_SCSR_EVTOS                                (0x001CU)
#define TMR4_SCSR_EVTOS_0                              (0x0004U)
#define TMR4_SCSR_EVTOS_1                              (0x0008U)
#define TMR4_SCSR_EVTOS_2                              (0x0010U)
#define TMR4_SCSR_LMC_POS                              (5U)
#define TMR4_SCSR_LMC                                  (0x0020U)
#define TMR4_SCSR_EVTMS_POS                            (8U)
#define TMR4_SCSR_EVTMS                                (0x0100U)
#define TMR4_SCSR_EVTDS_POS                            (9U)
#define TMR4_SCSR_EVTDS                                (0x0200U)
#define TMR4_SCSR_DEN_POS                              (12U)
#define TMR4_SCSR_DEN                                  (0x1000U)
#define TMR4_SCSR_PEN_POS                              (13U)
#define TMR4_SCSR_PEN                                  (0x2000U)
#define TMR4_SCSR_UEN_POS                              (14U)
#define TMR4_SCSR_UEN                                  (0x4000U)
#define TMR4_SCSR_ZEN_POS                              (15U)
#define TMR4_SCSR_ZEN                                  (0x8000U)

/*  Bit definition for TMR4_SCMR register  */
#define TMR4_SCMR_AMC_POS                              (0U)
#define TMR4_SCMR_AMC                                  (0x000FU)
#define TMR4_SCMR_MZCE_POS                             (6U)
#define TMR4_SCMR_MZCE                                 (0x0040U)
#define TMR4_SCMR_MPCE_POS                             (7U)
#define TMR4_SCMR_MPCE                                 (0x0080U)

/*  Bit definition for TMR4_SCER register  */
#define TMR4_SCER_EVTRS_POS                            (0U)
#define TMR4_SCER_EVTRS                                (0x000FU)
#define TMR4_SCER_PCTS_POS                             (8U)
#define TMR4_SCER_PCTS                                 (0x0100U)

/*  Bit definition for TMR4_RCSR register  */
#define TMR4_RCSR_RTIDU_POS                            (0U)
#define TMR4_RCSR_RTIDU                                (0x00000001UL)
#define TMR4_RCSR_RTIDV_POS                            (1U)
#define TMR4_RCSR_RTIDV                                (0x00000002UL)
#define TMR4_RCSR_RTIDW_POS                            (2U)
#define TMR4_RCSR_RTIDW                                (0x00000004UL)
#define TMR4_RCSR_RTIDX_POS                            (3U)
#define TMR4_RCSR_RTIDX                                (0x00000008UL)
#define TMR4_RCSR_RTIFU_POS                            (4U)
#define TMR4_RCSR_RTIFU                                (0x00000010UL)
#define TMR4_RCSR_RTICU_POS                            (5U)
#define TMR4_RCSR_RTICU                                (0x00000020UL)
#define TMR4_RCSR_RTEU_POS                             (6U)
#define TMR4_RCSR_RTEU                                 (0x00000040UL)
#define TMR4_RCSR_RTSU_POS                             (7U)
#define TMR4_RCSR_RTSU                                 (0x00000080UL)
#define TMR4_RCSR_RTIFV_POS                            (8U)
#define TMR4_RCSR_RTIFV                                (0x00000100UL)
#define TMR4_RCSR_RTICV_POS                            (9U)
#define TMR4_RCSR_RTICV                                (0x00000200UL)
#define TMR4_RCSR_RTEV_POS                             (10U)
#define TMR4_RCSR_RTEV                                 (0x00000400UL)
#define TMR4_RCSR_RTSV_POS                             (11U)
#define TMR4_RCSR_RTSV                                 (0x00000800UL)
#define TMR4_RCSR_RTIFW_POS                            (12U)
#define TMR4_RCSR_RTIFW                                (0x00001000UL)
#define TMR4_RCSR_RTICW_POS                            (13U)
#define TMR4_RCSR_RTICW                                (0x00002000UL)
#define TMR4_RCSR_RTEW_POS                             (14U)
#define TMR4_RCSR_RTEW                                 (0x00004000UL)
#define TMR4_RCSR_RTSW_POS                             (15U)
#define TMR4_RCSR_RTSW                                 (0x00008000UL)
#define TMR4_RCSR_RTIFX_POS                            (16U)
#define TMR4_RCSR_RTIFX                                (0x00010000UL)
#define TMR4_RCSR_RTICX_POS                            (17U)
#define TMR4_RCSR_RTICX                                (0x00020000UL)
#define TMR4_RCSR_RTEX_POS                             (18U)
#define TMR4_RCSR_RTEX                                 (0x00040000UL)
#define TMR4_RCSR_RTSX_POS                             (19U)
#define TMR4_RCSR_RTSX                                 (0x00080000UL)

/*  Bit definition for TMR4_SCIR register  */
#define TMR4_SCIR_ITEN0_POS                            (0U)
#define TMR4_SCIR_ITEN0                                (0x0001U)
#define TMR4_SCIR_ITEN1_POS                            (1U)
#define TMR4_SCIR_ITEN1                                (0x0002U)
#define TMR4_SCIR_ITEN2_POS                            (2U)
#define TMR4_SCIR_ITEN2                                (0x0004U)
#define TMR4_SCIR_ITEN3_POS                            (3U)
#define TMR4_SCIR_ITEN3                                (0x0008U)
#define TMR4_SCIR_ITEN4_POS                            (4U)
#define TMR4_SCIR_ITEN4                                (0x0010U)
#define TMR4_SCIR_ITEN5_POS                            (5U)
#define TMR4_SCIR_ITEN5                                (0x0020U)
#define TMR4_SCIR_ITEN6_POS                            (6U)
#define TMR4_SCIR_ITEN6                                (0x0040U)
#define TMR4_SCIR_ITEN7_POS                            (7U)
#define TMR4_SCIR_ITEN7                                (0x0080U)

/*  Bit definition for TMR4_SCFR register  */
#define TMR4_SCFR_SF0_POS                              (0U)
#define TMR4_SCFR_SF0                                  (0x0001U)
#define TMR4_SCFR_SF1_POS                              (1U)
#define TMR4_SCFR_SF1                                  (0x0002U)
#define TMR4_SCFR_SF2_POS                              (2U)
#define TMR4_SCFR_SF2                                  (0x0004U)
#define TMR4_SCFR_SF3_POS                              (3U)
#define TMR4_SCFR_SF3                                  (0x0008U)
#define TMR4_SCFR_SF4_POS                              (4U)
#define TMR4_SCFR_SF4                                  (0x0010U)
#define TMR4_SCFR_SF5_POS                              (5U)
#define TMR4_SCFR_SF5                                  (0x0020U)
#define TMR4_SCFR_SF6_POS                              (6U)
#define TMR4_SCFR_SF6                                  (0x0040U)
#define TMR4_SCFR_SF7_POS                              (7U)
#define TMR4_SCFR_SF7                                  (0x0080U)

/*******************************************************************************
                Bit definition for Peripheral TMR6
*******************************************************************************/
/*  Bit definition for TMR6_CNTER register  */
#define TMR6_CNTER                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_UPDAR register  */
#define TMR6_UPDAR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_PERAR register  */
#define TMR6_PERAR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_PERBR register  */
#define TMR6_PERBR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_PERCR register  */
#define TMR6_PERCR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCMAR register  */
#define TMR6_GCMAR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCMBR register  */
#define TMR6_GCMBR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCMCR register  */
#define TMR6_GCMCR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCMDR register  */
#define TMR6_GCMDR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCMER register  */
#define TMR6_GCMER                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCMFR register  */
#define TMR6_GCMFR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_SCMAR register  */
#define TMR6_SCMAR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_SCMBR register  */
#define TMR6_SCMBR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_SCMCR register  */
#define TMR6_SCMCR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_SCMDR register  */
#define TMR6_SCMDR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_SCMER register  */
#define TMR6_SCMER                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_SCMFR register  */
#define TMR6_SCMFR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_DTUAR register  */
#define TMR6_DTUAR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_DTDAR register  */
#define TMR6_DTDAR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_DTUBR register  */
#define TMR6_DTUBR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_DTDBR register  */
#define TMR6_DTDBR                                     (0xFFFFFFFFUL)

/*  Bit definition for TMR6_GCONR register  */
#define TMR6_GCONR_START_POS                           (0U)
#define TMR6_GCONR_START                               (0x00000001UL)
#define TMR6_GCONR_DIR_POS                             (1U)
#define TMR6_GCONR_DIR                                 (0x00000002UL)
#define TMR6_GCONR_MODE_POS                            (2U)
#define TMR6_GCONR_MODE                                (0x00000004UL)
#define TMR6_GCONR_CKDIV_POS                           (4U)
#define TMR6_GCONR_CKDIV                               (0x000000F0UL)
#define TMR6_GCONR_OVSTP_POS                           (8U)
#define TMR6_GCONR_OVSTP                               (0x00000100UL)
#define TMR6_GCONR_ZMSKREV_POS                         (16U)
#define TMR6_GCONR_ZMSKREV                             (0x00010000UL)
#define TMR6_GCONR_ZMSKPOS_POS                         (17U)
#define TMR6_GCONR_ZMSKPOS                             (0x00020000UL)
#define TMR6_GCONR_ZMSKVAL_POS                         (18U)
#define TMR6_GCONR_ZMSKVAL                             (0x000C0000UL)
#define TMR6_GCONR_ZMSKVAL_0                           (0x00040000UL)
#define TMR6_GCONR_ZMSKVAL_1                           (0x00080000UL)

/*  Bit definition for TMR6_ICONR register  */
#define TMR6_ICONR_INTENA_POS                          (0U)
#define TMR6_ICONR_INTENA                              (0x00000001UL)
#define TMR6_ICONR_INTENB_POS                          (1U)
#define TMR6_ICONR_INTENB                              (0x00000002UL)
#define TMR6_ICONR_INTENC_POS                          (2U)
#define TMR6_ICONR_INTENC                              (0x00000004UL)
#define TMR6_ICONR_INTEND_POS                          (3U)
#define TMR6_ICONR_INTEND                              (0x00000008UL)
#define TMR6_ICONR_INTENE_POS                          (4U)
#define TMR6_ICONR_INTENE                              (0x00000010UL)
#define TMR6_ICONR_INTENF_POS                          (5U)
#define TMR6_ICONR_INTENF                              (0x00000020UL)
#define TMR6_ICONR_INTENOVF_POS                        (6U)
#define TMR6_ICONR_INTENOVF                            (0x00000040UL)
#define TMR6_ICONR_INTENUDF_POS                        (7U)
#define TMR6_ICONR_INTENUDF                            (0x00000080UL)
#define TMR6_ICONR_INTENDTE_POS                        (8U)
#define TMR6_ICONR_INTENDTE                            (0x00000100UL)
#define TMR6_ICONR_INTENSAU_POS                        (16U)
#define TMR6_ICONR_INTENSAU                            (0x00010000UL)
#define TMR6_ICONR_INTENSAD_POS                        (17U)
#define TMR6_ICONR_INTENSAD                            (0x00020000UL)
#define TMR6_ICONR_INTENSBU_POS                        (18U)
#define TMR6_ICONR_INTENSBU                            (0x00040000UL)
#define TMR6_ICONR_INTENSBD_POS                        (19U)
#define TMR6_ICONR_INTENSBD                            (0x00080000UL)

/*  Bit definition for TMR6_BCONR register  */
#define TMR6_BCONR_BENA_POS                            (0U)
#define TMR6_BCONR_BENA                                (0x00000001UL)
#define TMR6_BCONR_BSEA_POS                            (1U)
#define TMR6_BCONR_BSEA                                (0x00000002UL)
#define TMR6_BCONR_BTRUA_POS                           (2U)
#define TMR6_BCONR_BTRUA                               (0x00000004UL)
#define TMR6_BCONR_BTRDA_POS                           (3U)
#define TMR6_BCONR_BTRDA                               (0x00000008UL)
#define TMR6_BCONR_BENB_POS                            (4U)
#define TMR6_BCONR_BENB                                (0x00000010UL)
#define TMR6_BCONR_BSEB_POS                            (5U)
#define TMR6_BCONR_BSEB                                (0x00000020UL)
#define TMR6_BCONR_BTRUB_POS                           (6U)
#define TMR6_BCONR_BTRUB                               (0x00000040UL)
#define TMR6_BCONR_BTRDB_POS                           (7U)
#define TMR6_BCONR_BTRDB                               (0x00000080UL)
#define TMR6_BCONR_BENP_POS                            (8U)
#define TMR6_BCONR_BENP                                (0x00000100UL)
#define TMR6_BCONR_BSEP_POS                            (9U)
#define TMR6_BCONR_BSEP                                (0x00000200UL)
#define TMR6_BCONR_BTRUP_POS                           (10U)
#define TMR6_BCONR_BTRUP                               (0x00000400UL)
#define TMR6_BCONR_BTRDP_POS                           (11U)
#define TMR6_BCONR_BTRDP                               (0x00000800UL)
#define TMR6_BCONR_BENSPA_POS                          (16U)
#define TMR6_BCONR_BENSPA                              (0x00010000UL)
#define TMR6_BCONR_BSESPA_POS                          (17U)
#define TMR6_BCONR_BSESPA                              (0x00020000UL)
#define TMR6_BCONR_BTRUSPA_POS                         (18U)
#define TMR6_BCONR_BTRUSPA                             (0x00040000UL)
#define TMR6_BCONR_BTRDSPA_POS                         (19U)
#define TMR6_BCONR_BTRDSPA                             (0x00080000UL)
#define TMR6_BCONR_BENSPB_POS                          (20U)
#define TMR6_BCONR_BENSPB                              (0x00100000UL)
#define TMR6_BCONR_BSESPB_POS                          (21U)
#define TMR6_BCONR_BSESPB                              (0x00200000UL)
#define TMR6_BCONR_BTRUSPB_POS                         (22U)
#define TMR6_BCONR_BTRUSPB                             (0x00400000UL)
#define TMR6_BCONR_BTRDSPB_POS                         (23U)
#define TMR6_BCONR_BTRDSPB                             (0x00800000UL)

/*  Bit definition for TMR6_DCONR register  */
#define TMR6_DCONR_DTCEN_POS                           (0U)
#define TMR6_DCONR_DTCEN                               (0x00000001UL)
#define TMR6_DCONR_SEPA_POS                            (1U)
#define TMR6_DCONR_SEPA                                (0x00000002UL)
#define TMR6_DCONR_DTBENU_POS                          (4U)
#define TMR6_DCONR_DTBENU                              (0x00000010UL)
#define TMR6_DCONR_DTBEND_POS                          (5U)
#define TMR6_DCONR_DTBEND                              (0x00000020UL)
#define TMR6_DCONR_DTBTRU_POS                          (6U)
#define TMR6_DCONR_DTBTRU                              (0x00000040UL)
#define TMR6_DCONR_DTBTRD_POS                          (7U)
#define TMR6_DCONR_DTBTRD                              (0x00000080UL)

/*  Bit definition for TMR6_PCNAR register  */
#define TMR6_PCNAR_STACA_POS                           (0U)
#define TMR6_PCNAR_STACA                               (0x00000003UL)
#define TMR6_PCNAR_STACA_0                             (0x00000001UL)
#define TMR6_PCNAR_STACA_1                             (0x00000002UL)
#define TMR6_PCNAR_STPCA_POS                           (2U)
#define TMR6_PCNAR_STPCA                               (0x0000000CUL)
#define TMR6_PCNAR_STPCA_0                             (0x00000004UL)
#define TMR6_PCNAR_STPCA_1                             (0x00000008UL)
#define TMR6_PCNAR_OVFCA_POS                           (4U)
#define TMR6_PCNAR_OVFCA                               (0x00000030UL)
#define TMR6_PCNAR_OVFCA_0                             (0x00000010UL)
#define TMR6_PCNAR_OVFCA_1                             (0x00000020UL)
#define TMR6_PCNAR_UDFCA_POS                           (6U)
#define TMR6_PCNAR_UDFCA                               (0x000000C0UL)
#define TMR6_PCNAR_UDFCA_0                             (0x00000040UL)
#define TMR6_PCNAR_UDFCA_1                             (0x00000080UL)
#define TMR6_PCNAR_CMAUCA_POS                          (8U)
#define TMR6_PCNAR_CMAUCA                              (0x00000300UL)
#define TMR6_PCNAR_CMAUCA_0                            (0x00000100UL)
#define TMR6_PCNAR_CMAUCA_1                            (0x00000200UL)
#define TMR6_PCNAR_CMADCA_POS                          (10U)
#define TMR6_PCNAR_CMADCA                              (0x00000C00UL)
#define TMR6_PCNAR_CMADCA_0                            (0x00000400UL)
#define TMR6_PCNAR_CMADCA_1                            (0x00000800UL)
#define TMR6_PCNAR_CMBUCA_POS                          (12U)
#define TMR6_PCNAR_CMBUCA                              (0x00003000UL)
#define TMR6_PCNAR_CMBUCA_0                            (0x00001000UL)
#define TMR6_PCNAR_CMBUCA_1                            (0x00002000UL)
#define TMR6_PCNAR_CMBDCA_POS                          (14U)
#define TMR6_PCNAR_CMBDCA                              (0x0000C000UL)
#define TMR6_PCNAR_CMBDCA_0                            (0x00004000UL)
#define TMR6_PCNAR_CMBDCA_1                            (0x00008000UL)
#define TMR6_PCNAR_FORCA_POS                           (16U)
#define TMR6_PCNAR_FORCA                               (0x00030000UL)
#define TMR6_PCNAR_FORCA_0                             (0x00010000UL)
#define TMR6_PCNAR_FORCA_1                             (0x00020000UL)
#define TMR6_PCNAR_EMBCA_POS                           (20U)
#define TMR6_PCNAR_EMBCA                               (0x00300000UL)
#define TMR6_PCNAR_EMBCA_0                             (0x00100000UL)
#define TMR6_PCNAR_EMBCA_1                             (0x00200000UL)
#define TMR6_PCNAR_EMBRA_POS                           (22U)
#define TMR6_PCNAR_EMBRA                               (0x00C00000UL)
#define TMR6_PCNAR_EMBRA_0                             (0x00400000UL)
#define TMR6_PCNAR_EMBRA_1                             (0x00800000UL)
#define TMR6_PCNAR_EMBSA_POS                           (24U)
#define TMR6_PCNAR_EMBSA                               (0x03000000UL)
#define TMR6_PCNAR_EMBSA_0                             (0x01000000UL)
#define TMR6_PCNAR_EMBSA_1                             (0x02000000UL)
#define TMR6_PCNAR_OUTENA_POS                          (28U)
#define TMR6_PCNAR_OUTENA                              (0x10000000UL)
#define TMR6_PCNAR_CAPMDA_POS                          (31U)
#define TMR6_PCNAR_CAPMDA                              (0x80000000UL)

/*  Bit definition for TMR6_PCNBR register  */
#define TMR6_PCNBR_STACB_POS                           (0U)
#define TMR6_PCNBR_STACB                               (0x00000003UL)
#define TMR6_PCNBR_STACB_0                             (0x00000001UL)
#define TMR6_PCNBR_STACB_1                             (0x00000002UL)
#define TMR6_PCNBR_STPCB_POS                           (2U)
#define TMR6_PCNBR_STPCB                               (0x0000000CUL)
#define TMR6_PCNBR_STPCB_0                             (0x00000004UL)
#define TMR6_PCNBR_STPCB_1                             (0x00000008UL)
#define TMR6_PCNBR_OVFCB_POS                           (4U)
#define TMR6_PCNBR_OVFCB                               (0x00000030UL)
#define TMR6_PCNBR_OVFCB_0                             (0x00000010UL)
#define TMR6_PCNBR_OVFCB_1                             (0x00000020UL)
#define TMR6_PCNBR_UDFCB_POS                           (6U)
#define TMR6_PCNBR_UDFCB                               (0x000000C0UL)
#define TMR6_PCNBR_UDFCB_0                             (0x00000040UL)
#define TMR6_PCNBR_UDFCB_1                             (0x00000080UL)
#define TMR6_PCNBR_CMAUCB_POS                          (8U)
#define TMR6_PCNBR_CMAUCB                              (0x00000300UL)
#define TMR6_PCNBR_CMAUCB_0                            (0x00000100UL)
#define TMR6_PCNBR_CMAUCB_1                            (0x00000200UL)
#define TMR6_PCNBR_CMADCB_POS                          (10U)
#define TMR6_PCNBR_CMADCB                              (0x00000C00UL)
#define TMR6_PCNBR_CMADCB_0                            (0x00000400UL)
#define TMR6_PCNBR_CMADCB_1                            (0x00000800UL)
#define TMR6_PCNBR_CMBUCB_POS                          (12U)
#define TMR6_PCNBR_CMBUCB                              (0x00003000UL)
#define TMR6_PCNBR_CMBUCB_0                            (0x00001000UL)
#define TMR6_PCNBR_CMBUCB_1                            (0x00002000UL)
#define TMR6_PCNBR_CMBDCB_POS                          (14U)
#define TMR6_PCNBR_CMBDCB                              (0x0000C000UL)
#define TMR6_PCNBR_CMBDCB_0                            (0x00004000UL)
#define TMR6_PCNBR_CMBDCB_1                            (0x00008000UL)
#define TMR6_PCNBR_FORCB_POS                           (16U)
#define TMR6_PCNBR_FORCB                               (0x00030000UL)
#define TMR6_PCNBR_FORCB_0                             (0x00010000UL)
#define TMR6_PCNBR_FORCB_1                             (0x00020000UL)
#define TMR6_PCNBR_EMBCB_POS                           (20U)
#define TMR6_PCNBR_EMBCB                               (0x00300000UL)
#define TMR6_PCNBR_EMBCB_0                             (0x00100000UL)
#define TMR6_PCNBR_EMBCB_1                             (0x00200000UL)
#define TMR6_PCNBR_EMBRB_POS                           (22U)
#define TMR6_PCNBR_EMBRB                               (0x00C00000UL)
#define TMR6_PCNBR_EMBRB_0                             (0x00400000UL)
#define TMR6_PCNBR_EMBRB_1                             (0x00800000UL)
#define TMR6_PCNBR_EMBSB_POS                           (24U)
#define TMR6_PCNBR_EMBSB                               (0x03000000UL)
#define TMR6_PCNBR_EMBSB_0                             (0x01000000UL)
#define TMR6_PCNBR_EMBSB_1                             (0x02000000UL)
#define TMR6_PCNBR_OUTENB_POS                          (28U)
#define TMR6_PCNBR_OUTENB                              (0x10000000UL)
#define TMR6_PCNBR_CAPMDB_POS                          (31U)
#define TMR6_PCNBR_CAPMDB                              (0x80000000UL)

/*  Bit definition for TMR6_FCNGR register  */
#define TMR6_FCNGR_NOFIENGA_POS                        (0U)
#define TMR6_FCNGR_NOFIENGA                            (0x00000001UL)
#define TMR6_FCNGR_NOFICKGA_POS                        (1U)
#define TMR6_FCNGR_NOFICKGA                            (0x00000006UL)
#define TMR6_FCNGR_NOFICKGA_0                          (0x00000002UL)
#define TMR6_FCNGR_NOFICKGA_1                          (0x00000004UL)
#define TMR6_FCNGR_NOFIENGB_POS                        (4U)
#define TMR6_FCNGR_NOFIENGB                            (0x00000010UL)
#define TMR6_FCNGR_NOFICKGB_POS                        (5U)
#define TMR6_FCNGR_NOFICKGB                            (0x00000060UL)
#define TMR6_FCNGR_NOFICKGB_0                          (0x00000020UL)
#define TMR6_FCNGR_NOFICKGB_1                          (0x00000040UL)

/*  Bit definition for TMR6_VPERR register  */
#define TMR6_VPERR_SPPERIA_POS                         (8U)
#define TMR6_VPERR_SPPERIA                             (0x00000100UL)
#define TMR6_VPERR_SPPERIB_POS                         (9U)
#define TMR6_VPERR_SPPERIB                             (0x00000200UL)
#define TMR6_VPERR_PCNTE_POS                           (16U)
#define TMR6_VPERR_PCNTE                               (0x00030000UL)
#define TMR6_VPERR_PCNTE_0                             (0x00010000UL)
#define TMR6_VPERR_PCNTE_1                             (0x00020000UL)
#define TMR6_VPERR_PCNTS_POS                           (18U)
#define TMR6_VPERR_PCNTS                               (0x001C0000UL)
#define TMR6_VPERR_PCNTS_0                             (0x00040000UL)
#define TMR6_VPERR_PCNTS_1                             (0x00080000UL)
#define TMR6_VPERR_PCNTS_2                             (0x00100000UL)

/*  Bit definition for TMR6_STFLR register  */
#define TMR6_STFLR_CMAF_POS                            (0U)
#define TMR6_STFLR_CMAF                                (0x00000001UL)
#define TMR6_STFLR_CMBF_POS                            (1U)
#define TMR6_STFLR_CMBF                                (0x00000002UL)
#define TMR6_STFLR_CMCF_POS                            (2U)
#define TMR6_STFLR_CMCF                                (0x00000004UL)
#define TMR6_STFLR_CMDF_POS                            (3U)
#define TMR6_STFLR_CMDF                                (0x00000008UL)
#define TMR6_STFLR_CMEF_POS                            (4U)
#define TMR6_STFLR_CMEF                                (0x00000010UL)
#define TMR6_STFLR_CMFF_POS                            (5U)
#define TMR6_STFLR_CMFF                                (0x00000020UL)
#define TMR6_STFLR_OVFF_POS                            (6U)
#define TMR6_STFLR_OVFF                                (0x00000040UL)
#define TMR6_STFLR_UDFF_POS                            (7U)
#define TMR6_STFLR_UDFF                                (0x00000080UL)
#define TMR6_STFLR_DTEF_POS                            (8U)
#define TMR6_STFLR_DTEF                                (0x00000100UL)
#define TMR6_STFLR_CMSAUF_POS                          (9U)
#define TMR6_STFLR_CMSAUF                              (0x00000200UL)
#define TMR6_STFLR_CMSADF_POS                          (10U)
#define TMR6_STFLR_CMSADF                              (0x00000400UL)
#define TMR6_STFLR_CMSBUF_POS                          (11U)
#define TMR6_STFLR_CMSBUF                              (0x00000800UL)
#define TMR6_STFLR_CMSBDF_POS                          (12U)
#define TMR6_STFLR_CMSBDF                              (0x00001000UL)
#define TMR6_STFLR_VPERNUM_POS                         (21U)
#define TMR6_STFLR_VPERNUM                             (0x00E00000UL)
#define TMR6_STFLR_CMAF2_POS                           (26U)
#define TMR6_STFLR_CMAF2                               (0x04000000UL)
#define TMR6_STFLR_CMBF2_POS                           (27U)
#define TMR6_STFLR_CMBF2                               (0x08000000UL)
#define TMR6_STFLR_DIRF_POS                            (31U)
#define TMR6_STFLR_DIRF                                (0x80000000UL)

/*  Bit definition for TMR6_HSTAR register  */
#define TMR6_HSTAR_HSTA0_POS                           (0U)
#define TMR6_HSTAR_HSTA0                               (0x00000001UL)
#define TMR6_HSTAR_HSTA1_POS                           (1U)
#define TMR6_HSTAR_HSTA1                               (0x00000002UL)
#define TMR6_HSTAR_HSTA2_POS                           (2U)
#define TMR6_HSTAR_HSTA2                               (0x00000004UL)
#define TMR6_HSTAR_HSTA3_POS                           (3U)
#define TMR6_HSTAR_HSTA3                               (0x00000008UL)
#define TMR6_HSTAR_STAS_POS                            (7U)
#define TMR6_HSTAR_STAS                                (0x00000080UL)
#define TMR6_HSTAR_HSTA8_POS                           (8U)
#define TMR6_HSTAR_HSTA8                               (0x00000100UL)
#define TMR6_HSTAR_HSTA9_POS                           (9U)
#define TMR6_HSTAR_HSTA9                               (0x00000200UL)
#define TMR6_HSTAR_HSTA10_POS                          (10U)
#define TMR6_HSTAR_HSTA10                              (0x00000400UL)
#define TMR6_HSTAR_HSTA11_POS                          (11U)
#define TMR6_HSTAR_HSTA11                              (0x00000800UL)
#define TMR6_HSTAR_HSTA16_POS                          (16U)
#define TMR6_HSTAR_HSTA16                              (0x00010000UL)
#define TMR6_HSTAR_HSTA17_POS                          (17U)
#define TMR6_HSTAR_HSTA17                              (0x00020000UL)
#define TMR6_HSTAR_HSTA18_POS                          (18U)
#define TMR6_HSTAR_HSTA18                              (0x00040000UL)
#define TMR6_HSTAR_HSTA19_POS                          (19U)
#define TMR6_HSTAR_HSTA19                              (0x00080000UL)
#define TMR6_HSTAR_HSTA20_POS                          (20U)
#define TMR6_HSTAR_HSTA20                              (0x00100000UL)
#define TMR6_HSTAR_HSTA21_POS                          (21U)
#define TMR6_HSTAR_HSTA21                              (0x00200000UL)
#define TMR6_HSTAR_HSTA22_POS                          (22U)
#define TMR6_HSTAR_HSTA22                              (0x00400000UL)
#define TMR6_HSTAR_HSTA23_POS                          (23U)
#define TMR6_HSTAR_HSTA23                              (0x00800000UL)

/*  Bit definition for TMR6_HSTPR register  */
#define TMR6_HSTPR_HSTP0_POS                           (0U)
#define TMR6_HSTPR_HSTP0                               (0x00000001UL)
#define TMR6_HSTPR_HSTP1_POS                           (1U)
#define TMR6_HSTPR_HSTP1                               (0x00000002UL)
#define TMR6_HSTPR_HSTP2_POS                           (2U)
#define TMR6_HSTPR_HSTP2                               (0x00000004UL)
#define TMR6_HSTPR_HSTP3_POS                           (3U)
#define TMR6_HSTPR_HSTP3                               (0x00000008UL)
#define TMR6_HSTPR_STPS_POS                            (7U)
#define TMR6_HSTPR_STPS                                (0x00000080UL)
#define TMR6_HSTPR_HSTP8_POS                           (8U)
#define TMR6_HSTPR_HSTP8                               (0x00000100UL)
#define TMR6_HSTPR_HSTP9_POS                           (9U)
#define TMR6_HSTPR_HSTP9                               (0x00000200UL)
#define TMR6_HSTPR_HSTP10_POS                          (10U)
#define TMR6_HSTPR_HSTP10                              (0x00000400UL)
#define TMR6_HSTPR_HSTP11_POS                          (11U)
#define TMR6_HSTPR_HSTP11                              (0x00000800UL)
#define TMR6_HSTPR_HSTP16_POS                          (16U)
#define TMR6_HSTPR_HSTP16                              (0x00010000UL)
#define TMR6_HSTPR_HSTP17_POS                          (17U)
#define TMR6_HSTPR_HSTP17                              (0x00020000UL)
#define TMR6_HSTPR_HSTP18_POS                          (18U)
#define TMR6_HSTPR_HSTP18                              (0x00040000UL)
#define TMR6_HSTPR_HSTP19_POS                          (19U)
#define TMR6_HSTPR_HSTP19                              (0x00080000UL)
#define TMR6_HSTPR_HSTP20_POS                          (20U)
#define TMR6_HSTPR_HSTP20                              (0x00100000UL)
#define TMR6_HSTPR_HSTP21_POS                          (21U)
#define TMR6_HSTPR_HSTP21                              (0x00200000UL)
#define TMR6_HSTPR_HSTP22_POS                          (22U)
#define TMR6_HSTPR_HSTP22                              (0x00400000UL)
#define TMR6_HSTPR_HSTP23_POS                          (23U)
#define TMR6_HSTPR_HSTP23                              (0x00800000UL)

/*  Bit definition for TMR6_HCLRR register  */
#define TMR6_HCLRR_HCLE0_POS                           (0U)
#define TMR6_HCLRR_HCLE0                               (0x00000001UL)
#define TMR6_HCLRR_HCLE1_POS                           (1U)
#define TMR6_HCLRR_HCLE1                               (0x00000002UL)
#define TMR6_HCLRR_HCLE2_POS                           (2U)
#define TMR6_HCLRR_HCLE2                               (0x00000004UL)
#define TMR6_HCLRR_HCLE3_POS                           (3U)
#define TMR6_HCLRR_HCLE3                               (0x00000008UL)
#define TMR6_HCLRR_CLES_POS                            (7U)
#define TMR6_HCLRR_CLES                                (0x00000080UL)
#define TMR6_HCLRR_HCLE8_POS                           (8U)
#define TMR6_HCLRR_HCLE8                               (0x00000100UL)
#define TMR6_HCLRR_HCLE9_POS                           (9U)
#define TMR6_HCLRR_HCLE9                               (0x00000200UL)
#define TMR6_HCLRR_HCLE10_POS                          (10U)
#define TMR6_HCLRR_HCLE10                              (0x00000400UL)
#define TMR6_HCLRR_HCLE11_POS                          (11U)
#define TMR6_HCLRR_HCLE11                              (0x00000800UL)
#define TMR6_HCLRR_HCLE16_POS                          (16U)
#define TMR6_HCLRR_HCLE16                              (0x00010000UL)
#define TMR6_HCLRR_HCLE17_POS                          (17U)
#define TMR6_HCLRR_HCLE17                              (0x00020000UL)
#define TMR6_HCLRR_HCLE18_POS                          (18U)
#define TMR6_HCLRR_HCLE18                              (0x00040000UL)
#define TMR6_HCLRR_HCLE19_POS                          (19U)
#define TMR6_HCLRR_HCLE19                              (0x00080000UL)
#define TMR6_HCLRR_HCLE20_POS                          (20U)
#define TMR6_HCLRR_HCLE20                              (0x00100000UL)
#define TMR6_HCLRR_HCLE21_POS                          (21U)
#define TMR6_HCLRR_HCLE21                              (0x00200000UL)
#define TMR6_HCLRR_HCLE22_POS                          (22U)
#define TMR6_HCLRR_HCLE22                              (0x00400000UL)
#define TMR6_HCLRR_HCLE23_POS                          (23U)
#define TMR6_HCLRR_HCLE23                              (0x00800000UL)

/*  Bit definition for TMR6_HUPDR register  */
#define TMR6_HUPDR_HUPD0_POS                           (0U)
#define TMR6_HUPDR_HUPD0                               (0x00000001UL)
#define TMR6_HUPDR_HUPD1_POS                           (1U)
#define TMR6_HUPDR_HUPD1                               (0x00000002UL)
#define TMR6_HUPDR_HUPD2_POS                           (2U)
#define TMR6_HUPDR_HUPD2                               (0x00000004UL)
#define TMR6_HUPDR_HUPD3_POS                           (3U)
#define TMR6_HUPDR_HUPD3                               (0x00000008UL)
#define TMR6_HUPDR_UPDS_POS                            (7U)
#define TMR6_HUPDR_UPDS                                (0x00000080UL)
#define TMR6_HUPDR_HUPD8_POS                           (8U)
#define TMR6_HUPDR_HUPD8                               (0x00000100UL)
#define TMR6_HUPDR_HUPD9_POS                           (9U)
#define TMR6_HUPDR_HUPD9                               (0x00000200UL)
#define TMR6_HUPDR_HUPD10_POS                          (10U)
#define TMR6_HUPDR_HUPD10                              (0x00000400UL)
#define TMR6_HUPDR_HUPD11_POS                          (11U)
#define TMR6_HUPDR_HUPD11                              (0x00000800UL)
#define TMR6_HUPDR_HUPD16_POS                          (16U)
#define TMR6_HUPDR_HUPD16                              (0x00010000UL)
#define TMR6_HUPDR_HUPD17_POS                          (17U)
#define TMR6_HUPDR_HUPD17                              (0x00020000UL)
#define TMR6_HUPDR_HUPD18_POS                          (18U)
#define TMR6_HUPDR_HUPD18                              (0x00040000UL)
#define TMR6_HUPDR_HUPD19_POS                          (19U)
#define TMR6_HUPDR_HUPD19                              (0x00080000UL)
#define TMR6_HUPDR_HUPD20_POS                          (20U)
#define TMR6_HUPDR_HUPD20                              (0x00100000UL)
#define TMR6_HUPDR_HUPD21_POS                          (21U)
#define TMR6_HUPDR_HUPD21                              (0x00200000UL)
#define TMR6_HUPDR_HUPD22_POS                          (22U)
#define TMR6_HUPDR_HUPD22                              (0x00400000UL)
#define TMR6_HUPDR_HUPD23_POS                          (23U)
#define TMR6_HUPDR_HUPD23                              (0x00800000UL)

/*  Bit definition for TMR6_HCPAR register  */
#define TMR6_HCPAR_HCPA0_POS                           (0U)
#define TMR6_HCPAR_HCPA0                               (0x00000001UL)
#define TMR6_HCPAR_HCPA1_POS                           (1U)
#define TMR6_HCPAR_HCPA1                               (0x00000002UL)
#define TMR6_HCPAR_HCPA2_POS                           (2U)
#define TMR6_HCPAR_HCPA2                               (0x00000004UL)
#define TMR6_HCPAR_HCPA3_POS                           (3U)
#define TMR6_HCPAR_HCPA3                               (0x00000008UL)
#define TMR6_HCPAR_HCPA8_POS                           (8U)
#define TMR6_HCPAR_HCPA8                               (0x00000100UL)
#define TMR6_HCPAR_HCPA9_POS                           (9U)
#define TMR6_HCPAR_HCPA9                               (0x00000200UL)
#define TMR6_HCPAR_HCPA10_POS                          (10U)
#define TMR6_HCPAR_HCPA10                              (0x00000400UL)
#define TMR6_HCPAR_HCPA11_POS                          (11U)
#define TMR6_HCPAR_HCPA11                              (0x00000800UL)
#define TMR6_HCPAR_HCPA16_POS                          (16U)
#define TMR6_HCPAR_HCPA16                              (0x00010000UL)
#define TMR6_HCPAR_HCPA17_POS                          (17U)
#define TMR6_HCPAR_HCPA17                              (0x00020000UL)
#define TMR6_HCPAR_HCPA18_POS                          (18U)
#define TMR6_HCPAR_HCPA18                              (0x00040000UL)
#define TMR6_HCPAR_HCPA19_POS                          (19U)
#define TMR6_HCPAR_HCPA19                              (0x00080000UL)
#define TMR6_HCPAR_HCPA20_POS                          (20U)
#define TMR6_HCPAR_HCPA20                              (0x00100000UL)
#define TMR6_HCPAR_HCPA21_POS                          (21U)
#define TMR6_HCPAR_HCPA21                              (0x00200000UL)
#define TMR6_HCPAR_HCPA22_POS                          (22U)
#define TMR6_HCPAR_HCPA22                              (0x00400000UL)
#define TMR6_HCPAR_HCPA23_POS                          (23U)
#define TMR6_HCPAR_HCPA23                              (0x00800000UL)
#define TMR6_HCPAR_HCPA24_POS                          (24U)
#define TMR6_HCPAR_HCPA24                              (0x01000000UL)
#define TMR6_HCPAR_HCPA25_POS                          (25U)
#define TMR6_HCPAR_HCPA25                              (0x02000000UL)

/*  Bit definition for TMR6_HCPBR register  */
#define TMR6_HCPBR_HCPB0_POS                           (0U)
#define TMR6_HCPBR_HCPB0                               (0x00000001UL)
#define TMR6_HCPBR_HCPB1_POS                           (1U)
#define TMR6_HCPBR_HCPB1                               (0x00000002UL)
#define TMR6_HCPBR_HCPB2_POS                           (2U)
#define TMR6_HCPBR_HCPB2                               (0x00000004UL)
#define TMR6_HCPBR_HCPB3_POS                           (3U)
#define TMR6_HCPBR_HCPB3                               (0x00000008UL)
#define TMR6_HCPBR_HCPB8_POS                           (8U)
#define TMR6_HCPBR_HCPB8                               (0x00000100UL)
#define TMR6_HCPBR_HCPB9_POS                           (9U)
#define TMR6_HCPBR_HCPB9                               (0x00000200UL)
#define TMR6_HCPBR_HCPB10_POS                          (10U)
#define TMR6_HCPBR_HCPB10                              (0x00000400UL)
#define TMR6_HCPBR_HCPB11_POS                          (11U)
#define TMR6_HCPBR_HCPB11                              (0x00000800UL)
#define TMR6_HCPBR_HCPB16_POS                          (16U)
#define TMR6_HCPBR_HCPB16                              (0x00010000UL)
#define TMR6_HCPBR_HCPB17_POS                          (17U)
#define TMR6_HCPBR_HCPB17                              (0x00020000UL)
#define TMR6_HCPBR_HCPB18_POS                          (18U)
#define TMR6_HCPBR_HCPB18                              (0x00040000UL)
#define TMR6_HCPBR_HCPB19_POS                          (19U)
#define TMR6_HCPBR_HCPB19                              (0x00080000UL)
#define TMR6_HCPBR_HCPB20_POS                          (20U)
#define TMR6_HCPBR_HCPB20                              (0x00100000UL)
#define TMR6_HCPBR_HCPB21_POS                          (21U)
#define TMR6_HCPBR_HCPB21                              (0x00200000UL)
#define TMR6_HCPBR_HCPB22_POS                          (22U)
#define TMR6_HCPBR_HCPB22                              (0x00400000UL)
#define TMR6_HCPBR_HCPB23_POS                          (23U)
#define TMR6_HCPBR_HCPB23                              (0x00800000UL)
#define TMR6_HCPBR_HCPB24_POS                          (24U)
#define TMR6_HCPBR_HCPB24                              (0x01000000UL)
#define TMR6_HCPBR_HCPB25_POS                          (25U)
#define TMR6_HCPBR_HCPB25                              (0x02000000UL)

/*  Bit definition for TMR6_HCUPR register  */
#define TMR6_HCUPR_HCUP0_POS                           (0U)
#define TMR6_HCUPR_HCUP0                               (0x00000001UL)
#define TMR6_HCUPR_HCUP1_POS                           (1U)
#define TMR6_HCUPR_HCUP1                               (0x00000002UL)
#define TMR6_HCUPR_HCUP2_POS                           (2U)
#define TMR6_HCUPR_HCUP2                               (0x00000004UL)
#define TMR6_HCUPR_HCUP3_POS                           (3U)
#define TMR6_HCUPR_HCUP3                               (0x00000008UL)
#define TMR6_HCUPR_HCUP4_POS                           (4U)
#define TMR6_HCUPR_HCUP4                               (0x00000010UL)
#define TMR6_HCUPR_HCUP5_POS                           (5U)
#define TMR6_HCUPR_HCUP5                               (0x00000020UL)
#define TMR6_HCUPR_HCUP6_POS                           (6U)
#define TMR6_HCUPR_HCUP6                               (0x00000040UL)
#define TMR6_HCUPR_HCUP7_POS                           (7U)
#define TMR6_HCUPR_HCUP7                               (0x00000080UL)
#define TMR6_HCUPR_HCUP8_POS                           (8U)
#define TMR6_HCUPR_HCUP8                               (0x00000100UL)
#define TMR6_HCUPR_HCUP9_POS                           (9U)
#define TMR6_HCUPR_HCUP9                               (0x00000200UL)
#define TMR6_HCUPR_HCUP10_POS                          (10U)
#define TMR6_HCUPR_HCUP10                              (0x00000400UL)
#define TMR6_HCUPR_HCUP11_POS                          (11U)
#define TMR6_HCUPR_HCUP11                              (0x00000800UL)
#define TMR6_HCUPR_HCUP16_POS                          (16U)
#define TMR6_HCUPR_HCUP16                              (0x00010000UL)
#define TMR6_HCUPR_HCUP17_POS                          (17U)
#define TMR6_HCUPR_HCUP17                              (0x00020000UL)
#define TMR6_HCUPR_HCUP18_POS                          (18U)
#define TMR6_HCUPR_HCUP18                              (0x00040000UL)
#define TMR6_HCUPR_HCUP19_POS                          (19U)
#define TMR6_HCUPR_HCUP19                              (0x00080000UL)
#define TMR6_HCUPR_HCUP20_POS                          (20U)
#define TMR6_HCUPR_HCUP20                              (0x00100000UL)
#define TMR6_HCUPR_HCUP21_POS                          (21U)
#define TMR6_HCUPR_HCUP21                              (0x00200000UL)
#define TMR6_HCUPR_HCUP22_POS                          (22U)
#define TMR6_HCUPR_HCUP22                              (0x00400000UL)
#define TMR6_HCUPR_HCUP23_POS                          (23U)
#define TMR6_HCUPR_HCUP23                              (0x00800000UL)

/*  Bit definition for TMR6_HCDOR register  */
#define TMR6_HCDOR_HCDO0_POS                           (0U)
#define TMR6_HCDOR_HCDO0                               (0x00000001UL)
#define TMR6_HCDOR_HCDO1_POS                           (1U)
#define TMR6_HCDOR_HCDO1                               (0x00000002UL)
#define TMR6_HCDOR_HCDO2_POS                           (2U)
#define TMR6_HCDOR_HCDO2                               (0x00000004UL)
#define TMR6_HCDOR_HCDO3_POS                           (3U)
#define TMR6_HCDOR_HCDO3                               (0x00000008UL)
#define TMR6_HCDOR_HCDO4_POS                           (4U)
#define TMR6_HCDOR_HCDO4                               (0x00000010UL)
#define TMR6_HCDOR_HCDO5_POS                           (5U)
#define TMR6_HCDOR_HCDO5                               (0x00000020UL)
#define TMR6_HCDOR_HCDO6_POS                           (6U)
#define TMR6_HCDOR_HCDO6                               (0x00000040UL)
#define TMR6_HCDOR_HCDO7_POS                           (7U)
#define TMR6_HCDOR_HCDO7                               (0x00000080UL)
#define TMR6_HCDOR_HCDO8_POS                           (8U)
#define TMR6_HCDOR_HCDO8                               (0x00000100UL)
#define TMR6_HCDOR_HCDO9_POS                           (9U)
#define TMR6_HCDOR_HCDO9                               (0x00000200UL)
#define TMR6_HCDOR_HCDO10_POS                          (10U)
#define TMR6_HCDOR_HCDO10                              (0x00000400UL)
#define TMR6_HCDOR_HCDO11_POS                          (11U)
#define TMR6_HCDOR_HCDO11                              (0x00000800UL)
#define TMR6_HCDOR_HCDO16_POS                          (16U)
#define TMR6_HCDOR_HCDO16                              (0x00010000UL)
#define TMR6_HCDOR_HCDO17_POS                          (17U)
#define TMR6_HCDOR_HCDO17                              (0x00020000UL)
#define TMR6_HCDOR_HCDO18_POS                          (18U)
#define TMR6_HCDOR_HCDO18                              (0x00040000UL)
#define TMR6_HCDOR_HCDO19_POS                          (19U)
#define TMR6_HCDOR_HCDO19                              (0x00080000UL)
#define TMR6_HCDOR_HCDO20_POS                          (20U)
#define TMR6_HCDOR_HCDO20                              (0x00100000UL)
#define TMR6_HCDOR_HCDO21_POS                          (21U)
#define TMR6_HCDOR_HCDO21                              (0x00200000UL)
#define TMR6_HCDOR_HCDO22_POS                          (22U)
#define TMR6_HCDOR_HCDO22                              (0x00400000UL)
#define TMR6_HCDOR_HCDO23_POS                          (23U)
#define TMR6_HCDOR_HCDO23                              (0x00800000UL)

/*******************************************************************************
                Bit definition for Peripheral TMR6_COMMON
*******************************************************************************/
/*  Bit definition for TMR6_COMMON_FCNTR register  */
#define TMR6_COMMON_FCNTR_NOFIENTA_POS                 (0U)
#define TMR6_COMMON_FCNTR_NOFIENTA                     (0x00000001UL)
#define TMR6_COMMON_FCNTR_NOFICKTA_POS                 (1U)
#define TMR6_COMMON_FCNTR_NOFICKTA                     (0x00000006UL)
#define TMR6_COMMON_FCNTR_NOFICKTA_0                   (0x00000002UL)
#define TMR6_COMMON_FCNTR_NOFICKTA_1                   (0x00000004UL)
#define TMR6_COMMON_FCNTR_NOFIENTB_POS                 (4U)
#define TMR6_COMMON_FCNTR_NOFIENTB                     (0x00000010UL)
#define TMR6_COMMON_FCNTR_NOFICKTB_POS                 (5U)
#define TMR6_COMMON_FCNTR_NOFICKTB                     (0x00000060UL)
#define TMR6_COMMON_FCNTR_NOFICKTB_0                   (0x00000020UL)
#define TMR6_COMMON_FCNTR_NOFICKTB_1                   (0x00000040UL)
#define TMR6_COMMON_FCNTR_NOFIENTC_POS                 (8U)
#define TMR6_COMMON_FCNTR_NOFIENTC                     (0x00000100UL)
#define TMR6_COMMON_FCNTR_NOFICKTC_POS                 (9U)
#define TMR6_COMMON_FCNTR_NOFICKTC                     (0x00000600UL)
#define TMR6_COMMON_FCNTR_NOFICKTC_0                   (0x00000200UL)
#define TMR6_COMMON_FCNTR_NOFICKTC_1                   (0x00000400UL)
#define TMR6_COMMON_FCNTR_NOFIENTD_POS                 (12U)
#define TMR6_COMMON_FCNTR_NOFIENTD                     (0x00001000UL)
#define TMR6_COMMON_FCNTR_NOFICKTD_POS                 (13U)
#define TMR6_COMMON_FCNTR_NOFICKTD                     (0x00006000UL)
#define TMR6_COMMON_FCNTR_NOFICKTD_0                   (0x00002000UL)
#define TMR6_COMMON_FCNTR_NOFICKTD_1                   (0x00004000UL)

/*  Bit definition for TMR6_COMMON_SSTAR register  */
#define TMR6_COMMON_SSTAR_SSTA1_POS                    (0U)
#define TMR6_COMMON_SSTAR_SSTA1                        (0x00000001UL)
#define TMR6_COMMON_SSTAR_SSTA2_POS                    (1U)
#define TMR6_COMMON_SSTAR_SSTA2                        (0x00000002UL)
#define TMR6_COMMON_SSTAR_SSTA3_POS                    (2U)
#define TMR6_COMMON_SSTAR_SSTA3                        (0x00000004UL)
#define TMR6_COMMON_SSTAR_SSTA4_POS                    (3U)
#define TMR6_COMMON_SSTAR_SSTA4                        (0x00000008UL)

/*  Bit definition for TMR6_COMMON_SSTPR register  */
#define TMR6_COMMON_SSTPR_SSTP1_POS                    (0U)
#define TMR6_COMMON_SSTPR_SSTP1                        (0x00000001UL)
#define TMR6_COMMON_SSTPR_SSTP2_POS                    (1U)
#define TMR6_COMMON_SSTPR_SSTP2                        (0x00000002UL)
#define TMR6_COMMON_SSTPR_SSTP3_POS                    (2U)
#define TMR6_COMMON_SSTPR_SSTP3                        (0x00000004UL)
#define TMR6_COMMON_SSTPR_SSTP4_POS                    (3U)
#define TMR6_COMMON_SSTPR_SSTP4                        (0x00000008UL)

/*  Bit definition for TMR6_COMMON_SCLRR register  */
#define TMR6_COMMON_SCLRR_SCLE1_POS                    (0U)
#define TMR6_COMMON_SCLRR_SCLE1                        (0x00000001UL)
#define TMR6_COMMON_SCLRR_SCLE2_POS                    (1U)
#define TMR6_COMMON_SCLRR_SCLE2                        (0x00000002UL)
#define TMR6_COMMON_SCLRR_SCLE3_POS                    (2U)
#define TMR6_COMMON_SCLRR_SCLE3                        (0x00000004UL)
#define TMR6_COMMON_SCLRR_SCLE4_POS                    (3U)
#define TMR6_COMMON_SCLRR_SCLE4                        (0x00000008UL)

/*  Bit definition for TMR6_COMMON_SUPDR register  */
#define TMR6_COMMON_SUPDR_SUPD1_POS                    (0U)
#define TMR6_COMMON_SUPDR_SUPD1                        (0x00000001UL)
#define TMR6_COMMON_SUPDR_SUPD2_POS                    (1U)
#define TMR6_COMMON_SUPDR_SUPD2                        (0x00000002UL)
#define TMR6_COMMON_SUPDR_SUPD3_POS                    (2U)
#define TMR6_COMMON_SUPDR_SUPD3                        (0x00000004UL)
#define TMR6_COMMON_SUPDR_SUPD4_POS                    (3U)
#define TMR6_COMMON_SUPDR_SUPD4                        (0x00000008UL)

/*******************************************************************************
                Bit definition for Peripheral TMRA
*******************************************************************************/
/*  Bit definition for TMRA_CNTER register  */
#define TMRA_CNTER_CNT                                 (0xFFFFFFFFUL)

/*  Bit definition for TMRA_PERAR register  */
#define TMRA_PERAR_PER                                 (0xFFFFFFFFUL)

/*  Bit definition for TMRA_CMPAR register  */
#define TMRA_CMPAR_CMP                                 (0xFFFFFFFFUL)

/*  Bit definition for TMRA_BCSTRL register  */
#define TMRA_BCSTRL_START_POS                          (0U)
#define TMRA_BCSTRL_START                              (0x01U)
#define TMRA_BCSTRL_DIR_POS                            (1U)
#define TMRA_BCSTRL_DIR                                (0x02U)
#define TMRA_BCSTRL_MODE_POS                           (2U)
#define TMRA_BCSTRL_MODE                               (0x04U)
#define TMRA_BCSTRL_SYNST_POS                          (3U)
#define TMRA_BCSTRL_SYNST                              (0x08U)
#define TMRA_BCSTRL_CKDIV_POS                          (4U)
#define TMRA_BCSTRL_CKDIV                              (0xF0U)

/*  Bit definition for TMRA_BCSTRH register  */
#define TMRA_BCSTRH_OVSTP_POS                          (0U)
#define TMRA_BCSTRH_OVSTP                              (0x01U)
#define TMRA_BCSTRH_ITENOVF_POS                        (4U)
#define TMRA_BCSTRH_ITENOVF                            (0x10U)
#define TMRA_BCSTRH_ITENUDF_POS                        (5U)
#define TMRA_BCSTRH_ITENUDF                            (0x20U)
#define TMRA_BCSTRH_OVFF_POS                           (6U)
#define TMRA_BCSTRH_OVFF                               (0x40U)
#define TMRA_BCSTRH_UDFF_POS                           (7U)
#define TMRA_BCSTRH_UDFF                               (0x80U)

/*  Bit definition for TMRA_HCONR register  */
#define TMRA_HCONR_HSTA0_POS                           (0U)
#define TMRA_HCONR_HSTA0                               (0x0001U)
#define TMRA_HCONR_HSTA1_POS                           (1U)
#define TMRA_HCONR_HSTA1                               (0x0002U)
#define TMRA_HCONR_HSTA2_POS                           (2U)
#define TMRA_HCONR_HSTA2                               (0x0004U)
#define TMRA_HCONR_HSTP0_POS                           (4U)
#define TMRA_HCONR_HSTP0                               (0x0010U)
#define TMRA_HCONR_HSTP1_POS                           (5U)
#define TMRA_HCONR_HSTP1                               (0x0020U)
#define TMRA_HCONR_HSTP2_POS                           (6U)
#define TMRA_HCONR_HSTP2                               (0x0040U)
#define TMRA_HCONR_HCLE0_POS                           (8U)
#define TMRA_HCONR_HCLE0                               (0x0100U)
#define TMRA_HCONR_HCLE1_POS                           (9U)
#define TMRA_HCONR_HCLE1                               (0x0200U)
#define TMRA_HCONR_HCLE2_POS                           (10U)
#define TMRA_HCONR_HCLE2                               (0x0400U)
#define TMRA_HCONR_HCLE3_POS                           (12U)
#define TMRA_HCONR_HCLE3                               (0x1000U)
#define TMRA_HCONR_HCLE4_POS                           (13U)
#define TMRA_HCONR_HCLE4                               (0x2000U)
#define TMRA_HCONR_HCLE5_POS                           (14U)
#define TMRA_HCONR_HCLE5                               (0x4000U)
#define TMRA_HCONR_HCLE6_POS                           (15U)
#define TMRA_HCONR_HCLE6                               (0x8000U)

/*  Bit definition for TMRA_HCUPR register  */
#define TMRA_HCUPR_HCUP0_POS                           (0U)
#define TMRA_HCUPR_HCUP0                               (0x0001U)
#define TMRA_HCUPR_HCUP1_POS                           (1U)
#define TMRA_HCUPR_HCUP1                               (0x0002U)
#define TMRA_HCUPR_HCUP2_POS                           (2U)
#define TMRA_HCUPR_HCUP2                               (0x0004U)
#define TMRA_HCUPR_HCUP3_POS                           (3U)
#define TMRA_HCUPR_HCUP3                               (0x0008U)
#define TMRA_HCUPR_HCUP4_POS                           (4U)
#define TMRA_HCUPR_HCUP4                               (0x0010U)
#define TMRA_HCUPR_HCUP5_POS                           (5U)
#define TMRA_HCUPR_HCUP5                               (0x0020U)
#define TMRA_HCUPR_HCUP6_POS                           (6U)
#define TMRA_HCUPR_HCUP6                               (0x0040U)
#define TMRA_HCUPR_HCUP7_POS                           (7U)
#define TMRA_HCUPR_HCUP7                               (0x0080U)
#define TMRA_HCUPR_HCUP8_POS                           (8U)
#define TMRA_HCUPR_HCUP8                               (0x0100U)
#define TMRA_HCUPR_HCUP9_POS                           (9U)
#define TMRA_HCUPR_HCUP9                               (0x0200U)
#define TMRA_HCUPR_HCUP10_POS                          (10U)
#define TMRA_HCUPR_HCUP10                              (0x0400U)
#define TMRA_HCUPR_HCUP11_POS                          (11U)
#define TMRA_HCUPR_HCUP11                              (0x0800U)
#define TMRA_HCUPR_HCUP12_POS                          (12U)
#define TMRA_HCUPR_HCUP12                              (0x1000U)

/*  Bit definition for TMRA_HCDOR register  */
#define TMRA_HCDOR_HCDO0_POS                           (0U)
#define TMRA_HCDOR_HCDO0                               (0x0001U)
#define TMRA_HCDOR_HCDO1_POS                           (1U)
#define TMRA_HCDOR_HCDO1                               (0x0002U)
#define TMRA_HCDOR_HCDO2_POS                           (2U)
#define TMRA_HCDOR_HCDO2                               (0x0004U)
#define TMRA_HCDOR_HCDO3_POS                           (3U)
#define TMRA_HCDOR_HCDO3                               (0x0008U)
#define TMRA_HCDOR_HCDO4_POS                           (4U)
#define TMRA_HCDOR_HCDO4                               (0x0010U)
#define TMRA_HCDOR_HCDO5_POS                           (5U)
#define TMRA_HCDOR_HCDO5                               (0x0020U)
#define TMRA_HCDOR_HCDO6_POS                           (6U)
#define TMRA_HCDOR_HCDO6                               (0x0040U)
#define TMRA_HCDOR_HCDO7_POS                           (7U)
#define TMRA_HCDOR_HCDO7                               (0x0080U)
#define TMRA_HCDOR_HCDO8_POS                           (8U)
#define TMRA_HCDOR_HCDO8                               (0x0100U)
#define TMRA_HCDOR_HCDO9_POS                           (9U)
#define TMRA_HCDOR_HCDO9                               (0x0200U)
#define TMRA_HCDOR_HCDO10_POS                          (10U)
#define TMRA_HCDOR_HCDO10                              (0x0400U)
#define TMRA_HCDOR_HCDO11_POS                          (11U)
#define TMRA_HCDOR_HCDO11                              (0x0800U)
#define TMRA_HCDOR_HCDO12_POS                          (12U)
#define TMRA_HCDOR_HCDO12                              (0x1000U)

/*  Bit definition for TMRA_ICONR register  */
#define TMRA_ICONR_ITEN1_POS                           (0U)
#define TMRA_ICONR_ITEN1                               (0x0001U)
#define TMRA_ICONR_ITEN2_POS                           (1U)
#define TMRA_ICONR_ITEN2                               (0x0002U)
#define TMRA_ICONR_ITEN3_POS                           (2U)
#define TMRA_ICONR_ITEN3                               (0x0004U)
#define TMRA_ICONR_ITEN4_POS                           (3U)
#define TMRA_ICONR_ITEN4                               (0x0008U)

/*  Bit definition for TMRA_ECONR register  */
#define TMRA_ECONR_ETEN1_POS                           (0U)
#define TMRA_ECONR_ETEN1                               (0x0001U)
#define TMRA_ECONR_ETEN2_POS                           (1U)
#define TMRA_ECONR_ETEN2                               (0x0002U)
#define TMRA_ECONR_ETEN3_POS                           (2U)
#define TMRA_ECONR_ETEN3                               (0x0004U)
#define TMRA_ECONR_ETEN4_POS                           (3U)
#define TMRA_ECONR_ETEN4                               (0x0008U)

/*  Bit definition for TMRA_FCONR register  */
#define TMRA_FCONR_NOFIENTG_POS                        (0U)
#define TMRA_FCONR_NOFIENTG                            (0x0001U)
#define TMRA_FCONR_NOFICKTG_POS                        (1U)
#define TMRA_FCONR_NOFICKTG                            (0x0006U)
#define TMRA_FCONR_NOFIENCA_POS                        (8U)
#define TMRA_FCONR_NOFIENCA                            (0x0100U)
#define TMRA_FCONR_NOFICKCA_POS                        (9U)
#define TMRA_FCONR_NOFICKCA                            (0x0600U)
#define TMRA_FCONR_NOFIENCB_POS                        (12U)
#define TMRA_FCONR_NOFIENCB                            (0x1000U)
#define TMRA_FCONR_NOFICKCB_POS                        (13U)
#define TMRA_FCONR_NOFICKCB                            (0x6000U)

/*  Bit definition for TMRA_STFLR register  */
#define TMRA_STFLR_CMPF1_POS                           (0U)
#define TMRA_STFLR_CMPF1                               (0x0001U)
#define TMRA_STFLR_CMPF2_POS                           (1U)
#define TMRA_STFLR_CMPF2                               (0x0002U)
#define TMRA_STFLR_CMPF3_POS                           (2U)
#define TMRA_STFLR_CMPF3                               (0x0004U)
#define TMRA_STFLR_CMPF4_POS                           (3U)
#define TMRA_STFLR_CMPF4                               (0x0008U)
#define TMRA_STFLR_ICPF1_POS                           (8U)
#define TMRA_STFLR_ICPF1                               (0x0100U)
#define TMRA_STFLR_ICPF2_POS                           (9U)
#define TMRA_STFLR_ICPF2                               (0x0200U)
#define TMRA_STFLR_ICPF3_POS                           (10U)
#define TMRA_STFLR_ICPF3                               (0x0400U)
#define TMRA_STFLR_ICPF4_POS                           (11U)
#define TMRA_STFLR_ICPF4                               (0x0800U)

/*  Bit definition for TMRA_BCONR register  */
#define TMRA_BCONR_BEN_POS                             (0U)
#define TMRA_BCONR_BEN                                 (0x0001U)
#define TMRA_BCONR_BSE0_POS                            (1U)
#define TMRA_BCONR_BSE0                                (0x0002U)
#define TMRA_BCONR_BSE1_POS                            (2U)
#define TMRA_BCONR_BSE1                                (0x0004U)
#define TMRA_BCONR_BSEN_POS                            (3U)
#define TMRA_BCONR_BSEN                                (0x0008U)

/*  Bit definition for TMRA_CCONR register  */
#define TMRA_CCONR_CAPMD_POS                           (0U)
#define TMRA_CCONR_CAPMD                               (0x0001U)
#define TMRA_CCONR_HICP0_POS                           (4U)
#define TMRA_CCONR_HICP0                               (0x0010U)
#define TMRA_CCONR_HICP1_POS                           (5U)
#define TMRA_CCONR_HICP1                               (0x0020U)
#define TMRA_CCONR_HICP2_POS                           (6U)
#define TMRA_CCONR_HICP2                               (0x0040U)
#define TMRA_CCONR_HICP3_POS                           (8U)
#define TMRA_CCONR_HICP3                               (0x0100U)
#define TMRA_CCONR_HICP4_POS                           (9U)
#define TMRA_CCONR_HICP4                               (0x0200U)
#define TMRA_CCONR_HICP5_POS                           (10U)
#define TMRA_CCONR_HICP5                               (0x0400U)
#define TMRA_CCONR_HICP6_POS                           (11U)
#define TMRA_CCONR_HICP6                               (0x0800U)
#define TMRA_CCONR_NOFIENCP_POS                        (12U)
#define TMRA_CCONR_NOFIENCP                            (0x1000U)
#define TMRA_CCONR_NOFICKCP_POS                        (13U)
#define TMRA_CCONR_NOFICKCP                            (0x6000U)

/*  Bit definition for TMRA_PCONR register  */
#define TMRA_PCONR_STAC_POS                            (0U)
#define TMRA_PCONR_STAC                                (0x0003U)
#define TMRA_PCONR_STAC_0                              (0x0001U)
#define TMRA_PCONR_STAC_1                              (0x0002U)
#define TMRA_PCONR_STPC_POS                            (2U)
#define TMRA_PCONR_STPC                                (0x000CU)
#define TMRA_PCONR_STPC_0                              (0x0004U)
#define TMRA_PCONR_STPC_1                              (0x0008U)
#define TMRA_PCONR_CMPC_POS                            (4U)
#define TMRA_PCONR_CMPC                                (0x0030U)
#define TMRA_PCONR_CMPC_0                              (0x0010U)
#define TMRA_PCONR_CMPC_1                              (0x0020U)
#define TMRA_PCONR_PERC_POS                            (6U)
#define TMRA_PCONR_PERC                                (0x00C0U)
#define TMRA_PCONR_PERC_0                              (0x0040U)
#define TMRA_PCONR_PERC_1                              (0x0080U)
#define TMRA_PCONR_FORC_POS                            (8U)
#define TMRA_PCONR_FORC                                (0x0300U)
#define TMRA_PCONR_FORC_0                              (0x0100U)
#define TMRA_PCONR_FORC_1                              (0x0200U)
#define TMRA_PCONR_OUTEN_POS                           (12U)
#define TMRA_PCONR_OUTEN                               (0x1000U)

/*******************************************************************************
                Bit definition for Peripheral USART
*******************************************************************************/
/*  Bit definition for USART_SR register  */
#define USART_SR_PE_POS                                (0U)
#define USART_SR_PE                                    (0x00000001UL)
#define USART_SR_FE_POS                                (1U)
#define USART_SR_FE                                    (0x00000002UL)
#define USART_SR_NF_POS                                (2U)
#define USART_SR_NF                                    (0x00000004UL)
#define USART_SR_ORE_POS                               (3U)
#define USART_SR_ORE                                   (0x00000008UL)
#define USART_SR_BE_POS                                (4U)
#define USART_SR_BE                                    (0x00000010UL)
#define USART_SR_RXNE_POS                              (5U)
#define USART_SR_RXNE                                  (0x00000020UL)
#define USART_SR_TC_POS                                (6U)
#define USART_SR_TC                                    (0x00000040UL)
#define USART_SR_TXE_POS                               (7U)
#define USART_SR_TXE                                   (0x00000080UL)
#define USART_SR_RTOF_POS                              (8U)
#define USART_SR_RTOF                                  (0x00000100UL)
#define USART_SR_WKUP_POS                              (9U)
#define USART_SR_WKUP                                  (0x00000200UL)
#define USART_SR_LBD_POS                               (10U)
#define USART_SR_LBD                                   (0x00000400UL)
#define USART_SR_TEND_POS                              (11U)
#define USART_SR_TEND                                  (0x00000800UL)
#define USART_SR_MPB_POS                               (16U)
#define USART_SR_MPB                                   (0x00010000UL)

/*  Bit definition for USART_TDR register  */
#define USART_TDR_TDR_POS                              (0U)
#define USART_TDR_TDR                                  (0x01FFU)
#define USART_TDR_MPID_POS                             (9U)
#define USART_TDR_MPID                                 (0x0200U)

/*  Bit definition for USART_RDR register  */
#define USART_RDR_RDR                                  (0x01FFU)

/*  Bit definition for USART_BRR register  */
#define USART_BRR_DIV_FRACTION_POS                     (0U)
#define USART_BRR_DIV_FRACTION                         (0x0000007FUL)
#define USART_BRR_DIV_INTEGER_POS                      (8U)
#define USART_BRR_DIV_INTEGER                          (0x0000FF00UL)

/*  Bit definition for USART_CR1 register  */
#define USART_CR1_RTOE_POS                             (0U)
#define USART_CR1_RTOE                                 (0x00000001UL)
#define USART_CR1_RTOIE_POS                            (1U)
#define USART_CR1_RTOIE                                (0x00000002UL)
#define USART_CR1_RE_POS                               (2U)
#define USART_CR1_RE                                   (0x00000004UL)
#define USART_CR1_TE_POS                               (3U)
#define USART_CR1_TE                                   (0x00000008UL)
#define USART_CR1_SLME_POS                             (4U)
#define USART_CR1_SLME                                 (0x00000010UL)
#define USART_CR1_RIE_POS                              (5U)
#define USART_CR1_RIE                                  (0x00000020UL)
#define USART_CR1_TCIE_POS                             (6U)
#define USART_CR1_TCIE                                 (0x00000040UL)
#define USART_CR1_TXEIE_POS                            (7U)
#define USART_CR1_TXEIE                                (0x00000080UL)
#define USART_CR1_TENDIE_POS                           (8U)
#define USART_CR1_TENDIE                               (0x00000100UL)
#define USART_CR1_PS_POS                               (9U)
#define USART_CR1_PS                                   (0x00000200UL)
#define USART_CR1_PCE_POS                              (10U)
#define USART_CR1_PCE                                  (0x00000400UL)
#define USART_CR1_M_POS                                (12U)
#define USART_CR1_M                                    (0x00001000UL)
#define USART_CR1_OVER8_POS                            (15U)
#define USART_CR1_OVER8                                (0x00008000UL)
#define USART_CR1_CPE_POS                              (16U)
#define USART_CR1_CPE                                  (0x00010000UL)
#define USART_CR1_CFE_POS                              (17U)
#define USART_CR1_CFE                                  (0x00020000UL)
#define USART_CR1_CORE_POS                             (19U)
#define USART_CR1_CORE                                 (0x00080000UL)
#define USART_CR1_CRTOF_POS                            (20U)
#define USART_CR1_CRTOF                                (0x00100000UL)
#define USART_CR1_CBE_POS                              (21U)
#define USART_CR1_CBE                                  (0x00200000UL)
#define USART_CR1_CWKUP_POS                            (22U)
#define USART_CR1_CWKUP                                (0x00400000UL)
#define USART_CR1_CLBD_POS                             (23U)
#define USART_CR1_CLBD                                 (0x00800000UL)
#define USART_CR1_MS_POS                               (24U)
#define USART_CR1_MS                                   (0x01000000UL)
#define USART_CR1_CTEND_POS                            (25U)
#define USART_CR1_CTEND                                (0x02000000UL)
#define USART_CR1_ML_POS                               (28U)
#define USART_CR1_ML                                   (0x10000000UL)
#define USART_CR1_FBME_POS                             (29U)
#define USART_CR1_FBME                                 (0x20000000UL)
#define USART_CR1_NFE_POS                              (30U)
#define USART_CR1_NFE                                  (0x40000000UL)
#define USART_CR1_SBS_POS                              (31U)
#define USART_CR1_SBS                                  (0x80000000UL)

/*  Bit definition for USART_CR2 register  */
#define USART_CR2_MPE_POS                              (0U)
#define USART_CR2_MPE                                  (0x00000001UL)
#define USART_CR2_WKUPIE_POS                           (1U)
#define USART_CR2_WKUPIE                               (0x00000002UL)
#define USART_CR2_BEIE_POS                             (2U)
#define USART_CR2_BEIE                                 (0x00000004UL)
#define USART_CR2_BEE_POS                              (3U)
#define USART_CR2_BEE                                  (0x00000008UL)
#define USART_CR2_LBDIE_POS                            (4U)
#define USART_CR2_LBDIE                                (0x00000010UL)
#define USART_CR2_LBDL_POS                             (5U)
#define USART_CR2_LBDL                                 (0x00000020UL)
#define USART_CR2_SBKL_POS                             (6U)
#define USART_CR2_SBKL                                 (0x000000C0UL)
#define USART_CR2_SBKL_0                               (0x00000040UL)
#define USART_CR2_SBKL_1                               (0x00000080UL)
#define USART_CR2_WKUPE_POS                            (8U)
#define USART_CR2_WKUPE                                (0x00000100UL)
#define USART_CR2_CLKC_POS                             (11U)
#define USART_CR2_CLKC                                 (0x00001800UL)
#define USART_CR2_CLKC_0                               (0x00000800UL)
#define USART_CR2_CLKC_1                               (0x00001000UL)
#define USART_CR2_STOP_POS                             (13U)
#define USART_CR2_STOP                                 (0x00002000UL)
#define USART_CR2_LINEN_POS                            (14U)
#define USART_CR2_LINEN                                (0x00004000UL)
#define USART_CR2_SBK_POS                              (16U)
#define USART_CR2_SBK                                  (0x00010000UL)
#define USART_CR2_SBKM_POS                             (17U)
#define USART_CR2_SBKM                                 (0x00020000UL)

/*  Bit definition for USART_CR3 register  */
#define USART_CR3_HDSEL_POS                            (3U)
#define USART_CR3_HDSEL                                (0x00000008UL)
#define USART_CR3_LOOP_POS                             (4U)
#define USART_CR3_LOOP                                 (0x00000010UL)
#define USART_CR3_SCEN_POS                             (5U)
#define USART_CR3_SCEN                                 (0x00000020UL)
#define USART_CR3_RTSE_POS                             (8U)
#define USART_CR3_RTSE                                 (0x00000100UL)
#define USART_CR3_CTSE_POS                             (9U)
#define USART_CR3_CTSE                                 (0x00000200UL)
#define USART_CR3_DED_POS                              (10U)
#define USART_CR3_DED                                  (0x00003C00UL)
#define USART_CR3_BCN_POS                              (21U)
#define USART_CR3_BCN                                  (0x00E00000UL)
#define USART_CR3_DEA_POS                              (25U)
#define USART_CR3_DEA                                  (0x1E000000UL)
#define USART_CR3_DEM_POS                              (30U)
#define USART_CR3_DEM                                  (0x40000000UL)
#define USART_CR3_DEP_POS                              (31U)
#define USART_CR3_DEP                                  (0x80000000UL)

/*  Bit definition for USART_PR register  */
#define USART_PR_PSC_POS                               (0U)
#define USART_PR_PSC                                   (0x00000003UL)
#define USART_PR_PSC_0                                 (0x00000001UL)
#define USART_PR_PSC_1                                 (0x00000002UL)
#define USART_PR_LBMPSC_POS                            (2U)
#define USART_PR_LBMPSC                                (0x0000000CUL)
#define USART_PR_LBMPSC_0                              (0x00000004UL)
#define USART_PR_LBMPSC_1                              (0x00000008UL)
#define USART_PR_ULBREN_POS                            (4U)
#define USART_PR_ULBREN                                (0x00000010UL)

/*  Bit definition for USART_LBMC register  */
#define USART_LBMC_LBMC                                (0x0000FFFFUL)

/*******************************************************************************
                Bit definition for Peripheral WDT
*******************************************************************************/
/*  Bit definition for WDT_CR register  */
#define WDT_CR_PERI_POS                                (0U)
#define WDT_CR_PERI                                    (0x00000003UL)
#define WDT_CR_PERI_0                                  (0x00000001UL)
#define WDT_CR_PERI_1                                  (0x00000002UL)
#define WDT_CR_CKS_POS                                 (4U)
#define WDT_CR_CKS                                     (0x000000F0UL)
#define WDT_CR_WDPT_POS                                (8U)
#define WDT_CR_WDPT                                    (0x00000F00UL)
#define WDT_CR_SLPOFF_POS                              (16U)
#define WDT_CR_SLPOFF                                  (0x00010000UL)
#define WDT_CR_ITS_POS                                 (31U)
#define WDT_CR_ITS                                     (0x80000000UL)

/*  Bit definition for WDT_SR register  */
#define WDT_SR_CNT_POS                                 (0U)
#define WDT_SR_CNT                                     (0x0000FFFFUL)
#define WDT_SR_UDF_POS                                 (16U)
#define WDT_SR_UDF                                     (0x00010000UL)
#define WDT_SR_REF_POS                                 (17U)
#define WDT_SR_REF                                     (0x00020000UL)

/*  Bit definition for WDT_RR register  */
#define WDT_RR_RF                                      (0x0000FFFFUL)

/******************************************************************************/
/*             Device Specific Registers bit_band structure                   */
/******************************************************************************/

typedef struct {
    __IO uint32_t STRT;
    uint32_t RESERVED0[7];
} stc_adc_str_bit_t;

typedef struct {
    uint32_t RESERVED0[6];
    __IO uint32_t CLREN;
    __IO uint32_t DFMT;
    uint32_t RESERVED1[8];
} stc_adc_cr0_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t RSCHSEL;
    uint32_t RESERVED1[13];
} stc_adc_cr1_bit_t;

typedef struct {
    uint32_t RESERVED0[12];
    __IO uint32_t OVSMOD;
    uint32_t RESERVED1[3];
} stc_adc_cr2_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t TRGENA;
    uint32_t RESERVED1[7];
    __IO uint32_t TRGENB;
} stc_adc_trgsr_bit_t;

typedef struct {
    __IO uint32_t EXCHSEL;
    uint32_t RESERVED0[7];
} stc_adc_exchselr_bit_t;

typedef struct {
    __I  uint32_t EOCAF;
    __I  uint32_t EOCBF;
    uint32_t RESERVED0[2];
    __I  uint32_t SASTPDF;
    uint32_t RESERVED1[3];
} stc_adc_isr_bit_t;

typedef struct {
    __IO uint32_t EOCAIEN;
    __IO uint32_t EOCBIEN;
    uint32_t RESERVED0[6];
} stc_adc_icr_bit_t;

typedef struct {
    __O  uint32_t CLREOCAF;
    __O  uint32_t CLREOCBF;
    uint32_t RESERVED0[2];
    __O  uint32_t CLRSASTPDF;
    uint32_t RESERVED1[3];
} stc_adc_isclrr_bit_t;

typedef struct {
    __IO uint32_t SYNCEN;
    uint32_t RESERVED0[15];
} stc_adc_synccr_bit_t;

typedef struct {
    __IO uint32_t AWD0EN;
    __IO uint32_t AWD0IEN;
    __IO uint32_t AWD0MD;
    uint32_t RESERVED0[1];
    __IO uint32_t AWD1EN;
    __IO uint32_t AWD1IEN;
    __IO uint32_t AWD1MD;
    uint32_t RESERVED1[9];
} stc_adc_awdcr_bit_t;

typedef struct {
    __I  uint32_t AWD0F;
    __I  uint32_t AWD1F;
    uint32_t RESERVED0[2];
    __I  uint32_t AWDCMF;
    uint32_t RESERVED1[3];
} stc_adc_awdsr_bit_t;

typedef struct {
    __O  uint32_t CLRAWD0F;
    __O  uint32_t CLRAWD1F;
    uint32_t RESERVED0[2];
    __O  uint32_t CLRAWDCMF;
    uint32_t RESERVED1[3];
} stc_adc_awdsclrr_bit_t;

typedef struct {
    __O  uint32_t STRG;
    uint32_t RESERVED0[31];
} stc_aos_intsfttrg_bit_t;

typedef struct {
    __IO uint32_t NFEN1;
    uint32_t RESERVED0[7];
    __IO uint32_t NFEN2;
    uint32_t RESERVED1[7];
    __IO uint32_t NFEN3;
    uint32_t RESERVED2[7];
    __IO uint32_t NFEN4;
    uint32_t RESERVED3[7];
} stc_aos_pevntnfcr_bit_t;

typedef struct {
    __IO uint32_t CENA;
    uint32_t RESERVED0[3];
    __IO uint32_t WDEN;
    uint32_t RESERVED1[2];
    __IO uint32_t CSST;
} stc_cmp_mdr_bit_t;

typedef struct {
    uint32_t RESERVED0[3];
    __IO uint32_t CIEN;
    uint32_t RESERVED1[2];
    __IO uint32_t CFF;
    __IO uint32_t CRF;
} stc_cmp_fir_bit_t;

typedef struct {
    __IO uint32_t COEN;
    __IO uint32_t COPS;
    __IO uint32_t CPOE;
    uint32_t RESERVED0[1];
    __IO uint32_t BWEN;
    __IO uint32_t BWMD;
    uint32_t RESERVED1[2];
} stc_cmp_ocr_bit_t;

typedef struct {
    __I  uint32_t CMON;
    uint32_t RESERVED0[7];
} stc_cmp_omr_bit_t;

typedef struct {
    __IO uint32_t CTWS0;
    __IO uint32_t CTWS1;
    __IO uint32_t CTWS2;
    __IO uint32_t CTWS3;
    __IO uint32_t CTWS4;
    __IO uint32_t CTWS5;
    __IO uint32_t CTWS6;
    __IO uint32_t CTWS7;
    __IO uint32_t CTWS8;
    __IO uint32_t CTWS9;
    __IO uint32_t CTWS10;
    __IO uint32_t CTWS11;
    __IO uint32_t CTWS12;
    __IO uint32_t CTWS13;
    __IO uint32_t CTWS14;
    __IO uint32_t CTWS15;
    __IO uint32_t CTWP0;
    __IO uint32_t CTWP1;
    __IO uint32_t CTWP2;
    __IO uint32_t CTWP3;
    __IO uint32_t CTWP4;
    __IO uint32_t CTWP5;
    __IO uint32_t CTWP6;
    __IO uint32_t CTWP7;
    __IO uint32_t CTWP8;
    __IO uint32_t CTWP9;
    __IO uint32_t CTWP10;
    __IO uint32_t CTWP11;
    __IO uint32_t CTWP12;
    __IO uint32_t CTWP13;
    __IO uint32_t CTWP14;
    __IO uint32_t CTWP15;
} stc_cmp_bwsr1_bit_t;

typedef struct {
    __IO uint32_t FRADIVEN;
    uint32_t RESERVED0[31];
} stc_cmu_xtaldivcr_bit_t;

typedef struct {
    uint32_t RESERVED0[3];
    __IO uint32_t XTALMS;
    uint32_t RESERVED1[4];
} stc_cmu_xtalcfgr_bit_t;

typedef struct {
    __IO uint32_t XTAL32STP;
    uint32_t RESERVED0[7];
} stc_cmu_xtal32cr_bit_t;

typedef struct {
    __IO uint32_t LRCSTP;
    uint32_t RESERVED0[7];
} stc_cmu_lrccr_bit_t;

typedef struct {
    __IO uint32_t PLLHOFF;
    uint32_t RESERVED0[7];
} stc_cmu_pllhcr_bit_t;

typedef struct {
    __IO uint32_t XTALSTP;
    uint32_t RESERVED0[7];
} stc_cmu_xtalcr_bit_t;

typedef struct {
    __IO uint32_t HRCSTP;
    uint32_t RESERVED0[7];
} stc_cmu_hrccr_bit_t;

typedef struct {
    __IO uint32_t MRCSTP;
    uint32_t RESERVED0[7];
} stc_cmu_mrccr_bit_t;

typedef struct {
    __IO uint32_t HRCSTBF;
    uint32_t RESERVED0[2];
    __IO uint32_t XTALSTBF;
    uint32_t RESERVED1[1];
    __IO uint32_t PLLHSTBF;
    uint32_t RESERVED2[2];
} stc_cmu_oscstbsr_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t MCOEN;
} stc_cmu_mcocfgr_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t TPIUCKOE;
} stc_cmu_tpiuckcfgr_bit_t;

typedef struct {
    __IO uint32_t XTALSTDIE;
    __IO uint32_t XTALSTDRE;
    __IO uint32_t XTALSTDRIS;
    uint32_t RESERVED0[4];
    __IO uint32_t XTALSTDE;
} stc_cmu_xtalstdcr_bit_t;

typedef struct {
    __IO uint32_t XTALSTDF;
    uint32_t RESERVED0[7];
} stc_cmu_xtalstdsr_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t PLLSRC;
    uint32_t RESERVED1[24];
} stc_cmu_pllhcfgr_bit_t;

typedef struct {
    __IO uint32_t CR;
    __I  uint32_t FLAG;
    uint32_t RESERVED0[30];
} stc_crc_cr_bit_t;

typedef struct {
    uint32_t RESERVED0[6];
    __IO uint32_t ERRIE;
    __IO uint32_t CTCEN;
    uint32_t RESERVED1[24];
} stc_ctc_cr1_bit_t;

typedef struct {
    __I  uint32_t TRIMOK;
    __I  uint32_t TRMOVF;
    __I  uint32_t TRMUDF;
    __I  uint32_t CTCBSY;
    uint32_t RESERVED0[28];
} stc_ctc_str_bit_t;

typedef struct {
    __IO uint32_t DAE;
    __IO uint32_t DA1E;
    __IO uint32_t DA2E;
    uint32_t RESERVED0[5];
    __IO uint32_t DPSEL;
    __IO uint32_t DAAMP1;
    __IO uint32_t DAAMP2;
    uint32_t RESERVED1[5];
} stc_dac_dacr_bit_t;

typedef struct {
    __IO uint32_t ADCSL1;
    __IO uint32_t ADCSL2;
    __IO uint32_t ADCSL3;
    uint32_t RESERVED0[5];
    __I  uint32_t DA1SF;
    __I  uint32_t DA2SF;
    uint32_t RESERVED1[5];
    __IO uint32_t ADPEN;
} stc_dac_daadpcr_bit_t;

typedef struct {
    uint32_t RESERVED0[14];
    __IO uint32_t DAODIS1;
    __IO uint32_t DAODIS2;
} stc_dac_daocr_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t LDMD1;
    uint32_t RESERVED1[7];
    __IO uint32_t LDMD2;
} stc_dac_dacr2_bit_t;

typedef struct {
    __IO uint32_t EN;
    uint32_t RESERVED0[31];
} stc_dma_en_bit_t;

typedef struct {
    __I  uint32_t TRNERR0;
    __I  uint32_t TRNERR1;
    __I  uint32_t TRNERR2;
    __I  uint32_t TRNERR3;
    __I  uint32_t TRNERR4;
    __I  uint32_t TRNERR5;
    __I  uint32_t TRNERR6;
    __I  uint32_t TRNERR7;
    uint32_t RESERVED0[8];
    __I  uint32_t REQERR0;
    __I  uint32_t REQERR1;
    __I  uint32_t REQERR2;
    __I  uint32_t REQERR3;
    __I  uint32_t REQERR4;
    __I  uint32_t REQERR5;
    __I  uint32_t REQERR6;
    __I  uint32_t REQERR7;
    uint32_t RESERVED1[8];
} stc_dma_intstat0_bit_t;

typedef struct {
    __I  uint32_t TC0;
    __I  uint32_t TC1;
    __I  uint32_t TC2;
    __I  uint32_t TC3;
    __I  uint32_t TC4;
    __I  uint32_t TC5;
    __I  uint32_t TC6;
    __I  uint32_t TC7;
    uint32_t RESERVED0[8];
    __I  uint32_t BTC0;
    __I  uint32_t BTC1;
    __I  uint32_t BTC2;
    __I  uint32_t BTC3;
    __I  uint32_t BTC4;
    __I  uint32_t BTC5;
    __I  uint32_t BTC6;
    __I  uint32_t BTC7;
    uint32_t RESERVED1[8];
} stc_dma_intstat1_bit_t;

typedef struct {
    __IO uint32_t MSKTRNERR0;
    __IO uint32_t MSKTRNERR1;
    __IO uint32_t MSKTRNERR2;
    __IO uint32_t MSKTRNERR3;
    __IO uint32_t MSKTRNERR4;
    __IO uint32_t MSKTRNERR5;
    __IO uint32_t MSKTRNERR6;
    __IO uint32_t MSKTRNERR7;
    uint32_t RESERVED0[8];
    __IO uint32_t MSKREQERR0;
    __IO uint32_t MSKREQERR1;
    __IO uint32_t MSKREQERR2;
    __IO uint32_t MSKREQERR3;
    __IO uint32_t MSKREQERR4;
    __IO uint32_t MSKREQERR5;
    __IO uint32_t MSKREQERR6;
    __IO uint32_t MSKREQERR7;
    uint32_t RESERVED1[8];
} stc_dma_intmask0_bit_t;

typedef struct {
    __IO uint32_t MSKTC0;
    __IO uint32_t MSKTC1;
    __IO uint32_t MSKTC2;
    __IO uint32_t MSKTC3;
    __IO uint32_t MSKTC4;
    __IO uint32_t MSKTC5;
    __IO uint32_t MSKTC6;
    __IO uint32_t MSKTC7;
    uint32_t RESERVED0[8];
    __IO uint32_t MSKBTC0;
    __IO uint32_t MSKBTC1;
    __IO uint32_t MSKBTC2;
    __IO uint32_t MSKBTC3;
    __IO uint32_t MSKBTC4;
    __IO uint32_t MSKBTC5;
    __IO uint32_t MSKBTC6;
    __IO uint32_t MSKBTC7;
    uint32_t RESERVED1[8];
} stc_dma_intmask1_bit_t;

typedef struct {
    __IO uint32_t CLRTRNERR0;
    __IO uint32_t CLRTRNERR1;
    __IO uint32_t CLRTRNERR2;
    __IO uint32_t CLRTRNERR3;
    __IO uint32_t CLRTRNERR4;
    __IO uint32_t CLRTRNERR5;
    __IO uint32_t CLRTRNERR6;
    __IO uint32_t CLRTRNERR7;
    uint32_t RESERVED0[8];
    __IO uint32_t CLRREQERR0;
    __IO uint32_t CLRREQERR1;
    __IO uint32_t CLRREQERR2;
    __IO uint32_t CLRREQERR3;
    __IO uint32_t CLRREQERR4;
    __IO uint32_t CLRREQERR5;
    __IO uint32_t CLRREQERR6;
    __IO uint32_t CLRREQERR7;
    uint32_t RESERVED1[8];
} stc_dma_intclr0_bit_t;

typedef struct {
    __IO uint32_t CLRTC0;
    __IO uint32_t CLRTC1;
    __IO uint32_t CLRTC2;
    __IO uint32_t CLRTC3;
    __IO uint32_t CLRTC4;
    __IO uint32_t CLRTC5;
    __IO uint32_t CLRTC6;
    __IO uint32_t CLRTC7;
    uint32_t RESERVED0[8];
    __IO uint32_t CLRBTC0;
    __IO uint32_t CLRBTC1;
    __IO uint32_t CLRBTC2;
    __IO uint32_t CLRBTC3;
    __IO uint32_t CLRBTC4;
    __IO uint32_t CLRBTC5;
    __IO uint32_t CLRBTC6;
    __IO uint32_t CLRBTC7;
    uint32_t RESERVED1[8];
} stc_dma_intclr1_bit_t;

typedef struct {
    uint32_t RESERVED0[15];
    __I  uint32_t RCFGREQ;
    uint32_t RESERVED1[16];
} stc_dma_reqstat_bit_t;

typedef struct {
    __I  uint32_t DMAACT;
    __I  uint32_t RCFGACT;
    uint32_t RESERVED0[30];
} stc_dma_chstat_bit_t;

typedef struct {
    __IO uint32_t RCFGEN;
    __IO uint32_t RCFGLLP;
    uint32_t RESERVED0[30];
} stc_dma_rcfgctl_bit_t;

typedef struct {
    __IO uint32_t SWREQ0;
    __IO uint32_t SWREQ1;
    __IO uint32_t SWREQ2;
    __IO uint32_t SWREQ3;
    __IO uint32_t SWREQ4;
    __IO uint32_t SWREQ5;
    __IO uint32_t SWREQ6;
    __IO uint32_t SWREQ7;
    uint32_t RESERVED0[7];
    __IO uint32_t SWRCFGREQ;
    uint32_t RESERVED1[16];
} stc_dma_swreq_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t SRPTEN;
    __IO uint32_t DRPTEN;
    __IO uint32_t SNSEQEN;
    __IO uint32_t DNSEQEN;
    uint32_t RESERVED1[2];
    __IO uint32_t LLPEN;
    __IO uint32_t LLPRUN;
    __IO uint32_t IE;
    uint32_t RESERVED2[19];
} stc_dma_chctl_bit_t;

typedef struct {
    __IO uint32_t FSTP;
    uint32_t RESERVED0[31];
} stc_efm_fstp_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t LVM;
    uint32_t RESERVED1[7];
    __IO uint32_t ICACHE;
    __IO uint32_t DCACHE;
    __IO uint32_t PREFETE;
    __IO uint32_t CRST;
    uint32_t RESERVED2[12];
} stc_efm_frmc_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t BUSHLDCTL;
    uint32_t RESERVED1[7];
    __IO uint32_t KEY1LOCK;
    __IO uint32_t KEY2LOCK;
    uint32_t RESERVED2[14];
} stc_efm_fwmc_bit_t;

typedef struct {
    __I  uint32_t OTPWERR;
    __I  uint32_t PRTWERR;
    __I  uint32_t PGSZERR;
    __I  uint32_t MISMTCH;
    __I  uint32_t OPTEND;
    __I  uint32_t COLERR;
    uint32_t RESERVED0[2];
    __I  uint32_t RDY;
    uint32_t RESERVED1[23];
} stc_efm_fsr_bit_t;

typedef struct {
    __IO uint32_t OTPWERRCLR;
    __IO uint32_t PRTWERRCLR;
    __IO uint32_t PGSZERRCLR;
    __IO uint32_t MISMTCHCLR;
    __IO uint32_t OPTENDCLR;
    __IO uint32_t COLERRCLR;
    uint32_t RESERVED0[26];
} stc_efm_fsclr_bit_t;

typedef struct {
    __IO uint32_t PEERRITE;
    __IO uint32_t OPTENDITE;
    __IO uint32_t COLERRITE;
    uint32_t RESERVED0[29];
} stc_efm_fite_bit_t;

typedef struct {
    __I  uint32_t FSWP;
    uint32_t RESERVED0[31];
} stc_efm_fswp_bit_t;

typedef struct {
    uint32_t RESERVED0[31];
    __IO uint32_t EN;
} stc_efm_mmf_remcr_bit_t;

typedef struct {
    __I  uint32_t MAPSEL;
    uint32_t RESERVED0[31];
} stc_efm_mmf_remcr2_bit_t;

typedef struct {
    __IO uint32_t WLOCK0;
    uint32_t RESERVED0[31];
} stc_efm_wlock_bit_t;

typedef struct {
    __IO uint32_t F0NWPRT0;
    __IO uint32_t F0NWPRT1;
    __IO uint32_t F0NWPRT2;
    __IO uint32_t F0NWPRT3;
    __IO uint32_t F0NWPRT4;
    __IO uint32_t F0NWPRT5;
    __IO uint32_t F0NWPRT6;
    __IO uint32_t F0NWPRT7;
    __IO uint32_t F0NWPRT8;
    __IO uint32_t F0NWPRT9;
    __IO uint32_t F0NWPRT10;
    __IO uint32_t F0NWPRT11;
    __IO uint32_t F0NWPRT12;
    __IO uint32_t F0NWPRT13;
    __IO uint32_t F0NWPRT14;
    __IO uint32_t F0NWPRT15;
    __IO uint32_t F0NWPRT16;
    __IO uint32_t F0NWPRT17;
    __IO uint32_t F0NWPRT18;
    __IO uint32_t F0NWPRT19;
    __IO uint32_t F0NWPRT20;
    __IO uint32_t F0NWPRT21;
    __IO uint32_t F0NWPRT22;
    __IO uint32_t F0NWPRT23;
    __IO uint32_t F0NWPRT24;
    __IO uint32_t F0NWPRT25;
    __IO uint32_t F0NWPRT26;
    __IO uint32_t F0NWPRT27;
    __IO uint32_t F0NWPRT28;
    __IO uint32_t F0NWPRT29;
    __IO uint32_t F0NWPRT30;
    __IO uint32_t F0NWPRT31;
} stc_efm_f0nwprt_bit_t;

typedef struct {
    __IO uint32_t CMPEN1;
    __IO uint32_t CMPEN2;
    __IO uint32_t CMPEN3;
    uint32_t RESERVED0[1];
    __IO uint32_t SYSEN;
    __IO uint32_t PWMSEN0;
    __IO uint32_t PWMSEN1;
    __IO uint32_t PWMSEN2;
    __IO uint32_t PWMSEN3;
    __IO uint32_t PWMSEN4;
    __IO uint32_t PWMSEN5;
    uint32_t RESERVED1[5];
    __IO uint32_t PORTINEN1;
    __IO uint32_t PORTINEN2;
    __IO uint32_t PORTINEN3;
    __IO uint32_t PORTINEN4;
    __IO uint32_t PORTINEN5;
    uint32_t RESERVED2[1];
    __IO uint32_t INVSEL1;
    __IO uint32_t INVSEL2;
    __IO uint32_t INVSEL3;
    __IO uint32_t INVSEL4;
    __IO uint32_t INVSEL5;
    __IO uint32_t OSCSTPEN;
    __IO uint32_t SRAMECCERREN;
    __IO uint32_t RAMPYERREN;
    __IO uint32_t LOCKUPEN;
    __IO uint32_t PVDEN;
} stc_emb_ctl1_bit_t;

typedef struct {
    __IO uint32_t PWMLV0;
    __IO uint32_t PWMLV1;
    __IO uint32_t PWMLV2;
    __IO uint32_t PWMLV3;
    __IO uint32_t PWMLV4;
    __IO uint32_t PWMLV5;
    uint32_t RESERVED0[4];
    __IO uint32_t NFSEL1_2;
    __IO uint32_t NFSEL2_2;
    __IO uint32_t NFSEL3_2;
    __IO uint32_t NFSEL4_2;
    __IO uint32_t NFSEL5_2;
    __IO uint32_t NFMD;
    uint32_t RESERVED1[2];
    __IO uint32_t NFEN1;
    uint32_t RESERVED2[2];
    __IO uint32_t NFEN2;
    uint32_t RESERVED3[2];
    __IO uint32_t NFEN3;
    uint32_t RESERVED4[2];
    __IO uint32_t NFEN4;
    uint32_t RESERVED5[2];
    __IO uint32_t NFEN5;
    uint32_t RESERVED6[1];
} stc_emb_ctl2_bit_t;

typedef struct {
    __IO uint32_t SOE;
    uint32_t RESERVED0[31];
} stc_emb_soe_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __I  uint32_t PWMSF;
    __I  uint32_t CMPF;
    __I  uint32_t SYSF;
    uint32_t RESERVED1[1];
    __I  uint32_t PWMST;
    __I  uint32_t CMPST;
    __I  uint32_t SYSST;
    __I  uint32_t PORTINF1;
    __I  uint32_t PORTINF2;
    __I  uint32_t PORTINF3;
    __I  uint32_t PORTINF4;
    __I  uint32_t PORTINF5;
    uint32_t RESERVED2[1];
    __I  uint32_t PORTINST1;
    __I  uint32_t PORTINST2;
    __I  uint32_t PORTINST3;
    __I  uint32_t PORTINST4;
    __I  uint32_t PORTINST5;
    __IO uint32_t OSCF;
    __IO uint32_t SRAMECCERRF;
    __IO uint32_t RAMPYERRF;
    __IO uint32_t LOCKUPF;
    __IO uint32_t PVDF;
    __IO uint32_t CMP1F;
    __IO uint32_t CMP2F;
    __IO uint32_t CMP3F;
    uint32_t RESERVED3[5];
} stc_emb_stat_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __O  uint32_t PWMSFCLR;
    __O  uint32_t CMPFCLR;
    __O  uint32_t SYSFCLR;
    uint32_t RESERVED1[4];
    __O  uint32_t PORTINFCLR1;
    __O  uint32_t PORTINFCLR2;
    __O  uint32_t PORTINFCLR3;
    __O  uint32_t PORTINFCLR4;
    __O  uint32_t PORTINFCLR5;
    uint32_t RESERVED2[6];
    __O  uint32_t OSCFCLR;
    __O  uint32_t SRAMECCERRFCLR;
    __O  uint32_t RAMPYERRFCLR;
    __O  uint32_t LOCKUPFCLR;
    __O  uint32_t PVDFCLR;
    __O  uint32_t CMP1FCLR;
    __O  uint32_t CMP2FCLR;
    __O  uint32_t CMP3FCLR;
    uint32_t RESERVED3[5];
} stc_emb_statclr_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __IO uint32_t PWMSINTEN;
    __IO uint32_t CMPINTEN;
    __IO uint32_t SYSINTEN;
    uint32_t RESERVED1[4];
    __IO uint32_t PORTININTEN1;
    __IO uint32_t PORTININTEN2;
    __IO uint32_t PORTININTEN3;
    __IO uint32_t PORTININTEN4;
    __IO uint32_t PORTININTEN5;
    uint32_t RESERVED2[19];
} stc_emb_inten_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __IO uint32_t PWMRSEL;
    __IO uint32_t CMPRSEL;
    __IO uint32_t SYSRSEL;
    uint32_t RESERVED1[4];
    __IO uint32_t PORTINRSEL1;
    __IO uint32_t PORTINRSEL2;
    __IO uint32_t PORTINRSEL3;
    __IO uint32_t PORTINRSEL4;
    __IO uint32_t PORTINRSEL5;
    uint32_t RESERVED2[19];
} stc_emb_rlssel_bit_t;

typedef struct {
    __IO uint32_t START;
    uint32_t RESERVED0[31];
} stc_fcm_str_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t INEXS;
    uint32_t RESERVED1[7];
    __IO uint32_t EXREFE;
    uint32_t RESERVED2[16];
} stc_fcm_rccr_bit_t;

typedef struct {
    __IO uint32_t ERRIE;
    __IO uint32_t MENDIE;
    __IO uint32_t OVFIE;
    uint32_t RESERVED0[1];
    __IO uint32_t ERRINTRS;
    uint32_t RESERVED1[2];
    __IO uint32_t ERRE;
    uint32_t RESERVED2[24];
} stc_fcm_rier_bit_t;

typedef struct {
    __I  uint32_t ERRF;
    __I  uint32_t MENDF;
    __I  uint32_t OVF;
    uint32_t RESERVED0[29];
} stc_fcm_sr_bit_t;

typedef struct {
    __O  uint32_t ERRFCLR;
    __O  uint32_t MENDFCLR;
    __O  uint32_t OVFCLR;
    uint32_t RESERVED0[29];
} stc_fcm_clr_bit_t;

typedef struct {
    __I  uint32_t PIN00;
    __I  uint32_t PIN01;
    __I  uint32_t PIN02;
    __I  uint32_t PIN03;
    __I  uint32_t PIN04;
    __I  uint32_t PIN05;
    __I  uint32_t PIN06;
    __I  uint32_t PIN07;
    __I  uint32_t PIN08;
    __I  uint32_t PIN09;
    __I  uint32_t PIN10;
    __I  uint32_t PIN11;
    __I  uint32_t PIN12;
    __I  uint32_t PIN13;
    __I  uint32_t PIN14;
    __I  uint32_t PIN15;
} stc_gpio_pidr_bit_t;

typedef struct {
    __IO uint32_t POUT00;
    __IO uint32_t POUT01;
    __IO uint32_t POUT02;
    __IO uint32_t POUT03;
    __IO uint32_t POUT04;
    __IO uint32_t POUT05;
    __IO uint32_t POUT06;
    __IO uint32_t POUT07;
    __IO uint32_t POUT08;
    __IO uint32_t POUT09;
    __IO uint32_t POUT10;
    __IO uint32_t POUT11;
    __IO uint32_t POUT12;
    __IO uint32_t POUT13;
    __IO uint32_t POUT14;
    __IO uint32_t POUT15;
} stc_gpio_podr_bit_t;

typedef struct {
    __IO uint32_t POUTE00;
    __IO uint32_t POUTE01;
    __IO uint32_t POUTE02;
    __IO uint32_t POUTE03;
    __IO uint32_t POUTE04;
    __IO uint32_t POUTE05;
    __IO uint32_t POUTE06;
    __IO uint32_t POUTE07;
    __IO uint32_t POUTE08;
    __IO uint32_t POUTE09;
    __IO uint32_t POUTE10;
    __IO uint32_t POUTE11;
    __IO uint32_t POUTE12;
    __IO uint32_t POUTE13;
    __IO uint32_t POUTE14;
    __IO uint32_t POUTE15;
} stc_gpio_poer_bit_t;

typedef struct {
    __O  uint32_t POS00;
    __O  uint32_t POS01;
    __O  uint32_t POS02;
    __O  uint32_t POS03;
    __O  uint32_t POS04;
    __O  uint32_t POS05;
    __O  uint32_t POS06;
    __O  uint32_t POS07;
    __O  uint32_t POS08;
    __O  uint32_t POS09;
    __O  uint32_t POS10;
    __O  uint32_t POS11;
    __O  uint32_t POS12;
    __O  uint32_t POS13;
    __O  uint32_t POS14;
    __O  uint32_t POS15;
} stc_gpio_posr_bit_t;

typedef struct {
    __O  uint32_t POR00;
    __O  uint32_t POR01;
    __O  uint32_t POR02;
    __O  uint32_t POR03;
    __O  uint32_t POR04;
    __O  uint32_t POR05;
    __O  uint32_t POR06;
    __O  uint32_t POR07;
    __O  uint32_t POR08;
    __O  uint32_t POR09;
    __O  uint32_t POR10;
    __O  uint32_t POR11;
    __O  uint32_t POR12;
    __O  uint32_t POR13;
    __O  uint32_t POR14;
    __O  uint32_t POR15;
} stc_gpio_porr_bit_t;

typedef struct {
    __O  uint32_t POT00;
    __O  uint32_t POT01;
    __O  uint32_t POT02;
    __O  uint32_t POT03;
    __O  uint32_t POT04;
    __O  uint32_t POT05;
    __O  uint32_t POT06;
    __O  uint32_t POT07;
    __O  uint32_t POT08;
    __O  uint32_t POT09;
    __O  uint32_t POT10;
    __O  uint32_t POT11;
    __O  uint32_t POT12;
    __O  uint32_t POT13;
    __O  uint32_t POT14;
    __O  uint32_t POT15;
} stc_gpio_potr_bit_t;

typedef struct {
    __IO uint32_t HRSEL0;
    __IO uint32_t HRSEL1;
    __IO uint32_t HRSEL2;
    __IO uint32_t HRSEL3;
    __IO uint32_t HRSEL4;
    __IO uint32_t HRSEL5;
    __IO uint32_t HRSEL6;
    __IO uint32_t HRSEL7;
    __IO uint32_t HRSEL8;
    __IO uint32_t HRSEL9;
    __IO uint32_t HRSEL10;
    __IO uint32_t HRSEL11;
    uint32_t RESERVED0[4];
    __IO uint32_t HREX0;
    __IO uint32_t HREX1;
    __IO uint32_t HREX2;
    __IO uint32_t HREX3;
    __IO uint32_t HREX4;
    __IO uint32_t HREX5;
    __IO uint32_t HREX6;
    __IO uint32_t HREX7;
    __IO uint32_t HREX8;
    __IO uint32_t HREX9;
    __IO uint32_t HREX10;
    __IO uint32_t HREX11;
    uint32_t RESERVED1[4];
} stc_gpio_hrpwm_bit_t;

typedef struct {
    __IO uint32_t WE;
    uint32_t RESERVED0[15];
} stc_gpio_pwpr_bit_t;

typedef struct {
    __IO uint32_t POUT;
    __IO uint32_t POUTE;
    __IO uint32_t NOD;
    uint32_t RESERVED0[3];
    __IO uint32_t PUU;
    __IO uint32_t PUD;
    __I  uint32_t PIN;
    __IO uint32_t INVE;
    __IO uint32_t CINSEL;
    uint32_t RESERVED1[1];
    __IO uint32_t INTE;
    __IO uint32_t PINAE;
    __IO uint32_t LTE;
    __IO uint32_t DDIS;
} stc_gpio_pcr_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t BFE;
    uint32_t RESERVED1[7];
} stc_gpio_pfsr_bit_t;

typedef struct {
    uint32_t RESERVED0[22];
    __I  uint32_t CAPDIRA;
    uint32_t RESERVED1[9];
} stc_hrpwm_capar_bit_t;

typedef struct {
    uint32_t RESERVED0[22];
    __I  uint32_t CAPDIRB;
    uint32_t RESERVED1[9];
} stc_hrpwm_capbr_bit_t;

typedef struct {
    __IO uint32_t START;
    uint32_t RESERVED0[1];
    __IO uint32_t MODE;
    uint32_t RESERVED1[5];
    __IO uint32_t OVSTP;
    uint32_t RESERVED2[23];
} stc_hrpwm_gconr_bit_t;

typedef struct {
    __IO uint32_t INTENA;
    __IO uint32_t INTENB;
    __IO uint32_t INTENC;
    __IO uint32_t INTEND;
    __IO uint32_t INTENE;
    __IO uint32_t INTENF;
    __IO uint32_t INTENOVF;
    __IO uint32_t INTENUDF;
    uint32_t RESERVED0[6];
    __IO uint32_t INTENCAPA;
    __IO uint32_t INTENCAPB;
    __IO uint32_t INTENSAU;
    __IO uint32_t INTENSAD;
    __IO uint32_t INTENSBU;
    __IO uint32_t INTENSBD;
    uint32_t RESERVED1[12];
} stc_hrpwm_iconr_bit_t;

typedef struct {
    __IO uint32_t BENAE;
    uint32_t RESERVED0[1];
    __IO uint32_t BTRUAE;
    __IO uint32_t BTRDAE;
    __IO uint32_t BENBF;
    uint32_t RESERVED1[1];
    __IO uint32_t BTRUBF;
    __IO uint32_t BTRDBF;
    __IO uint32_t BENP;
    uint32_t RESERVED2[1];
    __IO uint32_t BTRUP;
    __IO uint32_t BTRDP;
    uint32_t RESERVED3[4];
    __IO uint32_t BENSPA;
    uint32_t RESERVED4[1];
    __IO uint32_t BTRUSPA;
    __IO uint32_t BTRDSPA;
    __IO uint32_t BENSPB;
    uint32_t RESERVED5[1];
    __IO uint32_t BTRUSPB;
    __IO uint32_t BTRDSPB;
    uint32_t RESERVED6[8];
} stc_hrpwm_bconr1_bit_t;

typedef struct {
    __IO uint32_t DTCEN;
    __IO uint32_t SEPA;
    uint32_t RESERVED0[2];
    __IO uint32_t DTBENU;
    __IO uint32_t DTBEND;
    __IO uint32_t DTBTRU;
    __IO uint32_t DTBTRD;
    uint32_t RESERVED1[24];
} stc_hrpwm_dconr_bit_t;

typedef struct {
    uint32_t RESERVED0[28];
    __IO uint32_t OUTENA;
    uint32_t RESERVED1[3];
} stc_hrpwm_pcnar1_bit_t;

typedef struct {
    uint32_t RESERVED0[28];
    __IO uint32_t OUTENB;
    uint32_t RESERVED1[3];
} stc_hrpwm_pcnbr1_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t SPPERIA;
    __IO uint32_t SPPERIB;
    uint32_t RESERVED1[22];
} stc_hrpwm_vperr_bit_t;

typedef struct {
    __IO uint32_t CMAF;
    __IO uint32_t CMBF;
    __IO uint32_t CMCF;
    __IO uint32_t CMDF;
    __IO uint32_t CMEF;
    __IO uint32_t CMFF;
    __IO uint32_t OVFF;
    __IO uint32_t UDFF;
    uint32_t RESERVED0[1];
    __IO uint32_t CMSAUF;
    __IO uint32_t CMSADF;
    __IO uint32_t CMSBUF;
    __IO uint32_t CMSBDF;
    uint32_t RESERVED1[13];
    __IO uint32_t CAPAF;
    __IO uint32_t CAPBF;
    uint32_t RESERVED2[3];
    __I  uint32_t DIRF;
} stc_hrpwm_stflr1_bit_t;

typedef struct {
    __IO uint32_t DLYIDLEA;
    __IO uint32_t DLYIDLEB;
    __IO uint32_t DLYPRT;
    uint32_t RESERVED0[1];
    __IO uint32_t OASTAT;
    __IO uint32_t OBSTAT;
    uint32_t RESERVED1[5];
    __IO uint32_t PHSCMP1F;
    __IO uint32_t PHSCMP2F;
    __IO uint32_t PHSCMP3F;
    __IO uint32_t PHSCMP4F;
    __IO uint32_t PHSCMP5F;
    __IO uint32_t OSTOVF;
    uint32_t RESERVED2[15];
} stc_hrpwm_stflr2_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t STAS;
    __IO uint32_t HSTA8;
    __IO uint32_t HSTA9;
    __IO uint32_t HSTA10;
    __IO uint32_t HSTA11;
    uint32_t RESERVED1[4];
    __IO uint32_t HSTA16;
    __IO uint32_t HSTA17;
    __IO uint32_t HSTA18;
    __IO uint32_t HSTA19;
    __IO uint32_t HSTA20;
    __IO uint32_t HSTA21;
    __IO uint32_t HSTA22;
    __IO uint32_t HSTA23;
    uint32_t RESERVED2[8];
} stc_hrpwm_hstar1_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t CLES;
    __IO uint32_t HCLE8;
    __IO uint32_t HCLE9;
    __IO uint32_t HCLE10;
    __IO uint32_t HCLE11;
    uint32_t RESERVED1[4];
    __IO uint32_t HCLE16;
    __IO uint32_t HCLE17;
    __IO uint32_t HCLE18;
    __IO uint32_t HCLE19;
    __IO uint32_t HCLE20;
    __IO uint32_t HCLE21;
    __IO uint32_t HCLE22;
    __IO uint32_t HCLE23;
    uint32_t RESERVED2[8];
} stc_hrpwm_hclrr1_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t HCPA8;
    __IO uint32_t HCPA9;
    __IO uint32_t HCPA10;
    __IO uint32_t HCPA11;
    uint32_t RESERVED1[4];
    __IO uint32_t HCPA16;
    __IO uint32_t HCPA17;
    __IO uint32_t HCPA18;
    __IO uint32_t HCPA19;
    __IO uint32_t HCPA20;
    __IO uint32_t HCPA21;
    __IO uint32_t HCPA22;
    __IO uint32_t HCPA23;
    uint32_t RESERVED2[8];
} stc_hrpwm_hcpar1_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t HCPB8;
    __IO uint32_t HCPB9;
    __IO uint32_t HCPB10;
    __IO uint32_t HCPB11;
    uint32_t RESERVED1[4];
    __IO uint32_t HCPB16;
    __IO uint32_t HCPB17;
    __IO uint32_t HCPB18;
    __IO uint32_t HCPB19;
    __IO uint32_t HCPB20;
    __IO uint32_t HCPB21;
    __IO uint32_t HCPB22;
    __IO uint32_t HCPB23;
    uint32_t RESERVED2[8];
} stc_hrpwm_hcpbr1_bit_t;

typedef struct {
    __IO uint32_t HCPAEEV1;
    __IO uint32_t HCPAEEV2;
    __IO uint32_t HCPAEEV3;
    __IO uint32_t HCPAEEV4;
    __IO uint32_t HCPAEEV5;
    __IO uint32_t HCPAEEV6;
    __IO uint32_t HCPAEEV7;
    __IO uint32_t HCPAEEV8;
    __IO uint32_t HCPAEEV9;
    __IO uint32_t HCPAEEV10;
    __IO uint32_t HCPAEN;
    uint32_t RESERVED0[21];
} stc_hrpwm_hcpar2_bit_t;

typedef struct {
    __IO uint32_t HCPBEEV1;
    __IO uint32_t HCPBEEV2;
    __IO uint32_t HCPBEEV3;
    __IO uint32_t HCPBEEV4;
    __IO uint32_t HCPBEEV5;
    __IO uint32_t HCPBEEV6;
    __IO uint32_t HCPBEEV7;
    __IO uint32_t HCPBEEV8;
    __IO uint32_t HCPBEEV9;
    __IO uint32_t HCPBEEV10;
    __IO uint32_t HCPBEN;
    uint32_t RESERVED0[21];
} stc_hrpwm_hcpbr2_bit_t;

typedef struct {
    __IO uint32_t BENEEFOFF;
    __IO uint32_t BTRUEEFOFF;
    __IO uint32_t BTRDEEFOFF;
    __IO uint32_t BENEEFWIN;
    __IO uint32_t BTRUEEFWIN;
    __IO uint32_t BTRDEEFWIN;
    __IO uint32_t BTRU0EEFOFF;
    __IO uint32_t BTRU0EEFWIN;
    __IO uint32_t BTRU0PEEFOFF;
    __IO uint32_t BTRU0PEEFWIN;
    uint32_t RESERVED0[2];
    __IO uint32_t BENCTL;
    __IO uint32_t BTRUCTL;
    __IO uint32_t BTRDCTL;
    uint32_t RESERVED1[1];
    __IO uint32_t BTRU0AE;
    __IO uint32_t BTRU0BF;
    __IO uint32_t BTRU0P;
    __IO uint32_t BTRU0SPA;
    __IO uint32_t BTRU0SPB;
    __IO uint32_t BTRU0DT;
    __IO uint32_t BTRU0CTL;
    __IO uint32_t BTRU0PAE;
    __IO uint32_t BTRU0PBF;
    __IO uint32_t BTRU0PP;
    __IO uint32_t BTRU0PSPA;
    __IO uint32_t BTRU0PSPB;
    __IO uint32_t BTRU0PDT;
    __IO uint32_t BTRU0PCTL;
    uint32_t RESERVED2[2];
} stc_hrpwm_bconr2_bit_t;

typedef struct {
    __IO uint32_t HSTAEXEV1;
    __IO uint32_t HSTAEXEV2;
    __IO uint32_t HSTAEXEV3;
    __IO uint32_t HSTAEXEV4;
    __IO uint32_t HSTAEXEV5;
    __IO uint32_t HSTAEXEV6;
    __IO uint32_t HSTAEXEV7;
    __IO uint32_t HSTAEXEV8;
    __IO uint32_t HSTAEXEV9;
    __IO uint32_t HSTAEXEV10;
    __IO uint32_t HSTAGCMA1;
    __IO uint32_t HSTAGCMB1;
    __IO uint32_t HSTAGCMA2;
    __IO uint32_t HSTAGCMB2;
    __IO uint32_t HSTAGCMA3;
    __IO uint32_t HSTAGCMB3;
    __IO uint32_t HSTAGCMA4;
    __IO uint32_t HSTAGCMB4;
    __IO uint32_t HSTAGCMA5;
    __IO uint32_t HSTAGCMB5;
    __IO uint32_t HSTAGCMA6;
    __IO uint32_t HSTAGCMB6;
    __IO uint32_t HSTASCMA1;
    __IO uint32_t HSTASCMB2;
    __IO uint32_t HSTASCMB3;
    __IO uint32_t HSTASCMB4;
    __IO uint32_t HSTASCMB5;
    __IO uint32_t HSTASCMB6;
    uint32_t RESERVED0[4];
} stc_hrpwm_hstar2_bit_t;

typedef struct {
    __IO uint32_t HCLREXEV1;
    __IO uint32_t HCLREXEV2;
    __IO uint32_t HCLREXEV3;
    __IO uint32_t HCLREXEV4;
    __IO uint32_t HCLREXEV5;
    __IO uint32_t HCLREXEV6;
    __IO uint32_t HCLREXEV7;
    __IO uint32_t HCLREXEV8;
    __IO uint32_t HCLREXEV9;
    __IO uint32_t HCLREXEV10;
    __IO uint32_t HCLRGCMA1;
    __IO uint32_t HCLRGCMB1;
    __IO uint32_t HCLRGCMA2;
    __IO uint32_t HCLRGCMB2;
    __IO uint32_t HCLRGCMA3;
    __IO uint32_t HCLRGCMB3;
    __IO uint32_t HCLRGCMA4;
    __IO uint32_t HCLRGCMB4;
    __IO uint32_t HCLRGCMA5;
    __IO uint32_t HCLRGCMB5;
    __IO uint32_t HCLRGCMA6;
    __IO uint32_t HCLRGCMB6;
    __IO uint32_t HCLRSCMB1;
    __IO uint32_t HCLRSCMB2;
    __IO uint32_t HCLRSCMB3;
    __IO uint32_t HCLRSCMB4;
    __IO uint32_t HCLRSCMB5;
    __IO uint32_t HCLRSCMB6;
    uint32_t RESERVED0[4];
} stc_hrpwm_hclrr2_bit_t;

typedef struct {
    uint32_t RESERVED0[22];
    __IO uint32_t OFFSETDIR;
    uint32_t RESERVED1[9];
} stc_hrpwm_eefoffsetar_bit_t;

typedef struct {
    uint32_t RESERVED0[22];
    __IO uint32_t OFFSETDIR;
    uint32_t RESERVED1[9];
} stc_hrpwm_eefoffsetbr_bit_t;

typedef struct {
    uint32_t RESERVED0[22];
    __IO uint32_t WINDIR;
    uint32_t RESERVED1[9];
} stc_hrpwm_eefwinar_bit_t;

typedef struct {
    uint32_t RESERVED0[22];
    __IO uint32_t WINDIR;
    uint32_t RESERVED1[9];
} stc_hrpwm_eefwinbr_bit_t;

typedef struct {
    __IO uint32_t EE1LAT;
    uint32_t RESERVED0[4];
    __IO uint32_t EE1TMO;
    __IO uint32_t EE2LAT;
    uint32_t RESERVED1[4];
    __IO uint32_t EE2TMO;
    __IO uint32_t EE3LAT;
    uint32_t RESERVED2[4];
    __IO uint32_t EE3TMO;
    __IO uint32_t EE4LAT;
    uint32_t RESERVED3[4];
    __IO uint32_t EE4TMO;
    __IO uint32_t EE5LAT;
    uint32_t RESERVED4[4];
    __IO uint32_t EE5TMO;
    __IO uint32_t EEINTPOL;
    uint32_t RESERVED5[1];
} stc_hrpwm_eefltcr1_bit_t;

typedef struct {
    __IO uint32_t EE6LAT;
    uint32_t RESERVED0[4];
    __IO uint32_t EE6TMO;
    __IO uint32_t EE7LAT;
    uint32_t RESERVED1[4];
    __IO uint32_t EE7TMO;
    __IO uint32_t EE8LAT;
    uint32_t RESERVED2[4];
    __IO uint32_t EE8TMO;
    __IO uint32_t EE9LAT;
    uint32_t RESERVED3[4];
    __IO uint32_t EE9TMO;
    __IO uint32_t EE10LAT;
    uint32_t RESERVED4[4];
    __IO uint32_t EE10TMO;
    uint32_t RESERVED5[2];
} stc_hrpwm_eefltcr2_bit_t;

typedef struct {
    __IO uint32_t IDLEBMA;
    __IO uint32_t IDLESA;
    __IO uint32_t DIDLA;
    __IO uint32_t DLYCHA;
    uint32_t RESERVED0[4];
    __IO uint32_t DLYPRTEN;
    uint32_t RESERVED1[3];
    __IO uint32_t DLYSTRG;
    uint32_t RESERVED2[3];
    __IO uint32_t IDLEBMB;
    __IO uint32_t IDLESB;
    __IO uint32_t DIDLB;
    __IO uint32_t DLYCHB;
    uint32_t RESERVED3[4];
    __IO uint32_t INTENDLYPRT;
    __IO uint32_t FOLLOW;
    uint32_t RESERVED4[6];
} stc_hrpwm_idlecr_bit_t;

typedef struct {
    __IO uint32_t INVCAEN;
    __IO uint32_t INVCBEN;
    __IO uint32_t SWAPEN;
    __IO uint32_t SWAPMD;
    __IO uint32_t HALF;
    __IO uint32_t PRDLK;
    __IO uint32_t EEFM;
    __IO uint32_t EEFREF;
    uint32_t RESERVED0[8];
    __IO uint32_t CMSCAUEN;
    __IO uint32_t CMSCADEN;
    __IO uint32_t CMSCBUEN;
    __IO uint32_t CMSCBDEN;
    uint32_t RESERVED1[12];
} stc_hrpwm_gconr1_bit_t;

typedef struct {
    __IO uint32_t INTENA;
    __IO uint32_t INTENB;
    __IO uint32_t INTENC;
    __IO uint32_t INTEND;
    __IO uint32_t INTENE;
    __IO uint32_t INTENF;
    __IO uint32_t INTENOVF;
    __IO uint32_t NTENUDF;
    uint32_t RESERVED0[6];
    __IO uint32_t INTENCAPA;
    __IO uint32_t INTENCAPB;
    __IO uint32_t INTENSAU;
    __IO uint32_t INTENSAD;
    __IO uint32_t INTENSBU;
    __IO uint32_t INTENSBD;
    uint32_t RESERVED1[12];
} stc_hrpwm_biconr_bit_t;

typedef struct {
    uint32_t RESERVED0[28];
    __IO uint32_t OUTENA;
    uint32_t RESERVED1[3];
} stc_hrpwm_bpcnar1_bit_t;

typedef struct {
    uint32_t RESERVED0[28];
    __IO uint32_t OUTENB;
    uint32_t RESERVED1[3];
} stc_hrpwm_bpcnbr1_bit_t;

typedef struct {
    __IO uint32_t INVCAEN;
    __IO uint32_t INVCBEN;
    __IO uint32_t SWAPEN;
    __IO uint32_t SWAPMD;
    __IO uint32_t HALF;
    __IO uint32_t PRDLK;
    __IO uint32_t EEFM;
    __IO uint32_t EEFREF;
    uint32_t RESERVED0[8];
    __IO uint32_t CMSCAUEN;
    __IO uint32_t CMSCADEN;
    __IO uint32_t CMSCBUEN;
    __IO uint32_t CMSCBDEN;
    uint32_t RESERVED1[12];
} stc_hrpwm_bgconr1_bit_t;

typedef struct {
    __IO uint32_t CMSA1;
    __IO uint32_t CMSB1;
    __IO uint32_t OVF1;
    __IO uint32_t UDF1;
    __IO uint32_t CMSA2;
    __IO uint32_t CMSB2;
    __IO uint32_t OVF2;
    __IO uint32_t UDF2;
    __IO uint32_t CMSA3;
    __IO uint32_t CMSB3;
    __IO uint32_t OVF3;
    __IO uint32_t UDF3;
    __IO uint32_t CMSA4;
    __IO uint32_t CMSB4;
    __IO uint32_t OVF4;
    __IO uint32_t UDF4;
    __IO uint32_t CMSA5;
    __IO uint32_t CMSB5;
    __IO uint32_t OVF5;
    __IO uint32_t UDF5;
    __IO uint32_t CMSA6;
    __IO uint32_t CMSB6;
    __IO uint32_t OVF6;
    __IO uint32_t UDF6;
    __IO uint32_t EEVDET;
    uint32_t RESERVED0[7];
} stc_hrpwm_scmaselr_bit_t;

typedef struct {
    uint32_t RESERVED0[3];
    __IO uint32_t EN;
    uint32_t RESERVED1[28];
} stc_hrpwm_cr_bit_t;

typedef struct {
    __IO uint32_t PHSEN;
    uint32_t RESERVED0[5];
    __IO uint32_t PHSFORCA;
    __IO uint32_t PHSFORCB;
    __IO uint32_t BENPHS;
    __IO uint32_t BTRUPHS;
    __IO uint32_t BTRDPHS;
    uint32_t RESERVED1[21];
} stc_hrpwm_phsctl_bit_t;

typedef struct {
    __IO uint32_t CAL;
    __IO uint32_t CALEN;
    uint32_t RESERVED0[6];
    __IO uint32_t CALENF;
    __IO uint32_t ERRF;
    __IO uint32_t CALIE;
    uint32_t RESERVED1[21];
} stc_hrpwm_common_calcr_bit_t;

typedef struct {
    __O  uint32_t SCAP1A;
    __O  uint32_t SCAP1B;
    __O  uint32_t SCAP2A;
    __O  uint32_t SCAP2B;
    __O  uint32_t SCAP3A;
    __O  uint32_t SCAP3B;
    __O  uint32_t SCAP4A;
    __O  uint32_t SCAP4B;
    __O  uint32_t SCAP5A;
    __O  uint32_t SCAP5B;
    __O  uint32_t SCAP6A;
    __O  uint32_t SCAP6B;
    uint32_t RESERVED0[20];
} stc_hrpwm_common_scapr_bit_t;

typedef struct {
    __O  uint32_t SSTAIDL1A;
    __O  uint32_t SSTAIDL1B;
    __O  uint32_t SSTAIDL2A;
    __O  uint32_t SSTAIDL2B;
    __O  uint32_t SSTAIDL3A;
    __O  uint32_t SSTAIDL3B;
    __O  uint32_t SSTAIDL4A;
    __O  uint32_t SSTAIDL4B;
    __O  uint32_t SSTAIDL5A;
    __O  uint32_t SSTAIDL5B;
    __O  uint32_t SSTAIDL6A;
    __O  uint32_t SSTAIDL6B;
    uint32_t RESERVED0[20];
} stc_hrpwm_common_sstaidlr_bit_t;

typedef struct {
    __IO uint32_t SSTARUN1A;
    __IO uint32_t SSTARUN1B;
    __IO uint32_t SSTARUN2A;
    __IO uint32_t SSTARUN2B;
    __IO uint32_t SSTARUN3A;
    __IO uint32_t SSTARUN3B;
    __IO uint32_t SSTARUN4A;
    __IO uint32_t SSTARUN4B;
    __IO uint32_t SSTARUN5A;
    __IO uint32_t SSTARUN5B;
    __IO uint32_t SSTARUN6A;
    __IO uint32_t SSTARUN6B;
    uint32_t RESERVED0[20];
} stc_hrpwm_common_sstarunr1_bit_t;

typedef struct {
    __O  uint32_t SSTARUN1A2;
    __O  uint32_t SSTARUN1B2;
    __O  uint32_t SSTARUN2A2;
    __O  uint32_t SSTARUN2B2;
    __O  uint32_t SSTARUN3A2;
    __O  uint32_t SSTARUN3B2;
    __O  uint32_t SSTARUN4A2;
    __O  uint32_t SSTARUN4B2;
    __O  uint32_t SSTARUN5A2;
    __O  uint32_t SSTARUN5B2;
    __O  uint32_t SSTARUN6A2;
    __O  uint32_t SSTARUN6B2;
    uint32_t RESERVED0[20];
} stc_hrpwm_common_sstarunr2_bit_t;

typedef struct {
    __O  uint32_t DLYSTRGU1;
    __O  uint32_t DLYSTRGU2;
    __O  uint32_t DLYSTRGU3;
    __O  uint32_t DLYSTRGU4;
    __O  uint32_t DLYSTRGU5;
    __O  uint32_t DLYSTRGU6;
    uint32_t RESERVED0[26];
} stc_hrpwm_common_sstadidlr_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t BKDLY1;
    __IO uint32_t BKDLY2;
    __IO uint32_t BKDLY3;
    __IO uint32_t BKDLY4;
    __IO uint32_t BKDLY5;
    __IO uint32_t BKDLY6;
    uint32_t RESERVED1[22];
} stc_hrpwm_common_gctlr_bit_t;

typedef struct {
    __IO uint32_t BTRU1EN;
    __IO uint32_t BTRU2EN;
    __IO uint32_t BTRU3EN;
    __IO uint32_t BTRU4EN;
    __IO uint32_t BTRU5EN;
    __IO uint32_t BTRU6EN;
    uint32_t RESERVED0[2];
    __IO uint32_t BTRU1SFT;
    __IO uint32_t BTRU2SFT;
    __IO uint32_t BTRU3SFT;
    __IO uint32_t BTRU4SFT;
    __IO uint32_t BTRU5SFT;
    __IO uint32_t BTRU6SFT;
    uint32_t RESERVED1[16];
    __O  uint32_t OSTBTRU1;
    __IO uint32_t OSTENU1;
} stc_hrpwm_common_gbconr_bit_t;

typedef struct {
    __IO uint32_t U1BTRENF;
    __IO uint32_t U2BTRENF;
    __IO uint32_t U3BTRENF;
    __IO uint32_t U4BTRENF;
    __IO uint32_t U5BTRENF;
    __IO uint32_t U6BTRENF;
    uint32_t RESERVED0[26];
} stc_hrpwm_common_gbsflr_bit_t;

typedef struct {
    __IO uint32_t BMEN;
    __IO uint32_t BMCTN;
    uint32_t RESERVED0[8];
    __IO uint32_t BMTMR1;
    __IO uint32_t BMTMR2;
    __IO uint32_t BMTMR3;
    __IO uint32_t BMTMR4;
    __IO uint32_t BMTMR5;
    __IO uint32_t BMTMR6;
    __IO uint32_t BMOPTF;
    __IO uint32_t BMOVFF;
    __IO uint32_t INTENBMOVF;
    __IO uint32_t BENBMCMP;
    __IO uint32_t BENBMP;
    __IO uint32_t BMMD;
    uint32_t RESERVED1[10];
} stc_hrpwm_common_bmcr_bit_t;

typedef struct {
    __O  uint32_t SSTRG;
    __IO uint32_t OVF1;
    __IO uint32_t UDF1;
    __IO uint32_t GCMA1;
    __IO uint32_t GCMB1;
    __IO uint32_t OVF2;
    __IO uint32_t UDF2;
    __IO uint32_t GCMA2;
    __IO uint32_t GCMB2;
    __IO uint32_t OVF3;
    __IO uint32_t UDF3;
    __IO uint32_t GCMA3;
    __IO uint32_t GCMB3;
    __IO uint32_t OVF4;
    __IO uint32_t UDF4;
    __IO uint32_t GCMA4;
    __IO uint32_t GCMB4;
    __IO uint32_t OVF5;
    __IO uint32_t UDF5;
    __IO uint32_t GCMA5;
    __IO uint32_t GCMB5;
    __IO uint32_t OVF6;
    __IO uint32_t UDF6;
    __IO uint32_t GCMA6;
    __IO uint32_t GCMB6;
    __IO uint32_t T1OVFEEV7;
    __IO uint32_t T1UDFEEV7;
    __IO uint32_t T4OVFEEV8;
    __IO uint32_t T4UDFEEV8;
    __IO uint32_t EEV7;
    __IO uint32_t EEV8;
    uint32_t RESERVED0[1];
} stc_hrpwm_common_bmstrg1_bit_t;

typedef struct {
    __IO uint32_t IEV0;
    __IO uint32_t IEV1;
    __IO uint32_t IEV2;
    __IO uint32_t IEV3;
    uint32_t RESERVED0[28];
} stc_hrpwm_common_bmstrg2_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t EE1POL;
    uint32_t RESERVED1[2];
    __IO uint32_t EE1FAST;
    uint32_t RESERVED2[2];
    __IO uint32_t EE2POL;
    uint32_t RESERVED3[2];
    __IO uint32_t EE2FAST;
    uint32_t RESERVED4[2];
    __IO uint32_t EE3POL;
    uint32_t RESERVED5[2];
    __IO uint32_t EE3FAST;
    uint32_t RESERVED6[2];
    __IO uint32_t EE4POL;
    uint32_t RESERVED7[2];
    __IO uint32_t EE4FAST;
    uint32_t RESERVED8[2];
    __IO uint32_t EE5POL;
    uint32_t RESERVED9[2];
    __IO uint32_t EE5FAST;
    uint32_t RESERVED10[2];
} stc_hrpwm_common_eecr1_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t EE6POL;
    uint32_t RESERVED1[5];
    __IO uint32_t EE7POL;
    uint32_t RESERVED2[5];
    __IO uint32_t EE8POL;
    uint32_t RESERVED3[5];
    __IO uint32_t EE9POL;
    uint32_t RESERVED4[5];
    __IO uint32_t EE10POL;
    uint32_t RESERVED5[5];
} stc_hrpwm_common_eecr2_bit_t;

typedef struct {
    uint32_t RESERVED0[6];
    __IO uint32_t SRCDIR;
    uint32_t RESERVED1[25];
} stc_hrpwm_common_synocr_bit_t;

typedef struct {
    __IO uint32_t EEV1;
    __IO uint32_t EEV2;
    __IO uint32_t EEV3;
    __IO uint32_t EEV4;
    __IO uint32_t EEV5;
    __IO uint32_t EEV6;
    __IO uint32_t EEV7;
    __IO uint32_t EEV8;
    __IO uint32_t EEV9;
    __IO uint32_t EEV10;
    uint32_t RESERVED0[22];
} stc_hrpwm_common_eedselr_bit_t;

typedef struct {
    __IO uint32_t NOFIENTA;
    uint32_t RESERVED0[3];
    __IO uint32_t NOFIENTB;
    uint32_t RESERVED1[3];
    __IO uint32_t NOFIENTC;
    uint32_t RESERVED2[3];
    __IO uint32_t NOFIENTD;
    uint32_t RESERVED3[19];
} stc_hrpwm_common_fcntr_bit_t;

typedef struct {
    __IO uint32_t SSTA1;
    __IO uint32_t SSTA2;
    __IO uint32_t SSTA3;
    __IO uint32_t SSTA4;
    __IO uint32_t SSTA5;
    __IO uint32_t SSTA6;
    uint32_t RESERVED0[26];
} stc_hrpwm_common_sstar_bit_t;

typedef struct {
    __O  uint32_t SSTP1;
    __O  uint32_t SSTP2;
    __O  uint32_t SSTP3;
    __O  uint32_t SSTP4;
    __O  uint32_t SSTP5;
    __O  uint32_t SSTP6;
    uint32_t RESERVED0[26];
} stc_hrpwm_common_sstpr_bit_t;

typedef struct {
    __O  uint32_t SCLE1;
    __O  uint32_t SCLE2;
    __O  uint32_t SCLE3;
    __O  uint32_t SCLE4;
    __O  uint32_t SCLE5;
    __O  uint32_t SCLE6;
    uint32_t RESERVED0[26];
} stc_hrpwm_common_sclrr_bit_t;

typedef struct {
    __O  uint32_t SUPD1;
    __O  uint32_t SUPD2;
    __O  uint32_t SUPD3;
    __O  uint32_t SUPD4;
    __O  uint32_t SUPD5;
    __O  uint32_t SUPD6;
    uint32_t RESERVED0[26];
} stc_hrpwm_common_supdr_bit_t;

typedef struct {
    __IO uint32_t PE;
    __IO uint32_t SMBUS;
    __IO uint32_t SMBALRTEN;
    __IO uint32_t SMBDEFAULTEN;
    __IO uint32_t SMBHOSTEN;
    uint32_t RESERVED0[1];
    __IO uint32_t GCEN;
    __IO uint32_t RESTART;
    __IO uint32_t START;
    __IO uint32_t STOP;
    __IO uint32_t ACK;
    uint32_t RESERVED1[4];
    __IO uint32_t SWRST;
    uint32_t RESERVED2[16];
} stc_i2c_cr1_bit_t;

typedef struct {
    __IO uint32_t STARTIE;
    __IO uint32_t SLADDR0IE;
    __IO uint32_t SLADDR1IE;
    __IO uint32_t TENDIE;
    __IO uint32_t STOPIE;
    uint32_t RESERVED0[1];
    __IO uint32_t RFULLIE;
    __IO uint32_t TEMPTYIE;
    uint32_t RESERVED1[1];
    __IO uint32_t ARLOIE;
    uint32_t RESERVED2[1];
    __IO uint32_t RFREQIE;
    __IO uint32_t NACKIE;
    uint32_t RESERVED3[1];
    __IO uint32_t TMOUTIE;
    uint32_t RESERVED4[5];
    __IO uint32_t GENCALLIE;
    __IO uint32_t SMBDEFAULTIE;
    __IO uint32_t SMBHOSTIE;
    __IO uint32_t SMBALRTIE;
    uint32_t RESERVED5[8];
} stc_i2c_cr2_bit_t;

typedef struct {
    __IO uint32_t TMOUTEN;
    __IO uint32_t LTMOUT;
    __IO uint32_t HTMOUT;
    uint32_t RESERVED0[4];
    __IO uint32_t FACKEN;
    uint32_t RESERVED1[24];
} stc_i2c_cr3_bit_t;

typedef struct {
    uint32_t RESERVED0[10];
    __IO uint32_t BUSWAIT;
    uint32_t RESERVED1[1];
    __IO uint32_t BUSFREECLREN;
    uint32_t RESERVED2[19];
} stc_i2c_cr4_bit_t;

typedef struct {
    uint32_t RESERVED0[12];
    __IO uint32_t SLADDR0EN;
    uint32_t RESERVED1[2];
    __IO uint32_t ADDRMOD0;
    uint32_t RESERVED2[10];
    __IO uint32_t MASKEN0;
    uint32_t RESERVED3[5];
} stc_i2c_slr0_bit_t;

typedef struct {
    uint32_t RESERVED0[12];
    __IO uint32_t SLADDR1EN;
    uint32_t RESERVED1[2];
    __IO uint32_t ADDRMOD1;
    uint32_t RESERVED2[10];
    __IO uint32_t MASKEN1;
    uint32_t RESERVED3[5];
} stc_i2c_slr1_bit_t;

typedef struct {
    __IO uint32_t STARTF;
    __IO uint32_t SLADDR0F;
    __IO uint32_t SLADDR1F;
    __IO uint32_t TENDF;
    __IO uint32_t STOPF;
    uint32_t RESERVED0[1];
    __IO uint32_t RFULLF;
    __IO uint32_t TEMPTYF;
    uint32_t RESERVED1[1];
    __IO uint32_t ARLOF;
    __IO uint32_t ACKRF;
    uint32_t RESERVED2[1];
    __IO uint32_t NACKF;
    uint32_t RESERVED3[1];
    __IO uint32_t TMOUTF;
    uint32_t RESERVED4[1];
    __IO uint32_t MSL;
    __IO uint32_t BUSY;
    __IO uint32_t TRA;
    uint32_t RESERVED5[1];
    __IO uint32_t GENCALLF;
    __IO uint32_t SMBDEFAULTF;
    __IO uint32_t SMBHOSTF;
    __IO uint32_t SMBALRTF;
    __IO uint32_t TFEMPTY;
    __IO uint32_t TFFULL;
    __IO uint32_t RFEMPTY;
    __IO uint32_t RFFULL;
    uint32_t RESERVED6[3];
    __IO uint32_t RFREQ;
} stc_i2c_sr_bit_t;

typedef struct {
    __O  uint32_t STARTFCLR;
    __O  uint32_t SLADDR0FCLR;
    __O  uint32_t SLADDR1FCLR;
    __O  uint32_t TENDFCLR;
    __O  uint32_t STOPFCLR;
    uint32_t RESERVED0[1];
    __O  uint32_t RFULLFCLR;
    uint32_t RESERVED1[2];
    __O  uint32_t ARLOFCLR;
    __O  uint32_t RFREQCLR;
    uint32_t RESERVED2[1];
    __O  uint32_t NACKFCLR;
    uint32_t RESERVED3[1];
    __O  uint32_t TMOUTFCLR;
    uint32_t RESERVED4[5];
    __O  uint32_t GENCALLFCLR;
    __O  uint32_t SMBDEFAULTFCLR;
    __O  uint32_t SMBHOSTFCLR;
    __O  uint32_t SMBALRTFCLR;
    uint32_t RESERVED5[8];
} stc_i2c_clr_bit_t;

typedef struct {
    uint32_t RESERVED0[23];
    __IO uint32_t FMPLUSEN;
    uint32_t RESERVED1[8];
} stc_i2c_ccr_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t DNFEN;
    __IO uint32_t ANFEN;
    uint32_t RESERVED1[26];
} stc_i2c_fltr_bit_t;

typedef struct {
    __IO uint32_t FEN;
    __IO uint32_t TFFLUSH;
    __IO uint32_t RFFLUSH;
    __IO uint32_t NACKTFFLUSH;
    uint32_t RESERVED0[28];
} stc_i2c_fstr_bit_t;

typedef struct {
    __I  uint32_t SWDTAUTS;
    __I  uint32_t SWDTITS;
    uint32_t RESERVED0[10];
    __I  uint32_t SWDTSLPOFF;
    uint32_t RESERVED1[3];
    __I  uint32_t WDTAUTS;
    __I  uint32_t WDTITS;
    uint32_t RESERVED2[10];
    __I  uint32_t WDTSLPOFF;
    uint32_t RESERVED3[3];
} stc_icg_icg0_bit_t;

typedef struct {
    __I  uint32_t HRCFREQSEL;
    uint32_t RESERVED0[7];
    __I  uint32_t HRCSTOP;
    uint32_t RESERVED1[9];
    __I  uint32_t BORDIS;
    uint32_t RESERVED2[13];
} stc_icg_icg1_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __IO uint32_t SWDTEN;
    __IO uint32_t PVD1EN;
    __IO uint32_t PVD2EN;
    uint32_t RESERVED1[1];
    __IO uint32_t XTALSTPEN;
    uint32_t RESERVED2[2];
    __IO uint32_t RPARERREN;
    __IO uint32_t RECCERREN;
    __IO uint32_t BUSERREN;
    __IO uint32_t WDTEN;
    uint32_t RESERVED3[20];
} stc_intc_nmier_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __IO uint32_t SWDTF;
    __IO uint32_t PVD1F;
    __IO uint32_t PVD2F;
    uint32_t RESERVED1[1];
    __IO uint32_t XTALSTPF;
    uint32_t RESERVED2[2];
    __IO uint32_t RPARERRF;
    __IO uint32_t RECCERRF;
    __IO uint32_t BUSERRF;
    __IO uint32_t WDTF;
    uint32_t RESERVED3[20];
} stc_intc_nmifr_bit_t;

typedef struct {
    uint32_t RESERVED0[1];
    __IO uint32_t SWDTFCLR;
    __IO uint32_t PVD1FCLR;
    __IO uint32_t PVD2FCLR;
    uint32_t RESERVED1[1];
    __IO uint32_t XTALSTPFCLR;
    uint32_t RESERVED2[2];
    __IO uint32_t RPARERRFCLR;
    __IO uint32_t RECCERRFCLR;
    __IO uint32_t BUSERRFCLR;
    __IO uint32_t WDTFCLR;
    uint32_t RESERVED3[20];
} stc_intc_nmifcr_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t EFEN;
    uint32_t RESERVED1[7];
    __IO uint32_t NOCEN;
    uint32_t RESERVED2[16];
} stc_intc_eirqcr_bit_t;

typedef struct {
    uint32_t RESERVED0[16];
    __IO uint32_t SWDTWKEN;
    __IO uint32_t PVD1WKEN;
    __IO uint32_t PVD2WKEN;
    __IO uint32_t CMP1WKEN;
    __IO uint32_t WKTMWKEN;
    __IO uint32_t RTCALMWKEN;
    __IO uint32_t RTCPRDWKEN;
    __IO uint32_t TMR0CMPWKEN;
    uint32_t RESERVED1[2];
    __IO uint32_t RXWKEN;
    uint32_t RESERVED2[2];
    __IO uint32_t CMP2WKEN;
    __IO uint32_t CMP3WKEN;
    uint32_t RESERVED3[1];
} stc_intc_wken_bit_t;

typedef struct {
    __IO uint32_t EIF0;
    __IO uint32_t EIF1;
    __IO uint32_t EIF2;
    __IO uint32_t EIF3;
    __IO uint32_t EIF4;
    __IO uint32_t EIF5;
    __IO uint32_t EIF6;
    __IO uint32_t EIF7;
    __IO uint32_t EIF8;
    __IO uint32_t EIF9;
    __IO uint32_t EIF10;
    __IO uint32_t EIF11;
    __IO uint32_t EIF12;
    __IO uint32_t EIF13;
    __IO uint32_t EIF14;
    __IO uint32_t EIF15;
    uint32_t RESERVED0[16];
} stc_intc_eifr_bit_t;

typedef struct {
    __IO uint32_t EIFCLR0;
    __IO uint32_t EIFCLR1;
    __IO uint32_t EIFCLR2;
    __IO uint32_t EIFCLR3;
    __IO uint32_t EIFCLR4;
    __IO uint32_t EIFCLR5;
    __IO uint32_t EIFCLR6;
    __IO uint32_t EIFCLR7;
    __IO uint32_t EIFCLR8;
    __IO uint32_t EIFCLR9;
    __IO uint32_t EIFCLR10;
    __IO uint32_t EIFCLR11;
    __IO uint32_t EIFCLR12;
    __IO uint32_t EIFCLR13;
    __IO uint32_t EIFCLR14;
    __IO uint32_t EIFCLR15;
    uint32_t RESERVED0[16];
} stc_intc_eifcr_bit_t;

typedef struct {
    __IO uint32_t SWIE0;
    __IO uint32_t SWIE1;
    __IO uint32_t SWIE2;
    __IO uint32_t SWIE3;
    __IO uint32_t SWIE4;
    __IO uint32_t SWIE5;
    __IO uint32_t SWIE6;
    __IO uint32_t SWIE7;
    __IO uint32_t SWIE8;
    __IO uint32_t SWIE9;
    __IO uint32_t SWIE10;
    __IO uint32_t SWIE11;
    __IO uint32_t SWIE12;
    __IO uint32_t SWIE13;
    __IO uint32_t SWIE14;
    __IO uint32_t SWIE15;
    __IO uint32_t SWIE16;
    __IO uint32_t SWIE17;
    __IO uint32_t SWIE18;
    __IO uint32_t SWIE19;
    __IO uint32_t SWIE20;
    __IO uint32_t SWIE21;
    __IO uint32_t SWIE22;
    __IO uint32_t SWIE23;
    __IO uint32_t SWIE24;
    __IO uint32_t SWIE25;
    __IO uint32_t SWIE26;
    __IO uint32_t SWIE27;
    __IO uint32_t SWIE28;
    __IO uint32_t SWIE29;
    __IO uint32_t SWIE30;
    __IO uint32_t SWIE31;
} stc_intc_swier_bit_t;

typedef struct {
    __IO uint32_t EVTE0;
    __IO uint32_t EVTE1;
    __IO uint32_t EVTE2;
    __IO uint32_t EVTE3;
    __IO uint32_t EVTE4;
    __IO uint32_t EVTE5;
    __IO uint32_t EVTE6;
    __IO uint32_t EVTE7;
    __IO uint32_t EVTE8;
    __IO uint32_t EVTE9;
    __IO uint32_t EVTE10;
    __IO uint32_t EVTE11;
    __IO uint32_t EVTE12;
    __IO uint32_t EVTE13;
    __IO uint32_t EVTE14;
    __IO uint32_t EVTE15;
    __IO uint32_t EVTE16;
    __IO uint32_t EVTE17;
    __IO uint32_t EVTE18;
    __IO uint32_t EVTE19;
    __IO uint32_t EVTE20;
    __IO uint32_t EVTE21;
    __IO uint32_t EVTE22;
    __IO uint32_t EVTE23;
    __IO uint32_t EVTE24;
    __IO uint32_t EVTE25;
    __IO uint32_t EVTE26;
    __IO uint32_t EVTE27;
    __IO uint32_t EVTE28;
    __IO uint32_t EVTE29;
    __IO uint32_t EVTE30;
    __IO uint32_t EVTE31;
} stc_intc_evter_bit_t;

typedef struct {
    __IO uint32_t IEN0;
    __IO uint32_t IEN1;
    __IO uint32_t IEN2;
    __IO uint32_t IEN3;
    __IO uint32_t IEN4;
    __IO uint32_t IEN5;
    __IO uint32_t IEN6;
    __IO uint32_t IEN7;
    __IO uint32_t IEN8;
    __IO uint32_t IEN9;
    __IO uint32_t IEN10;
    __IO uint32_t IEN11;
    __IO uint32_t IEN12;
    __IO uint32_t IEN13;
    __IO uint32_t IEN14;
    __IO uint32_t IEN15;
    __IO uint32_t IEN16;
    __IO uint32_t IEN17;
    __IO uint32_t IEN18;
    __IO uint32_t IEN19;
    __IO uint32_t IEN20;
    __IO uint32_t IEN21;
    __IO uint32_t IEN22;
    __IO uint32_t IEN23;
    __IO uint32_t IEN24;
    __IO uint32_t IEN25;
    __IO uint32_t IEN26;
    __IO uint32_t IEN27;
    __IO uint32_t IEN28;
    __IO uint32_t IEN29;
    __IO uint32_t IEN30;
    __IO uint32_t IEN31;
} stc_intc_ier_bit_t;

typedef struct {
    __IO uint32_t IOCIEN;
    __IO uint32_t DZCIEN;
    __IO uint32_t OFCIEN;
    __IO uint32_t UFCIEN;
    __IO uint32_t IXCIEN;
    __IO uint32_t IDCIEN;
    uint32_t RESERVED0[26];
} stc_intc_fpuier_bit_t;

typedef struct {
    uint32_t RESERVED0[23];
    __IO uint32_t TDC;
    uint32_t RESERVED1[8];
} stc_mcan_dbtp_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t LBCK;
    uint32_t RESERVED1[2];
    __I  uint32_t RX;
    uint32_t RESERVED2[5];
    __I  uint32_t PVAL;
    uint32_t RESERVED3[7];
    __I  uint32_t SVAL;
    uint32_t RESERVED4[10];
} stc_mcan_test_bit_t;

typedef struct {
    __IO uint32_t INIT;
    __IO uint32_t CCE;
    __IO uint32_t ASM;
    __I  uint32_t CSA;
    __IO uint32_t CSR;
    __IO uint32_t MON;
    __IO uint32_t DAR;
    __IO uint32_t TEST;
    __IO uint32_t FDOE;
    __IO uint32_t BRSE;
    __IO uint32_t UTSU;
    __IO uint32_t WMM;
    __IO uint32_t PXHD;
    __IO uint32_t EFBI;
    __IO uint32_t TXP;
    __IO uint32_t NISO;
    uint32_t RESERVED0[16];
} stc_mcan_cccr_bit_t;

typedef struct {
    __IO uint32_t ETOC;
    uint32_t RESERVED0[31];
} stc_mcan_tocc_bit_t;

typedef struct {
    uint32_t RESERVED0[15];
    __I  uint32_t RP;
    uint32_t RESERVED1[16];
} stc_mcan_ecr_bit_t;

typedef struct {
    uint32_t RESERVED0[5];
    __I  uint32_t EP;
    __I  uint32_t EW;
    __I  uint32_t BO;
    uint32_t RESERVED1[3];
    __I  uint32_t RESI;
    __I  uint32_t RBRS;
    __I  uint32_t RFDF;
    __I  uint32_t PXE;
    uint32_t RESERVED2[17];
} stc_mcan_psr_bit_t;

typedef struct {
    __IO uint32_t RF0N;
    __IO uint32_t RF0W;
    __IO uint32_t RF0F;
    __IO uint32_t RF0L;
    __IO uint32_t RF1N;
    __IO uint32_t RF1W;
    __IO uint32_t RF1F;
    __IO uint32_t RF1L;
    __IO uint32_t HPM;
    __IO uint32_t TC;
    __IO uint32_t TCF;
    __IO uint32_t TFE;
    __IO uint32_t TEFN;
    __IO uint32_t TEFW;
    __IO uint32_t TEFF;
    __IO uint32_t TEFL;
    __IO uint32_t TSW;
    __IO uint32_t MRAF;
    __IO uint32_t TOO;
    __IO uint32_t DRX;
    __IO uint32_t BEC;
    __IO uint32_t BEU;
    __IO uint32_t ELO;
    __IO uint32_t EP;
    __IO uint32_t EW;
    __IO uint32_t BO;
    __IO uint32_t WDI;
    __IO uint32_t PEA;
    __IO uint32_t PED;
    __IO uint32_t ARA;
    uint32_t RESERVED0[2];
} stc_mcan_ir_bit_t;

typedef struct {
    __IO uint32_t RF0NE;
    __IO uint32_t RF0WE;
    __IO uint32_t RF0FE;
    __IO uint32_t RF0LE;
    __IO uint32_t RF1NE;
    __IO uint32_t RF1WE;
    __IO uint32_t RF1FE;
    __IO uint32_t RF1LE;
    __IO uint32_t HPME;
    __IO uint32_t TCE;
    __IO uint32_t TCFE;
    __IO uint32_t TFEE;
    __IO uint32_t TEFNE;
    __IO uint32_t TEFWE;
    __IO uint32_t TEFFE;
    __IO uint32_t TEFLE;
    __IO uint32_t TSWE;
    __IO uint32_t MRAFE;
    __IO uint32_t TOOE;
    __IO uint32_t DRXE;
    __IO uint32_t BECE;
    __IO uint32_t BEUE;
    __IO uint32_t ELOE;
    __IO uint32_t EPE;
    __IO uint32_t EWE;
    __IO uint32_t BOE;
    __IO uint32_t WDIE;
    __IO uint32_t PEAE;
    __IO uint32_t PEDE;
    __IO uint32_t ARAE;
    uint32_t RESERVED0[2];
} stc_mcan_ie_bit_t;

typedef struct {
    __IO uint32_t RF0NL;
    __IO uint32_t RF0WL;
    __IO uint32_t RF0FL;
    __IO uint32_t RF0LL;
    __IO uint32_t RF1NL;
    __IO uint32_t RF1WL;
    __IO uint32_t RF1FL;
    __IO uint32_t RF1LL;
    __IO uint32_t HPML;
    __IO uint32_t TCL;
    __IO uint32_t TCFL;
    __IO uint32_t TFEL;
    __IO uint32_t TEFNL;
    __IO uint32_t TEFWL;
    __IO uint32_t TEFFL;
    __IO uint32_t TEFLL;
    __IO uint32_t TSWL;
    __IO uint32_t MRAFL;
    __IO uint32_t TOOL;
    __IO uint32_t DRXL;
    __IO uint32_t BECL;
    __IO uint32_t BEUL;
    __IO uint32_t ELOL;
    __IO uint32_t EPL;
    __IO uint32_t EWL;
    __IO uint32_t BOL;
    __IO uint32_t WDIL;
    __IO uint32_t PEAL;
    __IO uint32_t PEDL;
    __IO uint32_t ARAL;
    uint32_t RESERVED0[2];
} stc_mcan_ils_bit_t;

typedef struct {
    __IO uint32_t EINT0;
    __IO uint32_t EINT1;
    uint32_t RESERVED0[30];
} stc_mcan_ile_bit_t;

typedef struct {
    __IO uint32_t RRFE;
    __IO uint32_t RRFS;
    uint32_t RESERVED0[30];
} stc_mcan_gfc_bit_t;

typedef struct {
    uint32_t RESERVED0[15];
    __I  uint32_t FLST;
    uint32_t RESERVED1[16];
} stc_mcan_hpms_bit_t;

typedef struct {
    __IO uint32_t ND0;
    __IO uint32_t ND1;
    __IO uint32_t ND2;
    __IO uint32_t ND3;
    __IO uint32_t ND4;
    __IO uint32_t ND5;
    __IO uint32_t ND6;
    __IO uint32_t ND7;
    __IO uint32_t ND8;
    __IO uint32_t ND9;
    __IO uint32_t ND10;
    __IO uint32_t ND11;
    __IO uint32_t ND12;
    __IO uint32_t ND13;
    __IO uint32_t ND14;
    __IO uint32_t ND15;
    __IO uint32_t ND16;
    __IO uint32_t ND17;
    __IO uint32_t ND18;
    __IO uint32_t ND19;
    __IO uint32_t ND20;
    __IO uint32_t ND21;
    __IO uint32_t ND22;
    __IO uint32_t ND23;
    __IO uint32_t ND24;
    __IO uint32_t ND25;
    __IO uint32_t ND26;
    __IO uint32_t ND27;
    __IO uint32_t ND28;
    __IO uint32_t ND29;
    __IO uint32_t ND30;
    __IO uint32_t ND31;
} stc_mcan_ndat1_bit_t;

typedef struct {
    __IO uint32_t ND32;
    __IO uint32_t ND33;
    __IO uint32_t ND34;
    __IO uint32_t ND35;
    __IO uint32_t ND36;
    __IO uint32_t ND37;
    __IO uint32_t ND38;
    __IO uint32_t ND39;
    __IO uint32_t ND40;
    __IO uint32_t ND41;
    __IO uint32_t ND42;
    __IO uint32_t ND43;
    __IO uint32_t ND44;
    __IO uint32_t ND45;
    __IO uint32_t ND46;
    __IO uint32_t ND47;
    __IO uint32_t ND48;
    __IO uint32_t ND49;
    __IO uint32_t ND50;
    __IO uint32_t ND51;
    __IO uint32_t ND52;
    __IO uint32_t ND53;
    __IO uint32_t ND54;
    __IO uint32_t ND55;
    __IO uint32_t ND56;
    __IO uint32_t ND57;
    __IO uint32_t ND58;
    __IO uint32_t ND59;
    __IO uint32_t ND60;
    __IO uint32_t ND61;
    __IO uint32_t ND62;
    __IO uint32_t ND63;
} stc_mcan_ndat2_bit_t;

typedef struct {
    uint32_t RESERVED0[31];
    __IO uint32_t F0OM;
} stc_mcan_rxf0c_bit_t;

typedef struct {
    uint32_t RESERVED0[24];
    __I  uint32_t F0F;
    __I  uint32_t RF0L;
    uint32_t RESERVED1[6];
} stc_mcan_rxf0s_bit_t;

typedef struct {
    uint32_t RESERVED0[31];
    __IO uint32_t F1OM;
} stc_mcan_rxf1c_bit_t;

typedef struct {
    uint32_t RESERVED0[24];
    __I  uint32_t F1F;
    __I  uint32_t RF1L;
    uint32_t RESERVED1[6];
} stc_mcan_rxf1s_bit_t;

typedef struct {
    uint32_t RESERVED0[30];
    __IO uint32_t TFQM;
    uint32_t RESERVED1[1];
} stc_mcan_txbc_bit_t;

typedef struct {
    uint32_t RESERVED0[21];
    __I  uint32_t TFQF;
    uint32_t RESERVED1[10];
} stc_mcan_txfqs_bit_t;

typedef struct {
    __I  uint32_t TRP0;
    __I  uint32_t TRP1;
    __I  uint32_t TRP2;
    __I  uint32_t TRP3;
    __I  uint32_t TRP4;
    __I  uint32_t TRP5;
    __I  uint32_t TRP6;
    __I  uint32_t TRP7;
    __I  uint32_t TRP8;
    __I  uint32_t TRP9;
    __I  uint32_t TRP10;
    __I  uint32_t TRP11;
    __I  uint32_t TRP12;
    __I  uint32_t TRP13;
    __I  uint32_t TRP14;
    __I  uint32_t TRP15;
    __I  uint32_t TRP16;
    __I  uint32_t TRP17;
    __I  uint32_t TRP18;
    __I  uint32_t TRP19;
    __I  uint32_t TRP20;
    __I  uint32_t TRP21;
    __I  uint32_t TRP22;
    __I  uint32_t TRP23;
    __I  uint32_t TRP24;
    __I  uint32_t TRP25;
    __I  uint32_t TRP26;
    __I  uint32_t TRP27;
    __I  uint32_t TRP28;
    __I  uint32_t TRP29;
    __I  uint32_t TRP30;
    __I  uint32_t TRP31;
} stc_mcan_txbrp_bit_t;

typedef struct {
    __IO uint32_t AR0;
    __IO uint32_t AR1;
    __IO uint32_t AR2;
    __IO uint32_t AR3;
    __IO uint32_t AR4;
    __IO uint32_t AR5;
    __IO uint32_t AR6;
    __IO uint32_t AR7;
    __IO uint32_t AR8;
    __IO uint32_t AR9;
    __IO uint32_t AR10;
    __IO uint32_t AR11;
    __IO uint32_t AR12;
    __IO uint32_t AR13;
    __IO uint32_t AR14;
    __IO uint32_t AR15;
    __IO uint32_t AR16;
    __IO uint32_t AR17;
    __IO uint32_t AR18;
    __IO uint32_t AR19;
    __IO uint32_t AR20;
    __IO uint32_t AR21;
    __IO uint32_t AR22;
    __IO uint32_t AR23;
    __IO uint32_t AR24;
    __IO uint32_t AR25;
    __IO uint32_t AR26;
    __IO uint32_t AR27;
    __IO uint32_t AR28;
    __IO uint32_t AR29;
    __IO uint32_t AR30;
    __IO uint32_t AR31;
} stc_mcan_txbar_bit_t;

typedef struct {
    __IO uint32_t CR0;
    __IO uint32_t CR1;
    __IO uint32_t CR2;
    __IO uint32_t CR3;
    __IO uint32_t CR4;
    __IO uint32_t CR5;
    __IO uint32_t CR6;
    __IO uint32_t CR7;
    __IO uint32_t CR8;
    __IO uint32_t CR9;
    __IO uint32_t CR10;
    __IO uint32_t CR11;
    __IO uint32_t CR12;
    __IO uint32_t CR13;
    __IO uint32_t CR14;
    __IO uint32_t CR15;
    __IO uint32_t CR16;
    __IO uint32_t CR17;
    __IO uint32_t CR18;
    __IO uint32_t CR19;
    __IO uint32_t CR20;
    __IO uint32_t CR21;
    __IO uint32_t CR22;
    __IO uint32_t CR23;
    __IO uint32_t CR24;
    __IO uint32_t CR25;
    __IO uint32_t CR26;
    __IO uint32_t CR27;
    __IO uint32_t CR28;
    __IO uint32_t CR29;
    __IO uint32_t CR30;
    __IO uint32_t CR31;
} stc_mcan_txbcr_bit_t;

typedef struct {
    __I  uint32_t TO0;
    __I  uint32_t TO1;
    __I  uint32_t TO2;
    __I  uint32_t TO3;
    __I  uint32_t TO4;
    __I  uint32_t TO5;
    __I  uint32_t TO6;
    __I  uint32_t TO7;
    __I  uint32_t TO8;
    __I  uint32_t TO9;
    __I  uint32_t TO10;
    __I  uint32_t TO11;
    __I  uint32_t TO12;
    __I  uint32_t TO13;
    __I  uint32_t TO14;
    __I  uint32_t TO15;
    __I  uint32_t TO16;
    __I  uint32_t TO17;
    __I  uint32_t TO18;
    __I  uint32_t TO19;
    __I  uint32_t TO20;
    __I  uint32_t TO21;
    __I  uint32_t TO22;
    __I  uint32_t TO23;
    __I  uint32_t TO24;
    __I  uint32_t TO25;
    __I  uint32_t TO26;
    __I  uint32_t TO27;
    __I  uint32_t TO28;
    __I  uint32_t TO29;
    __I  uint32_t TO30;
    __I  uint32_t TO31;
} stc_mcan_txbto_bit_t;

typedef struct {
    __I  uint32_t CF0;
    __I  uint32_t CF1;
    __I  uint32_t CF2;
    __I  uint32_t CF3;
    __I  uint32_t CF4;
    __I  uint32_t CF5;
    __I  uint32_t CF6;
    __I  uint32_t CF7;
    __I  uint32_t CF8;
    __I  uint32_t CF9;
    __I  uint32_t CF10;
    __I  uint32_t CF11;
    __I  uint32_t CF12;
    __I  uint32_t CF13;
    __I  uint32_t CF14;
    __I  uint32_t CF15;
    __I  uint32_t CF16;
    __I  uint32_t CF17;
    __I  uint32_t CF18;
    __I  uint32_t CF19;
    __I  uint32_t CF20;
    __I  uint32_t CF21;
    __I  uint32_t CF22;
    __I  uint32_t CF23;
    __I  uint32_t CF24;
    __I  uint32_t CF25;
    __I  uint32_t CF26;
    __I  uint32_t CF27;
    __I  uint32_t CF28;
    __I  uint32_t CF29;
    __I  uint32_t CF30;
    __I  uint32_t CF31;
} stc_mcan_txbcf_bit_t;

typedef struct {
    __IO uint32_t TIE0;
    __IO uint32_t TIE1;
    __IO uint32_t TIE2;
    __IO uint32_t TIE3;
    __IO uint32_t TIE4;
    __IO uint32_t TIE5;
    __IO uint32_t TIE6;
    __IO uint32_t TIE7;
    __IO uint32_t TIE8;
    __IO uint32_t TIE9;
    __IO uint32_t TIE10;
    __IO uint32_t TIE11;
    __IO uint32_t TIE12;
    __IO uint32_t TIE13;
    __IO uint32_t TIE14;
    __IO uint32_t TIE15;
    __IO uint32_t TIE16;
    __IO uint32_t TIE17;
    __IO uint32_t TIE18;
    __IO uint32_t TIE19;
    __IO uint32_t TIE20;
    __IO uint32_t TIE21;
    __IO uint32_t TIE22;
    __IO uint32_t TIE23;
    __IO uint32_t TIE24;
    __IO uint32_t TIE25;
    __IO uint32_t TIE26;
    __IO uint32_t TIE27;
    __IO uint32_t TIE28;
    __IO uint32_t TIE29;
    __IO uint32_t TIE30;
    __IO uint32_t TIE31;
} stc_mcan_txbtie_bit_t;

typedef struct {
    __IO uint32_t CFIE0;
    __IO uint32_t CFIE1;
    __IO uint32_t CFIE2;
    __IO uint32_t CFIE3;
    __IO uint32_t CFIE4;
    __IO uint32_t CFIE5;
    __IO uint32_t CFIE6;
    __IO uint32_t CFIE7;
    __IO uint32_t CFIE8;
    __IO uint32_t CFIE9;
    __IO uint32_t CFIE10;
    __IO uint32_t CFIE11;
    __IO uint32_t CFIE12;
    __IO uint32_t CFIE13;
    __IO uint32_t CFIE14;
    __IO uint32_t CFIE15;
    __IO uint32_t CFIE16;
    __IO uint32_t CFIE17;
    __IO uint32_t CFIE18;
    __IO uint32_t CFIE19;
    __IO uint32_t CFIE20;
    __IO uint32_t CFIE21;
    __IO uint32_t CFIE22;
    __IO uint32_t CFIE23;
    __IO uint32_t CFIE24;
    __IO uint32_t CFIE25;
    __IO uint32_t CFIE26;
    __IO uint32_t CFIE27;
    __IO uint32_t CFIE28;
    __IO uint32_t CFIE29;
    __IO uint32_t CFIE30;
    __IO uint32_t CFIE31;
} stc_mcan_txbcie_bit_t;

typedef struct {
    uint32_t RESERVED0[24];
    __I  uint32_t EFF;
    __I  uint32_t TEFL;
    uint32_t RESERVED1[6];
} stc_mcan_txefs_bit_t;

typedef struct {
    __IO uint32_t RAM_1ERR;
    __IO uint32_t RAM_2ERR;
    uint32_t RESERVED0[30];
} stc_mcanram_cksr_bit_t;

typedef struct {
    __IO uint32_t EIEN;
    uint32_t RESERVED0[31];
} stc_mcanram_eien_bit_t;

typedef struct {
    __I  uint32_t SMPU1EAF;
    __I  uint32_t PSPEF;
    __I  uint32_t MSPEF;
    uint32_t RESERVED0[29];
} stc_mpu_sr_bit_t;

typedef struct {
    __O  uint32_t SMPU1ECLR;
    __O  uint32_t PSPECLR;
    __O  uint32_t MSPECLR;
    uint32_t RESERVED0[29];
} stc_mpu_eclr_bit_t;

typedef struct {
    __IO uint32_t MPUWE;
    uint32_t RESERVED0[31];
} stc_mpu_wp_bit_t;

typedef struct {
    uint32_t RESERVED0[6];
    __IO uint32_t CRCRDP;
    __IO uint32_t CRCWRP;
    __IO uint32_t EFMRDP;
    __IO uint32_t EFMWRP;
    uint32_t RESERVED1[2];
    __IO uint32_t WDTRDP;
    __IO uint32_t WDTWRP;
    __IO uint32_t SWDTRDP;
    __IO uint32_t SWDTWRP;
    __IO uint32_t BKSRAMRDP;
    __IO uint32_t BKSRAMWRP;
    __IO uint32_t RTCRDP;
    __IO uint32_t RTCWRP;
    __IO uint32_t DMPURDP;
    __IO uint32_t DMPUWRP;
    __IO uint32_t SRAMCRDP;
    __IO uint32_t SRAMCWRP;
    __IO uint32_t INTCRDP;
    __IO uint32_t INTCWRP;
    __IO uint32_t SYSCRDP;
    __IO uint32_t SYSCWRP;
    __IO uint32_t MSTPRDP;
    __IO uint32_t MSPTWRP;
    uint32_t RESERVED2[1];
    __IO uint32_t BUSERRE;
} stc_mpu_ippr_bit_t;

typedef struct {
    uint32_t RESERVED0[30];
    __IO uint32_t MSPPACT;
    __IO uint32_t MSPPE;
} stc_mpu_msppctl_bit_t;

typedef struct {
    uint32_t RESERVED0[30];
    __IO uint32_t PSPPACT;
    __IO uint32_t PSPPE;
} stc_mpu_psppctl_bit_t;

typedef struct {
    __IO uint32_t RG0E;
    __IO uint32_t RG1E;
    __IO uint32_t RG2E;
    __IO uint32_t RG3E;
    __IO uint32_t RG4E;
    __IO uint32_t RG5E;
    __IO uint32_t RG6E;
    __IO uint32_t RG7E;
    __IO uint32_t RG8E;
    __IO uint32_t RG9E;
    __IO uint32_t RG10E;
    __IO uint32_t RG11E;
    __IO uint32_t RG12E;
    __IO uint32_t RG13E;
    __IO uint32_t RG14E;
    __IO uint32_t RG15E;
    uint32_t RESERVED0[16];
} stc_mpu_srge_bit_t;

typedef struct {
    __IO uint32_t RG0WP;
    __IO uint32_t RG1WP;
    __IO uint32_t RG2WP;
    __IO uint32_t RG3WP;
    __IO uint32_t RG4WP;
    __IO uint32_t RG5WP;
    __IO uint32_t RG6WP;
    __IO uint32_t RG7WP;
    __IO uint32_t RG8WP;
    __IO uint32_t RG9WP;
    __IO uint32_t RG10WP;
    __IO uint32_t RG11WP;
    __IO uint32_t RG12WP;
    __IO uint32_t RG13WP;
    __IO uint32_t RG14WP;
    __IO uint32_t RG15WP;
    uint32_t RESERVED0[16];
} stc_mpu_srgwp_bit_t;

typedef struct {
    __IO uint32_t RG0RP;
    __IO uint32_t RG1RP;
    __IO uint32_t RG2RP;
    __IO uint32_t RG3RP;
    __IO uint32_t RG4RP;
    __IO uint32_t RG5RP;
    __IO uint32_t RG6RP;
    __IO uint32_t RG7RP;
    __IO uint32_t RG8RP;
    __IO uint32_t RG9RP;
    __IO uint32_t RG10RP;
    __IO uint32_t RG11RP;
    __IO uint32_t RG12RP;
    __IO uint32_t RG13RP;
    __IO uint32_t RG14RP;
    __IO uint32_t RG15RP;
    uint32_t RESERVED0[16];
} stc_mpu_srgrp_bit_t;

typedef struct {
    __IO uint32_t SMPUBRP;
    __IO uint32_t SMPUBWP;
    uint32_t RESERVED0[5];
    __IO uint32_t SMPUE;
    uint32_t RESERVED1[24];
} stc_mpu_scr_bit_t;

typedef struct {
    __IO uint32_t TMR0U1A;
    __IO uint32_t TMR0U1B;
    __IO uint32_t TMR0U2A;
    __IO uint32_t TMR0U2B;
    __IO uint32_t TMR4U1;
    uint32_t RESERVED0[3];
    __IO uint32_t TMR6U1;
    __IO uint32_t TMR6U2;
    __IO uint32_t TMR6U3;
    __IO uint32_t TMR6U4;
    uint32_t RESERVED1[4];
    __IO uint32_t TMRAU1;
    __IO uint32_t TMRAU2;
    __IO uint32_t TMRAU3;
    __IO uint32_t TMRAU4;
    __IO uint32_t TMRAU5;
    uint32_t RESERVED2[3];
    __IO uint32_t HRPWMU1;
    __IO uint32_t HRPWMU2;
    __IO uint32_t HRPWMU3;
    __IO uint32_t HRPWMU4;
    __IO uint32_t HRPWMU5;
    __IO uint32_t HRPWMU6;
    uint32_t RESERVED3[2];
} stc_peric_tmr_synenr_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t USART1_NFE;
    uint32_t RESERVED1[29];
} stc_peric_usart1_nfc_bit_t;

typedef struct {
    uint32_t RESERVED0[14];
    __IO uint32_t MUX1_4;
    __IO uint32_t MUX0_4;
    uint32_t RESERVED1[16];
} stc_pla_muxs_bit_t;

typedef struct {
    uint32_t RESERVED0[6];
    __IO uint32_t OEN;
    __IO uint32_t OSEL;
    uint32_t RESERVED1[24];
} stc_pla_ctl_bit_t;

typedef struct {
    __IO uint32_t SRAMH;
    uint32_t RESERVED0[3];
    __IO uint32_t SRAM0;
    uint32_t RESERVED1[5];
    __IO uint32_t SRAMB;
    __IO uint32_t PLA;
    uint32_t RESERVED2[2];
    __IO uint32_t DMA;
    uint32_t RESERVED3[1];
    __IO uint32_t FCM;
    __IO uint32_t AOS;
    __IO uint32_t CTC;
    uint32_t RESERVED4[4];
    __IO uint32_t CRC;
    uint32_t RESERVED5[8];
} stc_pwc_fcg0_bit_t;

typedef struct {
    __IO uint32_t MCAN1;
    __IO uint32_t MCAN2;
    uint32_t RESERVED0[2];
    __IO uint32_t I2C;
    uint32_t RESERVED1[11];
    __IO uint32_t SPI;
    uint32_t RESERVED2[15];
} stc_pwc_fcg1_bit_t;

typedef struct {
    __IO uint32_t TMR6_1;
    __IO uint32_t TMR6_2;
    __IO uint32_t TMR6_3;
    __IO uint32_t TMR6_4;
    __IO uint32_t HRPWM_1;
    __IO uint32_t HRPWM_2;
    __IO uint32_t HRPWM_3;
    __IO uint32_t HRPWM_4;
    __IO uint32_t HRPWM_5;
    __IO uint32_t HRPWM_6;
    __IO uint32_t TMR4;
    uint32_t RESERVED0[1];
    __IO uint32_t TMR0_1;
    __IO uint32_t TMR0_2;
    uint32_t RESERVED1[1];
    __IO uint32_t EMB;
    uint32_t RESERVED2[4];
    __IO uint32_t TMRA_1;
    __IO uint32_t TMRA_2;
    __IO uint32_t TMRA_3;
    __IO uint32_t TMRA_4;
    __IO uint32_t TMRA_5;
    uint32_t RESERVED3[7];
} stc_pwc_fcg2_bit_t;

typedef struct {
    __IO uint32_t ADC1;
    __IO uint32_t ADC2;
    __IO uint32_t ADC3;
    uint32_t RESERVED0[1];
    __IO uint32_t DAC1;
    __IO uint32_t DAC2;
    uint32_t RESERVED1[2];
    __IO uint32_t CMP12;
    __IO uint32_t CMP3;
    uint32_t RESERVED2[10];
    __IO uint32_t USART1;
    __IO uint32_t USART2;
    __IO uint32_t USART3;
    __IO uint32_t USART4;
    uint32_t RESERVED3[8];
} stc_pwc_fcg3_bit_t;

typedef struct {
    __IO uint32_t PRT0;
    uint32_t RESERVED0[31];
} stc_pwc_fcg0pc_bit_t;

typedef struct {
    uint32_t RESERVED0[12];
    __IO uint32_t WKOVF;
    uint32_t RESERVED1[2];
    __IO uint32_t WKTCE;
} stc_pwc_wktcr_bit_t;

typedef struct {
    uint32_t RESERVED0[7];
    __IO uint32_t PWDN;
} stc_pwc_pwrc0_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t VHRCSD;
    uint32_t RESERVED1[5];
} stc_pwc_pwrc1_bit_t;

typedef struct {
    uint32_t RESERVED0[5];
    __IO uint32_t PD1PW;
    uint32_t RESERVED1[1];
    __IO uint32_t ADBUFE;
} stc_pwc_pwrc4_bit_t;

typedef struct {
    __IO uint32_t EXVCCINEN;
    uint32_t RESERVED0[4];
    __IO uint32_t PVD1EN;
    __IO uint32_t PVD2EN;
    uint32_t RESERVED1[1];
} stc_pwc_pvdcr0_bit_t;

typedef struct {
    __IO uint32_t PVD1IRE;
    __IO uint32_t PVD1IRS;
    __IO uint32_t PVD1CMPOE;
    uint32_t RESERVED0[1];
    __IO uint32_t PVD2IRE;
    __IO uint32_t PVD2IRS;
    __IO uint32_t PVD2CMPOE;
    uint32_t RESERVED1[1];
} stc_pwc_pvdcr1_bit_t;

typedef struct {
    __IO uint32_t PVD1NFDIS;
    uint32_t RESERVED0[3];
    __IO uint32_t PVD2NFDIS;
    uint32_t RESERVED1[3];
} stc_pwc_pvdfcr_bit_t;

typedef struct {
    __IO uint32_t WKE00;
    __IO uint32_t WKE01;
    __IO uint32_t WKE02;
    __IO uint32_t WKE03;
    __IO uint32_t WKE10;
    __IO uint32_t WKE11;
    __IO uint32_t WKE12;
    __IO uint32_t WKE13;
} stc_pwc_pdwke0_bit_t;

typedef struct {
    __IO uint32_t WKE20;
    __IO uint32_t WKE21;
    __IO uint32_t WKE22;
    __IO uint32_t WKE23;
    __IO uint32_t WKE30;
    __IO uint32_t WKE31;
    __IO uint32_t WKE32;
    __IO uint32_t WKE33;
} stc_pwc_pdwke1_bit_t;

typedef struct {
    __IO uint32_t VD1WKE;
    __IO uint32_t VD2WKE;
    uint32_t RESERVED0[2];
    __IO uint32_t RTCPRDWKE;
    __IO uint32_t RTCALMWKE;
    uint32_t RESERVED1[1];
    __IO uint32_t WKTMWKE;
} stc_pwc_pdwke2_bit_t;

typedef struct {
    __IO uint32_t WK0EGS;
    __IO uint32_t WK1EGS;
    __IO uint32_t WK2EGS;
    __IO uint32_t WK3EGS;
    __IO uint32_t VD1EGS;
    __IO uint32_t VD2EGS;
    uint32_t RESERVED0[2];
} stc_pwc_pdwkes_bit_t;

typedef struct {
    __IO uint32_t PTWK0F;
    __IO uint32_t PTWK1F;
    __IO uint32_t PTWK2F;
    __IO uint32_t PTWK3F;
    __IO uint32_t VD1WKF;
    __IO uint32_t VD2WKF;
    uint32_t RESERVED0[2];
} stc_pwc_pdwkf0_bit_t;

typedef struct {
    uint32_t RESERVED0[3];
    __IO uint32_t RXD0WKF;
    __IO uint32_t RTCPRDWKF;
    __IO uint32_t RTCALMWKF;
    uint32_t RESERVED1[1];
    __IO uint32_t WKTMWKF;
} stc_pwc_pdwkf1_bit_t;

typedef struct {
    __IO uint32_t VVDRSD;
    __IO uint32_t SRAMBSD;
    uint32_t RESERVED0[5];
    __IO uint32_t CSDIS;
} stc_pwc_pwrc5_bit_t;

typedef struct {
    __IO uint32_t PVD1NMIS;
    uint32_t RESERVED0[3];
    __IO uint32_t PVD2NMIS;
    uint32_t RESERVED1[3];
} stc_pwc_pvdicr_bit_t;

typedef struct {
    __IO uint32_t PVD1MON;
    __IO uint32_t PVD1DETFLG;
    uint32_t RESERVED0[2];
    __IO uint32_t PVD2MON;
    __IO uint32_t PVD2DETFLG;
    uint32_t RESERVED1[2];
} stc_pwc_pvddsr_bit_t;

typedef struct {
    __IO uint32_t RAMPDC0;
    uint32_t RESERVED0[9];
    __IO uint32_t RAMPDC10;
    uint32_t RESERVED1[21];
} stc_pwc_rampc0_bit_t;

typedef struct {
    __IO uint32_t PRAMPDC0;
    uint32_t RESERVED0[1];
    __IO uint32_t PRAMPDC2;
    uint32_t RESERVED1[29];
} stc_pwc_pramlpc_bit_t;

typedef struct {
    __I  uint32_t LPMF;
    uint32_t RESERVED0[15];
} stc_pwc_lpmcsr_bit_t;

typedef struct {
    __IO uint32_t LPMFC;
    uint32_t RESERVED0[15];
} stc_pwc_lpmcscr_bit_t;

typedef struct {
    __IO uint32_t FLNWT;
    __IO uint32_t CKSMRC;
    uint32_t RESERVED0[13];
    __IO uint32_t STOP;
} stc_pwc_stpmcr_bit_t;

typedef struct {
    __IO uint32_t FPRCB0;
    __IO uint32_t FPRCB1;
    uint32_t RESERVED0[1];
    __IO uint32_t FPRCB3;
    uint32_t RESERVED1[12];
} stc_pwc_fprc_bit_t;

typedef struct {
    uint32_t RESERVED0[11];
    __IO uint32_t PLA;
    uint32_t RESERVED1[2];
    __IO uint32_t DMA;
    uint32_t RESERVED2[1];
    __IO uint32_t FCM;
    __IO uint32_t AOS;
    __IO uint32_t CTC;
    uint32_t RESERVED3[4];
    __IO uint32_t CRC;
    uint32_t RESERVED4[8];
} stc_rmu_frst0_bit_t;

typedef struct {
    __IO uint32_t MCAN1;
    __IO uint32_t MCAN2;
    uint32_t RESERVED0[2];
    __IO uint32_t I2C;
    uint32_t RESERVED1[11];
    __IO uint32_t SPI;
    uint32_t RESERVED2[15];
} stc_rmu_frst1_bit_t;

typedef struct {
    __IO uint32_t TMR6;
    uint32_t RESERVED0[7];
    __IO uint32_t TMR4;
    uint32_t RESERVED1[2];
    __IO uint32_t HRPWM;
    __IO uint32_t TMR0_1;
    __IO uint32_t TMR0_2;
    uint32_t RESERVED2[1];
    __IO uint32_t EMB;
    uint32_t RESERVED3[4];
    __IO uint32_t TMRA_1;
    __IO uint32_t TMRA_2;
    __IO uint32_t TMRA_3;
    __IO uint32_t TMRA_4;
    __IO uint32_t TMRA_5;
    uint32_t RESERVED4[7];
} stc_rmu_frst2_bit_t;

typedef struct {
    __IO uint32_t ADC1;
    __IO uint32_t ADC2;
    __IO uint32_t ADC3;
    uint32_t RESERVED0[1];
    __IO uint32_t DAC1;
    __IO uint32_t DAC2;
    uint32_t RESERVED1[2];
    __IO uint32_t CMP12;
    __IO uint32_t CMP3;
    uint32_t RESERVED2[3];
    __IO uint32_t VREF;
    uint32_t RESERVED3[6];
    __IO uint32_t USART1;
    __IO uint32_t USART2;
    __IO uint32_t USART3;
    __IO uint32_t USART4;
    uint32_t RESERVED4[8];
} stc_rmu_frst3_bit_t;

typedef struct {
    uint32_t RESERVED0[5];
    __IO uint32_t LKUPREN;
    uint32_t RESERVED1[2];
} stc_rmu_prstcr0_bit_t;

typedef struct {
    __IO uint32_t PORF;
    __IO uint32_t PINRF;
    __IO uint32_t BORF;
    __IO uint32_t PVD1RF;
    __IO uint32_t PVD2RF;
    __IO uint32_t WDRF;
    __IO uint32_t SWDRF;
    __IO uint32_t PDRF;
    __IO uint32_t SWRF;
    __IO uint32_t MPUERF;
    __IO uint32_t RAPERF;
    __IO uint32_t RAECRF;
    __IO uint32_t CKFERF;
    __IO uint32_t XTALERF;
    __IO uint32_t LKUPRF;
    uint32_t RESERVED0[15];
    __IO uint32_t MULTIRF;
    __IO uint32_t CLRF;
} stc_rmu_rstf0_bit_t;

typedef struct {
    __IO uint32_t RESET;
    uint32_t RESERVED0[7];
} stc_rtc_cr0_bit_t;

typedef struct {
    uint32_t RESERVED0[3];
    __IO uint32_t AMPM;
    uint32_t RESERVED1[1];
    __IO uint32_t ONEHZOE;
    __IO uint32_t ONEHZSEL;
    __IO uint32_t START;
} stc_rtc_cr1_bit_t;

typedef struct {
    __IO uint32_t RWREQ;
    __IO uint32_t RWEN;
    __IO uint32_t PRDF;
    __IO uint32_t ALMF;
    uint32_t RESERVED0[1];
    __IO uint32_t PRDIE;
    __IO uint32_t ALMIE;
    __IO uint32_t ALME;
} stc_rtc_cr2_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t LRCEN;
    uint32_t RESERVED1[2];
    __IO uint32_t RCKSEL;
} stc_rtc_cr3_bit_t;

typedef struct {
    __IO uint32_t COMP8;
    uint32_t RESERVED0[6];
    __IO uint32_t COMPEN;
} stc_rtc_errcrh_bit_t;

typedef struct {
    __IO uint32_t SPIMDS;
    __IO uint32_t TXMDS;
    uint32_t RESERVED0[1];
    __IO uint32_t MSTR;
    __IO uint32_t SPLPBK;
    __IO uint32_t SPLPBK2;
    __IO uint32_t SPE;
    __IO uint32_t CSUSPE;
    __IO uint32_t EIE;
    __IO uint32_t TXIE;
    __IO uint32_t RXIE;
    __IO uint32_t IDIE;
    __IO uint32_t MODFE;
    __IO uint32_t PATE;
    __IO uint32_t PAOE;
    __IO uint32_t PAE;
    uint32_t RESERVED1[16];
} stc_spi_cr_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t CTMDS;
    uint32_t RESERVED1[3];
    __IO uint32_t SPRDTD;
    uint32_t RESERVED2[1];
    __IO uint32_t SS0PV;
    __IO uint32_t SS1PV;
    __IO uint32_t SS2PV;
    __IO uint32_t SS3PV;
    uint32_t RESERVED3[20];
} stc_spi_cfg1_bit_t;

typedef struct {
    __IO uint32_t OVRERF;
    __I  uint32_t IDLNF;
    __IO uint32_t MODFERF;
    __IO uint32_t PERF;
    __IO uint32_t UDRERF;
    __I  uint32_t TDEF;
    __I  uint32_t FMIDLF;
    __I  uint32_t RDFF;
    uint32_t RESERVED0[24];
} stc_spi_sr_bit_t;

typedef struct {
    __IO uint32_t CPHA;
    __IO uint32_t CPOL;
    uint32_t RESERVED0[10];
    __IO uint32_t LSBF;
    __IO uint32_t MIDIE;
    __IO uint32_t MSSDLE;
    __IO uint32_t MSSIE;
    uint32_t RESERVED1[16];
} stc_spi_cfg2_bit_t;

typedef struct {
    __IO uint32_t PYOAD;
    uint32_t RESERVED0[15];
    __IO uint32_t ECCOAD;
    __IO uint32_t BECCOAD;
    __IO uint32_t HECCOAD;
    uint32_t RESERVED1[13];
} stc_sramc_ckcr_bit_t;

typedef struct {
    __IO uint32_t CKPRC;
    uint32_t RESERVED0[31];
} stc_sramc_ckpr_bit_t;

typedef struct {
    uint32_t RESERVED0[2];
    __IO uint32_t SRAMH_1ERR;
    __IO uint32_t SRAMH_2ERR;
    __IO uint32_t SRAM0_1ERR;
    __IO uint32_t SRAM0_2ERR;
    __IO uint32_t SRAMB_1ERR;
    __IO uint32_t SRAMB_2ERR;
    __IO uint32_t CACHE_PYERR;
    uint32_t RESERVED1[23];
} stc_sramc_cksr_bit_t;

typedef struct {
    __IO uint32_t EIEN;
    uint32_t RESERVED0[31];
} stc_sramc_sram0_eien_bit_t;

typedef struct {
    __IO uint32_t EIEN;
    uint32_t RESERVED0[31];
} stc_sramc_sramh_eien_bit_t;

typedef struct {
    __IO uint32_t EIEN;
    uint32_t RESERVED0[31];
} stc_sramc_sramb_eien_bit_t;

typedef struct {
    uint32_t RESERVED0[16];
    __IO uint32_t SLPOFF;
    uint32_t RESERVED1[14];
    __IO uint32_t ITS;
} stc_swdt_cr_bit_t;

typedef struct {
    uint32_t RESERVED0[16];
    __IO uint32_t UDF;
    __IO uint32_t REF;
    uint32_t RESERVED1[14];
} stc_swdt_sr_bit_t;

typedef struct {
    __IO uint32_t CSTA;
    __IO uint32_t CAPMDA;
    __IO uint32_t CMENA;
    __IO uint32_t OVENA;
    uint32_t RESERVED0[4];
    __IO uint32_t SYNSA;
    __IO uint32_t SYNCLKA;
    __IO uint32_t ASYNCLKA;
    uint32_t RESERVED1[1];
    __IO uint32_t HSTAA;
    __IO uint32_t HSTPA;
    __IO uint32_t HCLEA;
    __IO uint32_t HICPA;
    __IO uint32_t CSTB;
    __IO uint32_t CAPMDB;
    __IO uint32_t CMENB;
    __IO uint32_t OVENB;
    uint32_t RESERVED2[4];
    __IO uint32_t SYNSB;
    __IO uint32_t SYNCLKB;
    __IO uint32_t ASYNCLKB;
    uint32_t RESERVED3[1];
    __IO uint32_t HSTAB;
    __IO uint32_t HSTPB;
    __IO uint32_t HCLEB;
    __IO uint32_t HICPB;
} stc_tmr0_bconr_bit_t;

typedef struct {
    __IO uint32_t CMFA;
    __IO uint32_t OVFA;
    __IO uint32_t ICPA;
    uint32_t RESERVED0[5];
    __I  uint32_t SYDA;
    uint32_t RESERVED1[7];
    __IO uint32_t CMFB;
    __IO uint32_t OVFB;
    __IO uint32_t ICPB;
    uint32_t RESERVED2[5];
    __I  uint32_t SYDB;
    uint32_t RESERVED3[7];
} stc_tmr0_stflr_bit_t;

typedef struct {
    __IO uint32_t OCEH;
    __IO uint32_t OCEL;
    __IO uint32_t OCPH;
    __IO uint32_t OCPL;
    __IO uint32_t OCIEH;
    __IO uint32_t OCIEL;
    __IO uint32_t OCFH;
    __IO uint32_t OCFL;
    uint32_t RESERVED0[8];
} stc_tmr4_ocsr_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t LMCH;
    __IO uint32_t LMCL;
    __IO uint32_t LMMH;
    __IO uint32_t LMML;
    __IO uint32_t MCECH;
    __IO uint32_t MCECL;
    uint32_t RESERVED1[2];
} stc_tmr4_ocer_bit_t;

typedef struct {
    __IO uint32_t OCFDCH;
    __IO uint32_t OCFPKH;
    __IO uint32_t OCFUCH;
    __IO uint32_t OCFZRH;
    uint32_t RESERVED0[12];
} stc_tmr4_ocmrh_bit_t;

typedef struct {
    __IO uint32_t OCFDCL;
    __IO uint32_t OCFPKL;
    __IO uint32_t OCFUCL;
    __IO uint32_t OCFZRL;
    uint32_t RESERVED0[28];
} stc_tmr4_ocmrl_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t CLEAR;
    __IO uint32_t MODE;
    __IO uint32_t STOP;
    __IO uint32_t BUFEN;
    __IO uint32_t IRQPEN;
    __IO uint32_t IRQPF;
    __IO uint32_t IRQZEN;
    __IO uint32_t IRQZF;
    uint32_t RESERVED1[1];
    __IO uint32_t HST;
    uint32_t RESERVED2[1];
    __IO uint32_t ECKEN;
} stc_tmr4_ccsr_bit_t;

typedef struct {
    __IO uint32_t OEUH;
    __IO uint32_t OEUL;
    __IO uint32_t OEVH;
    __IO uint32_t OEVL;
    __IO uint32_t OEWH;
    __IO uint32_t OEWL;
    __IO uint32_t OEXH;
    __IO uint32_t OEXL;
    __IO uint32_t MOE;
    __IO uint32_t AOE;
    uint32_t RESERVED0[22];
} stc_tmr4_pscr_bit_t;

typedef struct {
    uint32_t RESERVED0[5];
    __IO uint32_t LMC;
    uint32_t RESERVED1[2];
    __IO uint32_t EVTMS;
    __IO uint32_t EVTDS;
    uint32_t RESERVED2[2];
    __IO uint32_t DEN;
    __IO uint32_t PEN;
    __IO uint32_t UEN;
    __IO uint32_t ZEN;
} stc_tmr4_scsr_bit_t;

typedef struct {
    uint32_t RESERVED0[6];
    __IO uint32_t MZCE;
    __IO uint32_t MPCE;
    uint32_t RESERVED1[8];
} stc_tmr4_scmr_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t PCTS;
    uint32_t RESERVED1[7];
} stc_tmr4_scer_bit_t;

typedef struct {
    __IO uint32_t RTIDU;
    __IO uint32_t RTIDV;
    __IO uint32_t RTIDW;
    __IO uint32_t RTIDX;
    __I  uint32_t RTIFU;
    __IO uint32_t RTICU;
    __IO uint32_t RTEU;
    __IO uint32_t RTSU;
    __I  uint32_t RTIFV;
    __IO uint32_t RTICV;
    __IO uint32_t RTEV;
    __IO uint32_t RTSV;
    __I  uint32_t RTIFW;
    __IO uint32_t RTICW;
    __IO uint32_t RTEW;
    __IO uint32_t RTSW;
    __I  uint32_t RTIFX;
    __IO uint32_t RTICX;
    __IO uint32_t RTEX;
    __IO uint32_t RTSX;
    uint32_t RESERVED0[12];
} stc_tmr4_rcsr_bit_t;

typedef struct {
    __IO uint32_t ITEN0;
    __IO uint32_t ITEN1;
    __IO uint32_t ITEN2;
    __IO uint32_t ITEN3;
    __IO uint32_t ITEN4;
    __IO uint32_t ITEN5;
    __IO uint32_t ITEN6;
    __IO uint32_t ITEN7;
    uint32_t RESERVED0[8];
} stc_tmr4_scir_bit_t;

typedef struct {
    __IO uint32_t SF0;
    __IO uint32_t SF1;
    __IO uint32_t SF2;
    __IO uint32_t SF3;
    __IO uint32_t SF4;
    __IO uint32_t SF5;
    __IO uint32_t SF6;
    __IO uint32_t SF7;
    uint32_t RESERVED0[8];
} stc_tmr4_scfr_bit_t;

typedef struct {
    __IO uint32_t START;
    __IO uint32_t DIR;
    __IO uint32_t MODE;
    uint32_t RESERVED0[5];
    __IO uint32_t OVSTP;
    uint32_t RESERVED1[7];
    __IO uint32_t ZMSKREV;
    __IO uint32_t ZMSKPOS;
    uint32_t RESERVED2[14];
} stc_tmr6_gconr_bit_t;

typedef struct {
    __IO uint32_t INTENA;
    __IO uint32_t INTENB;
    __IO uint32_t INTENC;
    __IO uint32_t INTEND;
    __IO uint32_t INTENE;
    __IO uint32_t INTENF;
    __IO uint32_t INTENOVF;
    __IO uint32_t INTENUDF;
    __IO uint32_t INTENDTE;
    uint32_t RESERVED0[7];
    __IO uint32_t INTENSAU;
    __IO uint32_t INTENSAD;
    __IO uint32_t INTENSBU;
    __IO uint32_t INTENSBD;
    uint32_t RESERVED1[12];
} stc_tmr6_iconr_bit_t;

typedef struct {
    __IO uint32_t BENA;
    __IO uint32_t BSEA;
    __IO uint32_t BTRUA;
    __IO uint32_t BTRDA;
    __IO uint32_t BENB;
    __IO uint32_t BSEB;
    __IO uint32_t BTRUB;
    __IO uint32_t BTRDB;
    __IO uint32_t BENP;
    __IO uint32_t BSEP;
    __IO uint32_t BTRUP;
    __IO uint32_t BTRDP;
    uint32_t RESERVED0[4];
    __IO uint32_t BENSPA;
    __IO uint32_t BSESPA;
    __IO uint32_t BTRUSPA;
    __IO uint32_t BTRDSPA;
    __IO uint32_t BENSPB;
    __IO uint32_t BSESPB;
    __IO uint32_t BTRUSPB;
    __IO uint32_t BTRDSPB;
    uint32_t RESERVED1[8];
} stc_tmr6_bconr_bit_t;

typedef struct {
    __IO uint32_t DTCEN;
    __IO uint32_t SEPA;
    uint32_t RESERVED0[2];
    __IO uint32_t DTBENU;
    __IO uint32_t DTBEND;
    __IO uint32_t DTBTRU;
    __IO uint32_t DTBTRD;
    uint32_t RESERVED1[24];
} stc_tmr6_dconr_bit_t;

typedef struct {
    uint32_t RESERVED0[28];
    __IO uint32_t OUTENA;
    uint32_t RESERVED1[2];
    __IO uint32_t CAPMDA;
} stc_tmr6_pcnar_bit_t;

typedef struct {
    uint32_t RESERVED0[28];
    __IO uint32_t OUTENB;
    uint32_t RESERVED1[2];
    __IO uint32_t CAPMDB;
} stc_tmr6_pcnbr_bit_t;

typedef struct {
    __IO uint32_t NOFIENGA;
    uint32_t RESERVED0[3];
    __IO uint32_t NOFIENGB;
    uint32_t RESERVED1[27];
} stc_tmr6_fcngr_bit_t;

typedef struct {
    uint32_t RESERVED0[8];
    __IO uint32_t SPPERIA;
    __IO uint32_t SPPERIB;
    uint32_t RESERVED1[22];
} stc_tmr6_vperr_bit_t;

typedef struct {
    __IO uint32_t CMAF;
    __IO uint32_t CMBF;
    __IO uint32_t CMCF;
    __IO uint32_t CMDF;
    __IO uint32_t CMEF;
    __IO uint32_t CMFF;
    __IO uint32_t OVFF;
    __IO uint32_t UDFF;
    __I  uint32_t DTEF;
    __IO uint32_t CMSAUF;
    __IO uint32_t CMSADF;
    __IO uint32_t CMSBUF;
    __IO uint32_t CMSBDF;
    uint32_t RESERVED0[13];
    __IO uint32_t CMAF2;
    __IO uint32_t CMBF2;
    uint32_t RESERVED1[3];
    __I  uint32_t DIRF;
} stc_tmr6_stflr_bit_t;

typedef struct {
    __IO uint32_t HSTA0;
    __IO uint32_t HSTA1;
    __IO uint32_t HSTA2;
    __IO uint32_t HSTA3;
    uint32_t RESERVED0[3];
    __IO uint32_t STAS;
    __IO uint32_t HSTA8;
    __IO uint32_t HSTA9;
    __IO uint32_t HSTA10;
    __IO uint32_t HSTA11;
    uint32_t RESERVED1[4];
    __IO uint32_t HSTA16;
    __IO uint32_t HSTA17;
    __IO uint32_t HSTA18;
    __IO uint32_t HSTA19;
    __IO uint32_t HSTA20;
    __IO uint32_t HSTA21;
    __IO uint32_t HSTA22;
    __IO uint32_t HSTA23;
    uint32_t RESERVED2[8];
} stc_tmr6_hstar_bit_t;

typedef struct {
    __IO uint32_t HSTP0;
    __IO uint32_t HSTP1;
    __IO uint32_t HSTP2;
    __IO uint32_t HSTP3;
    uint32_t RESERVED0[3];
    __IO uint32_t STPS;
    __IO uint32_t HSTP8;
    __IO uint32_t HSTP9;
    __IO uint32_t HSTP10;
    __IO uint32_t HSTP11;
    uint32_t RESERVED1[4];
    __IO uint32_t HSTP16;
    __IO uint32_t HSTP17;
    __IO uint32_t HSTP18;
    __IO uint32_t HSTP19;
    __IO uint32_t HSTP20;
    __IO uint32_t HSTP21;
    __IO uint32_t HSTP22;
    __IO uint32_t HSTP23;
    uint32_t RESERVED2[8];
} stc_tmr6_hstpr_bit_t;

typedef struct {
    __IO uint32_t HCLE0;
    __IO uint32_t HCLE1;
    __IO uint32_t HCLE2;
    __IO uint32_t HCLE3;
    uint32_t RESERVED0[3];
    __IO uint32_t CLES;
    __IO uint32_t HCLE8;
    __IO uint32_t HCLE9;
    __IO uint32_t HCLE10;
    __IO uint32_t HCLE11;
    uint32_t RESERVED1[4];
    __IO uint32_t HCLE16;
    __IO uint32_t HCLE17;
    __IO uint32_t HCLE18;
    __IO uint32_t HCLE19;
    __IO uint32_t HCLE20;
    __IO uint32_t HCLE21;
    __IO uint32_t HCLE22;
    __IO uint32_t HCLE23;
    uint32_t RESERVED2[8];
} stc_tmr6_hclrr_bit_t;

typedef struct {
    __IO uint32_t HUPD0;
    __IO uint32_t HUPD1;
    __IO uint32_t HUPD2;
    __IO uint32_t HUPD3;
    uint32_t RESERVED0[3];
    __IO uint32_t UPDS;
    __IO uint32_t HUPD8;
    __IO uint32_t HUPD9;
    __IO uint32_t HUPD10;
    __IO uint32_t HUPD11;
    uint32_t RESERVED1[4];
    __IO uint32_t HUPD16;
    __IO uint32_t HUPD17;
    __IO uint32_t HUPD18;
    __IO uint32_t HUPD19;
    __IO uint32_t HUPD20;
    __IO uint32_t HUPD21;
    __IO uint32_t HUPD22;
    __IO uint32_t HUPD23;
    uint32_t RESERVED2[8];
} stc_tmr6_hupdr_bit_t;

typedef struct {
    __IO uint32_t HCPA0;
    __IO uint32_t HCPA1;
    __IO uint32_t HCPA2;
    __IO uint32_t HCPA3;
    uint32_t RESERVED0[4];
    __IO uint32_t HCPA8;
    __IO uint32_t HCPA9;
    __IO uint32_t HCPA10;
    __IO uint32_t HCPA11;
    uint32_t RESERVED1[4];
    __IO uint32_t HCPA16;
    __IO uint32_t HCPA17;
    __IO uint32_t HCPA18;
    __IO uint32_t HCPA19;
    __IO uint32_t HCPA20;
    __IO uint32_t HCPA21;
    __IO uint32_t HCPA22;
    __IO uint32_t HCPA23;
    __IO uint32_t HCPA24;
    __IO uint32_t HCPA25;
    uint32_t RESERVED2[6];
} stc_tmr6_hcpar_bit_t;

typedef struct {
    __IO uint32_t HCPB0;
    __IO uint32_t HCPB1;
    __IO uint32_t HCPB2;
    __IO uint32_t HCPB3;
    uint32_t RESERVED0[4];
    __IO uint32_t HCPB8;
    __IO uint32_t HCPB9;
    __IO uint32_t HCPB10;
    __IO uint32_t HCPB11;
    uint32_t RESERVED1[4];
    __IO uint32_t HCPB16;
    __IO uint32_t HCPB17;
    __IO uint32_t HCPB18;
    __IO uint32_t HCPB19;
    __IO uint32_t HCPB20;
    __IO uint32_t HCPB21;
    __IO uint32_t HCPB22;
    __IO uint32_t HCPB23;
    __IO uint32_t HCPB24;
    __IO uint32_t HCPB25;
    uint32_t RESERVED2[6];
} stc_tmr6_hcpbr_bit_t;

typedef struct {
    __IO uint32_t HCUP0;
    __IO uint32_t HCUP1;
    __IO uint32_t HCUP2;
    __IO uint32_t HCUP3;
    __IO uint32_t HCUP4;
    __IO uint32_t HCUP5;
    __IO uint32_t HCUP6;
    __IO uint32_t HCUP7;
    __IO uint32_t HCUP8;
    __IO uint32_t HCUP9;
    __IO uint32_t HCUP10;
    __IO uint32_t HCUP11;
    uint32_t RESERVED0[4];
    __IO uint32_t HCUP16;
    __IO uint32_t HCUP17;
    __IO uint32_t HCUP18;
    __IO uint32_t HCUP19;
    __IO uint32_t HCUP20;
    __IO uint32_t HCUP21;
    __IO uint32_t HCUP22;
    __IO uint32_t HCUP23;
    uint32_t RESERVED1[8];
} stc_tmr6_hcupr_bit_t;

typedef struct {
    __IO uint32_t HCDO0;
    __IO uint32_t HCDO1;
    __IO uint32_t HCDO2;
    __IO uint32_t HCDO3;
    __IO uint32_t HCDO4;
    __IO uint32_t HCDO5;
    __IO uint32_t HCDO6;
    __IO uint32_t HCDO7;
    __IO uint32_t HCDO8;
    __IO uint32_t HCDO9;
    __IO uint32_t HCDO10;
    __IO uint32_t HCDO11;
    uint32_t RESERVED0[4];
    __IO uint32_t HCDO16;
    __IO uint32_t HCDO17;
    __IO uint32_t HCDO18;
    __IO uint32_t HCDO19;
    __IO uint32_t HCDO20;
    __IO uint32_t HCDO21;
    __IO uint32_t HCDO22;
    __IO uint32_t HCDO23;
    uint32_t RESERVED1[8];
} stc_tmr6_hcdor_bit_t;

typedef struct {
    __IO uint32_t NOFIENTA;
    uint32_t RESERVED0[3];
    __IO uint32_t NOFIENTB;
    uint32_t RESERVED1[3];
    __IO uint32_t NOFIENTC;
    uint32_t RESERVED2[3];
    __IO uint32_t NOFIENTD;
    uint32_t RESERVED3[19];
} stc_tmr6_common_fcntr_bit_t;

typedef struct {
    __IO uint32_t SSTA1;
    __IO uint32_t SSTA2;
    __IO uint32_t SSTA3;
    __IO uint32_t SSTA4;
    uint32_t RESERVED0[28];
} stc_tmr6_common_sstar_bit_t;

typedef struct {
    __IO uint32_t SSTP1;
    __IO uint32_t SSTP2;
    __IO uint32_t SSTP3;
    __IO uint32_t SSTP4;
    uint32_t RESERVED0[28];
} stc_tmr6_common_sstpr_bit_t;

typedef struct {
    __IO uint32_t SCLE1;
    __IO uint32_t SCLE2;
    __IO uint32_t SCLE3;
    __IO uint32_t SCLE4;
    uint32_t RESERVED0[28];
} stc_tmr6_common_sclrr_bit_t;

typedef struct {
    __IO uint32_t SUPD1;
    __IO uint32_t SUPD2;
    __IO uint32_t SUPD3;
    __IO uint32_t SUPD4;
    uint32_t RESERVED0[28];
} stc_tmr6_common_supdr_bit_t;

typedef struct {
    __IO uint32_t START;
    __IO uint32_t DIR;
    __IO uint32_t MODE;
    __IO uint32_t SYNST;
    uint32_t RESERVED0[4];
} stc_tmra_bcstrl_bit_t;

typedef struct {
    __IO uint32_t OVSTP;
    uint32_t RESERVED0[3];
    __IO uint32_t ITENOVF;
    __IO uint32_t ITENUDF;
    __IO uint32_t OVFF;
    __IO uint32_t UDFF;
} stc_tmra_bcstrh_bit_t;

typedef struct {
    __IO uint32_t HSTA0;
    __IO uint32_t HSTA1;
    __IO uint32_t HSTA2;
    uint32_t RESERVED0[1];
    __IO uint32_t HSTP0;
    __IO uint32_t HSTP1;
    __IO uint32_t HSTP2;
    uint32_t RESERVED1[1];
    __IO uint32_t HCLE0;
    __IO uint32_t HCLE1;
    __IO uint32_t HCLE2;
    uint32_t RESERVED2[1];
    __IO uint32_t HCLE3;
    __IO uint32_t HCLE4;
    __IO uint32_t HCLE5;
    __IO uint32_t HCLE6;
} stc_tmra_hconr_bit_t;

typedef struct {
    __IO uint32_t HCUP0;
    __IO uint32_t HCUP1;
    __IO uint32_t HCUP2;
    __IO uint32_t HCUP3;
    __IO uint32_t HCUP4;
    __IO uint32_t HCUP5;
    __IO uint32_t HCUP6;
    __IO uint32_t HCUP7;
    __IO uint32_t HCUP8;
    __IO uint32_t HCUP9;
    __IO uint32_t HCUP10;
    __IO uint32_t HCUP11;
    __IO uint32_t HCUP12;
    uint32_t RESERVED0[3];
} stc_tmra_hcupr_bit_t;

typedef struct {
    __IO uint32_t HCDO0;
    __IO uint32_t HCDO1;
    __IO uint32_t HCDO2;
    __IO uint32_t HCDO3;
    __IO uint32_t HCDO4;
    __IO uint32_t HCDO5;
    __IO uint32_t HCDO6;
    __IO uint32_t HCDO7;
    __IO uint32_t HCDO8;
    __IO uint32_t HCDO9;
    __IO uint32_t HCDO10;
    __IO uint32_t HCDO11;
    __IO uint32_t HCDO12;
    uint32_t RESERVED0[3];
} stc_tmra_hcdor_bit_t;

typedef struct {
    __IO uint32_t ITEN1;
    __IO uint32_t ITEN2;
    __IO uint32_t ITEN3;
    __IO uint32_t ITEN4;
    uint32_t RESERVED0[12];
} stc_tmra_iconr_bit_t;

typedef struct {
    __IO uint32_t ETEN1;
    __IO uint32_t ETEN2;
    __IO uint32_t ETEN3;
    __IO uint32_t ETEN4;
    uint32_t RESERVED0[12];
} stc_tmra_econr_bit_t;

typedef struct {
    __IO uint32_t NOFIENTG;
    uint32_t RESERVED0[7];
    __IO uint32_t NOFIENCA;
    uint32_t RESERVED1[3];
    __IO uint32_t NOFIENCB;
    uint32_t RESERVED2[3];
} stc_tmra_fconr_bit_t;

typedef struct {
    __IO uint32_t CMPF1;
    __IO uint32_t CMPF2;
    __IO uint32_t CMPF3;
    __IO uint32_t CMPF4;
    uint32_t RESERVED0[4];
    __IO uint32_t ICPF1;
    __IO uint32_t ICPF2;
    __IO uint32_t ICPF3;
    __IO uint32_t ICPF4;
    uint32_t RESERVED1[4];
} stc_tmra_stflr_bit_t;

typedef struct {
    __IO uint32_t BEN;
    __IO uint32_t BSE0;
    __IO uint32_t BSE1;
    __IO uint32_t BSEN;
    uint32_t RESERVED0[12];
} stc_tmra_bconr_bit_t;

typedef struct {
    __IO uint32_t CAPMD;
    uint32_t RESERVED0[3];
    __IO uint32_t HICP0;
    __IO uint32_t HICP1;
    __IO uint32_t HICP2;
    uint32_t RESERVED1[1];
    __IO uint32_t HICP3;
    __IO uint32_t HICP4;
    __IO uint32_t HICP5;
    __IO uint32_t HICP6;
    __IO uint32_t NOFIENCP;
    uint32_t RESERVED2[3];
} stc_tmra_cconr_bit_t;

typedef struct {
    uint32_t RESERVED0[12];
    __IO uint32_t OUTEN;
    uint32_t RESERVED1[3];
} stc_tmra_pconr_bit_t;

typedef struct {
    __I  uint32_t PE;
    __I  uint32_t FE;
    __I  uint32_t NF;
    __I  uint32_t ORE;
    __I  uint32_t BE;
    __I  uint32_t RXNE;
    __I  uint32_t TC;
    __I  uint32_t TXE;
    __I  uint32_t RTOF;
    __I  uint32_t WKUP;
    __I  uint32_t LBD;
    __I  uint32_t TEND;
    uint32_t RESERVED0[4];
    __I  uint32_t MPB;
    uint32_t RESERVED1[15];
} stc_usart_sr_bit_t;

typedef struct {
    uint32_t RESERVED0[9];
    __IO uint32_t MPID;
    uint32_t RESERVED1[6];
} stc_usart_tdr_bit_t;

typedef struct {
    __IO uint32_t RTOE;
    __IO uint32_t RTOIE;
    __IO uint32_t RE;
    __IO uint32_t TE;
    __IO uint32_t SLME;
    __IO uint32_t RIE;
    __IO uint32_t TCIE;
    __IO uint32_t TXEIE;
    __IO uint32_t TENDIE;
    __IO uint32_t PS;
    __IO uint32_t PCE;
    uint32_t RESERVED0[1];
    __IO uint32_t M;
    uint32_t RESERVED1[2];
    __IO uint32_t OVER8;
    __IO uint32_t CPE;
    __IO uint32_t CFE;
    uint32_t RESERVED2[1];
    __IO uint32_t CORE;
    __IO uint32_t CRTOF;
    __IO uint32_t CBE;
    __IO uint32_t CWKUP;
    __IO uint32_t CLBD;
    __IO uint32_t MS;
    __IO uint32_t CTEND;
    uint32_t RESERVED3[2];
    __IO uint32_t ML;
    __IO uint32_t FBME;
    __IO uint32_t NFE;
    __IO uint32_t SBS;
} stc_usart_cr1_bit_t;

typedef struct {
    __IO uint32_t MPE;
    __IO uint32_t WKUPIE;
    __IO uint32_t BEIE;
    __IO uint32_t BEE;
    __IO uint32_t LBDIE;
    __IO uint32_t LBDL;
    uint32_t RESERVED0[2];
    __IO uint32_t WKUPE;
    uint32_t RESERVED1[4];
    __IO uint32_t STOP;
    __IO uint32_t LINEN;
    uint32_t RESERVED2[1];
    __IO uint32_t SBK;
    __IO uint32_t SBKM;
    uint32_t RESERVED3[14];
} stc_usart_cr2_bit_t;

typedef struct {
    uint32_t RESERVED0[3];
    __IO uint32_t HDSEL;
    __IO uint32_t LOOP;
    __IO uint32_t SCEN;
    uint32_t RESERVED1[2];
    __IO uint32_t RTSE;
    __IO uint32_t CTSE;
    uint32_t RESERVED2[20];
    __IO uint32_t DEM;
    __IO uint32_t DEP;
} stc_usart_cr3_bit_t;

typedef struct {
    uint32_t RESERVED0[4];
    __IO uint32_t ULBREN;
    uint32_t RESERVED1[27];
} stc_usart_pr_bit_t;

typedef struct {
    uint32_t RESERVED0[16];
    __IO uint32_t SLPOFF;
    uint32_t RESERVED1[14];
    __IO uint32_t ITS;
} stc_wdt_cr_bit_t;

typedef struct {
    uint32_t RESERVED0[16];
    __IO uint32_t UDF;
    __IO uint32_t REF;
    uint32_t RESERVED1[14];
} stc_wdt_sr_bit_t;


typedef struct {
    stc_adc_str_bit_t                        STR_b;
    uint32_t                                 RESERVED0[8];
    stc_adc_cr0_bit_t                        CR0_b;
    stc_adc_cr1_bit_t                        CR1_b;
    stc_adc_cr2_bit_t                        CR2_b;
    uint32_t                                 RESERVED1[16];
    stc_adc_trgsr_bit_t                      TRGSR_b;
    uint32_t                                 RESERVED2[96];
    stc_adc_exchselr_bit_t                   EXCHSELR_b;
    uint32_t                                 RESERVED3[344];
    stc_adc_isr_bit_t                        ISR_b;
    stc_adc_icr_bit_t                        ICR_b;
    stc_adc_isclrr_bit_t                     ISCLRR_b;
    uint32_t                                 RESERVED4[40];
    stc_adc_synccr_bit_t                     SYNCCR_b;
    uint32_t                                 RESERVED5[656];
    stc_adc_awdcr_bit_t                      AWDCR_b;
    stc_adc_awdsr_bit_t                      AWDSR_b;
    stc_adc_awdsclrr_bit_t                   AWDSCLRR_b;
} bCM_ADC_TypeDef;

typedef struct {
    stc_aos_intsfttrg_bit_t                  INTSFTTRG_b;
    uint32_t                                 RESERVED0[2912];
    stc_aos_pevntnfcr_bit_t                  PEVNTNFCR_b;
} bCM_AOS_TypeDef;

typedef struct {
    stc_cmp_mdr_bit_t                        MDR_b;
    stc_cmp_fir_bit_t                        FIR_b;
    stc_cmp_ocr_bit_t                        OCR_b;
    stc_cmp_omr_bit_t                        OMR_b;
    uint32_t                                 RESERVED0[96];
    stc_cmp_bwsr1_bit_t                      BWSR1_b;
} bCM_CMP_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[224];
    stc_cmu_xtaldivcr_bit_t                  XTALDIVCR_b;
    uint32_t                                 RESERVED1[156032];
    stc_cmu_xtalcfgr_bit_t                   XTALCFGR_b;
    uint32_t                                 RESERVED2[24];
    stc_cmu_xtal32cr_bit_t                   XTAL32CR_b;
    uint32_t                                 RESERVED3[184];
    stc_cmu_lrccr_bit_t                      LRCCR_b;
    uint32_t                                 RESERVED4[237032];
    stc_cmu_pllhcr_bit_t                     PLLHCR_b;
    uint32_t                                 RESERVED5[56];
    stc_cmu_xtalcr_bit_t                     XTALCR_b;
    uint32_t                                 RESERVED6[24];
    stc_cmu_hrccr_bit_t                      HRCCR_b;
    uint32_t                                 RESERVED7[8];
    stc_cmu_mrccr_bit_t                      MRCCR_b;
    uint32_t                                 RESERVED8[24];
    stc_cmu_oscstbsr_bit_t                   OSCSTBSR_b;
    stc_cmu_mcocfgr_bit_t                    MCO1CFGR_b;
    stc_cmu_mcocfgr_bit_t                    MCO2CFGR_b;
    stc_cmu_tpiuckcfgr_bit_t                 TPIUCKCFGR_b;
    stc_cmu_xtalstdcr_bit_t                  XTALSTDCR_b;
    stc_cmu_xtalstdsr_bit_t                  XTALSTDSR_b;
    uint32_t                                 RESERVED9[1520];
    stc_cmu_pllhcfgr_bit_t                   PLLHCFGR_b;
} bCM_CMU_TypeDef;

typedef struct {
    stc_crc_cr_bit_t                         CR_b;
} bCM_CRC_TypeDef;

typedef struct {
    stc_ctc_cr1_bit_t                        CR1_b;
    uint32_t                                 RESERVED0[32];
    stc_ctc_str_bit_t                        STR_b;
} bCM_CTC_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[32];
    stc_dac_dacr_bit_t                       DACR_b;
    stc_dac_daadpcr_bit_t                    DAADPCR_b;
    uint32_t                                 RESERVED1[160];
    stc_dac_daocr_bit_t                      DAOCR_b;
    uint32_t                                 RESERVED2[16];
    stc_dac_dacr2_bit_t                      DACR2_b;
} bCM_DAC_TypeDef;

typedef struct {
    stc_dma_en_bit_t                         EN_b;
    stc_dma_intstat0_bit_t                   INTSTAT0_b;
    stc_dma_intstat1_bit_t                   INTSTAT1_b;
    stc_dma_intmask0_bit_t                   INTMASK0_b;
    stc_dma_intmask1_bit_t                   INTMASK1_b;
    stc_dma_intclr0_bit_t                    INTCLR0_b;
    stc_dma_intclr1_bit_t                    INTCLR1_b;
    uint32_t                                 RESERVED0[32];
    stc_dma_reqstat_bit_t                    REQSTAT_b;
    stc_dma_chstat_bit_t                     CHSTAT_b;
    uint32_t                                 RESERVED1[32];
    stc_dma_rcfgctl_bit_t                    RCFGCTL_b;
    stc_dma_swreq_bit_t                      SWREQ_b;
    uint32_t                                 RESERVED2[320];
    stc_dma_chctl_bit_t                      CHCTL0_b;
    uint32_t                                 RESERVED3[480];
    stc_dma_chctl_bit_t                      CHCTL1_b;
    uint32_t                                 RESERVED4[480];
    stc_dma_chctl_bit_t                      CHCTL2_b;
    uint32_t                                 RESERVED5[480];
    stc_dma_chctl_bit_t                      CHCTL3_b;
    uint32_t                                 RESERVED6[480];
    stc_dma_chctl_bit_t                      CHCTL4_b;
    uint32_t                                 RESERVED7[480];
    stc_dma_chctl_bit_t                      CHCTL5_b;
    uint32_t                                 RESERVED8[480];
    stc_dma_chctl_bit_t                      CHCTL6_b;
    uint32_t                                 RESERVED9[480];
    stc_dma_chctl_bit_t                      CHCTL7_b;
} bCM_DMA_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[160];
    stc_efm_fstp_bit_t                       FSTP_b;
    stc_efm_frmc_bit_t                       FRMC_b;
    stc_efm_fwmc_bit_t                       FWMC_b;
    stc_efm_fsr_bit_t                        FSR_b;
    stc_efm_fsclr_bit_t                      FSCLR_b;
    stc_efm_fite_bit_t                       FITE_b;
    stc_efm_fswp_bit_t                       FSWP_b;
    uint32_t                                 RESERVED1[1696];
    stc_efm_mmf_remcr_bit_t                  MMF_REMCR0_b;
    stc_efm_mmf_remcr_bit_t                  MMF_REMCR1_b;
    stc_efm_mmf_remcr2_bit_t                 MMF_REMCR2_b;
    uint32_t                                 RESERVED2[896];
    stc_efm_wlock_bit_t                      WLOCK_b;
    uint32_t                                 RESERVED3[96];
    stc_efm_f0nwprt_bit_t                    F0NWPRT_b;
} bCM_EFM_TypeDef;

typedef struct {
    stc_emb_ctl1_bit_t                       CTL1_b;
    stc_emb_ctl2_bit_t                       CTL2_b;
    stc_emb_soe_bit_t                        SOE_b;
    stc_emb_stat_bit_t                       STAT_b;
    stc_emb_statclr_bit_t                    STATCLR_b;
    stc_emb_inten_bit_t                      INTEN_b;
    stc_emb_rlssel_bit_t                     RLSSEL_b;
} bCM_EMB_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[96];
    stc_fcm_str_bit_t                        STR_b;
    uint32_t                                 RESERVED1[32];
    stc_fcm_rccr_bit_t                       RCCR_b;
    stc_fcm_rier_bit_t                       RIER_b;
    stc_fcm_sr_bit_t                         SR_b;
    stc_fcm_clr_bit_t                        CLR_b;
} bCM_FCM_TypeDef;

typedef struct {
    stc_gpio_pidr_bit_t                      PIDRA_b;
    uint32_t                                 RESERVED0[16];
    stc_gpio_podr_bit_t                      PODRA_b;
    stc_gpio_poer_bit_t                      POERA_b;
    stc_gpio_posr_bit_t                      POSRA_b;
    stc_gpio_porr_bit_t                      PORRA_b;
    stc_gpio_potr_bit_t                      POTRA_b;
    uint32_t                                 RESERVED1[16];
    stc_gpio_pidr_bit_t                      PIDRB_b;
    uint32_t                                 RESERVED2[16];
    stc_gpio_podr_bit_t                      PODRB_b;
    stc_gpio_poer_bit_t                      POERB_b;
    stc_gpio_posr_bit_t                      POSRB_b;
    stc_gpio_porr_bit_t                      PORRB_b;
    stc_gpio_potr_bit_t                      POTRB_b;
    uint32_t                                 RESERVED3[16];
    stc_gpio_pidr_bit_t                      PIDRC_b;
    uint32_t                                 RESERVED4[16];
    stc_gpio_podr_bit_t                      PODRC_b;
    stc_gpio_poer_bit_t                      POERC_b;
    stc_gpio_posr_bit_t                      POSRC_b;
    stc_gpio_porr_bit_t                      PORRC_b;
    stc_gpio_potr_bit_t                      POTRC_b;
    uint32_t                                 RESERVED5[16];
    stc_gpio_pidr_bit_t                      PIDRD_b;
    uint32_t                                 RESERVED6[16];
    stc_gpio_podr_bit_t                      PODRD_b;
    stc_gpio_poer_bit_t                      POERD_b;
    stc_gpio_posr_bit_t                      POSRD_b;
    stc_gpio_porr_bit_t                      PORRD_b;
    stc_gpio_potr_bit_t                      POTRD_b;
    uint32_t                                 RESERVED7[144];
    stc_gpio_pidr_bit_t                      PIDRF_b;
    uint32_t                                 RESERVED8[16];
    stc_gpio_podr_bit_t                      PODRF_b;
    stc_gpio_poer_bit_t                      POERF_b;
    stc_gpio_posr_bit_t                      POSRF_b;
    stc_gpio_porr_bit_t                      PORRF_b;
    stc_gpio_potr_bit_t                      POTRF_b;
    uint32_t                                 RESERVED9[7312];
    stc_gpio_hrpwm_bit_t                     HRPWM_b;
    uint32_t                                 RESERVED10[64];
    stc_gpio_pwpr_bit_t                      PWPR_b;
    uint32_t                                 RESERVED11[16];
    stc_gpio_pcr_bit_t                       PCRA0_b;
    stc_gpio_pfsr_bit_t                      PFSRA0_b;
    stc_gpio_pcr_bit_t                       PCRA1_b;
    stc_gpio_pfsr_bit_t                      PFSRA1_b;
    stc_gpio_pcr_bit_t                       PCRA2_b;
    stc_gpio_pfsr_bit_t                      PFSRA2_b;
    stc_gpio_pcr_bit_t                       PCRA3_b;
    stc_gpio_pfsr_bit_t                      PFSRA3_b;
    stc_gpio_pcr_bit_t                       PCRA4_b;
    stc_gpio_pfsr_bit_t                      PFSRA4_b;
    stc_gpio_pcr_bit_t                       PCRA5_b;
    stc_gpio_pfsr_bit_t                      PFSRA5_b;
    stc_gpio_pcr_bit_t                       PCRA6_b;
    stc_gpio_pfsr_bit_t                      PFSRA6_b;
    stc_gpio_pcr_bit_t                       PCRA7_b;
    stc_gpio_pfsr_bit_t                      PFSRA7_b;
    stc_gpio_pcr_bit_t                       PCRA8_b;
    stc_gpio_pfsr_bit_t                      PFSRA8_b;
    stc_gpio_pcr_bit_t                       PCRA9_b;
    stc_gpio_pfsr_bit_t                      PFSRA9_b;
    stc_gpio_pcr_bit_t                       PCRA10_b;
    stc_gpio_pfsr_bit_t                      PFSRA10_b;
    stc_gpio_pcr_bit_t                       PCRA11_b;
    stc_gpio_pfsr_bit_t                      PFSRA11_b;
    stc_gpio_pcr_bit_t                       PCRA12_b;
    stc_gpio_pfsr_bit_t                      PFSRA12_b;
    stc_gpio_pcr_bit_t                       PCRA13_b;
    stc_gpio_pfsr_bit_t                      PFSRA13_b;
    stc_gpio_pcr_bit_t                       PCRA14_b;
    stc_gpio_pfsr_bit_t                      PFSRA14_b;
    stc_gpio_pcr_bit_t                       PCRA15_b;
    stc_gpio_pfsr_bit_t                      PFSRA15_b;
    stc_gpio_pcr_bit_t                       PCRB0_b;
    stc_gpio_pfsr_bit_t                      PFSRB0_b;
    stc_gpio_pcr_bit_t                       PCRB1_b;
    stc_gpio_pfsr_bit_t                      PFSRB1_b;
    stc_gpio_pcr_bit_t                       PCRB2_b;
    stc_gpio_pfsr_bit_t                      PFSRB2_b;
    stc_gpio_pcr_bit_t                       PCRB3_b;
    stc_gpio_pfsr_bit_t                      PFSRB3_b;
    stc_gpio_pcr_bit_t                       PCRB4_b;
    stc_gpio_pfsr_bit_t                      PFSRB4_b;
    stc_gpio_pcr_bit_t                       PCRB5_b;
    stc_gpio_pfsr_bit_t                      PFSRB5_b;
    stc_gpio_pcr_bit_t                       PCRB6_b;
    stc_gpio_pfsr_bit_t                      PFSRB6_b;
    stc_gpio_pcr_bit_t                       PCRB7_b;
    stc_gpio_pfsr_bit_t                      PFSRB7_b;
    stc_gpio_pcr_bit_t                       PCRB8_b;
    stc_gpio_pfsr_bit_t                      PFSRB8_b;
    stc_gpio_pcr_bit_t                       PCRB9_b;
    stc_gpio_pfsr_bit_t                      PFSRB9_b;
    stc_gpio_pcr_bit_t                       PCRB10_b;
    stc_gpio_pfsr_bit_t                      PFSRB10_b;
    stc_gpio_pcr_bit_t                       PCRB11_b;
    stc_gpio_pfsr_bit_t                      PFSRB11_b;
    stc_gpio_pcr_bit_t                       PCRB12_b;
    stc_gpio_pfsr_bit_t                      PFSRB12_b;
    stc_gpio_pcr_bit_t                       PCRB13_b;
    stc_gpio_pfsr_bit_t                      PFSRB13_b;
    stc_gpio_pcr_bit_t                       PCRB14_b;
    stc_gpio_pfsr_bit_t                      PFSRB14_b;
    stc_gpio_pcr_bit_t                       PCRB15_b;
    stc_gpio_pfsr_bit_t                      PFSRB15_b;
    stc_gpio_pcr_bit_t                       PCRC0_b;
    stc_gpio_pfsr_bit_t                      PFSRC0_b;
    stc_gpio_pcr_bit_t                       PCRC1_b;
    stc_gpio_pfsr_bit_t                      PFSRC1_b;
    stc_gpio_pcr_bit_t                       PCRC2_b;
    stc_gpio_pfsr_bit_t                      PFSRC2_b;
    stc_gpio_pcr_bit_t                       PCRC3_b;
    stc_gpio_pfsr_bit_t                      PFSRC3_b;
    stc_gpio_pcr_bit_t                       PCRC4_b;
    stc_gpio_pfsr_bit_t                      PFSRC4_b;
    stc_gpio_pcr_bit_t                       PCRC5_b;
    stc_gpio_pfsr_bit_t                      PFSRC5_b;
    stc_gpio_pcr_bit_t                       PCRC6_b;
    stc_gpio_pfsr_bit_t                      PFSRC6_b;
    stc_gpio_pcr_bit_t                       PCRC7_b;
    stc_gpio_pfsr_bit_t                      PFSRC7_b;
    stc_gpio_pcr_bit_t                       PCRC8_b;
    stc_gpio_pfsr_bit_t                      PFSRC8_b;
    stc_gpio_pcr_bit_t                       PCRC9_b;
    stc_gpio_pfsr_bit_t                      PFSRC9_b;
    stc_gpio_pcr_bit_t                       PCRC10_b;
    stc_gpio_pfsr_bit_t                      PFSRC10_b;
    stc_gpio_pcr_bit_t                       PCRC11_b;
    stc_gpio_pfsr_bit_t                      PFSRC11_b;
    stc_gpio_pcr_bit_t                       PCRC12_b;
    stc_gpio_pfsr_bit_t                      PFSRC12_b;
    stc_gpio_pcr_bit_t                       PCRC13_b;
    stc_gpio_pfsr_bit_t                      PFSRC13_b;
    stc_gpio_pcr_bit_t                       PCRC14_b;
    stc_gpio_pfsr_bit_t                      PFSRC14_b;
    stc_gpio_pcr_bit_t                       PCRC15_b;
    stc_gpio_pfsr_bit_t                      PFSRC15_b;
    uint32_t                                 RESERVED12[64];
    stc_gpio_pcr_bit_t                       PCRD2_b;
    stc_gpio_pfsr_bit_t                      PFSRD2_b;
    uint32_t                                 RESERVED13[928];
    stc_gpio_pcr_bit_t                       PCRF0_b;
    stc_gpio_pfsr_bit_t                      PFSRF0_b;
    stc_gpio_pcr_bit_t                       PCRF1_b;
    stc_gpio_pfsr_bit_t                      PFSRF1_b;
    stc_gpio_pcr_bit_t                       PCRF2_b;
    stc_gpio_pfsr_bit_t                      PFSRF2_b;
} bCM_GPIO_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[1664];
    stc_hrpwm_capar_bit_t                    CAPAR_b;
    stc_hrpwm_capbr_bit_t                    CAPBR_b;
    uint32_t                                 RESERVED1[832];
    stc_hrpwm_gconr_bit_t                    GCONR_b;
    stc_hrpwm_iconr_bit_t                    ICONR_b;
    stc_hrpwm_bconr1_bit_t                   BCONR1_b;
    stc_hrpwm_dconr_bit_t                    DCONR_b;
    uint32_t                                 RESERVED2[32];
    stc_hrpwm_pcnar1_bit_t                   PCNAR1_b;
    stc_hrpwm_pcnbr1_bit_t                   PCNBR1_b;
    uint32_t                                 RESERVED3[32];
    stc_hrpwm_vperr_bit_t                    VPERR_b;
    stc_hrpwm_stflr1_bit_t                   STFLR1_b;
    stc_hrpwm_stflr2_bit_t                   STFLR2_b;
    uint32_t                                 RESERVED4[160];
    stc_hrpwm_hstar1_bit_t                   HSTAR1_b;
    uint32_t                                 RESERVED5[32];
    stc_hrpwm_hclrr1_bit_t                   HCLRR1_b;
    uint32_t                                 RESERVED6[32];
    stc_hrpwm_hcpar1_bit_t                   HCPAR1_b;
    stc_hrpwm_hcpbr1_bit_t                   HCPBR1_b;
    stc_hrpwm_hcpar2_bit_t                   HCPAR2_b;
    stc_hrpwm_hcpbr2_bit_t                   HCPBR2_b;
    uint32_t                                 RESERVED7[768];
    stc_hrpwm_bconr2_bit_t                   BCONR2_b;
    uint32_t                                 RESERVED8[96];
    stc_hrpwm_hstar2_bit_t                   HSTAR2_b;
    uint32_t                                 RESERVED9[32];
    stc_hrpwm_hclrr2_bit_t                   HCLRR2_b;
    uint32_t                                 RESERVED10[32];
    stc_hrpwm_eefoffsetar_bit_t              EEFOFFSETAR_b;
    stc_hrpwm_eefoffsetbr_bit_t              EEFOFFSETBR_b;
    stc_hrpwm_eefwinar_bit_t                 EEFWINAR_b;
    stc_hrpwm_eefwinbr_bit_t                 EEFWINBR_b;
    stc_hrpwm_eefltcr1_bit_t                 EEFLTCR1_b;
    stc_hrpwm_eefltcr2_bit_t                 EEFLTCR2_b;
    uint32_t                                 RESERVED11[64];
    stc_hrpwm_idlecr_bit_t                   IDLECR_b;
    stc_hrpwm_gconr1_bit_t                   GCONR1_b;
    stc_hrpwm_biconr_bit_t                   BICONR_b;
    stc_hrpwm_bpcnar1_bit_t                  BPCNAR1_b;
    stc_hrpwm_bpcnbr1_bit_t                  BPCNBR1_b;
    uint32_t                                 RESERVED12[128];
    stc_hrpwm_bgconr1_bit_t                  BGCONR1_b;
    stc_hrpwm_scmaselr_bit_t                 SCMASELR_b;
    uint32_t                                 RESERVED13[416];
    stc_hrpwm_cr_bit_t                       CR_b;
    stc_hrpwm_phsctl_bit_t                   PHSCTL_b;
} bCM_HRPWM_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[96];
    stc_hrpwm_common_calcr_bit_t             CALCR_b;
    uint32_t                                 RESERVED1[1248];
    stc_hrpwm_common_scapr_bit_t             SCAPR_b;
    stc_hrpwm_common_sstaidlr_bit_t          SSTAIDLR_b;
    stc_hrpwm_common_sstarunr1_bit_t         SSTARUNR1_b;
    stc_hrpwm_common_sstarunr2_bit_t         SSTARUNR2_b;
    stc_hrpwm_common_sstadidlr_bit_t         SSTADIDLR_b;
    stc_hrpwm_common_gctlr_bit_t             GCTLR_b;
    stc_hrpwm_common_gbconr_bit_t            GBCONR_b;
    stc_hrpwm_common_gbsflr_bit_t            GBSFLR_b;
    stc_hrpwm_common_bmcr_bit_t              BMCR_b;
    stc_hrpwm_common_bmstrg1_bit_t           BMSTRG1_b;
    stc_hrpwm_common_bmstrg2_bit_t           BMSTRG2_b;
    uint32_t                                 RESERVED2[128];
    stc_hrpwm_common_eecr1_bit_t             EECR1_b;
    stc_hrpwm_common_eecr2_bit_t             EECR2_b;
    uint32_t                                 RESERVED3[32];
    stc_hrpwm_common_synocr_bit_t            SYNOCR_b;
    stc_hrpwm_common_eedselr_bit_t           EEDSELR_b;
    stc_hrpwm_common_fcntr_bit_t             FCNTR_b;
    stc_hrpwm_common_sstar_bit_t             SSTAR_b;
    stc_hrpwm_common_sstpr_bit_t             SSTPR_b;
    stc_hrpwm_common_sclrr_bit_t             SCLRR_b;
    stc_hrpwm_common_supdr_bit_t             SUPDR_b;
} bCM_HRPWM_COMMON_TypeDef;

typedef struct {
    stc_i2c_cr1_bit_t                        CR1_b;
    stc_i2c_cr2_bit_t                        CR2_b;
    stc_i2c_cr3_bit_t                        CR3_b;
    stc_i2c_cr4_bit_t                        CR4_b;
    stc_i2c_slr0_bit_t                       SLR0_b;
    stc_i2c_slr1_bit_t                       SLR1_b;
    uint32_t                                 RESERVED0[32];
    stc_i2c_sr_bit_t                         SR_b;
    stc_i2c_clr_bit_t                        CLR_b;
    uint32_t                                 RESERVED1[64];
    stc_i2c_ccr_bit_t                        CCR_b;
    stc_i2c_fltr_bit_t                       FLTR_b;
    stc_i2c_fstr_bit_t                       FSTR_b;
} bCM_I2C_TypeDef;

typedef struct {
    stc_icg_icg0_bit_t                       ICG0_b;
    stc_icg_icg1_bit_t                       ICG1_b;
} bCM_ICG_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[32];
    stc_intc_nmier_bit_t                     NMIER_b;
    stc_intc_nmifr_bit_t                     NMIFR_b;
    stc_intc_nmifcr_bit_t                    NMIFCR_b;
    stc_intc_eirqcr_bit_t                    EIRQCR0_b;
    stc_intc_eirqcr_bit_t                    EIRQCR1_b;
    stc_intc_eirqcr_bit_t                    EIRQCR2_b;
    stc_intc_eirqcr_bit_t                    EIRQCR3_b;
    stc_intc_eirqcr_bit_t                    EIRQCR4_b;
    stc_intc_eirqcr_bit_t                    EIRQCR5_b;
    stc_intc_eirqcr_bit_t                    EIRQCR6_b;
    stc_intc_eirqcr_bit_t                    EIRQCR7_b;
    stc_intc_eirqcr_bit_t                    EIRQCR8_b;
    stc_intc_eirqcr_bit_t                    EIRQCR9_b;
    stc_intc_eirqcr_bit_t                    EIRQCR10_b;
    stc_intc_eirqcr_bit_t                    EIRQCR11_b;
    stc_intc_eirqcr_bit_t                    EIRQCR12_b;
    stc_intc_eirqcr_bit_t                    EIRQCR13_b;
    stc_intc_eirqcr_bit_t                    EIRQCR14_b;
    stc_intc_eirqcr_bit_t                    EIRQCR15_b;
    stc_intc_wken_bit_t                      WKEN_b;
    stc_intc_eifr_bit_t                      EIFR_b;
    stc_intc_eifcr_bit_t                     EIFCR_b;
    uint32_t                                 RESERVED1[4608];
    stc_intc_swier_bit_t                     SWIER_b;
    stc_intc_evter_bit_t                     EVTER_b;
    stc_intc_ier_bit_t                       IER_b;
    stc_intc_fpuier_bit_t                    FPUIER_b;
} bCM_INTC_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[96];
    stc_mcan_dbtp_bit_t                      DBTP_b;
    stc_mcan_test_bit_t                      TEST_b;
    uint32_t                                 RESERVED1[32];
    stc_mcan_cccr_bit_t                      CCCR_b;
    uint32_t                                 RESERVED2[96];
    stc_mcan_tocc_bit_t                      TOCC_b;
    uint32_t                                 RESERVED3[160];
    stc_mcan_ecr_bit_t                       ECR_b;
    stc_mcan_psr_bit_t                       PSR_b;
    uint32_t                                 RESERVED4[64];
    stc_mcan_ir_bit_t                        IR_b;
    stc_mcan_ie_bit_t                        IE_b;
    stc_mcan_ils_bit_t                       ILS_b;
    stc_mcan_ile_bit_t                       ILE_b;
    uint32_t                                 RESERVED5[256];
    stc_mcan_gfc_bit_t                       GFC_b;
    uint32_t                                 RESERVED6[128];
    stc_mcan_hpms_bit_t                      HPMS_b;
    stc_mcan_ndat1_bit_t                     NDAT1_b;
    stc_mcan_ndat2_bit_t                     NDAT2_b;
    stc_mcan_rxf0c_bit_t                     RXF0C_b;
    stc_mcan_rxf0s_bit_t                     RXF0S_b;
    uint32_t                                 RESERVED7[64];
    stc_mcan_rxf1c_bit_t                     RXF1C_b;
    stc_mcan_rxf1s_bit_t                     RXF1S_b;
    uint32_t                                 RESERVED8[64];
    stc_mcan_txbc_bit_t                      TXBC_b;
    stc_mcan_txfqs_bit_t                     TXFQS_b;
    uint32_t                                 RESERVED9[32];
    stc_mcan_txbrp_bit_t                     TXBRP_b;
    stc_mcan_txbar_bit_t                     TXBAR_b;
    stc_mcan_txbcr_bit_t                     TXBCR_b;
    stc_mcan_txbto_bit_t                     TXBTO_b;
    stc_mcan_txbcf_bit_t                     TXBCF_b;
    stc_mcan_txbtie_bit_t                    TXBTIE_b;
    stc_mcan_txbcie_bit_t                    TXBCIE_b;
    uint32_t                                 RESERVED10[96];
    stc_mcan_txefs_bit_t                     TXEFS_b;
} bCM_MCAN_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[32];
    stc_mcanram_cksr_bit_t                   CKSR_b;
    stc_mcanram_eien_bit_t                   EIEN_b;
} bCM_MCANRAM_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[512];
    stc_mpu_sr_bit_t                         SR_b;
    stc_mpu_eclr_bit_t                       ECLR_b;
    stc_mpu_wp_bit_t                         WP_b;
    stc_mpu_ippr_bit_t                       IPPR_b;
    uint32_t                                 RESERVED1[32];
    stc_mpu_msppctl_bit_t                    MSPPCTL_b;
    uint32_t                                 RESERVED2[32];
    stc_mpu_psppctl_bit_t                    PSPPCTL_b;
    stc_mpu_srge_bit_t                       S1RGE_b;
    stc_mpu_srgwp_bit_t                      S1RGWP_b;
    stc_mpu_srgrp_bit_t                      S1RGRP_b;
    stc_mpu_scr_bit_t                        S1CR_b;
} bCM_MPU_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[160];
    stc_peric_tmr_synenr_bit_t               TMR_SYNENR_b;
    uint32_t                                 RESERVED1[32];
    stc_peric_usart1_nfc_bit_t               USART1_NFC_b;
} bCM_PERIC_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[128];
    stc_pla_muxs_bit_t                       MUXS0_b;
    uint32_t                                 RESERVED1[32];
    stc_pla_ctl_bit_t                        CTL0_b;
    stc_pla_muxs_bit_t                       MUXS1_b;
    uint32_t                                 RESERVED2[32];
    stc_pla_ctl_bit_t                        CTL1_b;
    stc_pla_muxs_bit_t                       MUXS2_b;
    uint32_t                                 RESERVED3[32];
    stc_pla_ctl_bit_t                        CTL2_b;
    stc_pla_muxs_bit_t                       MUXS3_b;
    uint32_t                                 RESERVED4[32];
    stc_pla_ctl_bit_t                        CTL3_b;
    stc_pla_muxs_bit_t                       MUXS4_b;
    uint32_t                                 RESERVED5[32];
    stc_pla_ctl_bit_t                        CTL4_b;
    stc_pla_muxs_bit_t                       MUXS5_b;
    uint32_t                                 RESERVED6[32];
    stc_pla_ctl_bit_t                        CTL5_b;
    stc_pla_muxs_bit_t                       MUXS6_b;
    uint32_t                                 RESERVED7[32];
    stc_pla_ctl_bit_t                        CTL6_b;
    stc_pla_muxs_bit_t                       MUXS7_b;
    uint32_t                                 RESERVED8[32];
    stc_pla_ctl_bit_t                        CTL7_b;
    stc_pla_muxs_bit_t                       MUXS8_b;
    uint32_t                                 RESERVED9[32];
    stc_pla_ctl_bit_t                        CTL8_b;
    stc_pla_muxs_bit_t                       MUXS9_b;
    uint32_t                                 RESERVED10[32];
    stc_pla_ctl_bit_t                        CTL9_b;
    stc_pla_muxs_bit_t                       MUXS10_b;
    uint32_t                                 RESERVED11[32];
    stc_pla_ctl_bit_t                        CTL10_b;
    stc_pla_muxs_bit_t                       MUXS11_b;
    uint32_t                                 RESERVED12[32];
    stc_pla_ctl_bit_t                        CTL11_b;
    stc_pla_muxs_bit_t                       MUXS12_b;
    uint32_t                                 RESERVED13[32];
    stc_pla_ctl_bit_t                        CTL12_b;
    stc_pla_muxs_bit_t                       MUXS13_b;
    uint32_t                                 RESERVED14[32];
    stc_pla_ctl_bit_t                        CTL13_b;
    stc_pla_muxs_bit_t                       MUXS14_b;
    uint32_t                                 RESERVED15[32];
    stc_pla_ctl_bit_t                        CTL14_b;
    stc_pla_muxs_bit_t                       MUXS15_b;
    uint32_t                                 RESERVED16[32];
    stc_pla_ctl_bit_t                        CTL15_b;
} bCM_PLA_TypeDef;

typedef struct {
    stc_pwc_fcg0_bit_t                       FCG0_b;
    stc_pwc_fcg1_bit_t                       FCG1_b;
    stc_pwc_fcg2_bit_t                       FCG2_b;
    stc_pwc_fcg3_bit_t                       FCG3_b;
    stc_pwc_fcg0pc_bit_t                     FCG0PC_b;
    uint32_t                                 RESERVED0[139104];
    stc_pwc_wktcr_bit_t                      WKTCR_b;
    uint32_t                                 RESERVED1[16368];
    stc_pwc_pwrc0_bit_t                      PWRC0_b;
    uint32_t                                 RESERVED2[24];
    stc_pwc_pwrc1_bit_t                      PWRC1_b;
    uint32_t                                 RESERVED3[88];
    stc_pwc_pwrc4_bit_t                      PWRC4_b;
    uint32_t                                 RESERVED4[24];
    stc_pwc_pvdcr0_bit_t                     PVDCR0_b;
    uint32_t                                 RESERVED5[24];
    stc_pwc_pvdcr1_bit_t                     PVDCR1_b;
    uint32_t                                 RESERVED6[24];
    stc_pwc_pvdfcr_bit_t                     PVDFCR_b;
    uint32_t                                 RESERVED7[88];
    stc_pwc_pdwke0_bit_t                     PDWKE0_b;
    uint32_t                                 RESERVED8[24];
    stc_pwc_pdwke1_bit_t                     PDWKE1_b;
    uint32_t                                 RESERVED9[24];
    stc_pwc_pdwke2_bit_t                     PDWKE2_b;
    uint32_t                                 RESERVED10[24];
    stc_pwc_pdwkes_bit_t                     PDWKES_b;
    uint32_t                                 RESERVED11[24];
    stc_pwc_pdwkf0_bit_t                     PDWKF0_b;
    uint32_t                                 RESERVED12[24];
    stc_pwc_pdwkf1_bit_t                     PDWKF1_b;
    uint32_t                                 RESERVED13[24];
    stc_pwc_pwrc5_bit_t                      PWRC5_b;
    uint32_t                                 RESERVED14[1016];
    stc_pwc_pvdicr_bit_t                     PVDICR_b;
    uint32_t                                 RESERVED15[24];
    stc_pwc_pvddsr_bit_t                     PVDDSR_b;
    uint32_t                                 RESERVED16[24];
    stc_pwc_rampc0_bit_t                     RAMPC0_b;
    uint32_t                                 RESERVED17[32];
    stc_pwc_pramlpc_bit_t                    PRAMLPC_b;
    uint32_t                                 RESERVED18[32];
    stc_pwc_lpmcsr_bit_t                     LPMCSR_b;
    stc_pwc_lpmcscr_bit_t                    LPMCSCR_b;
    uint32_t                                 RESERVED19[235904];
    stc_pwc_stpmcr_bit_t                     STPMCR_b;
    uint32_t                                 RESERVED20[8064];
    stc_pwc_fprc_bit_t                       FPRC_b;
} bCM_PWC_TypeDef;

typedef struct {
    stc_rmu_frst0_bit_t                      FRST0_b;
    stc_rmu_frst1_bit_t                      FRST1_b;
    stc_rmu_frst2_bit_t                      FRST2_b;
    stc_rmu_frst3_bit_t                      FRST3_b;
    stc_rmu_prstcr0_bit_t                    PRSTCR0_b;
    uint32_t                                 RESERVED0[24];
    stc_rmu_rstf0_bit_t                      RSTF0_b;
} bCM_RMU_TypeDef;

typedef struct {
    stc_rtc_cr0_bit_t                        CR0_b;
    uint32_t                                 RESERVED0[24];
    stc_rtc_cr1_bit_t                        CR1_b;
    uint32_t                                 RESERVED1[24];
    stc_rtc_cr2_bit_t                        CR2_b;
    uint32_t                                 RESERVED2[24];
    stc_rtc_cr3_bit_t                        CR3_b;
    uint32_t                                 RESERVED3[344];
    stc_rtc_errcrh_bit_t                     ERRCRH_b;
} bCM_RTC_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[32];
    stc_spi_cr_bit_t                         CR_b;
    uint32_t                                 RESERVED1[32];
    stc_spi_cfg1_bit_t                       CFG1_b;
    uint32_t                                 RESERVED2[32];
    stc_spi_sr_bit_t                         SR_b;
    stc_spi_cfg2_bit_t                       CFG2_b;
} bCM_SPI_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[64];
    stc_sramc_ckcr_bit_t                     CKCR_b;
    stc_sramc_ckpr_bit_t                     CKPR_b;
    stc_sramc_cksr_bit_t                     CKSR_b;
    stc_sramc_sram0_eien_bit_t               SRAM0_EIEN_b;
    uint32_t                                 RESERVED1[480];
    stc_sramc_sramh_eien_bit_t               SRAMH_EIEN_b;
    uint32_t                                 RESERVED2[96];
    stc_sramc_sramb_eien_bit_t               SRAMB_EIEN_b;
} bCM_SRAMC_TypeDef;

typedef struct {
    stc_swdt_cr_bit_t                        CR_b;
    stc_swdt_sr_bit_t                        SR_b;
} bCM_SWDT_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[128];
    stc_tmr0_bconr_bit_t                     BCONR_b;
    stc_tmr0_stflr_bit_t                     STFLR_b;
} bCM_TMR0_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[256];
    stc_tmr4_ocsr_bit_t                      OCSRU_b;
    stc_tmr4_ocer_bit_t                      OCERU_b;
    stc_tmr4_ocsr_bit_t                      OCSRV_b;
    stc_tmr4_ocer_bit_t                      OCERV_b;
    stc_tmr4_ocsr_bit_t                      OCSRW_b;
    stc_tmr4_ocer_bit_t                      OCERW_b;
    stc_tmr4_ocsr_bit_t                      OCSRX_b;
    stc_tmr4_ocer_bit_t                      OCERX_b;
    stc_tmr4_ocmrh_bit_t                     OCMRUH_b;
    uint32_t                                 RESERVED1[16];
    stc_tmr4_ocmrl_bit_t                     OCMRUL_b;
    stc_tmr4_ocmrh_bit_t                     OCMRVH_b;
    uint32_t                                 RESERVED2[16];
    stc_tmr4_ocmrl_bit_t                     OCMRVL_b;
    stc_tmr4_ocmrh_bit_t                     OCMRWH_b;
    uint32_t                                 RESERVED3[16];
    stc_tmr4_ocmrl_bit_t                     OCMRWL_b;
    stc_tmr4_ocmrh_bit_t                     OCMRXH_b;
    uint32_t                                 RESERVED4[16];
    stc_tmr4_ocmrl_bit_t                     OCMRXL_b;
    uint32_t                                 RESERVED5[64];
    stc_tmr4_ccsr_bit_t                      CCSR_b;
    uint32_t                                 RESERVED6[16];
    stc_tmr4_pscr_bit_t                      PSCR_b;
    uint32_t                                 RESERVED7[896];
    stc_tmr4_scsr_bit_t                      SCSRUH_b;
    stc_tmr4_scmr_bit_t                      SCMRUH_b;
    stc_tmr4_scsr_bit_t                      SCSRUL_b;
    stc_tmr4_scmr_bit_t                      SCMRUL_b;
    stc_tmr4_scsr_bit_t                      SCSRVH_b;
    stc_tmr4_scmr_bit_t                      SCMRVH_b;
    stc_tmr4_scsr_bit_t                      SCSRVL_b;
    stc_tmr4_scmr_bit_t                      SCMRVL_b;
    stc_tmr4_scsr_bit_t                      SCSRWH_b;
    stc_tmr4_scmr_bit_t                      SCMRWH_b;
    stc_tmr4_scsr_bit_t                      SCSRWL_b;
    stc_tmr4_scmr_bit_t                      SCMRWL_b;
    stc_tmr4_scsr_bit_t                      SCSRXH_b;
    stc_tmr4_scmr_bit_t                      SCMRXH_b;
    stc_tmr4_scsr_bit_t                      SCSRXL_b;
    stc_tmr4_scmr_bit_t                      SCMRXL_b;
    stc_tmr4_scer_bit_t                      SCER_b;
    uint32_t                                 RESERVED8[16];
    stc_tmr4_rcsr_bit_t                      RCSR_b;
    stc_tmr4_scir_bit_t                      SCIR_b;
    uint32_t                                 RESERVED9[16];
    stc_tmr4_scfr_bit_t                      SCFR_b;
} bCM_TMR4_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[2560];
    stc_tmr6_gconr_bit_t                     GCONR_b;
    stc_tmr6_iconr_bit_t                     ICONR_b;
    stc_tmr6_bconr_bit_t                     BCONR_b;
    stc_tmr6_dconr_bit_t                     DCONR_b;
    uint32_t                                 RESERVED1[32];
    stc_tmr6_pcnar_bit_t                     PCNAR_b;
    stc_tmr6_pcnbr_bit_t                     PCNBR_b;
    stc_tmr6_fcngr_bit_t                     FCNGR_b;
    stc_tmr6_vperr_bit_t                     VPERR_b;
    stc_tmr6_stflr_bit_t                     STFLR_b;
    uint32_t                                 RESERVED2[192];
    stc_tmr6_hstar_bit_t                     HSTAR_b;
    stc_tmr6_hstpr_bit_t                     HSTPR_b;
    stc_tmr6_hclrr_bit_t                     HCLRR_b;
    stc_tmr6_hupdr_bit_t                     HUPDR_b;
    stc_tmr6_hcpar_bit_t                     HCPAR_b;
    stc_tmr6_hcpbr_bit_t                     HCPBR_b;
    stc_tmr6_hcupr_bit_t                     HCUPR_b;
    stc_tmr6_hcdor_bit_t                     HCDOR_b;
} bCM_TMR6_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[1888];
    stc_tmr6_common_fcntr_bit_t              FCNTR_b;
    stc_tmr6_common_sstar_bit_t              SSTAR_b;
    stc_tmr6_common_sstpr_bit_t              SSTPR_b;
    stc_tmr6_common_sclrr_bit_t              SCLRR_b;
    stc_tmr6_common_supdr_bit_t              SUPDR_b;
} bCM_TMR6_COMMON_TypeDef;

typedef struct {
    uint32_t                                 RESERVED0[1024];
    stc_tmra_bcstrl_bit_t                    BCSTRL_b;
    stc_tmra_bcstrh_bit_t                    BCSTRH_b;
    uint32_t                                 RESERVED1[16];
    stc_tmra_hconr_bit_t                     HCONR_b;
    uint32_t                                 RESERVED2[16];
    stc_tmra_hcupr_bit_t                     HCUPR_b;
    uint32_t                                 RESERVED3[16];
    stc_tmra_hcdor_bit_t                     HCDOR_b;
    uint32_t                                 RESERVED4[16];
    stc_tmra_iconr_bit_t                     ICONR_b;
    uint32_t                                 RESERVED5[16];
    stc_tmra_econr_bit_t                     ECONR_b;
    uint32_t                                 RESERVED6[16];
    stc_tmra_fconr_bit_t                     FCONR_b;
    uint32_t                                 RESERVED7[16];
    stc_tmra_stflr_bit_t                     STFLR_b;
    uint32_t                                 RESERVED8[272];
    stc_tmra_bconr_bit_t                     BCONR1_b;
    uint32_t                                 RESERVED9[48];
    stc_tmra_bconr_bit_t                     BCONR2_b;
    uint32_t                                 RESERVED10[432];
    stc_tmra_cconr_bit_t                     CCONR1_b;
    uint32_t                                 RESERVED11[16];
    stc_tmra_cconr_bit_t                     CCONR2_b;
    uint32_t                                 RESERVED12[16];
    stc_tmra_cconr_bit_t                     CCONR3_b;
    uint32_t                                 RESERVED13[16];
    stc_tmra_cconr_bit_t                     CCONR4_b;
    uint32_t                                 RESERVED14[400];
    stc_tmra_pconr_bit_t                     PCONR1_b;
    uint32_t                                 RESERVED15[16];
    stc_tmra_pconr_bit_t                     PCONR2_b;
    uint32_t                                 RESERVED16[16];
    stc_tmra_pconr_bit_t                     PCONR3_b;
    uint32_t                                 RESERVED17[16];
    stc_tmra_pconr_bit_t                     PCONR4_b;
} bCM_TMRA_TypeDef;

typedef struct {
    stc_usart_sr_bit_t                       SR_b;
    stc_usart_tdr_bit_t                      TDR_b;
    uint32_t                                 RESERVED0[48];
    stc_usart_cr1_bit_t                      CR1_b;
    stc_usart_cr2_bit_t                      CR2_b;
    stc_usart_cr3_bit_t                      CR3_b;
    stc_usart_pr_bit_t                       PR_b;
} bCM_USART_TypeDef;

typedef struct {
    stc_wdt_cr_bit_t                         CR_b;
    stc_wdt_sr_bit_t                         SR_b;
} bCM_WDT_TypeDef;


/******************************************************************************/
/*      Device Specific Peripheral bit_band declaration & memory map          */
/******************************************************************************/
#define bCM_ADC1                             ((bCM_ADC_TypeDef *)0x42800000UL)
#define bCM_ADC2                             ((bCM_ADC_TypeDef *)0x42808000UL)
#define bCM_ADC3                             ((bCM_ADC_TypeDef *)0x42810000UL)
#define bCM_AOS                              ((bCM_AOS_TypeDef *)0x42210000UL)
#define bCM_CMP1                             ((bCM_CMP_TypeDef *)0x42708000UL)
#define bCM_CMP2                             ((bCM_CMP_TypeDef *)0x4270A000UL)
#define bCM_CMP3                             ((bCM_CMP_TypeDef *)0x42760000UL)
#define bCM_CMU                              ((bCM_CMU_TypeDef *)0x42900000UL)
#define bCM_CRC                              ((bCM_CRC_TypeDef *)0x42118000UL)
#define bCM_CTC                              ((bCM_CTC_TypeDef *)0x42938000UL)
#define bCM_DAC1                             ((bCM_DAC_TypeDef *)0x42820000UL)
#define bCM_DAC2                             ((bCM_DAC_TypeDef *)0x42828000UL)
#define bCM_DMA                              ((bCM_DMA_TypeDef *)0x42A60000UL)
#define bCM_EFM                              ((bCM_EFM_TypeDef *)0x42208000UL)
#define bCM_EMB0                             ((bCM_EMB_TypeDef *)0x4270C000UL)
#define bCM_EMB1                             ((bCM_EMB_TypeDef *)0x4270C400UL)
#define bCM_EMB2                             ((bCM_EMB_TypeDef *)0x4270C800UL)
#define bCM_EMB3                             ((bCM_EMB_TypeDef *)0x4270CC00UL)
#define bCM_EMB4                             ((bCM_EMB_TypeDef *)0x4270D000UL)
#define bCM_EMB5                             ((bCM_EMB_TypeDef *)0x4270D400UL)
#define bCM_EMB6                             ((bCM_EMB_TypeDef *)0x4270D800UL)
#define bCM_EMB7                             ((bCM_EMB_TypeDef *)0x4270DC00UL)
#define bCM_EMB8                             ((bCM_EMB_TypeDef *)0x4270E000UL)
#define bCM_FCM                              ((bCM_FCM_TypeDef *)0x42908000UL)
#define bCM_GPIO                             ((bCM_GPIO_TypeDef *)0x42A70000UL)
#define bCM_HRPWM1                           ((bCM_HRPWM_TypeDef *)0x42780000UL)
#define bCM_HRPWM2                           ((bCM_HRPWM_TypeDef *)0x42788000UL)
#define bCM_HRPWM3                           ((bCM_HRPWM_TypeDef *)0x42790000UL)
#define bCM_HRPWM4                           ((bCM_HRPWM_TypeDef *)0x42798000UL)
#define bCM_HRPWM5                           ((bCM_HRPWM_TypeDef *)0x427A0000UL)
#define bCM_HRPWM6                           ((bCM_HRPWM_TypeDef *)0x427A8000UL)
#define bCM_HRPWM_COMMON                     ((bCM_HRPWM_COMMON_TypeDef *)0x42785E00UL)
#define bCM_I2C                              ((bCM_I2C_TypeDef *)0x42768000UL)
#define bCM_INTC                             ((bCM_INTC_TypeDef *)0x42A20000UL)
#define bCM_MCAN1                            ((bCM_MCAN_TypeDef *)0x42E20000UL)
#define bCM_MCAN2                            ((bCM_MCAN_TypeDef *)0x42E28000UL)
#define bCM_MCANRAM                          ((bCM_MCANRAM_TypeDef *)0x42E70000UL)
#define bCM_MPU                              ((bCM_MPU_TypeDef *)0x42A00000UL)
#define bCM_PERIC                            ((bCM_PERIC_TypeDef *)0x42AA8000UL)
#define bCM_PLA                              ((bCM_PLA_TypeDef *)0x429F8000UL)
#define bCM_PWC                              ((bCM_PWC_TypeDef *)0x42900000UL)
#define bCM_RMU                              ((bCM_RMU_TypeDef *)0x42999C00UL)
#define bCM_RTC                              ((bCM_RTC_TypeDef *)0x42980000UL)
#define bCM_SPI                              ((bCM_SPI_TypeDef *)0x42380000UL)
#define bCM_SRAMC                            ((bCM_SRAMC_TypeDef *)0x42A10000UL)
#define bCM_SWDT                             ((bCM_SWDT_TypeDef *)0x42928000UL)
#define bCM_TMR0_1                           ((bCM_TMR0_TypeDef *)0x42480000UL)
#define bCM_TMR0_2                           ((bCM_TMR0_TypeDef *)0x42488000UL)
#define bCM_TMR4                             ((bCM_TMR4_TypeDef *)0x42700000UL)
#define bCM_TMR6_1                           ((bCM_TMR6_TypeDef *)0x42720000UL)
#define bCM_TMR6_2                           ((bCM_TMR6_TypeDef *)0x42728000UL)
#define bCM_TMR6_3                           ((bCM_TMR6_TypeDef *)0x42730000UL)
#define bCM_TMR6_4                           ((bCM_TMR6_TypeDef *)0x42738000UL)
#define bCM_TMR6_COMMON                      ((bCM_TMR6_COMMON_TypeDef *)0x42726000UL)
#define bCM_TMRA_1                           ((bCM_TMRA_TypeDef *)0x42740000UL)
#define bCM_TMRA_2                           ((bCM_TMRA_TypeDef *)0x42748000UL)
#define bCM_TMRA_3                           ((bCM_TMRA_TypeDef *)0x42750000UL)
#define bCM_TMRA_4                           ((bCM_TMRA_TypeDef *)0x42758000UL)
#define bCM_TMRA_5                           ((bCM_TMRA_TypeDef *)0x424C0000UL)
#define bCM_USART1                           ((bCM_USART_TypeDef *)0x42398000UL)
#define bCM_USART2                           ((bCM_USART_TypeDef *)0x423A0000UL)
#define bCM_USART3                           ((bCM_USART_TypeDef *)0x423A8000UL)
#define bCM_USART4                           ((bCM_USART_TypeDef *)0x423B0000UL)
#define bCM_WDT                              ((bCM_WDT_TypeDef *)0x42920000UL)


#ifdef __cplusplus
}
#endif

#endif /* __HC32F334_H__ */
