diff --git a/src/hc32f005_ddl/example/crc/crc_crc16/MDK/crc_crc16.uvprojx b/src/hc32f005_ddl/example/crc/crc_crc16/MDK/crc_crc16.uvprojx index e6df60b..46829b5 100644 --- a/src/hc32f005_ddl/example/crc/crc_crc16/MDK/crc_crc16.uvprojx +++ b/src/hc32f005_ddl/example/crc/crc_crc16/MDK/crc_crc16.uvprojx @@ -16,7 +16,7 @@ ARMCM0P ARM - ARM.CMSIS.5.7.0 + ARM.CMSIS.5.4.0 http://www.keil.com/pack/ IROM(0x00000000,0x8000) IRAM(0x20000000,0x1000) CPUTYPE("Cortex-M0+") CLOCK(32000000) ESEL ELITTLE @@ -185,7 +185,6 @@ 0 0 0 - 0 0 0 8 @@ -352,7 +351,7 @@ 0 0 0 - 4 + 0 @@ -424,10 +423,9 @@ ..\..\..\..\driver\src\sysctrl.c - crc.c - 1 - ..\..\..\..\driver\src\crc.c - +crc.c +1..\..\..\..\driver\src\crc.c + @@ -460,19 +458,4 @@ - - - - <Project Info> - - - - - - 0 - 1 - - - - diff --git a/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx b/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx index 42f1d7f..ee65e89 100644 --- a/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx +++ b/src/hc32f005_ddl/example/gpio/gpio_output/MDK/gpio_output.uvprojx @@ -433,6 +433,16 @@ ::CMSIS + + README + + + readme.txt + 5 + ..\readme.txt + + + diff --git a/src/hc32f005_ddl/hc32f005_example_list.pdf b/src/hc32f005_ddl/hc32f005_example_list.pdf deleted file mode 100644 index 074f819..0000000 Binary files a/src/hc32f005_ddl/hc32f005_example_list.pdf and /dev/null differ diff --git a/src/template/common/base_types.h b/src/template/common/base_types.h deleted file mode 100644 index c8ec304..0000000 --- a/src/template/common/base_types.h +++ /dev/null @@ -1,212 +0,0 @@ -/****************************************************************************** -* Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -* -* This software is owned and published by: -* Huada Semiconductor Co.,Ltd ("HDSC"). -* -* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -* -* This software contains source code for use with HDSC -* components. This software is licensed by HDSC to be adapted only -* for use in systems utilizing HDSC components. HDSC shall not be -* responsible for misuse or illegal use of this software for devices not -* supported herein. HDSC is providing this software "AS IS" and will -* not be responsible for issues arising from incorrect user implementation -* of the software. -* -* Disclaimer: -* HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -* WARRANTY OF NONINFRINGEMENT. -* HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -* SAVINGS OR PROFITS, -* EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -* FROM, THE SOFTWARE. -* -* This software may be replicated in part or whole for the licensed use, -* with the restriction that this Disclaimer and Copyright notice must be -* included with each copy of this software, whether used in part or whole, -* at all times. -*/ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/** \file base_types.h - ** - ** base type common define. - ** @link SampleGroup Some description @endlink - ** - ** - 2017-10-31 1.0 Lux First version. - ** - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -#ifndef __BASE_TYPES_H__ -#define __BASE_TYPES_H__ - -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Include files */ -//Q群:164973950 -//TEL:024-85718900 -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#include -#include -#include -#include -#include - - -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Global pre-processor symbols/macros ('#define') */ -//Q群:164973950 -//TEL:024-85718900 -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#ifndef TRUE - /** Value is true (boolean_t type) */ -//Q群:164973950 -//TEL:024-85718900 - #define TRUE ((boolean_t) 1u) -#endif - -#ifndef FALSE - /** Value is false (boolean_t type) */ -//Q群:164973950 -//TEL:024-85718900 - #define FALSE ((boolean_t) 0u) -#endif - -#if defined (__ICCARM__) -#define __WEAKDEF __WEAK __ATTRIBUTES -#elif defined (__CC_ARM) -#define __WEAKDEF __weak -#else -#error "unsupported compiler!!" -#endif - -/** Returns the minimum value out of two values */ -//Q群:164973950 -//TEL:024-85718900 -#define MIN( X, Y ) ((X) < (Y) ? (X) : (Y)) - -/** Returns the maximum value out of two values */ -//Q群:164973950 -//TEL:024-85718900 -#define MAX( X, Y ) ((X) > (Y) ? (X) : (Y)) - -/** Returns the dimension of an array */ -//Q群:164973950 -//TEL:024-85718900 -#define ARRAY_SZ( X ) (sizeof(X) / sizeof(X[0])) - -#define ASSERT(x) do{ assert((x)> 0u) ; }while(0); -/****************************************************************************** - * Global type definitions - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -/** logical datatype (only values are TRUE and FALSE) */ -//Q群:164973950 -//TEL:024-85718900 -typedef uint8_t boolean_t; - -/** single precision floating point number (4 byte) */ -//Q群:164973950 -//TEL:024-85718900 -typedef float float32_t; - -/** double precision floating point number (8 byte) */ -//Q群:164973950 -//TEL:024-85718900 -typedef double float64_t; - -/** ASCII character for string generation (8 bit) */ -//Q群:164973950 -//TEL:024-85718900 -typedef char char_t; - -/** function pointer type to void/void function */ -//Q群:164973950 -//TEL:024-85718900 -typedef void (*func_ptr_t)(void); - -/** function pointer type to void/uint8_t function */ -//Q群:164973950 -//TEL:024-85718900 -typedef void (*func_ptr_arg1_t)(uint8_t); - -/** generic error codes */ -//Q群:164973950 -//TEL:024-85718900 -typedef enum en_result -{ - Ok = 0u, ///< No error - Error = 1u, ///< Non-specific error code - ErrorAddressAlignment = 2u, ///< Address alignment does not match - ErrorAccessRights = 3u, ///< Wrong mode (e.g. user/system) mode is set - ErrorInvalidParameter = 4u, ///< Provided parameter is not valid - ErrorOperationInProgress = 5u, ///< A conflicting or requested operation is still in progress - ErrorInvalidMode = 6u, ///< Operation not allowed in current mode - ErrorUninitialized = 7u, ///< Module (or part of it) was not initialized properly - ErrorBufferFull = 8u, ///< Circular buffer can not be written because the buffer is full - ErrorTimeout = 9u, ///< Time Out error occurred (e.g. I2C arbitration lost, Flash time-out, etc.) - ErrorNotReady = 10u, ///< A requested final state is not reached - OperationInProgress = 11u ///< Indicator for operation in progress -} en_result_t; - - -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Global variable declarations ('extern', definition in C source) */ -//Q群:164973950 -//TEL:024-85718900 -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Global function prototypes ('extern', definition in C source) */ -//Q群:164973950 -//TEL:024-85718900 -/*****************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -#endif /* __BASE_TYPES_H__ */ -//Q群:164973950 -//TEL:024-85718900 - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* EOF (not truncated) */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 diff --git a/src/template/common/hc32f005c6ua.h b/src/template/common/hc32f005c6ua.h deleted file mode 100644 index a676a75..0000000 --- a/src/template/common/hc32f005c6ua.h +++ /dev/null @@ -1,3394 +0,0 @@ -/******************************************************************************* -* Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -* -* This software is owned and published by: -* Huada Semiconductor Co.,Ltd ("HDSC"). -* -* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -* -* This software contains source code for use with HDSC -* components. This software is licensed by HDSC to be adapted only -* for use in systems utilizing HDSC components. HDSC shall not be -* responsible for misuse or illegal use of this software for devices not -* supported herein. HDSC is providing this software "AS IS" and will -* not be responsible for issues arising from incorrect user implementation -* of the software. -* -* Disclaimer: -* HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -* WARRANTY OF NONINFRINGEMENT. -* HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -* SAVINGS OR PROFITS, -* EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -* FROM, THE SOFTWARE. -* -* This software may be replicated in part or whole for the licensed use, -* with the restriction that this Disclaimer and Copyright notice must be -* included with each copy of this software, whether used in part or whole, -* at all times. -*/ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/** \\file HC32F005C6UA.h -** -** Auto generate. -** Headerfile for HC32F005C6UA series MCU -** -** History: -** -** - 2018-09-14 0.1 Lux First version. -** -******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -#ifndef __HC32F005C6UA_H__ -#define __HC32F005C6UA_H__ - -#ifdef __cplusplus -extern "C" { -#endif - -/****************************************************************************** -* Configuration of the Cortex-M0P Processor and Core Peripherals -******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#define __MPU_PRESENT 0 /* No MPU */ -//Q群:164973950 -//TEL:024-85718900 -#define __NVIC_PRIO_BITS 2 /* M0P uses 2 Bits for the Priority Levels */ -//Q群:164973950 -//TEL:024-85718900 -#define __Vendor_SysTickConfig 0 /* Set to 1 if different SysTick Config is used */ -//Q群:164973950 -//TEL:024-85718900 - -/****************************************************************************** -* Interrupt Number Definition -******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -typedef enum IRQn -{ - NMI_IRQn = -14, /* 2 Non Maskable */ -//Q群:164973950 -//TEL:024-85718900 - HardFault_IRQn = -13, /* 3 Hard Fault */ -//Q群:164973950 -//TEL:024-85718900 - SVC_IRQn = -5, /* 11 SV Call */ -//Q群:164973950 -//TEL:024-85718900 - PendSV_IRQn = -2, /* 14 Pend SV */ -//Q群:164973950 -//TEL:024-85718900 - SysTick_IRQn = -1, /* 15 System Tick */ -//Q群:164973950 -//TEL:024-85718900 - - PORT0_IRQn = 0 , - PORT1_IRQn = 1 , - PORT2_IRQn = 2 , - PORT3_IRQn = 3 , - UART0_IRQn = 6 , - UART1_IRQn = 7 , - SPI_IRQn = 10, - I2C_IRQn = 12, - TIM0_IRQn = 14, - TIM1_IRQn = 15, - TIM2_IRQn = 16, - TIM4_IRQn = 18, - TIM5_IRQn = 19, - TIM6_IRQn = 20, - PCA_IRQn = 21, - WDT_IRQn = 22, - ADC_IRQn = 24, - VC0_IRQn = 26, - VC1_IRQn = 27, - LVD_IRQn = 28, - FLASH_RAM_IRQn = 30, - CLK_TRIM_IRQn = 31, - - -} IRQn_Type; - - -#include -#include - -#define SUCCESS (0) -#define ERROR (-1) - -#ifndef NULL -#define NULL (0) -#endif - - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Device Specific Peripheral Registers structures */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -#if defined ( __CC_ARM ) -#pragma anon_unions -#endif - -typedef struct -{ - __IO uint32_t ADCEN : 1; - __IO uint32_t START : 1; - __IO uint32_t CLKSEL : 2; - __IO uint32_t SEL : 4; - __IO uint32_t SREF : 2; - __IO uint32_t BUFEN : 1; - __IO uint32_t SAM : 2; - uint32_t RESERVED13 : 1; - __IO uint32_t IE : 1; - __IO uint32_t STATERST : 1; -} stc_adc_cr0_field_t; - -typedef struct -{ - __IO uint32_t TRIGS0 : 5; - __IO uint32_t TRIGS1 : 5; - __IO uint32_t CT : 1; - __IO uint32_t RACC_EN : 1; - __IO uint32_t LTCMP : 1; - __IO uint32_t HTCMP : 1; - __IO uint32_t REGCMP : 1; - __IO uint32_t RACC_CLR : 1; -} stc_adc_cr1_field_t; - -typedef struct -{ - __IO uint32_t CH0EN : 1; - __IO uint32_t CH1EN : 1; - __IO uint32_t CH2EN : 1; - __IO uint32_t CH3EN : 1; - __IO uint32_t CH4EN : 1; - __IO uint32_t CH5EN : 1; - __IO uint32_t CH6EN : 1; - __IO uint32_t CH7EN : 1; - __IO uint32_t ADCCNT : 8; -} stc_adc_cr2_field_t; - -typedef struct -{ - __IO uint32_t RESULT0 :12; -} stc_adc_result0_field_t; - -typedef struct -{ - __IO uint32_t RESULT1 :12; -} stc_adc_result1_field_t; - -typedef struct -{ - __IO uint32_t RESULT2 :12; -} stc_adc_result2_field_t; - -typedef struct -{ - __IO uint32_t RESULT3 :12; -} stc_adc_result3_field_t; - -typedef struct -{ - __IO uint32_t RESULT4 :12; -} stc_adc_result4_field_t; - -typedef struct -{ - __IO uint32_t RESULT5 :12; -} stc_adc_result5_field_t; - -typedef struct -{ - __IO uint32_t RESULT6 :12; -} stc_adc_result6_field_t; - -typedef struct -{ - __IO uint32_t RESULT7 :12; -} stc_adc_result7_field_t; - -typedef struct -{ - __IO uint32_t RESULT8 :12; -} stc_adc_result8_field_t; - -typedef struct -{ - __IO uint32_t RESULT_ACC :20; -} stc_adc_result_acc_field_t; - -typedef struct -{ - __IO uint32_t HT :12; -} stc_adc_ht_field_t; - -typedef struct -{ - __IO uint32_t LT :12; -} stc_adc_lt_field_t; - -typedef struct -{ - __IO uint32_t LLT_INTF : 1; - __IO uint32_t HHT_INTF : 1; - __IO uint32_t REG_INTF : 1; - __IO uint32_t CONT_INTF : 1; -} stc_adc_ifr_field_t; - -typedef struct -{ - __IO uint32_t LLT_INTC : 1; - __IO uint32_t HHT_INTC : 1; - __IO uint32_t REG_INTC : 1; - __IO uint32_t CONT_INTC : 1; -} stc_adc_iclr_field_t; - -typedef struct -{ - __IO uint32_t RESULT :12; -} stc_adc_result_field_t; - -typedef struct -{ - __IO uint32_t CNT :16; -} stc_adt_cnter_field_t; - -typedef struct -{ - __IO uint32_t PERA :16; -} stc_adt_perar_field_t; - -typedef struct -{ - __IO uint32_t PERB :16; -} stc_adt_perbr_field_t; - -typedef struct -{ - __IO uint32_t GCMA :16; -} stc_adt_gcmar_field_t; - -typedef struct -{ - __IO uint32_t GCMB :16; -} stc_adt_gcmbr_field_t; - -typedef struct -{ - __IO uint32_t GCMC :16; -} stc_adt_gcmcr_field_t; - -typedef struct -{ - __IO uint32_t GCMD :16; -} stc_adt_gcmdr_field_t; - -typedef struct -{ - __IO uint32_t DTUA :16; -} stc_adt_dtuar_field_t; - -typedef struct -{ - __IO uint32_t DTDA :16; -} stc_adt_dtdar_field_t; - -typedef struct -{ - __IO uint32_t START : 1; - __IO uint32_t MODE : 3; - __IO uint32_t CKDIV : 3; - uint32_t RESERVED7 : 1; - __IO uint32_t DIR : 1; - uint32_t RESERVED9 : 7; - __IO uint32_t ZMSKREV : 1; - __IO uint32_t ZMSKPOS : 1; - __IO uint32_t ZMSK : 2; -} stc_adt_gconr_field_t; - -typedef struct -{ - __IO uint32_t INTENA : 1; - __IO uint32_t INTENB : 1; - __IO uint32_t INTENC : 1; - __IO uint32_t INTEND : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t INTENOVF : 1; - __IO uint32_t INTENUDF : 1; - __IO uint32_t INTENDE : 1; -} stc_adt_iconr_field_t; - -typedef struct -{ - __IO uint32_t CAPCA : 1; - __IO uint32_t STACA : 1; - __IO uint32_t STPCA : 1; - __IO uint32_t STASTPSA : 1; - __IO uint32_t CMPCA : 2; - __IO uint32_t PERCA : 2; - __IO uint32_t OUTENA : 1; - __IO uint32_t DISSELA : 2; - __IO uint32_t DISVALA : 2; - uint32_t RESERVED13 : 3; - __IO uint32_t CAPCB : 1; - __IO uint32_t STACB : 1; - __IO uint32_t STPCB : 1; - __IO uint32_t STASTPSB : 1; - __IO uint32_t CMPCB : 2; - __IO uint32_t PERCB : 2; - __IO uint32_t OUTENB : 1; - __IO uint32_t DISSELB : 2; - __IO uint32_t DISVALB : 2; -} stc_adt_pconr_field_t; - -typedef struct -{ - __IO uint32_t BENA : 1; - uint32_t RESERVED1 : 1; - __IO uint32_t BENB : 1; - uint32_t RESERVED3 : 5; - __IO uint32_t BENP : 1; -} stc_adt_bconr_field_t; - -typedef struct -{ - __IO uint32_t DTCEN : 1; - uint32_t RESERVED1 : 7; - __IO uint32_t SEPA : 1; -} stc_adt_dconr_field_t; - -typedef struct -{ - __IO uint32_t NOFIENGA : 1; - __IO uint32_t NOFICKGA : 2; - uint32_t RESERVED3 : 1; - __IO uint32_t NOFIENGB : 1; - __IO uint32_t NOFICKGB : 2; - uint32_t RESERVED7 : 9; - __IO uint32_t NOFIENTA : 1; - __IO uint32_t NOFICKTA : 2; - uint32_t RESERVED19 : 1; - __IO uint32_t NOFIENTB : 1; - __IO uint32_t NOFICKTB : 2; - uint32_t RESERVED23 : 1; - __IO uint32_t NOFIENTC : 1; - __IO uint32_t NOFICKTC : 2; - uint32_t RESERVED27 : 1; - __IO uint32_t NOFIENTD : 1; - __IO uint32_t NOFICKTD : 2; -} stc_adt_fconr_field_t; - -typedef struct -{ - __IO uint32_t GEPERIA : 1; - __IO uint32_t GEPERIB : 1; - __IO uint32_t GEPERIC : 1; - __IO uint32_t GEPERID : 1; - uint32_t RESERVED4 :12; - __IO uint32_t PCNTE : 2; - __IO uint32_t PCNTS : 3; -} stc_adt_vperr_field_t; - -typedef struct -{ - __IO uint32_t CMAF : 1; - __IO uint32_t CMBF : 1; - __IO uint32_t CMCF : 1; - __IO uint32_t CMDF : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t OVFF : 1; - __IO uint32_t UDFF : 1; - __IO uint32_t DTEF : 1; - uint32_t RESERVED9 :12; - __IO uint32_t VPERNUM : 3; - uint32_t RESERVED24 : 7; - __IO uint32_t DIRF : 1; -} stc_adt_stflr_field_t; - -typedef struct -{ - __IO uint32_t HSTA0 : 1; - __IO uint32_t HSTA1 : 1; - __IO uint32_t HSTA2 : 1; - __IO uint32_t HSTA3 : 1; - __IO uint32_t HSTA4 : 1; - __IO uint32_t HSTA5 : 1; - __IO uint32_t HSTA6 : 1; - __IO uint32_t HSTA7 : 1; - __IO uint32_t HSTA8 : 1; - __IO uint32_t HSTA9 : 1; - __IO uint32_t HSTA10 : 1; - __IO uint32_t HSTA11 : 1; - __IO uint32_t HSTA12 : 1; - __IO uint32_t HSTA13 : 1; - __IO uint32_t HSTA14 : 1; - __IO uint32_t HSTA15 : 1; - uint32_t RESERVED16 :15; - __IO uint32_t STARTS : 1; -} stc_adt_hstar_field_t; - -typedef struct -{ - __IO uint32_t HSTP0 : 1; - __IO uint32_t HSTP1 : 1; - __IO uint32_t HSTP2 : 1; - __IO uint32_t HSTP3 : 1; - __IO uint32_t HSTP4 : 1; - __IO uint32_t HSTP5 : 1; - __IO uint32_t HSTP6 : 1; - __IO uint32_t HSTP7 : 1; - __IO uint32_t HSTP8 : 1; - __IO uint32_t HSTP9 : 1; - __IO uint32_t HSTP10 : 1; - __IO uint32_t HSTP11 : 1; - __IO uint32_t HSTP12 : 1; - __IO uint32_t HSTP13 : 1; - __IO uint32_t HSTP14 : 1; - __IO uint32_t HSTP15 : 1; - uint32_t RESERVED16 :15; - __IO uint32_t STOPS : 1; -} stc_adt_hstpr_field_t; - -typedef struct -{ - __IO uint32_t HCEL0 : 1; - __IO uint32_t HCEL1 : 1; - __IO uint32_t HCEL2 : 1; - __IO uint32_t HCEL3 : 1; - __IO uint32_t HCEL4 : 1; - __IO uint32_t HCEL5 : 1; - __IO uint32_t HCEL6 : 1; - __IO uint32_t HCEL7 : 1; - __IO uint32_t HCEL8 : 1; - __IO uint32_t HCEL9 : 1; - __IO uint32_t HCEL10 : 1; - __IO uint32_t HCEL11 : 1; - __IO uint32_t HCEL12 : 1; - __IO uint32_t HCEL13 : 1; - __IO uint32_t HCEL14 : 1; - __IO uint32_t HCEL15 : 1; - uint32_t RESERVED16 :15; - __IO uint32_t CLEARS : 1; -} stc_adt_hcelr_field_t; - -typedef struct -{ - __IO uint32_t HCPA0 : 1; - __IO uint32_t HCPA1 : 1; - __IO uint32_t HCPA2 : 1; - __IO uint32_t HCPA3 : 1; - __IO uint32_t HCPA4 : 1; - __IO uint32_t HCPA5 : 1; - __IO uint32_t HCPA6 : 1; - __IO uint32_t HCPA7 : 1; - __IO uint32_t HCPA8 : 1; - __IO uint32_t HCPA9 : 1; - __IO uint32_t HCPA10 : 1; - __IO uint32_t HCPA11 : 1; - __IO uint32_t HCPA12 : 1; - __IO uint32_t HCPA13 : 1; - __IO uint32_t HCPA14 : 1; - __IO uint32_t HCPA15 : 1; -} stc_adt_hcpar_field_t; - -typedef struct -{ - __IO uint32_t HCPB0 : 1; - __IO uint32_t HCPB1 : 1; - __IO uint32_t HCPB2 : 1; - __IO uint32_t HCPB3 : 1; - __IO uint32_t HCPB4 : 1; - __IO uint32_t HCPB5 : 1; - __IO uint32_t HCPB6 : 1; - __IO uint32_t HCPB7 : 1; - __IO uint32_t HCPB8 : 1; - __IO uint32_t HCPB9 : 1; - __IO uint32_t HCPB10 : 1; - __IO uint32_t HCPB11 : 1; - __IO uint32_t HCPB12 : 1; - __IO uint32_t HCPB13 : 1; - __IO uint32_t HCPB14 : 1; - __IO uint32_t HCPB15 : 1; -} stc_adt_hcpbr_field_t; - -typedef struct -{ - __IO uint32_t HCUP0 : 1; - __IO uint32_t HCUP1 : 1; - __IO uint32_t HCUP2 : 1; - __IO uint32_t HCUP3 : 1; - __IO uint32_t HCUP4 : 1; - __IO uint32_t HCUP5 : 1; - __IO uint32_t HCUP6 : 1; - __IO uint32_t HCUP7 : 1; - __IO uint32_t HCUP8 : 1; - __IO uint32_t HCUP9 : 1; - __IO uint32_t HCUP10 : 1; - __IO uint32_t HCUP11 : 1; - __IO uint32_t HCUP12 : 1; - __IO uint32_t HCUP13 : 1; - __IO uint32_t HCUP14 : 1; - __IO uint32_t HCUP15 : 1; - __IO uint32_t HCUP16 : 1; - __IO uint32_t HCUP17 : 1; - __IO uint32_t HCUP18 : 1; - __IO uint32_t HCUP19 : 1; -} stc_adt_hcupr_field_t; - -typedef struct -{ - __IO uint32_t HCDO0 : 1; - __IO uint32_t HCDO1 : 1; - __IO uint32_t HCDO2 : 1; - __IO uint32_t HCDO3 : 1; - __IO uint32_t HCDO4 : 1; - __IO uint32_t HCDO5 : 1; - __IO uint32_t HCDO6 : 1; - __IO uint32_t HCDO7 : 1; - __IO uint32_t HCDO8 : 1; - __IO uint32_t HCDO9 : 1; - __IO uint32_t HCDO10 : 1; - __IO uint32_t HCDO11 : 1; - __IO uint32_t HCDO12 : 1; - __IO uint32_t HCDO13 : 1; - __IO uint32_t HCDO14 : 1; - __IO uint32_t HCDO15 : 1; - __IO uint32_t HCDO16 : 1; - __IO uint32_t HCDO17 : 1; - __IO uint32_t HCDO18 : 1; - __IO uint32_t HCDO19 : 1; -} stc_adt_hcdor_field_t; - -typedef struct -{ - __IO uint32_t CMAF : 1; - __IO uint32_t CMBF : 1; - __IO uint32_t CMCF : 1; - __IO uint32_t CMDF : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t OVFF : 1; - __IO uint32_t UDFF : 1; - __IO uint32_t DTEF : 1; - uint32_t RESERVED9 : 5; - __IO uint32_t SAMLF : 1; - __IO uint32_t SAMHF : 1; -} stc_adt_ifr_field_t; - -typedef struct -{ - __IO uint32_t CMAC : 1; - __IO uint32_t CMBC : 1; - __IO uint32_t CMCC : 1; - __IO uint32_t CMDC : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t OVFC : 1; - __IO uint32_t UDFC : 1; - __IO uint32_t DTEC : 1; - uint32_t RESERVED9 : 5; - __IO uint32_t SAMLC : 1; - __IO uint32_t SAMHC : 1; -} stc_adt_iclr_field_t; - -typedef struct -{ - __IO uint32_t CMAE : 1; - __IO uint32_t CMBE : 1; - __IO uint32_t CMCE : 1; - __IO uint32_t CMDE : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t OVFE : 1; - __IO uint32_t UDFE : 1; - __IO uint32_t DITENA : 1; - __IO uint32_t DITENB : 1; - __IO uint32_t DITENS : 1; -} stc_adt_cr_field_t; - -typedef struct -{ - __IO uint32_t FBRAKE : 1; - __IO uint32_t FSAME : 1; - __IO uint32_t BFILTS : 2; - __IO uint32_t BFILTEN : 1; - uint32_t RESERVED5 : 2; - __IO uint32_t SOFTBK : 1; - __IO uint32_t SML0 : 1; - __IO uint32_t SML1 : 1; - __IO uint32_t SML2 : 1; - __IO uint32_t SMH0 : 1; - __IO uint32_t SMH1 : 1; - __IO uint32_t SMH2 : 1; -} stc_adt_aossr_field_t; - -typedef struct -{ - __IO uint32_t FBRAKE : 1; - __IO uint32_t FSAME : 1; -} stc_adt_aoscl_field_t; - -typedef struct -{ - __IO uint32_t EN0 : 1; - __IO uint32_t EN1 : 1; - __IO uint32_t EN2 : 1; - __IO uint32_t EN3 : 1; - __IO uint32_t EN4 : 1; - __IO uint32_t EN5 : 1; - __IO uint32_t EN6 : 1; - __IO uint32_t EN7 : 1; - __IO uint32_t EN8 : 1; - __IO uint32_t EN9 : 1; - __IO uint32_t EN10 : 1; - __IO uint32_t EN11 : 1; - __IO uint32_t EN12 : 1; - __IO uint32_t EN13 : 1; - __IO uint32_t EN14 : 1; - __IO uint32_t EN15 : 1; -} stc_adt_ptbks_field_t; - -typedef struct -{ - __IO uint32_t TRIGAS : 4; - __IO uint32_t TRIGBS : 4; - __IO uint32_t TRIGCS : 4; - __IO uint32_t TRIGDS : 4; -} stc_adt_ttrig_field_t; - -typedef struct -{ - __IO uint32_t IAOS0S : 4; - __IO uint32_t IAOS1S : 4; - __IO uint32_t IAOS2S : 4; - __IO uint32_t IAOS3S : 4; -} stc_adt_itrig_field_t; - -typedef struct -{ - __IO uint32_t POL0 : 1; - __IO uint32_t POL1 : 1; - __IO uint32_t POL2 : 1; - __IO uint32_t POL3 : 1; - __IO uint32_t POL4 : 1; - __IO uint32_t POL5 : 1; - __IO uint32_t POL6 : 1; - __IO uint32_t POL7 : 1; - __IO uint32_t POL8 : 1; - __IO uint32_t POL9 : 1; - __IO uint32_t POL10 : 1; - __IO uint32_t POL11 : 1; - __IO uint32_t POL12 : 1; - __IO uint32_t POL13 : 1; - __IO uint32_t POL14 : 1; - __IO uint32_t POL15 : 1; -} stc_adt_ptbkp_field_t; - -typedef struct -{ - __IO uint32_t SSTA0 : 1; - __IO uint32_t SSTA1 : 1; - __IO uint32_t SSTA2 : 1; -} stc_adt_sstar_field_t; - -typedef struct -{ - __IO uint32_t SSTP0 : 1; - __IO uint32_t SSTP1 : 1; - __IO uint32_t SSTP2 : 1; -} stc_adt_sstpr_field_t; - -typedef struct -{ - __IO uint32_t SCLR0 : 1; - __IO uint32_t SCLR1 : 1; - __IO uint32_t SCLR2 : 1; -} stc_adt_sclrr_field_t; - -typedef struct -{ - __IO uint32_t BGR_EN : 1; - __IO uint32_t TS_EN : 1; -} stc_bgr_cr_field_t; - -typedef struct -{ - __IO uint32_t ARR :16; -} stc_bt_arr_field_t; - -typedef struct -{ - __IO uint32_t CNT :16; -} stc_bt_cnt_field_t; - -typedef struct -{ - __IO uint32_t CNT32 :32; -} stc_bt_cnt32_field_t; - -typedef struct -{ - __IO uint32_t TR : 1; - __IO uint32_t MD : 1; - __IO uint32_t CT : 1; - __IO uint32_t TOG_EN : 1; - __IO uint32_t PRS : 3; - uint32_t RESERVED7 : 1; - __IO uint32_t GATE : 1; - __IO uint32_t GATE_P : 1; - __IO uint32_t IE : 1; -} stc_bt_cr_field_t; - -typedef struct -{ - __IO uint32_t TF : 1; -} stc_bt_ifr_field_t; - -typedef struct -{ - __IO uint32_t TFC : 1; -} stc_bt_iclr_field_t; - -typedef struct -{ - __IO uint32_t TRIM_START : 1; - __IO uint32_t REFCLK_SEL : 3; - __IO uint32_t CALCLK_SEL : 2; - __IO uint32_t MON_EN : 1; - __IO uint32_t IE : 1; -} stc_clk_trim_cr_field_t; - -typedef struct -{ - __IO uint32_t RCNTVAL :32; -} stc_clk_trim_refcon_field_t; - -typedef struct -{ - __IO uint32_t REFCNT :32; -} stc_clk_trim_refcnt_field_t; - -typedef struct -{ - __IO uint32_t CALCNT :32; -} stc_clk_trim_calcnt_field_t; - -typedef struct -{ - __IO uint32_t STOP : 1; - __IO uint32_t CALCNT_OF : 1; - uint32_t RESERVED2 : 1; - __IO uint32_t XTH_FAULT : 1; -} stc_clk_trim_ifr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t XTH_FAULT_CLR : 1; -} stc_clk_trim_iclr_field_t; - -typedef struct -{ - __IO uint32_t CCNTVAL :32; -} stc_clk_trim_calcon_field_t; - -typedef struct -{ - __IO uint32_t RCH_EN : 1; - __IO uint32_t XTH_EN : 1; - __IO uint32_t RCL_EN : 1; - uint32_t RESERVED3 : 1; - __IO uint32_t CLK_SW4_SEL : 2; - __IO uint32_t HCLK_PRS : 3; - __IO uint32_t PCLK_PRS : 2; - uint32_t RESERVED11 : 4; - __IO uint32_t WAKEUP_BYRCH : 1; -} stc_clock_sysctrl0_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t EXTH_EN : 1; - uint32_t RESERVED2 : 2; - __IO uint32_t CLOCK_FT_EN : 1; - uint32_t RESERVED5 : 1; - __IO uint32_t LOCK_EN : 1; - __IO uint32_t RES_UIO : 1; - __IO uint32_t SWD_UIO : 1; -} stc_clock_sysctrl1_field_t; - -typedef struct -{ - __IO uint32_t SYSCTRL2 :16; -} stc_clock_sysctrl2_field_t; - -typedef struct -{ - __IO uint32_t TRIM :11; - __IO uint32_t STABLE : 1; -} stc_clock_rch_cr_field_t; - -typedef struct -{ - __IO uint32_t DRIVER : 4; - __IO uint32_t STARTUP : 2; - __IO uint32_t STABLE : 1; -} stc_clock_xth_cr_field_t; - -typedef struct -{ - __IO uint32_t TRIM :10; - __IO uint32_t STARTUP : 2; - __IO uint32_t STABLE : 1; -} stc_clock_rcl_cr_field_t; - -typedef struct -{ - __IO uint32_t UART0 : 1; - __IO uint32_t UART1 : 1; - uint32_t RESERVED2 : 2; - __IO uint32_t I2C : 1; - uint32_t RESERVED5 : 1; - __IO uint32_t SPI : 1; - uint32_t RESERVED7 : 1; - __IO uint32_t BASETIM : 1; - uint32_t RESERVED9 : 1; - __IO uint32_t ADVTIM : 1; - uint32_t RESERVED11 : 3; - __IO uint32_t PCA : 1; - __IO uint32_t WDT : 1; - __IO uint32_t ADC : 1; - __IO uint32_t VC : 1; - uint32_t RESERVED18 : 3; - __IO uint32_t TRIM : 1; - uint32_t RESERVED22 : 2; - __IO uint32_t TICK : 1; - uint32_t RESERVED25 : 1; - __IO uint32_t CRC : 1; - uint32_t RESERVED27 : 1; - __IO uint32_t GPIO : 1; - uint32_t RESERVED29 : 2; - __IO uint32_t FLASH : 1; -} stc_clock_peri_clken_field_t; - -typedef struct -{ - __IO uint32_t STCALIB :24; - __IO uint32_t SKEW : 1; - __IO uint32_t NOREF : 1; - __IO uint32_t CLK_SEL : 2; -} stc_clock_systick_cr_field_t; - -typedef struct -{ - __IO uint32_t TIM0 : 1; - __IO uint32_t TIM1 : 1; - __IO uint32_t TIM2 : 1; - uint32_t RESERVED3 : 1; - __IO uint32_t TIM4 : 1; - __IO uint32_t TIM5 : 1; - __IO uint32_t TIM6 : 1; - __IO uint32_t PCA : 1; - __IO uint32_t WDT : 1; - uint32_t RESERVED9 : 1; - __IO uint32_t TICK : 1; -} stc_clock_debug_active_field_t; - -typedef struct -{ - __IO uint32_t RESULT :16; - __IO uint32_t FLAG : 1; -} stc_crc_result_field_t; - -typedef struct -{ - __IO uint32_t DATA :32; -} stc_crc_data_field_t; - -typedef struct -{ - __IO uint32_t TNVS : 9; -} stc_flash_tnvs_field_t; - -typedef struct -{ - __IO uint32_t TPGS : 8; -} stc_flash_tpgs_field_t; - -typedef struct -{ - __IO uint32_t TPROG : 8; -} stc_flash_tprog_field_t; - -typedef struct -{ - __IO uint32_t TSERASE :18; -} stc_flash_tserase_field_t; - -typedef struct -{ - __IO uint32_t TMERASE :21; -} stc_flash_tmerase_field_t; - -typedef struct -{ - __IO uint32_t TPRCV :12; -} stc_flash_tprcv_field_t; - -typedef struct -{ - __IO uint32_t TSRCV :12; -} stc_flash_tsrcv_field_t; - -typedef struct -{ - __IO uint32_t TMRCV :13; -} stc_flash_tmrcv_field_t; - -typedef struct -{ - __IO uint32_t OP : 2; - __IO uint32_t WAIT : 1; - uint32_t RESERVED3 : 1; - __IO uint32_t BUSY : 1; - __IO uint32_t IE : 2; -} stc_flash_cr_field_t; - -typedef struct -{ - __IO uint32_t IF0 : 1; - __IO uint32_t IF1 : 1; -} stc_flash_ifr_field_t; - -typedef struct -{ - __IO uint32_t ICLR0 : 1; - __IO uint32_t ICLR1 : 1; -} stc_flash_iclr_field_t; - -typedef struct -{ - __IO uint32_t BYSEQ :16; -} stc_flash_bypass_field_t; - -typedef struct -{ - __IO uint32_t SLOCK :16; -} stc_flash_slock_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p01_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p02_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p03_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p14_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p15_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p23_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p24_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p25_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p26_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p27_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p31_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p32_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p33_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p34_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p35_sel_field_t; - -typedef struct -{ - __IO uint32_t SEL : 3; -} stc_gpio_p36_sel_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0dir_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0in_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0out_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0ads_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0dr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0pu_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0pd_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0od_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0hie_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0lie_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0rie_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0fie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1dir_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1in_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1out_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1ads_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1dr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1pu_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1pd_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1od_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1hie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1lie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1rie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1fie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2dir_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2in_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2out_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2ads_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2dr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2pu_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2pd_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2od_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2hie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2lie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2rie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2fie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3dir_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3in_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3out_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3ads_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3dr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3pu_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3pd_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3od_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3hie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3lie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3rie_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3fie_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0stat_field_t; - -typedef struct -{ - __IO uint32_t P00 : 1; - __IO uint32_t P01 : 1; - __IO uint32_t P02 : 1; - __IO uint32_t P03 : 1; -} stc_gpio_p0iclr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1stat_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t P14 : 1; - __IO uint32_t P15 : 1; -} stc_gpio_p1iclr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2stat_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 3; - __IO uint32_t P23 : 1; - __IO uint32_t P24 : 1; - __IO uint32_t P25 : 1; - __IO uint32_t P26 : 1; - __IO uint32_t P27 : 1; -} stc_gpio_p2iclr_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3stat_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 1; - __IO uint32_t P31 : 1; - __IO uint32_t P32 : 1; - __IO uint32_t P33 : 1; - __IO uint32_t P34 : 1; - __IO uint32_t P35 : 1; - __IO uint32_t P36 : 1; -} stc_gpio_p3iclr_field_t; - -typedef struct -{ - __IO uint32_t IESEL : 1; -} stc_gpio_ctrl0_field_t; - -typedef struct -{ - __IO uint32_t EXT_CLK_SEL : 4; - __IO uint32_t SSN_SEL : 4; - __IO uint32_t PCLK_SEL : 2; - __IO uint32_t HCLK_SEL : 2; - __IO uint32_t PCLK_EN : 1; - __IO uint32_t HCLK_EN : 1; - __IO uint32_t IR_POL : 1; -} stc_gpio_ctrl1_field_t; - -typedef struct -{ - __IO uint32_t PCA_CAP0_SEL : 2; - __IO uint32_t PCA_CAP1_SEL : 2; - __IO uint32_t PCA_CAP2_SEL : 2; - __IO uint32_t PCA_CAP3_SEL : 2; - __IO uint32_t PCA_CAP4_SEL : 2; -} stc_gpio_ctrl2_field_t; - -typedef struct -{ - __IO uint32_t TM4_B_SEL : 2; - __IO uint32_t TM5_B_SEL : 2; - __IO uint32_t TM6_B_SEL : 2; - __IO uint32_t TM4_A_SEL : 2; - __IO uint32_t TM5_A_SEL : 2; - __IO uint32_t TM6_A_SEL : 2; -} stc_gpio_ctrl3_field_t; - -typedef struct -{ - __IO uint32_t TM0_GATE_SEL : 2; - __IO uint32_t TM1_GATE_SEL : 2; - __IO uint32_t TM2_GATE_SEL : 2; - __IO uint32_t TM3_GATE_SEL : 2; -} stc_gpio_ctrl4_field_t; - -typedef struct -{ - __IO uint32_t TME : 1; -} stc_i2c_tmrun_field_t; - -typedef struct -{ - __IO uint32_t TM : 8; -} stc_i2c_tm_field_t; - -typedef struct -{ - __IO uint32_t H1M : 1; - uint32_t RESERVED1 : 1; - __IO uint32_t AA : 1; - __IO uint32_t SI : 1; - __IO uint32_t STO : 1; - __IO uint32_t STA : 1; - __IO uint32_t ENS : 1; -} stc_i2c_cr_field_t; - -typedef struct -{ - __IO uint32_t I2CDAT : 8; -} stc_i2c_data_field_t; - -typedef struct -{ - __IO uint32_t GC : 1; - __IO uint32_t I2CADR : 7; -} stc_i2c_addr_field_t; - -typedef struct -{ - __IO uint32_t I2CSTA : 8; -} stc_i2c_stat_field_t; - -typedef struct -{ - __IO uint32_t LVDEN : 1; - __IO uint32_t ACT : 1; - __IO uint32_t SOURCE_SEL : 2; - __IO uint32_t VTDS : 4; - __IO uint32_t FLTEN : 1; - __IO uint32_t DEBOUNCE_TIME : 3; - __IO uint32_t FTEN : 1; - __IO uint32_t RTEN : 1; - __IO uint32_t HTEN : 1; - __IO uint32_t IE : 1; -} stc_lvd_cr_field_t; - -typedef struct -{ - __IO uint32_t INTF : 1; -} stc_lvd_ifr_field_t; - -typedef struct -{ - __IO uint32_t CCF0 : 1; - __IO uint32_t CCF1 : 1; - __IO uint32_t CCF2 : 1; - __IO uint32_t CCF3 : 1; - __IO uint32_t CCF4 : 1; - uint32_t RESERVED5 : 1; - __IO uint32_t CR : 1; - __IO uint32_t CF : 1; -} stc_pca_ccon_field_t; - -typedef struct -{ - __IO uint32_t CFIE : 1; - __IO uint32_t CPS : 3; - uint32_t RESERVED4 : 2; - __IO uint32_t WDTE : 1; - __IO uint32_t CIDL : 1; -} stc_pca_cmod_field_t; - -typedef struct -{ - __IO uint32_t CNT :16; -} stc_pca_cnt_field_t; - -typedef struct -{ - __IO uint32_t CCF0 : 1; - __IO uint32_t CCF1 : 1; - __IO uint32_t CCF2 : 1; - __IO uint32_t CCF3 : 1; - __IO uint32_t CCF4 : 1; - uint32_t RESERVED5 : 2; - __IO uint32_t CF : 1; -} stc_pca_iclr_field_t; - -typedef struct -{ - __IO uint32_t CCIE : 1; - __IO uint32_t PWM : 1; - __IO uint32_t TOG : 1; - __IO uint32_t MAT : 1; - __IO uint32_t CAPN : 1; - __IO uint32_t CAPP : 1; - __IO uint32_t ECOM : 1; -} stc_pca_ccapm0_field_t; - -typedef struct -{ - __IO uint32_t CCIE : 1; - __IO uint32_t PWM : 1; - __IO uint32_t TOG : 1; - __IO uint32_t MAT : 1; - __IO uint32_t CAPN : 1; - __IO uint32_t CAPP : 1; - __IO uint32_t ECOM : 1; -} stc_pca_ccapm1_field_t; - -typedef struct -{ - __IO uint32_t CCIE : 1; - __IO uint32_t PWM : 1; - __IO uint32_t TOG : 1; - __IO uint32_t MAT : 1; - __IO uint32_t CAPN : 1; - __IO uint32_t CAPP : 1; - __IO uint32_t ECOM : 1; -} stc_pca_ccapm2_field_t; - -typedef struct -{ - __IO uint32_t CCIE : 1; - __IO uint32_t PWM : 1; - __IO uint32_t TOG : 1; - __IO uint32_t MAT : 1; - __IO uint32_t CAPN : 1; - __IO uint32_t CAPP : 1; - __IO uint32_t ECOM : 1; -} stc_pca_ccapm3_field_t; - -typedef struct -{ - __IO uint32_t CCIE : 1; - __IO uint32_t PWM : 1; - __IO uint32_t TOG : 1; - __IO uint32_t MAT : 1; - __IO uint32_t CAPN : 1; - __IO uint32_t CAPP : 1; - __IO uint32_t ECOM : 1; -} stc_pca_ccapm4_field_t; - -typedef struct -{ - __IO uint32_t CCAP0 : 8; -} stc_pca_ccap0h_field_t; - -typedef struct -{ - __IO uint32_t CCAP0 : 8; -} stc_pca_ccap0l_field_t; - -typedef struct -{ - __IO uint32_t CCAP1 : 8; -} stc_pca_ccap1h_field_t; - -typedef struct -{ - __IO uint32_t CCAP1 : 8; -} stc_pca_ccap1l_field_t; - -typedef struct -{ - __IO uint32_t CCAP2 : 8; -} stc_pca_ccap2h_field_t; - -typedef struct -{ - __IO uint32_t CCAP2 : 8; -} stc_pca_ccap2l_field_t; - -typedef struct -{ - __IO uint32_t CCAP3 : 8; -} stc_pca_ccap3h_field_t; - -typedef struct -{ - __IO uint32_t CCAP3 : 8; -} stc_pca_ccap3l_field_t; - -typedef struct -{ - __IO uint32_t CCAP4 : 8; -} stc_pca_ccap4h_field_t; - -typedef struct -{ - __IO uint32_t CCAP4 : 8; -} stc_pca_ccap4l_field_t; - -typedef struct -{ - __IO uint32_t CCAPO0 : 1; - __IO uint32_t CCAPO1 : 1; - __IO uint32_t CCAPO2 : 1; - __IO uint32_t CCAPO3 : 1; - __IO uint32_t CCAPO4 : 1; -} stc_pca_ccapo_field_t; - -typedef struct -{ - __IO uint32_t CCAP0 :16; -} stc_pca_ccap0_field_t; - -typedef struct -{ - __IO uint32_t CCAP1 :16; -} stc_pca_ccap1_field_t; - -typedef struct -{ - __IO uint32_t CCAP2 :16; -} stc_pca_ccap2_field_t; - -typedef struct -{ - __IO uint32_t CCAP3 :16; -} stc_pca_ccap3_field_t; - -typedef struct -{ - __IO uint32_t CCAP4 :16; -} stc_pca_ccap4_field_t; - -typedef struct -{ - __IO uint32_t CHKEN : 1; - __IO uint32_t IE : 1; -} stc_ram_cr_field_t; - -typedef struct -{ - __IO uint32_t ERRADDR :12; -} stc_ram_erraddr_field_t; - -typedef struct -{ - __IO uint32_t ERR : 1; -} stc_ram_ifr_field_t; - -typedef struct -{ - __IO uint32_t ERRCLR : 1; -} stc_ram_iclr_field_t; - -typedef struct -{ - __IO uint32_t POR5V : 1; - __IO uint32_t POR15V : 1; - __IO uint32_t LVD : 1; - __IO uint32_t WDT : 1; - __IO uint32_t PCA : 1; - __IO uint32_t LOCKUP : 1; - __IO uint32_t SYSREQ : 1; - __IO uint32_t RSTB : 1; -} stc_reset_flag_field_t; - -typedef struct -{ - __IO uint32_t UART0 : 1; - __IO uint32_t UART1 : 1; - uint32_t RESERVED2 : 2; - __IO uint32_t I2C : 1; - uint32_t RESERVED5 : 1; - __IO uint32_t SPI : 1; - uint32_t RESERVED7 : 1; - __IO uint32_t BASETIM : 1; - uint32_t RESERVED9 : 1; - __IO uint32_t ADVTIM : 1; - uint32_t RESERVED11 : 3; - __IO uint32_t PCA : 1; - uint32_t RESERVED15 : 1; - __IO uint32_t ADC : 1; - __IO uint32_t VC : 1; - uint32_t RESERVED18 : 3; - __IO uint32_t TRIM : 1; - uint32_t RESERVED22 : 2; - __IO uint32_t TICK : 1; - uint32_t RESERVED25 : 1; - __IO uint32_t CRC : 1; - uint32_t RESERVED27 : 1; - __IO uint32_t GPIO : 1; -} stc_reset_prei_field_t; - -typedef struct -{ - __IO uint32_t SPR0 : 1; - __IO uint32_t SPR1 : 1; - __IO uint32_t CPHA : 1; - __IO uint32_t CPOL : 1; - __IO uint32_t MSTR : 1; - uint32_t RESERVED5 : 1; - __IO uint32_t SPEN : 1; - __IO uint32_t SPR2 : 1; -} stc_spi_cr_field_t; - -typedef struct -{ - __IO uint32_t SSN : 1; -} stc_spi_ssn_field_t; - -typedef struct -{ - uint32_t RESERVED0 : 4; - __IO uint32_t MDF : 1; - __IO uint32_t SSERR : 1; - __IO uint32_t WCOL : 1; - __IO uint32_t SPIF : 1; -} stc_spi_stat_field_t; - -typedef struct -{ - __IO uint32_t SPDAT : 8; -} stc_spi_data_field_t; - -typedef struct -{ - __IO uint32_t SBUF : 8; -} stc_uart_sbuf_field_t; - -typedef struct -{ - __IO uint32_t RIEN : 1; - __IO uint32_t TIEN : 1; - __IO uint32_t RB8 : 1; - __IO uint32_t TB8 : 1; - __IO uint32_t REN : 1; - __IO uint32_t SM2 : 1; - __IO uint32_t SM01 : 2; - uint32_t RESERVED8 : 1; - __IO uint32_t DBAUD : 1; -} stc_uart_scon_field_t; - -typedef struct -{ - __IO uint32_t SADDR : 8; -} stc_uart_saddr_field_t; - -typedef struct -{ - __IO uint32_t SADEN : 8; -} stc_uart_saden_field_t; - -typedef struct -{ - __IO uint32_t RI : 1; - __IO uint32_t TI : 1; - __IO uint32_t FE : 1; - __IO uint32_t TE : 1; -} stc_uart_isr_field_t; - -typedef struct -{ - __IO uint32_t RICLR : 1; - __IO uint32_t TICLR : 1; - __IO uint32_t FECLR : 1; -} stc_uart_icr_field_t; - -typedef struct -{ - __IO uint32_t DIV : 6; - __IO uint32_t DIV_EN : 1; - __IO uint32_t REF2P5_SEL : 1; - __IO uint32_t VC0_BIAS_SEL : 2; - __IO uint32_t VC0_HYS_SEL : 2; - __IO uint32_t VC1_BIAS_SEL : 2; - __IO uint32_t VC1_HYS_SEL : 2; -} stc_vc_cr_field_t; - -typedef struct -{ - __IO uint32_t EN : 1; - __IO uint32_t P_SEL : 3; - __IO uint32_t N_SEL : 4; - __IO uint32_t FLTEN : 1; - __IO uint32_t DEBOUNCE_TIME : 3; - __IO uint32_t FALLING : 1; - __IO uint32_t RISING : 1; - __IO uint32_t LEVEL : 1; - __IO uint32_t IE : 1; -} stc_vc_vc0_cr_field_t; - -typedef struct -{ - __IO uint32_t EN : 1; - __IO uint32_t P_SEL : 3; - __IO uint32_t N_SEL : 4; - __IO uint32_t FLTEN : 1; - __IO uint32_t DEBOUNCE_TIME : 3; - __IO uint32_t FALLING : 1; - __IO uint32_t RISING : 1; - __IO uint32_t LEVEL : 1; - __IO uint32_t IE : 1; -} stc_vc_vc1_cr_field_t; - -typedef struct -{ - __IO uint32_t INV_TIMER : 1; - __IO uint32_t TIM0G : 1; - __IO uint32_t TIM1G : 1; - __IO uint32_t TIM2G : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t INV_PCA : 1; - __IO uint32_t PCACAP0 : 1; - __IO uint32_t PCAECI : 1; - __IO uint32_t INV_TIM4 : 1; - __IO uint32_t TIM4 : 1; - __IO uint32_t INV_TIM5 : 1; - __IO uint32_t TIM5 : 1; - __IO uint32_t INV_TIM6 : 1; - __IO uint32_t TIM6 : 1; - __IO uint32_t BRAKE : 1; -} stc_vc_vc0_out_cfg_field_t; - -typedef struct -{ - __IO uint32_t INV_TIMER : 1; - __IO uint32_t TIM0G : 1; - __IO uint32_t TIM1G : 1; - __IO uint32_t TIM2G : 1; - uint32_t RESERVED4 : 2; - __IO uint32_t INV_PCA : 1; - __IO uint32_t PCACAP0 : 1; - __IO uint32_t PCAECI : 1; - __IO uint32_t INV_TIM4 : 1; - __IO uint32_t TIM4 : 1; - __IO uint32_t INV_TIM5 : 1; - __IO uint32_t TIM5 : 1; - __IO uint32_t INV_TIM6 : 1; - __IO uint32_t TIM6 : 1; - __IO uint32_t BRAKE : 1; -} stc_vc_vc1_out_cfg_field_t; - -typedef struct -{ - __IO uint32_t VC0_INTF : 1; - __IO uint32_t VC1_INTF : 1; - __IO uint32_t VC0_FILTER : 1; - __IO uint32_t VC1_FILTER : 1; -} stc_vc_ifr_field_t; - -typedef struct -{ - __IO uint32_t WDTRST : 8; -} stc_wdt_rst_field_t; - -typedef struct -{ - __IO uint32_t WOV : 4; - __IO uint32_t WDTR : 1; - __IO uint32_t WINT_EN : 1; - uint32_t RESERVED6 : 1; - __IO uint32_t WDINT : 1; - __IO uint32_t WCNTL : 8; -} stc_wdt_con_field_t; - - -typedef struct -{ - uint8_t RESERVED0[4]; - union - { - __IO uint32_t CR0; - stc_adc_cr0_field_t CR0_f; - }; - union - { - __IO uint32_t CR1; - stc_adc_cr1_field_t CR1_f; - }; - union - { - __IO uint32_t CR2; - stc_adc_cr2_field_t CR2_f; - }; - uint8_t RESERVED3[32]; - union - { - __IO uint32_t RESULT0; - stc_adc_result0_field_t RESULT0_f; - }; - union - { - __IO uint32_t RESULT1; - stc_adc_result1_field_t RESULT1_f; - }; - union - { - __IO uint32_t RESULT2; - stc_adc_result2_field_t RESULT2_f; - }; - union - { - __IO uint32_t RESULT3; - stc_adc_result3_field_t RESULT3_f; - }; - union - { - __IO uint32_t RESULT4; - stc_adc_result4_field_t RESULT4_f; - }; - union - { - __IO uint32_t RESULT5; - stc_adc_result5_field_t RESULT5_f; - }; - union - { - __IO uint32_t RESULT6; - stc_adc_result6_field_t RESULT6_f; - }; - union - { - __IO uint32_t RESULT7; - stc_adc_result7_field_t RESULT7_f; - }; - union - { - __IO uint32_t RESULT8; - stc_adc_result8_field_t RESULT8_f; - }; - union - { - __IO uint32_t RESULT_ACC; - stc_adc_result_acc_field_t RESULT_ACC_f; - }; - union - { - __IO uint32_t HT; - stc_adc_ht_field_t HT_f; - }; - union - { - __IO uint32_t LT; - stc_adc_lt_field_t LT_f; - }; - union - { - __IO uint32_t IFR; - stc_adc_ifr_field_t IFR_f; - }; - union - { - __IO uint32_t ICLR; - stc_adc_iclr_field_t ICLR_f; - }; - union - { - __IO uint32_t RESULT; - stc_adc_result_field_t RESULT_f; - }; -}M0P_ADC_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t CNTER; - stc_adt_cnter_field_t CNTER_f; - }; - union - { - __IO uint32_t PERAR; - stc_adt_perar_field_t PERAR_f; - }; - union - { - __IO uint32_t PERBR; - stc_adt_perbr_field_t PERBR_f; - }; - uint8_t RESERVED3[4]; - union - { - __IO uint32_t GCMAR; - stc_adt_gcmar_field_t GCMAR_f; - }; - union - { - __IO uint32_t GCMBR; - stc_adt_gcmbr_field_t GCMBR_f; - }; - union - { - __IO uint32_t GCMCR; - stc_adt_gcmcr_field_t GCMCR_f; - }; - union - { - __IO uint32_t GCMDR; - stc_adt_gcmdr_field_t GCMDR_f; - }; - uint8_t RESERVED7[32]; - union - { - __IO uint32_t DTUAR; - stc_adt_dtuar_field_t DTUAR_f; - }; - union - { - __IO uint32_t DTDAR; - stc_adt_dtdar_field_t DTDAR_f; - }; - uint8_t RESERVED9[8]; - union - { - __IO uint32_t GCONR; - stc_adt_gconr_field_t GCONR_f; - }; - union - { - __IO uint32_t ICONR; - stc_adt_iconr_field_t ICONR_f; - }; - union - { - __IO uint32_t PCONR; - stc_adt_pconr_field_t PCONR_f; - }; - union - { - __IO uint32_t BCONR; - stc_adt_bconr_field_t BCONR_f; - }; - union - { - __IO uint32_t DCONR; - stc_adt_dconr_field_t DCONR_f; - }; - uint8_t RESERVED14[4]; - union - { - __IO uint32_t FCONR; - stc_adt_fconr_field_t FCONR_f; - }; - union - { - __IO uint32_t VPERR; - stc_adt_vperr_field_t VPERR_f; - }; - union - { - __IO uint32_t STFLR; - stc_adt_stflr_field_t STFLR_f; - }; - union - { - __IO uint32_t HSTAR; - stc_adt_hstar_field_t HSTAR_f; - }; - union - { - __IO uint32_t HSTPR; - stc_adt_hstpr_field_t HSTPR_f; - }; - union - { - __IO uint32_t HCELR; - stc_adt_hcelr_field_t HCELR_f; - }; - union - { - __IO uint32_t HCPAR; - stc_adt_hcpar_field_t HCPAR_f; - }; - union - { - __IO uint32_t HCPBR; - stc_adt_hcpbr_field_t HCPBR_f; - }; - union - { - __IO uint32_t HCUPR; - stc_adt_hcupr_field_t HCUPR_f; - }; - union - { - __IO uint32_t HCDOR; - stc_adt_hcdor_field_t HCDOR_f; - }; - uint8_t RESERVED24[112]; - union - { - __IO uint32_t IFR; - stc_adt_ifr_field_t IFR_f; - }; - union - { - __IO uint32_t ICLR; - stc_adt_iclr_field_t ICLR_f; - }; - union - { - __IO uint32_t CR; - stc_adt_cr_field_t CR_f; - }; - uint8_t RESERVED27[4]; - union - { - __IO uint32_t AOSSR; - stc_adt_aossr_field_t AOSSR_f; - }; - union - { - __IO uint32_t AOSCL; - stc_adt_aoscl_field_t AOSCL_f; - }; - union - { - __IO uint32_t PTBKS; - stc_adt_ptbks_field_t PTBKS_f; - }; - union - { - __IO uint32_t TTRIG; - stc_adt_ttrig_field_t TTRIG_f; - }; - union - { - __IO uint32_t ITRIG; - stc_adt_itrig_field_t ITRIG_f; - }; - union - { - __IO uint32_t PTBKP; - stc_adt_ptbkp_field_t PTBKP_f; - }; - uint8_t RESERVED33[716]; - union - { - __IO uint32_t SSTAR; - stc_adt_sstar_field_t SSTAR_f; - }; - union - { - __IO uint32_t SSTPR; - stc_adt_sstpr_field_t SSTPR_f; - }; - union - { - __IO uint32_t SCLRR; - stc_adt_sclrr_field_t SCLRR_f; - }; -}M0P_ADT_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t CR; - stc_bgr_cr_field_t CR_f; - }; -}M0P_BGR_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t ARR; - stc_bt_arr_field_t ARR_f; - }; - union - { - __IO uint32_t CNT; - stc_bt_cnt_field_t CNT_f; - }; - union - { - __IO uint32_t CNT32; - stc_bt_cnt32_field_t CNT32_f; - }; - union - { - __IO uint32_t CR; - stc_bt_cr_field_t CR_f; - }; - union - { - __IO uint32_t IFR; - stc_bt_ifr_field_t IFR_f; - }; - union - { - __IO uint32_t ICLR; - stc_bt_iclr_field_t ICLR_f; - }; -}M0P_BT_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t CR; - stc_clk_trim_cr_field_t CR_f; - }; - union - { - __IO uint32_t REFCON; - stc_clk_trim_refcon_field_t REFCON_f; - }; - union - { - __IO uint32_t REFCNT; - stc_clk_trim_refcnt_field_t REFCNT_f; - }; - union - { - __IO uint32_t CALCNT; - stc_clk_trim_calcnt_field_t CALCNT_f; - }; - union - { - __IO uint32_t IFR; - stc_clk_trim_ifr_field_t IFR_f; - }; - union - { - __IO uint32_t ICLR; - stc_clk_trim_iclr_field_t ICLR_f; - }; - union - { - __IO uint32_t CALCON; - stc_clk_trim_calcon_field_t CALCON_f; - }; -}M0P_CLK_TRIM_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t SYSCTRL0; - stc_clock_sysctrl0_field_t SYSCTRL0_f; - }; - union - { - __IO uint32_t SYSCTRL1; - stc_clock_sysctrl1_field_t SYSCTRL1_f; - }; - union - { - __IO uint32_t SYSCTRL2; - stc_clock_sysctrl2_field_t SYSCTRL2_f; - }; - union - { - __IO uint32_t RCH_CR; - stc_clock_rch_cr_field_t RCH_CR_f; - }; - union - { - __IO uint32_t XTH_CR; - stc_clock_xth_cr_field_t XTH_CR_f; - }; - union - { - __IO uint32_t RCL_CR; - stc_clock_rcl_cr_field_t RCL_CR_f; - }; - uint8_t RESERVED6[8]; - union - { - __IO uint32_t PERI_CLKEN; - stc_clock_peri_clken_field_t PERI_CLKEN_f; - }; - uint8_t RESERVED7[16]; - union - { - __IO uint32_t SYSTICK_CR; - stc_clock_systick_cr_field_t SYSTICK_CR_f; - }; - union - { - __IO uint32_t DEBUG_ACTIVE; - stc_clock_debug_active_field_t DEBUG_ACTIVE_f; - }; -}M0P_CLOCK_TypeDef; - -typedef struct -{ - uint8_t RESERVED0[4]; - union - { - __IO uint32_t RESULT; - stc_crc_result_field_t RESULT_f; - }; - uint8_t RESERVED1[120]; - union - { - __IO uint32_t DATA; - stc_crc_data_field_t DATA_f; - }; -}M0P_CRC_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t TNVS; - stc_flash_tnvs_field_t TNVS_f; - }; - union - { - __IO uint32_t TPGS; - stc_flash_tpgs_field_t TPGS_f; - }; - union - { - __IO uint32_t TPROG; - stc_flash_tprog_field_t TPROG_f; - }; - union - { - __IO uint32_t TSERASE; - stc_flash_tserase_field_t TSERASE_f; - }; - union - { - __IO uint32_t TMERASE; - stc_flash_tmerase_field_t TMERASE_f; - }; - union - { - __IO uint32_t TPRCV; - stc_flash_tprcv_field_t TPRCV_f; - }; - union - { - __IO uint32_t TSRCV; - stc_flash_tsrcv_field_t TSRCV_f; - }; - union - { - __IO uint32_t TMRCV; - stc_flash_tmrcv_field_t TMRCV_f; - }; - union - { - __IO uint32_t CR; - stc_flash_cr_field_t CR_f; - }; - union - { - __IO uint32_t IFR; - stc_flash_ifr_field_t IFR_f; - }; - union - { - __IO uint32_t ICLR; - stc_flash_iclr_field_t ICLR_f; - }; - union - { - __IO uint32_t BYPASS; - stc_flash_bypass_field_t BYPASS_f; - }; - union - { - __IO uint32_t SLOCK; - stc_flash_slock_field_t SLOCK_f; - }; -}M0P_FLASH_TypeDef; - -typedef struct -{ - uint8_t RESERVED0[4]; - union - { - __IO uint32_t P01_SEL; - stc_gpio_p01_sel_field_t P01_SEL_f; - }; - union - { - __IO uint32_t P02_SEL; - stc_gpio_p02_sel_field_t P02_SEL_f; - }; - union - { - __IO uint32_t P03_SEL; - stc_gpio_p03_sel_field_t P03_SEL_f; - }; - uint8_t RESERVED3[64]; - union - { - __IO uint32_t P14_SEL; - stc_gpio_p14_sel_field_t P14_SEL_f; - }; - union - { - __IO uint32_t P15_SEL; - stc_gpio_p15_sel_field_t P15_SEL_f; - }; - uint8_t RESERVED5[52]; - union - { - __IO uint32_t P23_SEL; - stc_gpio_p23_sel_field_t P23_SEL_f; - }; - union - { - __IO uint32_t P24_SEL; - stc_gpio_p24_sel_field_t P24_SEL_f; - }; - union - { - __IO uint32_t P25_SEL; - stc_gpio_p25_sel_field_t P25_SEL_f; - }; - union - { - __IO uint32_t P26_SEL; - stc_gpio_p26_sel_field_t P26_SEL_f; - }; - union - { - __IO uint32_t P27_SEL; - stc_gpio_p27_sel_field_t P27_SEL_f; - }; - uint8_t RESERVED10[36]; - union - { - __IO uint32_t P31_SEL; - stc_gpio_p31_sel_field_t P31_SEL_f; - }; - union - { - __IO uint32_t P32_SEL; - stc_gpio_p32_sel_field_t P32_SEL_f; - }; - union - { - __IO uint32_t P33_SEL; - stc_gpio_p33_sel_field_t P33_SEL_f; - }; - union - { - __IO uint32_t P34_SEL; - stc_gpio_p34_sel_field_t P34_SEL_f; - }; - union - { - __IO uint32_t P35_SEL; - stc_gpio_p35_sel_field_t P35_SEL_f; - }; - union - { - __IO uint32_t P36_SEL; - stc_gpio_p36_sel_field_t P36_SEL_f; - }; - uint8_t RESERVED16[36]; - union - { - __IO uint32_t P0DIR; - stc_gpio_p0dir_field_t P0DIR_f; - }; - union - { - __IO uint32_t P0IN; - stc_gpio_p0in_field_t P0IN_f; - }; - union - { - __IO uint32_t P0OUT; - stc_gpio_p0out_field_t P0OUT_f; - }; - union - { - __IO uint32_t P0ADS; - stc_gpio_p0ads_field_t P0ADS_f; - }; - uint8_t RESERVED20[12]; - union - { - __IO uint32_t P0DR; - stc_gpio_p0dr_field_t P0DR_f; - }; - union - { - __IO uint32_t P0PU; - stc_gpio_p0pu_field_t P0PU_f; - }; - union - { - __IO uint32_t P0PD; - stc_gpio_p0pd_field_t P0PD_f; - }; - uint8_t RESERVED23[4]; - union - { - __IO uint32_t P0OD; - stc_gpio_p0od_field_t P0OD_f; - }; - union - { - __IO uint32_t P0HIE; - stc_gpio_p0hie_field_t P0HIE_f; - }; - union - { - __IO uint32_t P0LIE; - stc_gpio_p0lie_field_t P0LIE_f; - }; - union - { - __IO uint32_t P0RIE; - stc_gpio_p0rie_field_t P0RIE_f; - }; - union - { - __IO uint32_t P0FIE; - stc_gpio_p0fie_field_t P0FIE_f; - }; - union - { - __IO uint32_t P1DIR; - stc_gpio_p1dir_field_t P1DIR_f; - }; - union - { - __IO uint32_t P1IN; - stc_gpio_p1in_field_t P1IN_f; - }; - union - { - __IO uint32_t P1OUT; - stc_gpio_p1out_field_t P1OUT_f; - }; - union - { - __IO uint32_t P1ADS; - stc_gpio_p1ads_field_t P1ADS_f; - }; - uint8_t RESERVED32[12]; - union - { - __IO uint32_t P1DR; - stc_gpio_p1dr_field_t P1DR_f; - }; - union - { - __IO uint32_t P1PU; - stc_gpio_p1pu_field_t P1PU_f; - }; - union - { - __IO uint32_t P1PD; - stc_gpio_p1pd_field_t P1PD_f; - }; - uint8_t RESERVED35[4]; - union - { - __IO uint32_t P1OD; - stc_gpio_p1od_field_t P1OD_f; - }; - union - { - __IO uint32_t P1HIE; - stc_gpio_p1hie_field_t P1HIE_f; - }; - union - { - __IO uint32_t P1LIE; - stc_gpio_p1lie_field_t P1LIE_f; - }; - union - { - __IO uint32_t P1RIE; - stc_gpio_p1rie_field_t P1RIE_f; - }; - union - { - __IO uint32_t P1FIE; - stc_gpio_p1fie_field_t P1FIE_f; - }; - union - { - __IO uint32_t P2DIR; - stc_gpio_p2dir_field_t P2DIR_f; - }; - union - { - __IO uint32_t P2IN; - stc_gpio_p2in_field_t P2IN_f; - }; - union - { - __IO uint32_t P2OUT; - stc_gpio_p2out_field_t P2OUT_f; - }; - union - { - __IO uint32_t P2ADS; - stc_gpio_p2ads_field_t P2ADS_f; - }; - uint8_t RESERVED44[12]; - union - { - __IO uint32_t P2DR; - stc_gpio_p2dr_field_t P2DR_f; - }; - union - { - __IO uint32_t P2PU; - stc_gpio_p2pu_field_t P2PU_f; - }; - union - { - __IO uint32_t P2PD; - stc_gpio_p2pd_field_t P2PD_f; - }; - uint8_t RESERVED47[4]; - union - { - __IO uint32_t P2OD; - stc_gpio_p2od_field_t P2OD_f; - }; - union - { - __IO uint32_t P2HIE; - stc_gpio_p2hie_field_t P2HIE_f; - }; - union - { - __IO uint32_t P2LIE; - stc_gpio_p2lie_field_t P2LIE_f; - }; - union - { - __IO uint32_t P2RIE; - stc_gpio_p2rie_field_t P2RIE_f; - }; - union - { - __IO uint32_t P2FIE; - stc_gpio_p2fie_field_t P2FIE_f; - }; - union - { - __IO uint32_t P3DIR; - stc_gpio_p3dir_field_t P3DIR_f; - }; - union - { - __IO uint32_t P3IN; - stc_gpio_p3in_field_t P3IN_f; - }; - union - { - __IO uint32_t P3OUT; - stc_gpio_p3out_field_t P3OUT_f; - }; - union - { - __IO uint32_t P3ADS; - stc_gpio_p3ads_field_t P3ADS_f; - }; - uint8_t RESERVED56[12]; - union - { - __IO uint32_t P3DR; - stc_gpio_p3dr_field_t P3DR_f; - }; - union - { - __IO uint32_t P3PU; - stc_gpio_p3pu_field_t P3PU_f; - }; - union - { - __IO uint32_t P3PD; - stc_gpio_p3pd_field_t P3PD_f; - }; - uint8_t RESERVED59[4]; - union - { - __IO uint32_t P3OD; - stc_gpio_p3od_field_t P3OD_f; - }; - union - { - __IO uint32_t P3HIE; - stc_gpio_p3hie_field_t P3HIE_f; - }; - union - { - __IO uint32_t P3LIE; - stc_gpio_p3lie_field_t P3LIE_f; - }; - union - { - __IO uint32_t P3RIE; - stc_gpio_p3rie_field_t P3RIE_f; - }; - union - { - __IO uint32_t P3FIE; - stc_gpio_p3fie_field_t P3FIE_f; - }; - union - { - __IO uint32_t P0STAT; - stc_gpio_p0stat_field_t P0STAT_f; - }; - uint8_t RESERVED65[12]; - union - { - __IO uint32_t P0ICLR; - stc_gpio_p0iclr_field_t P0ICLR_f; - }; - uint8_t RESERVED66[44]; - union - { - __IO uint32_t P1STAT; - stc_gpio_p1stat_field_t P1STAT_f; - }; - uint8_t RESERVED67[12]; - union - { - __IO uint32_t P1ICLR; - stc_gpio_p1iclr_field_t P1ICLR_f; - }; - uint8_t RESERVED68[44]; - union - { - __IO uint32_t P2STAT; - stc_gpio_p2stat_field_t P2STAT_f; - }; - uint8_t RESERVED69[12]; - union - { - __IO uint32_t P2ICLR; - stc_gpio_p2iclr_field_t P2ICLR_f; - }; - uint8_t RESERVED70[44]; - union - { - __IO uint32_t P3STAT; - stc_gpio_p3stat_field_t P3STAT_f; - }; - uint8_t RESERVED71[12]; - union - { - __IO uint32_t P3ICLR; - stc_gpio_p3iclr_field_t P3ICLR_f; - }; - uint8_t RESERVED72[44]; - union - { - __IO uint32_t CTRL0; - stc_gpio_ctrl0_field_t CTRL0_f; - }; - union - { - __IO uint32_t CTRL1; - stc_gpio_ctrl1_field_t CTRL1_f; - }; - union - { - __IO uint32_t CTRL2; - stc_gpio_ctrl2_field_t CTRL2_f; - }; - union - { - __IO uint32_t CTRL3; - stc_gpio_ctrl3_field_t CTRL3_f; - }; - union - { - __IO uint32_t CTRL4; - stc_gpio_ctrl4_field_t CTRL4_f; - }; -}M0P_GPIO_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t TMRUN; - stc_i2c_tmrun_field_t TMRUN_f; - }; - union - { - __IO uint32_t TM; - stc_i2c_tm_field_t TM_f; - }; - union - { - __IO uint32_t CR; - stc_i2c_cr_field_t CR_f; - }; - union - { - __IO uint32_t DATA; - stc_i2c_data_field_t DATA_f; - }; - union - { - __IO uint32_t ADDR; - stc_i2c_addr_field_t ADDR_f; - }; - union - { - __IO uint32_t STAT; - stc_i2c_stat_field_t STAT_f; - }; -}M0P_I2C_TypeDef; - -typedef struct -{ - uint8_t RESERVED0[40]; - union - { - __IO uint32_t CR; - stc_lvd_cr_field_t CR_f; - }; - union - { - __IO uint32_t IFR; - stc_lvd_ifr_field_t IFR_f; - }; -}M0P_LVD_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t CCON; - stc_pca_ccon_field_t CCON_f; - }; - union - { - __IO uint32_t CMOD; - stc_pca_cmod_field_t CMOD_f; - }; - union - { - __IO uint32_t CNT; - stc_pca_cnt_field_t CNT_f; - }; - union - { - __IO uint32_t ICLR; - stc_pca_iclr_field_t ICLR_f; - }; - union - { - __IO uint32_t CCAPM0; - stc_pca_ccapm0_field_t CCAPM0_f; - }; - union - { - __IO uint32_t CCAPM1; - stc_pca_ccapm1_field_t CCAPM1_f; - }; - union - { - __IO uint32_t CCAPM2; - stc_pca_ccapm2_field_t CCAPM2_f; - }; - union - { - __IO uint32_t CCAPM3; - stc_pca_ccapm3_field_t CCAPM3_f; - }; - union - { - __IO uint32_t CCAPM4; - stc_pca_ccapm4_field_t CCAPM4_f; - }; - union - { - __IO uint32_t CCAP0H; - stc_pca_ccap0h_field_t CCAP0H_f; - }; - union - { - __IO uint32_t CCAP0L; - stc_pca_ccap0l_field_t CCAP0L_f; - }; - union - { - __IO uint32_t CCAP1H; - stc_pca_ccap1h_field_t CCAP1H_f; - }; - union - { - __IO uint32_t CCAP1L; - stc_pca_ccap1l_field_t CCAP1L_f; - }; - union - { - __IO uint32_t CCAP2H; - stc_pca_ccap2h_field_t CCAP2H_f; - }; - union - { - __IO uint32_t CCAP2L; - stc_pca_ccap2l_field_t CCAP2L_f; - }; - union - { - __IO uint32_t CCAP3H; - stc_pca_ccap3h_field_t CCAP3H_f; - }; - union - { - __IO uint32_t CCAP3L; - stc_pca_ccap3l_field_t CCAP3L_f; - }; - union - { - __IO uint32_t CCAP4H; - stc_pca_ccap4h_field_t CCAP4H_f; - }; - union - { - __IO uint32_t CCAP4L; - stc_pca_ccap4l_field_t CCAP4L_f; - }; - union - { - __IO uint32_t CCAPO; - stc_pca_ccapo_field_t CCAPO_f; - }; - union - { - __IO uint32_t CCAP0; - stc_pca_ccap0_field_t CCAP0_f; - }; - union - { - __IO uint32_t CCAP1; - stc_pca_ccap1_field_t CCAP1_f; - }; - union - { - __IO uint32_t CCAP2; - stc_pca_ccap2_field_t CCAP2_f; - }; - union - { - __IO uint32_t CCAP3; - stc_pca_ccap3_field_t CCAP3_f; - }; - union - { - __IO uint32_t CCAP4; - stc_pca_ccap4_field_t CCAP4_f; - }; -}M0P_PCA_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t CR; - stc_ram_cr_field_t CR_f; - }; - union - { - __IO uint32_t ERRADDR; - stc_ram_erraddr_field_t ERRADDR_f; - }; - union - { - __IO uint32_t IFR; - stc_ram_ifr_field_t IFR_f; - }; - union - { - __IO uint32_t ICLR; - stc_ram_iclr_field_t ICLR_f; - }; -}M0P_RAM_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t RESET_FLAG; - stc_reset_flag_field_t RESET_FLAG_f; - }; - uint8_t RESERVED1[8]; - union - { - __IO uint32_t PREI_RESET; - stc_reset_prei_field_t PREI_RESET_f; - }; -}M0P_RESET_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t CR; - stc_spi_cr_field_t CR_f; - }; - union - { - __IO uint32_t SSN; - stc_spi_ssn_field_t SSN_f; - }; - union - { - __IO uint32_t STAT; - stc_spi_stat_field_t STAT_f; - }; - union - { - __IO uint32_t DATA; - stc_spi_data_field_t DATA_f; - }; -}M0P_SPI_TypeDef; - -typedef struct -{ - union - { - __IO uint32_t SBUF; - stc_uart_sbuf_field_t SBUF_f; - }; - union - { - __IO uint32_t SCON; - stc_uart_scon_field_t SCON_f; - }; - union - { - __IO uint32_t SADDR; - stc_uart_saddr_field_t SADDR_f; - }; - union - { - __IO uint32_t SADEN; - stc_uart_saden_field_t SADEN_f; - }; - union - { - __IO uint32_t ISR; - stc_uart_isr_field_t ISR_f; - }; - union - { - __IO uint32_t ICR; - stc_uart_icr_field_t ICR_f; - }; -}M0P_UART_TypeDef; - -typedef struct -{ - uint8_t RESERVED0[16]; - union - { - __IO uint32_t CR; - stc_vc_cr_field_t CR_f; - }; - union - { - __IO uint32_t VC0_CR; - stc_vc_vc0_cr_field_t VC0_CR_f; - }; - union - { - __IO uint32_t VC1_CR; - stc_vc_vc1_cr_field_t VC1_CR_f; - }; - union - { - __IO uint32_t VC0_OUT_CFG; - stc_vc_vc0_out_cfg_field_t VC0_OUT_CFG_f; - }; - union - { - __IO uint32_t VC1_OUT_CFG; - stc_vc_vc1_out_cfg_field_t VC1_OUT_CFG_f; - }; - union - { - __IO uint32_t IFR; - stc_vc_ifr_field_t IFR_f; - }; -}M0P_VC_TypeDef; - -typedef struct -{ - uint8_t RESERVED0[128]; - union - { - __IO uint32_t RST; - stc_wdt_rst_field_t RST_f; - }; - union - { - __IO uint32_t CON; - stc_wdt_con_field_t CON_f; - }; -}M0P_WDT_TypeDef; - - - -#define M0P_PERIPH_BASE (0x40000000UL) -#define M0P_ADC_BASE (M0P_PERIPH_BASE + 0x00002400UL) -#define M0P_ADT0_BASE (M0P_PERIPH_BASE + 0x00003000UL) -#define M0P_ADT1_BASE (M0P_PERIPH_BASE + 0x00003400UL) -#define M0P_ADT2_BASE (M0P_PERIPH_BASE + 0x00003800UL) -#define M0P_BGR_BASE (M0P_PERIPH_BASE + 0x00002400UL) -#define M0P_BT0_BASE (M0P_PERIPH_BASE + 0x00000C00UL) -#define M0P_BT1_BASE (M0P_PERIPH_BASE + 0x00000C20UL) -#define M0P_BT2_BASE (M0P_PERIPH_BASE + 0x00000C40UL) -#define M0P_CLK_TRIM_BASE (M0P_PERIPH_BASE + 0x00001800UL) -#define M0P_CLOCK_BASE (M0P_PERIPH_BASE + 0x00002000UL) -#define M0P_CRC_BASE (M0P_PERIPH_BASE + 0x00020900UL) -#define M0P_FLASH_BASE (M0P_PERIPH_BASE + 0x00020000UL) -#define M0P_GPIO_BASE (M0P_PERIPH_BASE + 0x00020C00UL) -#define M0P_I2C_BASE (M0P_PERIPH_BASE + 0x00000400UL) -#define M0P_LVD_BASE (M0P_PERIPH_BASE + 0x00002400UL) -#define M0P_PCA_BASE (M0P_PERIPH_BASE + 0x00001000UL) -#define M0P_RAM_BASE (M0P_PERIPH_BASE + 0x00020400UL) -#define M0P_RESET_BASE (M0P_PERIPH_BASE + 0x0000201CUL) -#define M0P_SPI_BASE (M0P_PERIPH_BASE + 0x00000800UL) -#define M0P_UART0_BASE (M0P_PERIPH_BASE + 0x00000000UL) -#define M0P_UART1_BASE (M0P_PERIPH_BASE + 0x00000100UL) -#define M0P_VC_BASE (M0P_PERIPH_BASE + 0x00002400UL) -#define M0P_WDT_BASE (M0P_PERIPH_BASE + 0x00000C00UL) - - -#define M0P_ADC ((M0P_ADC_TypeDef *)0x40002400UL) -#define M0P_ADT0 ((M0P_ADT_TypeDef *)0x40003000UL) -#define M0P_ADT1 ((M0P_ADT_TypeDef *)0x40003400UL) -#define M0P_ADT2 ((M0P_ADT_TypeDef *)0x40003800UL) -#define M0P_BGR ((M0P_BGR_TypeDef *)0x40002400UL) -#define M0P_BT0 ((M0P_BT_TypeDef *)0x40000C00UL) -#define M0P_BT1 ((M0P_BT_TypeDef *)0x40000C20UL) -#define M0P_BT2 ((M0P_BT_TypeDef *)0x40000C40UL) -#define M0P_CLK_TRIM ((M0P_CLK_TRIM_TypeDef *)0x40001800UL) -#define M0P_CLOCK ((M0P_CLOCK_TypeDef *)0x40002000UL) -#define M0P_CRC ((M0P_CRC_TypeDef *)0x40020900UL) -#define M0P_FLASH ((M0P_FLASH_TypeDef *)0x40020000UL) -#define M0P_GPIO ((M0P_GPIO_TypeDef *)0x40020C00UL) -#define M0P_I2C ((M0P_I2C_TypeDef *)0x40000400UL) -#define M0P_LVD ((M0P_LVD_TypeDef *)0x40002400UL) -#define M0P_PCA ((M0P_PCA_TypeDef *)0x40001000UL) -#define M0P_RAM ((M0P_RAM_TypeDef *)0x40020400UL) -#define M0P_RESET ((M0P_RESET_TypeDef *)0x4000201CUL) -#define M0P_SPI ((M0P_SPI_TypeDef *)0x40000800UL) -#define M0P_UART0 ((M0P_UART_TypeDef *)0x40000000UL) -#define M0P_UART1 ((M0P_UART_TypeDef *)0x40000100UL) -#define M0P_VC ((M0P_VC_TypeDef *)0x40002400UL) -#define M0P_WDT ((M0P_WDT_TypeDef *)0x40000C00UL) - - -#ifdef __cplusplus -} -#endif - -#endif /* __HC32F005C6UA_H__ */ -//Q群:164973950 -//TEL:024-85718900 - diff --git a/src/template/common/system_hc32f005c6ua.c b/src/template/common/system_hc32f005c6ua.c deleted file mode 100644 index 1e6a53a..0000000 --- a/src/template/common/system_hc32f005c6ua.c +++ /dev/null @@ -1,106 +0,0 @@ -/******************************************************************************* -* Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -* -* This software is owned and published by: -* Huada Semiconductor Co.,Ltd ("HDSC"). -* -* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -* -* This software contains source code for use with HDSC -* components. This software is licensed by HDSC to be adapted only -* for use in systems utilizing HDSC components. HDSC shall not be -* responsible for misuse or illegal use of this software for devices not -* supported herein. HDSC is providing this software "AS IS" and will -* not be responsible for issues arising from incorrect user implementation -* of the software. -* -* Disclaimer: -* HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -* WARRANTY OF NONINFRINGEMENT. -* HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -* SAVINGS OR PROFITS, -* EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -* FROM, THE SOFTWARE. -* -* This software may be replicated in part or whole for the licensed use, -* with the restriction that this Disclaimer and Copyright notice must be -* included with each copy of this software, whether used in part or whole, -* at all times. -*/ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/** \file system_hc32f005c6ua.c - ** - ** System clock initialization. - ** @link SampleGroup Some description @endlink - ** - ** - 2017-10-31 1.0 Lux First version. - ** - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Include files */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#include "base_types.h" -#include "hc32f005c6ua.h" -#include "system_hc32f005c6ua.h" - -/** - ****************************************************************************** - ** System Clock Frequency (Core Clock) Variable according CMSIS - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -uint32_t SystemCoreClock; - - -//add clock source. -void SystemCoreClockUpdate (void) // Update SystemCoreClock variable -{ - SystemCoreClock = 4000000; -} - -/** - ****************************************************************************** - ** \brief Setup the microcontroller system. Initialize the System and update - ** the SystemCoreClock variable. - ** - ** \param none - ** \return none - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -void SystemInit(void) -{ - // TODO load trim from flash - //hcr 4MHz manual trim. - M0P_CLOCK->RCH_CR_f.TRIM = (*((volatile uint16_t*) (0x00100C08ul))); //Loader 4MHz Trimming value - - SystemCoreClockUpdate(); - -} - - diff --git a/src/template/common/system_hc32f005c6ua.h b/src/template/common/system_hc32f005c6ua.h deleted file mode 100644 index f608190..0000000 --- a/src/template/common/system_hc32f005c6ua.h +++ /dev/null @@ -1,148 +0,0 @@ -/******************************************************************************* -* Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -* -* This software is owned and published by: -* Huada Semiconductor Co.,Ltd ("HDSC"). -* -* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -* -* This software contains source code for use with HDSC -* components. This software is licensed by HDSC to be adapted only -* for use in systems utilizing HDSC components. HDSC shall not be -* responsible for misuse or illegal use of this software for devices not -* supported herein. HDSC is providing this software "AS IS" and will -* not be responsible for issues arising from incorrect user implementation -* of the software. -* -* Disclaimer: -* HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -* WARRANTY OF NONINFRINGEMENT. -* HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -* SAVINGS OR PROFITS, -* EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -* FROM, THE SOFTWARE. -* -* This software may be replicated in part or whole for the licensed use, -* with the restriction that this Disclaimer and Copyright notice must be -* included with each copy of this software, whether used in part or whole, -* at all times. -*/ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/** \file system_hc32f005c6ua.h - ** - ** A detailed description is available at - ** @link SampleGroup Some description @endlink - ** - ** - 2017-10-31 1.0 Lux First version. - ** - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -#ifndef __SYSTEM_HC32F005C6UA_H__ -#define __SYSTEM_HC32F005C6UA_H__ - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Include files */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Global pre-processor symbols/macros ('define') */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#define HWWD_DISABLE (1) - - - -/** - ****************************************************************************** - ** \brief Clock Setup macro definition - ** - ** - 0: CLOCK_SETTING_NONE - User provides own clock setting in application - ** - 1: CLOCK_SETTING_CMSIS - - ******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -#define CLOCK_SETTING_NONE 0u -#define CLOCK_SETTING_CMSIS 1u - - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* */ -//Q群:164973950 -//TEL:024-85718900 -/* START OF USER SETTINGS HERE */ -//Q群:164973950 -//TEL:024-85718900 -/* =========================== */ -//Q群:164973950 -//TEL:024-85718900 -/* */ -//Q群:164973950 -//TEL:024-85718900 -/* All lines with '<<<' can be set by user. */ -//Q群:164973950 -//TEL:024-85718900 -/* */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 -/* Global function prototypes ('extern', definition in C source) */ -//Q群:164973950 -//TEL:024-85718900 -/******************************************************************************/ -//Q群:164973950 -//TEL:024-85718900 - - -extern uint32_t SystemCoreClock; // System Clock Frequency (Core Clock) -extern void SystemInit (void); // Initialize the system -extern void SystemCoreClockUpdate (void); // Update SystemCoreClock variable - -#ifdef __cplusplus -} -#endif - -#endif /* _SYSTEM_HC32F005C6UA_H_ */ -//Q群:164973950 -//TEL:024-85718900 diff --git a/src/template/example/EWARM/.gitignore b/src/template/example/EWARM/.gitignore deleted file mode 100644 index dbc0670..0000000 --- a/src/template/example/EWARM/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -*.dep -*.log -*.ewt -*.ewd -out/ -Debug/ -Release/ -settings/ -*.pyc -.pio/ -.vscode/ diff --git a/src/template/example/EWARM/HC32F005C6UA.ewp b/src/template/example/EWARM/HC32F005C6UA.ewp deleted file mode 100644 index 8722bb5..0000000 --- a/src/template/example/EWARM/HC32F005C6UA.ewp +++ /dev/null @@ -1,1938 +0,0 @@ - - - - 2 - - Release - - ARM - - 0 - - General - 3 - - 24 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 31 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 9 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 0 - - - - - - - - - CUSTOM - 3 - - - - 0 - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 17 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 - 0 - - - - - - - BILINK - 0 - - - - - debug - - ARM - - 0 - - General - 3 - - 24 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ICCARM - 2 - - 31 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AARM - 2 - - 9 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OBJCOPY - 0 - - 1 - 1 - 0 - - - - - - - - - CUSTOM - 3 - - - - 0 - - - - BICOMP - 0 - - - - BUILDACTION - 1 - - - - - - - ILINK - 0 - - 17 - 1 - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - IARCHIVE - 0 - - 0 - 1 - 0 - - - - - - - BILINK - 0 - - - - - common - - $PROJ_DIR$\..\..\common\system_hc32f005c6ua.c - - - $PROJ_DIR$\startup_hc32f005c6ua.s - - - - source - - $PROJ_DIR$\..\source\main.c - - - - - diff --git a/src/template/example/EWARM/HC32F005C6UA.eww b/src/template/example/EWARM/HC32F005C6UA.eww deleted file mode 100644 index 8680932..0000000 --- a/src/template/example/EWARM/HC32F005C6UA.eww +++ /dev/null @@ -1,10 +0,0 @@ - - - - - $WS_DIR$\hc32f005c6ua.ewp - - - - - diff --git a/src/template/example/EWARM/hc32f005c6ua.svd b/src/template/example/EWARM/hc32f005c6ua.svd deleted file mode 100644 index 9410657..0000000 --- a/src/template/example/EWARM/hc32f005c6ua.svd +++ /dev/null @@ -1,9170 +0,0 @@ - - - HDSC Co.Ltd - HDSC - HDSC_HC32F005C6UA - ARMCM0P - 1.2 - - CM0 - r0p0 - little - false - false - 3 - false - - 8 - 32 - 32 - read-write - 0x0 - 0x0 - - - ADC - desc ADC - 0x40002400 - - 0x0 - 0x74 - - - - CR0 - desc CR0 - 0x4 - 32 - read-write - 0x13F0 - 0x5FFF - - - ADCEN - desc ADCEN - 0 - 0 - read-write - - - START - desc START - 1 - 1 - read-write - - - CLKSEL - desc CLKSEL - 3 - 2 - read-write - - - SEL - desc SEL - 7 - 4 - read-write - - - SREF - desc SREF - 9 - 8 - read-write - - - BUFEN - desc BUFEN - 10 - 10 - read-write - - - SAM - desc SAM - 12 - 11 - read-write - - - IE - desc IE - 14 - 14 - read-write - - - STATERST - desc STATERST - 15 - 15 - read-write - - - - - CR1 - desc CR1 - 0x8 - 32 - read-write - 0x7000 - 0xFFFF - - - TRIGS0 - desc TRIGS0 - 4 - 0 - read-write - - - TRIGS1 - desc TRIGS1 - 9 - 5 - read-write - - - CT - desc CT - 10 - 10 - read-write - - - RACC_EN - desc RACC_EN - 11 - 11 - read-write - - - LTCMP - desc LTCMP - 12 - 12 - read-write - - - HTCMP - desc HTCMP - 13 - 13 - read-write - - - REGCMP - desc REGCMP - 14 - 14 - read-write - - - RACC_CLR - desc RACC_CLR - 15 - 15 - read-write - - - - - CR2 - desc CR2 - 0xC - 32 - read-write - 0x0 - 0xFFFF - - - CH0EN - desc CH0EN - 0 - 0 - read-write - - - CH1EN - desc CH1EN - 1 - 1 - read-write - - - CH2EN - desc CH2EN - 2 - 2 - read-write - - - CH3EN - desc CH3EN - 3 - 3 - read-write - - - CH4EN - desc CH4EN - 4 - 4 - read-write - - - CH5EN - desc CH5EN - 5 - 5 - read-write - - - CH6EN - desc CH6EN - 6 - 6 - read-write - - - CH7EN - desc CH7EN - 7 - 7 - read-write - - - ADCCNT - desc ADCCNT - 15 - 8 - read-write - - - - - RESULT0 - desc RESULT0 - 0x30 - 32 - read-only - 0x0 - 0xFFF - - - RESULT0 - desc RESULT0 - 11 - 0 - read-only - - - - - RESULT1 - desc RESULT1 - 0x34 - 32 - read-only - 0x0 - 0xFFF - - - RESULT1 - desc RESULT1 - 11 - 0 - read-only - - - - - RESULT2 - desc RESULT2 - 0x38 - 32 - read-only - 0x0 - 0xFFF - - - RESULT2 - desc RESULT2 - 11 - 0 - read-only - - - - - RESULT3 - desc RESULT3 - 0x3C - 32 - read-only - 0x0 - 0xFFF - - - RESULT3 - desc RESULT3 - 11 - 0 - read-only - - - - - RESULT4 - desc RESULT4 - 0x40 - 32 - read-only - 0x0 - 0xFFF - - - RESULT4 - desc RESULT4 - 11 - 0 - read-only - - - - - RESULT5 - desc RESULT5 - 0x44 - 32 - read-only - 0x0 - 0xFFF - - - RESULT5 - desc RESULT5 - 11 - 0 - read-only - - - - - RESULT6 - desc RESULT6 - 0x48 - 32 - read-only - 0x0 - 0xFFF - - - RESULT6 - desc RESULT6 - 11 - 0 - read-only - - - - - RESULT7 - desc RESULT7 - 0x4C - 32 - read-only - 0x0 - 0xFFF - - - RESULT7 - desc RESULT7 - 11 - 0 - read-only - - - - - RESULT8 - desc RESULT8 - 0x50 - 32 - read-only - 0x0 - 0xFFF - - - RESULT8 - desc RESULT8 - 11 - 0 - read-only - - - - - RESULT_ACC - desc RESULT_ACC - 0x54 - 32 - read-only - 0x0 - 0xFFFFF - - - RESULT_ACC - desc RESULT_ACC - 19 - 0 - read-only - - - - - HT - desc HT - 0x58 - 32 - read-only - 0xFFF - 0xFFF - - - HT - desc HT - 11 - 0 - read-only - - - - - LT - desc LT - 0x5C - 32 - read-only - 0x0 - 0xFFF - - - LT - desc LT - 11 - 0 - read-only - - - - - IFR - desc IFR - 0x60 - 32 - read-only - 0x0 - 0xF - - - LLT_INTF - desc LLT_INTF - 0 - 0 - read-only - - - HHT_INTF - desc HHT_INTF - 1 - 1 - read-only - - - REG_INTF - desc REG_INTF - 2 - 2 - read-only - - - CONT_INTF - desc CONT_INTF - 3 - 3 - read-only - - - - - ICLR - desc ICLR - 0x64 - 32 - write-only - 0x4 - 0xF - - - LLT_INTC - desc LLT_INTC - 0 - 0 - write-only - - - HHT_INTC - desc HHT_INTC - 1 - 1 - write-only - - - REG_INTC - desc REG_INTC - 2 - 2 - write-only - - - CONT_INTC - desc CONT_INTC - 3 - 3 - write-only - - - - - RESULT - desc RESULT - 0x68 - 32 - read-only - 0x0 - 0xFFF - - - RESULT - desc RESULT - 11 - 0 - read-only - - - - - - - ADT0 - desc ADT - 0x40003000 - - 0x0 - 0x400 - - - - CNTER - desc CNTER - 0x0 - 32 - read-write - 0x0 - 0xFFFF - - - CNT - desc CNT - 15 - 0 - read-write - - - - - PERAR - desc PERAR - 0x4 - 32 - read-write - 0xFFFF - 0xFFFF - - - PERA - desc PERA - 15 - 0 - read-write - - - - - PERBR - desc PERBR - 0x8 - 32 - read-write - 0xFFFF - 0xFFFF - - - PERB - desc PERB - 15 - 0 - read-write - - - - - GCMAR - desc GCMAR - 0x10 - 32 - read-write - 0xFFFF - 0xFFFF - - - GCMA - desc GCMA - 15 - 0 - read-write - - - - - GCMBR - desc GCMBR - 0x14 - 32 - read-write - 0xFFFF - 0xFFFF - - - GCMB - desc GCMB - 15 - 0 - read-write - - - - - GCMCR - desc GCMCR - 0x18 - 32 - read-write - 0xFFFF - 0xFFFF - - - GCMC - desc GCMC - 15 - 0 - read-write - - - - - GCMDR - desc GCMDR - 0x1C - 32 - read-write - 0xFFFF - 0xFFFF - - - GCMD - desc GCMD - 15 - 0 - read-write - - - - - DTUAR - desc DTUAR - 0x40 - 32 - read-write - 0xFFFF - 0xFFFF - - - DTUA - desc DTUA - 15 - 0 - read-write - - - - - DTDAR - desc DTDAR - 0x44 - 32 - read-write - 0xFFFF - 0xFFFF - - - DTDA - desc DTDA - 15 - 0 - read-write - - - - - GCONR - desc GCONR - 0x50 - 32 - read-write - 0x100 - 0xF017F - - - START - desc START - 0 - 0 - read-write - - - MODE - desc MODE - 3 - 1 - read-write - - - CKDIV - desc CKDIV - 6 - 4 - read-write - - - DIR - desc DIR - 8 - 8 - read-write - - - ZMSKREV - desc ZMSKREV - 16 - 16 - read-write - - - ZMSKPOS - desc ZMSKPOS - 17 - 17 - read-write - - - ZMSK - desc ZMSK - 19 - 18 - read-write - - - - - ICONR - desc ICONR - 0x54 - 32 - read-write - 0x0 - 0xC1CF - - - INTENA - desc INTENA - 0 - 0 - read-write - - - INTENB - desc INTENB - 1 - 1 - read-write - - - INTENC - desc INTENC - 2 - 2 - read-write - - - INTEND - desc INTEND - 3 - 3 - read-write - - - INTENOVF - desc INTENOVF - 6 - 6 - read-write - - - INTENUDF - desc INTENUDF - 7 - 7 - read-write - - - INTENDE - desc INTENDE - 8 - 8 - read-write - - - - - PCONR - desc PCONR - 0x58 - 32 - read-write - 0x0 - 0x1FFF1FFF - - - CAPCA - desc CAPCA - 0 - 0 - read-write - - - STACA - desc STACA - 1 - 1 - read-write - - - STPCA - desc STPCA - 2 - 2 - read-write - - - STASTPSA - desc STASTPSA - 3 - 3 - read-write - - - CMPCA - desc CMPCA - 5 - 4 - read-write - - - PERCA - desc PERCA - 7 - 6 - read-write - - - OUTENA - desc OUTENA - 8 - 8 - read-write - - - DISSELA - desc DISSELA - 10 - 9 - read-write - - - DISVALA - desc DISVALA - 12 - 11 - read-write - - - CAPCB - desc CAPCB - 16 - 16 - read-write - - - STACB - desc STACB - 17 - 17 - read-write - - - STPCB - desc STPCB - 18 - 18 - read-write - - - STASTPSB - desc STASTPSB - 19 - 19 - read-write - - - CMPCB - desc CMPCB - 21 - 20 - read-write - - - PERCB - desc PERCB - 23 - 22 - read-write - - - OUTENB - desc OUTENB - 24 - 24 - read-write - - - DISSELB - desc DISSELB - 26 - 25 - read-write - - - DISVALB - desc DISVALB - 28 - 27 - read-write - - - - - BCONR - desc BCONR - 0x5C - 32 - read-write - 0x0 - 0x185 - - - BENA - desc BENA - 0 - 0 - read-write - - - BENB - desc BENB - 2 - 2 - read-write - - - BENP - desc BENP - 8 - 8 - read-write - - - - - DCONR - desc DCONR - 0x60 - 32 - read-write - 0x0 - 0x101 - - - DTCEN - desc DTCEN - 0 - 0 - read-write - - - SEPA - desc SEPA - 8 - 8 - read-write - - - - - FCONR - desc FCONR - 0x68 - 32 - read-write - 0x0 - 0x77770077 - - - NOFIENGA - desc NOFIENGA - 0 - 0 - read-write - - - NOFICKGA - desc NOFICKGA - 2 - 1 - read-write - - - NOFIENGB - desc NOFIENGB - 4 - 4 - read-write - - - NOFICKGB - desc NOFICKGB - 6 - 5 - read-write - - - NOFIENTA - desc NOFIENTA - 16 - 16 - read-write - - - NOFICKTA - desc NOFICKTA - 18 - 17 - read-write - - - NOFIENTB - desc NOFIENTB - 20 - 20 - read-write - - - NOFICKTB - desc NOFICKTB - 22 - 21 - read-write - - - NOFIENTC - desc NOFIENTC - 24 - 24 - read-write - - - NOFICKTC - desc NOFICKTC - 26 - 25 - read-write - - - NOFIENTD - desc NOFIENTD - 28 - 28 - read-write - - - NOFICKTD - desc NOFICKTD - 30 - 29 - read-write - - - - - VPERR - desc VPERR - 0x6C - 32 - read-write - 0x0 - 0x1F000F - - - GEPERIA - desc GEPERIA - 0 - 0 - read-write - - - GEPERIB - desc GEPERIB - 1 - 1 - read-write - - - GEPERIC - desc GEPERIC - 2 - 2 - read-write - - - GEPERID - desc GEPERID - 3 - 3 - read-write - - - PCNTE - desc PCNTE - 17 - 16 - read-write - - - PCNTS - desc PCNTS - 20 - 18 - read-write - - - - - STFLR - desc STFLR - 0x70 - 32 - read-write - 0x0 - 0x80CE001CF - - - CMAF - desc CMAF - 0 - 0 - read-write - - - CMBF - desc CMBF - 1 - 1 - read-write - - - CMCF - desc CMCF - 2 - 2 - read-write - - - CMDF - desc CMDF - 3 - 3 - read-write - - - OVFF - desc OVFF - 6 - 6 - read-write - - - UDFF - desc UDFF - 7 - 7 - read-write - - - DTEF - desc DTEF - 8 - 8 - read-write - - - VPERNUM - desc VPERNUM - 23 - 21 - read-only - - - DIRF - desc DIRF - 31 - 31 - read-only - - - - - HSTAR - desc HSTAR - 0x74 - 32 - read-write - 0x0 - 0x8000FFFF - - - HSTA0 - desc HSTA0 - 0 - 0 - read-write - - - HSTA1 - desc HSTA1 - 1 - 1 - read-write - - - HSTA2 - desc HSTA2 - 2 - 2 - read-write - - - HSTA3 - desc HSTA3 - 3 - 3 - read-write - - - HSTA4 - desc HSTA4 - 4 - 4 - read-write - - - HSTA5 - desc HSTA5 - 5 - 5 - read-write - - - HSTA6 - desc HSTA6 - 6 - 6 - read-write - - - HSTA7 - desc HSTA7 - 7 - 7 - read-write - - - HSTA8 - desc HSTA8 - 8 - 8 - read-write - - - HSTA9 - desc HSTA9 - 9 - 9 - read-write - - - HSTA10 - desc HSTA10 - 10 - 10 - read-write - - - HSTA11 - desc HSTA11 - 11 - 11 - read-write - - - HSTA12 - desc HSTA12 - 12 - 12 - read-write - - - HSTA13 - desc HSTA13 - 13 - 13 - read-write - - - HSTA14 - desc HSTA14 - 14 - 14 - read-write - - - HSTA15 - desc HSTA15 - 15 - 15 - read-write - - - STARTS - desc STARTS - 31 - 31 - read-write - - - - - HSTPR - desc HSTPR - 0x78 - 32 - read-write - 0x0 - 0x8000FFFF - - - HSTP0 - desc HSTP0 - 0 - 0 - read-write - - - HSTP1 - desc HSTP1 - 1 - 1 - read-write - - - HSTP2 - desc HSTP2 - 2 - 2 - read-write - - - HSTP3 - desc HSTP3 - 3 - 3 - read-write - - - HSTP4 - desc HSTP4 - 4 - 4 - read-write - - - HSTP5 - desc HSTP5 - 5 - 5 - read-write - - - HSTP6 - desc HSTP6 - 6 - 6 - read-write - - - HSTP7 - desc HSTP7 - 7 - 7 - read-write - - - HSTP8 - desc HSTP8 - 8 - 8 - read-write - - - HSTP9 - desc HSTP9 - 9 - 9 - read-write - - - HSTP10 - desc HSTP10 - 10 - 10 - read-write - - - HSTP11 - desc HSTP11 - 11 - 11 - read-write - - - HSTP12 - desc HSTP12 - 12 - 12 - read-write - - - HSTP13 - desc HSTP13 - 13 - 13 - read-write - - - HSTP14 - desc HSTP14 - 14 - 14 - read-write - - - HSTP15 - desc HSTP15 - 15 - 15 - read-write - - - STOPS - desc STOPS - 31 - 31 - read-write - - - - - HCELR - desc HCELR - 0x7C - 32 - read-write - 0x0 - 0x8000FFFF - - - HCEL0 - desc HCEL0 - 0 - 0 - read-write - - - HCEL1 - desc HCEL1 - 1 - 1 - read-write - - - HCEL2 - desc HCEL2 - 2 - 2 - read-write - - - HCEL3 - desc HCEL3 - 3 - 3 - read-write - - - HCEL4 - desc HCEL4 - 4 - 4 - read-write - - - HCEL5 - desc HCEL5 - 5 - 5 - read-write - - - HCEL6 - desc HCEL6 - 6 - 6 - read-write - - - HCEL7 - desc HCEL7 - 7 - 7 - read-write - - - HCEL8 - desc HCEL8 - 8 - 8 - read-write - - - HCEL9 - desc HCEL9 - 9 - 9 - read-write - - - HCEL10 - desc HCEL10 - 10 - 10 - read-write - - - HCEL11 - desc HCEL11 - 11 - 11 - read-write - - - HCEL12 - desc HCEL12 - 12 - 12 - read-write - - - HCEL13 - desc HCEL13 - 13 - 13 - read-write - - - HCEL14 - desc HCEL14 - 14 - 14 - read-write - - - HCEL15 - desc HCEL15 - 15 - 15 - read-write - - - CLEARS - desc CLEARS - 31 - 31 - read-write - - - - - HCPAR - desc HCPAR - 0x80 - 32 - read-write - 0x0 - 0xFFFF - - - HCPA0 - desc HCPA0 - 0 - 0 - read-write - - - HCPA1 - desc HCPA1 - 1 - 1 - read-write - - - HCPA2 - desc HCPA2 - 2 - 2 - read-write - - - HCPA3 - desc HCPA3 - 3 - 3 - read-write - - - HCPA4 - desc HCPA4 - 4 - 4 - read-write - - - HCPA5 - desc HCPA5 - 5 - 5 - read-write - - - HCPA6 - desc HCPA6 - 6 - 6 - read-write - - - HCPA7 - desc HCPA7 - 7 - 7 - read-write - - - HCPA8 - desc HCPA8 - 8 - 8 - read-write - - - HCPA9 - desc HCPA9 - 9 - 9 - read-write - - - HCPA10 - desc HCPA10 - 10 - 10 - read-write - - - HCPA11 - desc HCPA11 - 11 - 11 - read-write - - - HCPA12 - desc HCPA12 - 12 - 12 - read-write - - - HCPA13 - desc HCPA13 - 13 - 13 - read-write - - - HCPA14 - desc HCPA14 - 14 - 14 - read-write - - - HCPA15 - desc HCPA15 - 15 - 15 - read-write - - - - - HCPBR - desc HCPBR - 0x84 - 32 - read-write - 0x0 - 0xFFFF - - - HCPB0 - desc HCPB0 - 0 - 0 - read-write - - - HCPB1 - desc HCPB1 - 1 - 1 - read-write - - - HCPB2 - desc HCPB2 - 2 - 2 - read-write - - - HCPB3 - desc HCPB3 - 3 - 3 - read-write - - - HCPB4 - desc HCPB4 - 4 - 4 - read-write - - - HCPB5 - desc HCPB5 - 5 - 5 - read-write - - - HCPB6 - desc HCPB6 - 6 - 6 - read-write - - - HCPB7 - desc HCPB7 - 7 - 7 - read-write - - - HCPB8 - desc HCPB8 - 8 - 8 - read-write - - - HCPB9 - desc HCPB9 - 9 - 9 - read-write - - - HCPB10 - desc HCPB10 - 10 - 10 - read-write - - - HCPB11 - desc HCPB11 - 11 - 11 - read-write - - - HCPB12 - desc HCPB12 - 12 - 12 - read-write - - - HCPB13 - desc HCPB13 - 13 - 13 - read-write - - - HCPB14 - desc HCPB14 - 14 - 14 - read-write - - - HCPB15 - desc HCPB15 - 15 - 15 - read-write - - - - - HCUPR - desc HCUPR - 0x88 - 32 - read-write - 0x0 - 0xFFFFF - - - HCUP0 - desc HCUP0 - 0 - 0 - read-write - - - HCUP1 - desc HCUP1 - 1 - 1 - read-write - - - HCUP2 - desc HCUP2 - 2 - 2 - read-write - - - HCUP3 - desc HCUP3 - 3 - 3 - read-write - - - HCUP4 - desc HCUP4 - 4 - 4 - read-write - - - HCUP5 - desc HCUP5 - 5 - 5 - read-write - - - HCUP6 - desc HCUP6 - 6 - 6 - read-write - - - HCUP7 - desc HCUP7 - 7 - 7 - read-write - - - HCUP8 - desc HCUP8 - 8 - 8 - read-write - - - HCUP9 - desc HCUP9 - 9 - 9 - read-write - - - HCUP10 - desc HCUP10 - 10 - 10 - read-write - - - HCUP11 - desc HCUP11 - 11 - 11 - read-write - - - HCUP12 - desc HCUP12 - 12 - 12 - read-write - - - HCUP13 - desc HCUP13 - 13 - 13 - read-write - - - HCUP14 - desc HCUP14 - 14 - 14 - read-write - - - HCUP15 - desc HCUP15 - 15 - 15 - read-write - - - HCUP16 - desc HCUP16 - 16 - 16 - read-write - - - HCUP17 - desc HCUP17 - 17 - 17 - read-write - - - HCUP18 - desc HCUP18 - 18 - 18 - read-write - - - HCUP19 - desc HCUP19 - 19 - 19 - read-write - - - - - HCDOR - desc HCDOR - 0x8C - 32 - read-write - 0x0 - 0xFFFFF - - - HCDO0 - desc HCDO0 - 0 - 0 - read-write - - - HCDO1 - desc HCDO1 - 1 - 1 - read-write - - - HCDO2 - desc HCDO2 - 2 - 2 - read-write - - - HCDO3 - desc HCDO3 - 3 - 3 - read-write - - - HCDO4 - desc HCDO4 - 4 - 4 - read-write - - - HCDO5 - desc HCDO5 - 5 - 5 - read-write - - - HCDO6 - desc HCDO6 - 6 - 6 - read-write - - - HCDO7 - desc HCDO7 - 7 - 7 - read-write - - - HCDO8 - desc HCDO8 - 8 - 8 - read-write - - - HCDO9 - desc HCDO9 - 9 - 9 - read-write - - - HCDO10 - desc HCDO10 - 10 - 10 - read-write - - - HCDO11 - desc HCDO11 - 11 - 11 - read-write - - - HCDO12 - desc HCDO12 - 12 - 12 - read-write - - - HCDO13 - desc HCDO13 - 13 - 13 - read-write - - - HCDO14 - desc HCDO14 - 14 - 14 - read-write - - - HCDO15 - desc HCDO15 - 15 - 15 - read-write - - - HCDO16 - desc HCDO16 - 16 - 16 - read-write - - - HCDO17 - desc HCDO17 - 17 - 17 - read-write - - - HCDO18 - desc HCDO18 - 18 - 18 - read-write - - - HCDO19 - desc HCDO19 - 19 - 19 - read-write - - - - - IFR - desc IFR - 0x100 - 32 - read-only - 0x0 - 0xC1CF - - - CMAF - desc CMAF - 0 - 0 - read-only - - - CMBF - desc CMBF - 1 - 1 - read-only - - - CMCF - desc CMCF - 2 - 2 - read-only - - - CMDF - desc CMDF - 3 - 3 - read-only - - - OVFF - desc OVFF - 6 - 6 - read-only - - - UDFF - desc UDFF - 7 - 7 - read-only - - - DTEF - desc DTEF - 8 - 8 - read-only - - - SAMLF - desc SAMLF - 14 - 14 - read-only - - - SAMHF - desc SAMHF - 15 - 15 - read-only - - - - - ICLR - desc ICLR - 0x104 - 32 - write-only - 0x0 - 0xC1CF - - - CMAC - desc CMAC - 0 - 0 - write-only - - - CMBC - desc CMBC - 1 - 1 - write-only - - - CMCC - desc CMCC - 2 - 2 - write-only - - - CMDC - desc CMDC - 3 - 3 - write-only - - - OVFC - desc OVFC - 6 - 6 - write-only - - - UDFC - desc UDFC - 7 - 7 - write-only - - - DTEC - desc DTEC - 8 - 8 - write-only - - - SAMLC - desc SAMLC - 14 - 14 - write-only - - - SAMHC - desc SAMHC - 15 - 15 - write-only - - - - - CR - desc CR - 0x108 - 32 - read-write - 0x0 - 0x7CF - - - CMAE - desc CMAE - 0 - 0 - read-write - - - CMBE - desc CMBE - 1 - 1 - read-write - - - CMCE - desc CMCE - 2 - 2 - read-write - - - CMDE - desc CMDE - 3 - 3 - read-write - - - OVFE - desc OVFE - 6 - 6 - read-write - - - UDFE - desc UDFE - 7 - 7 - read-write - - - DITENA - desc DITENA - 8 - 8 - read-write - - - DITENB - desc DITENB - 9 - 9 - read-write - - - DITENS - desc DITENS - 10 - 10 - read-write - - - - - AOSSR - desc AOSSR - 0x110 - 32 - read-write - 0x0 - 0x3F9F - - - FBRAKE - desc FBRAKE - 0 - 0 - read-write - - - FSAME - desc FSAME - 1 - 1 - read-write - - - BFILTS - desc BFILTS - 3 - 2 - read-write - - - BFILTEN - desc BFILTEN - 4 - 4 - read-write - - - SOFTBK - desc SOFTBK - 7 - 7 - read-write - - - SML0 - desc SML0 - 8 - 8 - read-write - - - SML1 - desc SML1 - 9 - 9 - read-write - - - SML2 - desc SML2 - 10 - 10 - read-write - - - SMH0 - desc SMH0 - 11 - 11 - read-write - - - SMH1 - desc SMH1 - 12 - 12 - read-write - - - SMH2 - desc SMH2 - 13 - 13 - read-write - - - - - AOSCL - desc AOSCL - 0x114 - 32 - read-only - 0x0 - 0x3 - - - FBRAKE - desc FBRAKE - 0 - 0 - read-only - - - FSAME - desc FSAME - 1 - 1 - read-only - - - - - PTBKS - desc PTBKS - 0x118 - 32 - read-write - 0x0 - 0xFFFF - - - EN0 - desc EN0 - 0 - 0 - read-write - - - EN1 - desc EN1 - 1 - 1 - read-write - - - EN2 - desc EN2 - 2 - 2 - read-write - - - EN3 - desc EN3 - 3 - 3 - read-write - - - EN4 - desc EN4 - 4 - 4 - read-write - - - EN5 - desc EN5 - 5 - 5 - read-write - - - EN6 - desc EN6 - 6 - 6 - read-write - - - EN7 - desc EN7 - 7 - 7 - read-write - - - EN8 - desc EN8 - 8 - 8 - read-write - - - EN9 - desc EN9 - 9 - 9 - read-write - - - EN10 - desc EN10 - 10 - 10 - read-write - - - EN11 - desc EN11 - 11 - 11 - read-write - - - EN12 - desc EN12 - 12 - 12 - read-write - - - EN13 - desc EN13 - 13 - 13 - read-write - - - EN14 - desc EN14 - 14 - 14 - read-write - - - EN15 - desc EN15 - 15 - 15 - read-write - - - - - TTRIG - desc TTRIG - 0x11C - 32 - read-write - 0x0 - 0xFFFF - - - TRIGAS - desc TRIGAS - 3 - 0 - read-write - - - TRIGBS - desc TRIGBS - 7 - 4 - read-write - - - TRIGCS - desc TRIGCS - 11 - 8 - read-write - - - TRIGDS - desc TRIGDS - 15 - 12 - read-write - - - - - ITRIG - desc ITRIG - 0x120 - 32 - read-write - 0x0 - 0xFFFF - - - IAOS0S - desc IAOS0S - 3 - 0 - read-write - - - IAOS1S - desc IAOS1S - 7 - 4 - read-write - - - IAOS2S - desc IAOS2S - 11 - 8 - read-write - - - IAOS3S - desc IAOS3S - 15 - 12 - read-write - - - - - PTBKP - desc PTBKP - 0x124 - 32 - read-write - 0x0 - 0xFFFF - - - POL0 - desc POL0 - 0 - 0 - read-write - - - POL1 - desc POL1 - 1 - 1 - read-write - - - POL2 - desc POL2 - 2 - 2 - read-write - - - POL3 - desc POL3 - 3 - 3 - read-write - - - POL4 - desc POL4 - 4 - 4 - read-write - - - POL5 - desc POL5 - 5 - 5 - read-write - - - POL6 - desc POL6 - 6 - 6 - read-write - - - POL7 - desc POL7 - 7 - 7 - read-write - - - POL8 - desc POL8 - 8 - 8 - read-write - - - POL9 - desc POL9 - 9 - 9 - read-write - - - POL10 - desc POL10 - 10 - 10 - read-write - - - POL11 - desc POL11 - 11 - 11 - read-write - - - POL12 - desc POL12 - 12 - 12 - read-write - - - POL13 - desc POL13 - 13 - 13 - read-write - - - POL14 - desc POL14 - 14 - 14 - read-write - - - POL15 - desc POL15 - 15 - 15 - read-write - - - - - SSTAR - desc SSTAR - 0x3F4 - 32 - read-write - 0x0 - 0x7 - - - SSTA0 - desc SSTA0 - 0 - 0 - read-write - - - SSTA1 - desc SSTA1 - 1 - 1 - read-write - - - SSTA2 - desc SSTA2 - 2 - 2 - read-write - - - - - SSTPR - desc SSTPR - 0x3F8 - 32 - read-write - 0x0 - 0x7 - - - SSTP0 - desc SSTP0 - 0 - 0 - read-write - - - SSTP1 - desc SSTP1 - 1 - 1 - read-write - - - SSTP2 - desc SSTP2 - 2 - 2 - read-write - - - - - SCLRR - desc SCLRR - 0x3FC - 32 - read-write - 0x0 - 0x7 - - - SCLR0 - desc SCLR0 - 0 - 0 - read-write - - - SCLR1 - desc SCLR1 - 1 - 1 - read-write - - - SCLR2 - desc SCLR2 - 2 - 2 - read-write - - - - - - - ADT1 - desc ADT - 0x40003400 - - 0x0 - 0x400 - - - - ADT2 - desc ADT - 0x40003800 - - 0x0 - 0x400 - - - - BGR - desc BGR - 0x40002400 - ADC - - 0x0 - 0x40002400 - - - - CR - desc CR - 0x0 - 32 - read-write - 0x0 - 0x3 - - - BGR_EN - desc BGR_EN - 0 - 0 - read-write - - - TS_EN - desc TS_EN - 1 - 1 - read-write - - - - - - - BT0 - desc BT - 0x40000C00 - - 0x0 - 0x18 - - - - ARR - desc ARR - 0x0 - 32 - read-write - 0x0 - 0xFF - - - ARR - desc ARR - 15 - 0 - read-write - - - - - CNT - desc CNT - 0x4 - 32 - read-write - 0x0 - 0xFF - - - CNT - desc CNT - 15 - 0 - read-write - - - - - CNT32 - desc CNT32 - 0x8 - 32 - read-write - 0x0 - 0xFFFFFFFF - - - CNT32 - desc CNT32 - 31 - 0 - read-write - - - - - CR - desc CR - 0xC - 32 - read-write - 0x8 - 0x77F - - - TR - desc TR - 0 - 0 - read-write - - - MD - desc MD - 1 - 1 - read-write - - - CT - desc CT - 2 - 2 - read-write - - - TOG_EN - desc TOG_EN - 3 - 3 - read-write - - - PRS - desc PRS - 6 - 4 - read-write - - - GATE - desc GATE - 8 - 8 - read-write - - - GATE_P - desc GATE_P - 9 - 9 - read-write - - - IE - desc IE - 10 - 10 - read-write - - - - - IFR - desc IFR - 0x10 - 32 - read-only - 0x0 - 0x1 - - - TF - desc TF - 0 - 0 - read-only - - - - - ICLR - desc ICLR - 0x14 - 32 - write-only - 0x1 - 0x1 - - - TFC - desc TFC - 0 - 0 - write-only - - - - - - - BT1 - desc BT - 0x40000C20 - - 0x0 - 0x18 - - - - BT2 - desc BT - 0x40000C40 - - 0x0 - 0x18 - - - - CLK_TRIM - desc CLK_TRIM - 0x40001800 - - 0x0 - 0x1C - - - - CR - desc CR - 0x0 - 32 - read-write - 0x0 - 0xFF - - - TRIM_START - desc TRIM_START - 0 - 0 - read-write - - - REFCLK_SEL - desc REFCLK_SEL - 3 - 1 - read-write - - - CALCLK_SEL - desc CALCLK_SEL - 5 - 4 - read-write - - - MON_EN - desc MON_EN - 6 - 6 - read-write - - - IE - desc IE - 7 - 7 - read-write - - - - - REFCON - desc REFCON - 0x4 - 32 - read-write - 0x0 - 0xFFFFFFFF - - - RCNTVAL - desc RCNTVAL - 31 - 0 - read-write - - - - - REFCNT - desc REFCNT - 0x8 - 32 - read-only - 0x0 - 0xFFFFFFFF - - - REFCNT - desc REFCNT - 31 - 0 - read-only - - - - - CALCNT - desc CALCNT - 0xC - 32 - read-only - 0x0 - 0xFFFFFFFF - - - CALCNT - desc CALCNT - 31 - 0 - read-only - - - - - IFR - desc IFR - 0x10 - 32 - read-only - 0x0 - 0xF - - - STOP - desc STOP - 0 - 0 - read-only - - - CALCNT_OF - desc CALCNT_OF - 1 - 1 - read-only - - - XTH_FAULT - desc XTH_FAULT - 3 - 3 - read-only - - - - - ICLR - desc ICLR - 0x14 - 32 - read-write - 0x11111111 - 0xC - - - XTH_FAULT_CLR - desc XTH_FAULT_CLR - 3 - 3 - read-write - - - - - CALCON - desc CALCON - 0x18 - 32 - read-write - 0xFFFFFFFF - 0xFFFFFFFF - - - CCNTVAL - desc CCNTVAL - 31 - 0 - read-write - - - - - - - CLOCK - desc CLOCK - 0x40002000 - - 0x0 - 0x54 - - - - SYSCTRL0 - desc SYSCTRL0 - 0x0 - 32 - read-write - 0x1 - 0x87FF - - - RCH_EN - desc RCH_EN - 0 - 0 - read-write - - - XTH_EN - desc XTH_EN - 1 - 1 - read-write - - - RCL_EN - desc RCL_EN - 2 - 2 - read-write - - - CLK_SW4_SEL - desc CLK_SW4_SEL - 5 - 4 - read-write - - - HCLK_PRS - desc HCLK_PRS - 8 - 6 - read-write - - - PCLK_PRS - desc PCLK_PRS - 10 - 9 - read-write - - - WAKEUP_BYRCH - desc WAKEUP_BYRCH - 15 - 15 - read-write - - - - - SYSCTRL1 - desc SYSCTRL1 - 0x4 - 32 - read-write - 0x8 - 0x1DE - - - EXTH_EN - desc EXTH_EN - 1 - 1 - read-write - - - CLOCK_FT_EN - desc CLOCK_FT_EN - 4 - 4 - read-write - - - LOCK_EN - desc LOCK_EN - 6 - 6 - read-write - - - RES_UIO - desc RES_UIO - 7 - 7 - read-write - - - SWD_UIO - desc SWD_UIO - 8 - 8 - read-write - - - - - SYSCTRL2 - desc SYSCTRL2 - 0x8 - 32 - read-write - 0x0 - 0xFFFF - - - SYSCTRL2 - desc SYSCTRL2 - 15 - 0 - read-write - - - - - RCH_CR - desc RCH_CR - 0xC - 32 - read-write - 0x126 - 0xFFF - - - TRIM - desc TRIM - 10 - 0 - read-write - - - STABLE - desc STABLE - 11 - 11 - read-only - - - - - XTH_CR - desc XTH_CR - 0x10 - 32 - read-write - 0x22 - 0x7F - - - DRIVER - desc DRIVER - 3 - 0 - read-write - - - STARTUP - desc STARTUP - 5 - 4 - read-write - - - STABLE - desc STABLE - 6 - 6 - read-only - - - - - RCL_CR - desc RCL_CR - 0x14 - 32 - read-write - 0x33F - 0x1FFF - - - TRIM - desc TRIM - 9 - 0 - read-write - - - STARTUP - desc STARTUP - 11 - 10 - read-write - - - STABLE - desc STABLE - 12 - 12 - read-only - - - - - PERI_CLKEN - desc PERI_CLKEN - 0x20 - 32 - read-write - 0x0 - 0x9723C573 - - - UART0 - desc UART0 - 0 - 0 - read-write - - - UART1 - desc UART1 - 1 - 1 - read-write - - - I2C - desc I2C - 4 - 4 - read-write - - - SPI - desc SPI - 6 - 6 - read-write - - - BASETIM - desc BASETIM - 8 - 8 - read-write - - - ADVTIM - desc ADVTIM - 10 - 10 - read-write - - - PCA - desc PCA - 14 - 14 - read-write - - - WDT - desc WDT - 15 - 15 - read-write - - - ADC - desc ADC - 16 - 16 - read-write - - - VC - desc VC - 17 - 17 - read-write - - - TRIM - desc TRIM - 21 - 21 - read-write - - - TICK - desc TICK - 24 - 24 - read-write - - - CRC - desc CRC - 26 - 26 - read-write - - - GPIO - desc GPIO - 28 - 28 - read-write - - - FLASH - desc FLASH - 31 - 31 - read-write - - - - - SYSTICK_CR - desc SYSTICK_CR - 0x34 - 32 - read-write - 0x1000147 - 0xFFFFFFF - - - STCALIB - desc STCALIB - 23 - 0 - read-write - - - SKEW - desc SKEW - 24 - 24 - read-write - - - NOREF - desc NOREF - 25 - 25 - read-write - - - CLK_SEL - desc CLK_SEL - 27 - 26 - read-write - - - - - DEBUG_ACTIVE - desc DEBUG_ACTIVE - 0x38 - 32 - read-write - 0x7FF - 0x7FF - - - TIM0 - desc TIM0 - 0 - 0 - read-write - - - TIM1 - desc TIM1 - 1 - 1 - read-write - - - TIM2 - desc TIM2 - 2 - 2 - read-write - - - TIM4 - desc TIM4 - 4 - 4 - read-write - - - TIM5 - desc TIM5 - 5 - 5 - read-write - - - TIM6 - desc TIM6 - 6 - 6 - read-write - - - PCA - desc PCA - 7 - 7 - read-write - - - WDT - desc WDT - 8 - 8 - read-write - - - TICK - desc TICK - 10 - 10 - read-write - - - - - - - CRC - desc CRC - 0x40020900 - - 0x0 - 0x100 - - - - RESULT - desc RESULT - 0x4 - 32 - read-write - 0xFFFF - 0x1FFFF - - - RESULT - desc RESULT - 15 - 0 - read-write - - - FLAG - desc FLAG - 16 - 16 - read-only - - - - - DATA - desc DATA - 0x80 - 32 - write-only - 0x0 - 0xFFFFFFFF - - - DATA - desc DATA - 31 - 0 - write-only - - - - - - - FLASH - desc FLASH - 0x40020000 - - 0x0 - 0x34 - - - - TNVS - desc TNVS - 0x0 - 32 - read-write - 0x32 - 0x1FF - - - TNVS - desc TNVS - 8 - 0 - read-write - - - - - TPGS - desc TPGS - 0x4 - 32 - read-write - 0x23 - 0xFF - - - TPGS - desc TPGS - 7 - 0 - read-write - - - - - TPROG - desc TPROG - 0x8 - 32 - read-write - 0x27 - 0xFF - - - TPROG - desc TPROG - 7 - 0 - read-write - - - - - TSERASE - desc TSERASE - 0xC - 32 - read-write - 0x18000 - 0x3FFFF - - - TSERASE - desc TSERASE - 17 - 0 - read-write - - - - - TMERASE - desc TMERASE - 0x10 - 32 - read-write - 0x140000 - 0x1FFFFF - - - TMERASE - desc TMERASE - 20 - 0 - read-write - - - - - TPRCV - desc TPRCV - 0x14 - 32 - read-write - 0x24 - 0xFFF - - - TPRCV - desc TPRCV - 11 - 0 - read-write - - - - - TSRCV - desc TSRCV - 0x18 - 32 - read-write - 0x240 - 0xFFF - - - TSRCV - desc TSRCV - 11 - 0 - read-write - - - - - TMRCV - desc TMRCV - 0x1C - 32 - read-write - 0x1000 - 0x1FFF - - - TMRCV - desc TMRCV - 12 - 0 - read-write - - - - - CR - desc CR - 0x20 - 32 - read-write - 0x0 - 0x7F - - - OP - desc OP - 1 - 0 - read-write - - - WAIT - desc WAIT - 2 - 2 - read-write - - - BUSY - desc BUSY - 4 - 4 - read-only - - - IE - desc IE - 6 - 5 - read-write - - - - - IFR - desc IFR - 0x24 - 32 - read-only - 0x0 - 0x3 - - - IF0 - desc IF0 - 0 - 0 - read-only - - - IF1 - desc IF1 - 1 - 1 - read-only - - - - - ICLR - desc ICLR - 0x28 - 32 - write-only - 0x3 - 0x3 - - - ICLR0 - desc ICLR0 - 0 - 0 - write-only - - - ICLR1 - desc ICLR1 - 1 - 1 - write-only - - - - - BYPASS - desc BYPASS - 0x2C - 32 - write-only - 0x0 - 0xFFFF - - - BYSEQ - desc BYSEQ - 15 - 0 - write-only - - - - - SLOCK - desc SLOCK - 0x30 - 32 - read-write - 0x0 - 0xFFFF - - - SLOCK - desc SLOCK - 15 - 0 - read-write - - - - - - - GPIO - desc GPIO - 0x40020C00 - - 0x0 - 0x400 - - - - P01_SEL - desc P01_SEL - 0x4 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P02_SEL - desc P02_SEL - 0x8 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P03_SEL - desc P03_SEL - 0xC - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P14_SEL - desc P14_SEL - 0x50 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P15_SEL - desc P15_SEL - 0x54 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P23_SEL - desc P23_SEL - 0x8C - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P24_SEL - desc P24_SEL - 0x90 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P25_SEL - desc P25_SEL - 0x94 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P26_SEL - desc P26_SEL - 0x98 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P27_SEL - desc P27_SEL - 0x9C - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P31_SEL - desc P31_SEL - 0xC4 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P32_SEL - desc P32_SEL - 0xC8 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P33_SEL - desc P33_SEL - 0xCC - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P34_SEL - desc P34_SEL - 0xD0 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P35_SEL - desc P35_SEL - 0xD4 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P36_SEL - desc P36_SEL - 0xD8 - 32 - read-write - 0x0 - 0x7 - - - SEL - desc SEL - 2 - 0 - read-write - - - - - P0DIR - desc P0DIR - 0x100 - 32 - read-write - 0xFFFFFFFF - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0IN - desc P0IN - 0x104 - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P0OUT - desc P0OUT - 0x108 - 32 - read-write - 0x0 - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0ADS - desc P0ADS - 0x10C - 32 - read-write - 0x0 - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0DR - desc P0DR - 0x11C - 32 - read-write - 0x0 - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0PU - desc P0PU - 0x120 - 32 - read-write - 0x0 - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0PD - desc P0PD - 0x124 - 32 - read-write - 0x0 - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0OD - desc P0OD - 0x12C - 32 - read-write - 0x0 - 0xE - - - P01 - desc P01 - 1 - 1 - read-write - - - P02 - desc P02 - 2 - 2 - read-write - - - P03 - desc P03 - 3 - 3 - read-write - - - - - P0HIE - desc P0HIE - 0x130 - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P0LIE - desc P0LIE - 0x134 - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P0RIE - desc P0RIE - 0x138 - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P0FIE - desc P0FIE - 0x13C - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P1DIR - desc P1DIR - 0x140 - 32 - read-write - 0xFFFFFFFF - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1IN - desc P1IN - 0x144 - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P1OUT - desc P1OUT - 0x148 - 32 - read-write - 0x0 - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1ADS - desc P1ADS - 0x14C - 32 - read-write - 0x0 - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1DR - desc P1DR - 0x15C - 32 - read-write - 0x0 - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1PU - desc P1PU - 0x160 - 32 - read-write - 0x0 - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1PD - desc P1PD - 0x164 - 32 - read-write - 0x0 - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1OD - desc P1OD - 0x16C - 32 - read-write - 0x0 - 0x30 - - - P14 - desc P14 - 4 - 4 - read-write - - - P15 - desc P15 - 5 - 5 - read-write - - - - - P1HIE - desc P1HIE - 0x170 - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P1LIE - desc P1LIE - 0x174 - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P1RIE - desc P1RIE - 0x178 - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P1FIE - desc P1FIE - 0x17C - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P2DIR - desc P2DIR - 0x180 - 32 - read-write - 0xFFFFFFFF - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2IN - desc P2IN - 0x184 - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P2OUT - desc P2OUT - 0x188 - 32 - read-write - 0x0 - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2ADS - desc P2ADS - 0x18C - 32 - read-write - 0x0 - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2DR - desc P2DR - 0x19C - 32 - read-write - 0x0 - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2PU - desc P2PU - 0x1A0 - 32 - read-write - 0x0 - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2PD - desc P2PD - 0x1A4 - 32 - read-write - 0x0 - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2OD - desc P2OD - 0x1AC - 32 - read-write - 0x0 - 0xF8 - - - P23 - desc P23 - 3 - 3 - read-write - - - P24 - desc P24 - 4 - 4 - read-write - - - P25 - desc P25 - 5 - 5 - read-write - - - P26 - desc P26 - 6 - 6 - read-write - - - P27 - desc P27 - 7 - 7 - read-write - - - - - P2HIE - desc P2HIE - 0x1B0 - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P2LIE - desc P2LIE - 0x1B4 - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P2RIE - desc P2RIE - 0x1B8 - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P2FIE - desc P2FIE - 0x1BC - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P3DIR - desc P3DIR - 0x1C0 - 32 - read-write - 0xFFFFFFFF - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3IN - desc P3IN - 0x1C4 - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - P3OUT - desc P3OUT - 0x1C8 - 32 - read-write - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3ADS - desc P3ADS - 0x1CC - 32 - read-write - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3DR - desc P3DR - 0x1DC - 32 - read-write - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3PU - desc P3PU - 0x1E0 - 32 - read-write - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3PD - desc P3PD - 0x1E4 - 32 - read-write - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3OD - desc P3OD - 0x1EC - 32 - read-write - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-write - - - P32 - desc P32 - 2 - 2 - read-write - - - P33 - desc P33 - 3 - 3 - read-write - - - P34 - desc P34 - 4 - 4 - read-write - - - P35 - desc P35 - 5 - 5 - read-write - - - P36 - desc P36 - 6 - 6 - read-write - - - - - P3HIE - desc P3HIE - 0x1F0 - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - P3LIE - desc P3LIE - 0x1F4 - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - P3RIE - desc P3RIE - 0x1F8 - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - P3FIE - desc P3FIE - 0x1FC - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - P0STAT - desc P0STAT - 0x200 - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P0ICLR - desc P0ICLR - 0x210 - 32 - read-only - 0x0 - 0xF - - - P00 - desc P00 - 0 - 0 - read-only - - - P01 - desc P01 - 1 - 1 - read-only - - - P02 - desc P02 - 2 - 2 - read-only - - - P03 - desc P03 - 3 - 3 - read-only - - - - - P1STAT - desc P1STAT - 0x240 - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P1ICLR - desc P1ICLR - 0x250 - 32 - read-only - 0x0 - 0x3 - - - P14 - desc P14 - 4 - 4 - read-only - - - P15 - desc P15 - 5 - 5 - read-only - - - - - P2STAT - desc P2STAT - 0x280 - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P2ICLR - desc P2ICLR - 0x290 - 32 - read-only - 0x0 - 0x3 - - - P23 - desc P23 - 3 - 3 - read-only - - - P24 - desc P24 - 4 - 4 - read-only - - - P25 - desc P25 - 5 - 5 - read-only - - - P26 - desc P26 - 6 - 6 - read-only - - - P27 - desc P27 - 7 - 7 - read-only - - - - - P3STAT - desc P3STAT - 0x2C0 - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - P3ICLR - desc P3ICLR - 0x2D0 - 32 - read-only - 0x0 - 0x7E - - - P31 - desc P31 - 1 - 1 - read-only - - - P32 - desc P32 - 2 - 2 - read-only - - - P33 - desc P33 - 3 - 3 - read-only - - - P34 - desc P34 - 4 - 4 - read-only - - - P35 - desc P35 - 5 - 5 - read-only - - - P36 - desc P36 - 6 - 6 - read-only - - - - - CTRL0 - desc CTRL0 - 0x300 - 32 - read-write - 0x1 - 0x1 - - - IESEL - desc IESEL - 0 - 0 - read-write - - - - - CTRL1 - desc CTRL1 - 0x304 - 32 - read-write - 0x0 - 0xFFFF - - - EXT_CLK_SEL - desc EXT_CLK_SEL - 3 - 0 - read-write - - - SSN_SEL - desc SSN_SEL - 7 - 4 - read-write - - - PCLK_SEL - desc PCLK_SEL - 9 - 8 - read-write - - - HCLK_SEL - desc HCLK_SEL - 11 - 10 - read-write - - - PCLK_EN - desc PCLK_EN - 12 - 12 - read-write - - - HCLK_EN - desc HCLK_EN - 13 - 13 - read-write - - - IR_POL - desc IR_POL - 14 - 14 - read-write - - - - - CTRL2 - desc CTRL2 - 0x308 - 32 - read-write - 0x0 - 0x3FF - - - PCA_CAP0_SEL - desc PCA_CAP0_SEL - 1 - 0 - read-write - - - PCA_CAP1_SEL - desc PCA_CAP1_SEL - 3 - 2 - read-write - - - PCA_CAP2_SEL - desc PCA_CAP2_SEL - 5 - 4 - read-write - - - PCA_CAP3_SEL - desc PCA_CAP3_SEL - 7 - 6 - read-write - - - PCA_CAP4_SEL - desc PCA_CAP4_SEL - 9 - 8 - read-write - - - - - CTRL3 - desc CTRL3 - 0x30C - 32 - read-write - 0x0 - 0xFFF - - - TM4_B_SEL - desc TM4_B_SEL - 1 - 0 - read-write - - - TM5_B_SEL - desc TM5_B_SEL - 3 - 2 - read-write - - - TM6_B_SEL - desc TM6_B_SEL - 5 - 4 - read-write - - - TM4_A_SEL - desc TM4_A_SEL - 7 - 6 - read-write - - - TM5_A_SEL - desc TM5_A_SEL - 9 - 8 - read-write - - - TM6_A_SEL - desc TM6_A_SEL - 11 - 10 - read-write - - - - - CTRL4 - desc CTRL4 - 0x310 - 32 - read-write - 0x0 - 0xFF - - - TM0_GATE_SEL - desc TM0_GATE_SEL - 1 - 0 - read-write - - - TM1_GATE_SEL - desc TM1_GATE_SEL - 3 - 2 - read-write - - - TM2_GATE_SEL - desc TM2_GATE_SEL - 5 - 4 - read-write - - - TM3_GATE_SEL - desc TM3_GATE_SEL - 7 - 6 - read-write - - - - - - - I2C - desc I2C - 0x40000400 - - 0x0 - 0x18 - - - - TMRUN - desc TMRUN - 0x0 - 32 - read-write - 0x0 - 0x1 - - - TME - desc TME - 0 - 0 - read-write - - - - - TM - desc TM - 0x4 - 32 - read-write - 0x0 - 0xFF - - - TM - desc TM - 7 - 0 - read-write - - - - - CR - desc CR - 0x8 - 32 - read-write - 0x0 - 0x7D - - - H1M - desc H1M - 0 - 0 - read-write - - - AA - desc AA - 2 - 2 - read-write - - - SI - desc SI - 3 - 3 - read-write - - - STO - desc STO - 4 - 4 - read-write - - - STA - desc STA - 5 - 5 - read-write - - - ENS - desc ENS - 6 - 6 - read-write - - - - - DATA - desc DATA - 0xC - 32 - read-write - 0x0 - 0xFF - - - I2CDAT - desc I2CDAT - 7 - 0 - read-write - - - - - ADDR - desc ADDR - 0x10 - 32 - read-write - 0x0 - 0xFF - - - GC - desc GC - 0 - 0 - read-write - - - I2CADR - desc I2CADR - 7 - 1 - read-write - - - - - STAT - desc STAT - 0x14 - 32 - read-only - 0x0 - 0xFF - - - I2CSTA - desc I2CSTA - 7 - 0 - read-only - - - - - - - LVD - desc LVD - 0x40002400 - ADC - - 0x0 - 0x30 - - - - CR - desc CR - 0x28 - 32 - read-write - 0x100 - 0xFFFF - - - LVDEN - desc LVDEN - 0 - 0 - read-write - - - ACT - desc ACT - 1 - 1 - read-write - - - SOURCE_SEL - desc SOURCE_SEL - 3 - 2 - read-write - - - VTDS - desc VTDS - 7 - 4 - read-write - - - FLTEN - desc FLTEN - 8 - 8 - read-write - - - DEBOUNCE_TIME - desc DEBOUNCE_TIME - 11 - 9 - read-write - - - FTEN - desc FTEN - 12 - 12 - read-write - - - RTEN - desc RTEN - 13 - 13 - read-write - - - HTEN - desc HTEN - 14 - 14 - read-write - - - IE - desc IE - 15 - 15 - read-write - - - - - IFR - desc IFR - 0x2C - 32 - read-write - 0x0 - 0x1 - - - INTF - desc INTF - 0 - 0 - read-write - - - - - - - PCA - desc PCA - 0x40001000 - - 0x0 - 0x64 - - - - CCON - desc CCON - 0x0 - 32 - read-write - 0x0 - 0xDF - - - CCF0 - desc CCF0 - 0 - 0 - read-write - - - CCF1 - desc CCF1 - 1 - 1 - read-write - - - CCF2 - desc CCF2 - 2 - 2 - read-write - - - CCF3 - desc CCF3 - 3 - 3 - read-write - - - CCF4 - desc CCF4 - 4 - 4 - read-write - - - CR - desc CR - 6 - 6 - read-write - - - CF - desc CF - 7 - 7 - read-write - - - - - CMOD - desc CMOD - 0x4 - 32 - read-write - 0x0 - 0xDF - - - CFIE - desc CFIE - 0 - 0 - read-write - - - CPS - desc CPS - 3 - 1 - read-write - - - WDTE - desc WDTE - 6 - 6 - read-write - - - CIDL - desc CIDL - 7 - 7 - read-write - - - - - CNT - desc CNT - 0x8 - 32 - read-write - 0x0 - 0xFFFF - - - CNT - desc CNT - 15 - 0 - read-write - - - - - ICLR - desc ICLR - 0xC - 32 - write-only - 0x9F - 0x9F - - - CCF0 - desc CCF0 - 0 - 0 - write-only - - - CCF1 - desc CCF1 - 1 - 1 - write-only - - - CCF2 - desc CCF2 - 2 - 2 - write-only - - - CCF3 - desc CCF3 - 3 - 3 - write-only - - - CCF4 - desc CCF4 - 4 - 4 - write-only - - - CF - desc CF - 7 - 7 - write-only - - - - - CCAPM0 - desc CCAPM0 - 0x10 - 32 - read-write - 0x0 - 0x7F - - - CCIE - desc CCIE - 0 - 0 - read-write - - - PWM - desc PWM - 1 - 1 - read-write - - - TOG - desc TOG - 2 - 2 - read-write - - - MAT - desc MAT - 3 - 3 - read-write - - - CAPN - desc CAPN - 4 - 4 - read-write - - - CAPP - desc CAPP - 5 - 5 - read-write - - - ECOM - desc ECOM - 6 - 6 - read-write - - - - - CCAPM1 - desc CCAPM1 - 0x14 - 32 - read-write - 0x0 - 0x7F - - - CCIE - desc CCIE - 0 - 0 - read-write - - - PWM - desc PWM - 1 - 1 - read-write - - - TOG - desc TOG - 2 - 2 - read-write - - - MAT - desc MAT - 3 - 3 - read-write - - - CAPN - desc CAPN - 4 - 4 - read-write - - - CAPP - desc CAPP - 5 - 5 - read-write - - - ECOM - desc ECOM - 6 - 6 - read-write - - - - - CCAPM2 - desc CCAPM2 - 0x18 - 32 - read-write - 0x0 - 0x7F - - - CCIE - desc CCIE - 0 - 0 - read-write - - - PWM - desc PWM - 1 - 1 - read-write - - - TOG - desc TOG - 2 - 2 - read-write - - - MAT - desc MAT - 3 - 3 - read-write - - - CAPN - desc CAPN - 4 - 4 - read-write - - - CAPP - desc CAPP - 5 - 5 - read-write - - - ECOM - desc ECOM - 6 - 6 - read-write - - - - - CCAPM3 - desc CCAPM3 - 0x1C - 32 - read-write - 0x0 - 0x7F - - - CCIE - desc CCIE - 0 - 0 - read-write - - - PWM - desc PWM - 1 - 1 - read-write - - - TOG - desc TOG - 2 - 2 - read-write - - - MAT - desc MAT - 3 - 3 - read-write - - - CAPN - desc CAPN - 4 - 4 - read-write - - - CAPP - desc CAPP - 5 - 5 - read-write - - - ECOM - desc ECOM - 6 - 6 - read-write - - - - - CCAPM4 - desc CCAPM4 - 0x20 - 32 - read-write - 0x0 - 0x7F - - - CCIE - desc CCIE - 0 - 0 - read-write - - - PWM - desc PWM - 1 - 1 - read-write - - - TOG - desc TOG - 2 - 2 - read-write - - - MAT - desc MAT - 3 - 3 - read-write - - - CAPN - desc CAPN - 4 - 4 - read-write - - - CAPP - desc CAPP - 5 - 5 - read-write - - - ECOM - desc ECOM - 6 - 6 - read-write - - - - - CCAP0H - desc CCAP0H - 0x24 - 32 - read-write - 0x0 - 0xFF - - - CCAP0 - desc CCAP0 - 7 - 0 - read-write - - - - - CCAP0L - desc CCAP0L - 0x28 - 32 - read-write - 0x0 - 0xFF - - - CCAP0 - desc CCAP0 - 7 - 0 - read-write - - - - - CCAP1H - desc CCAP1H - 0x2C - 32 - read-write - 0x0 - 0xFF - - - CCAP1 - desc CCAP1 - 7 - 0 - read-write - - - - - CCAP1L - desc CCAP1L - 0x30 - 32 - read-write - 0x0 - 0xFF - - - CCAP1 - desc CCAP1 - 7 - 0 - read-write - - - - - CCAP2H - desc CCAP2H - 0x34 - 32 - read-write - 0x0 - 0xFF - - - CCAP2 - desc CCAP2 - 7 - 0 - read-write - - - - - CCAP2L - desc CCAP2L - 0x38 - 32 - read-write - 0x0 - 0xFF - - - CCAP2 - desc CCAP2 - 7 - 0 - read-write - - - - - CCAP3H - desc CCAP3H - 0x3C - 32 - read-write - 0x0 - 0xFF - - - CCAP3 - desc CCAP3 - 7 - 0 - read-write - - - - - CCAP3L - desc CCAP3L - 0x40 - 32 - read-write - 0x0 - 0xFF - - - CCAP3 - desc CCAP3 - 7 - 0 - read-write - - - - - CCAP4H - desc CCAP4H - 0x44 - 32 - read-write - 0x0 - 0xFF - - - CCAP4 - desc CCAP4 - 7 - 0 - read-write - - - - - CCAP4L - desc CCAP4L - 0x48 - 32 - read-write - 0x0 - 0xFF - - - CCAP4 - desc CCAP4 - 7 - 0 - read-write - - - - - CCAPO - desc CCAPO - 0x4C - 32 - read-write - 0x0 - 0x1F - - - CCAPO0 - desc CCAPO0 - 0 - 0 - read-write - - - CCAPO1 - desc CCAPO1 - 1 - 1 - read-write - - - CCAPO2 - desc CCAPO2 - 2 - 2 - read-write - - - CCAPO3 - desc CCAPO3 - 3 - 3 - read-write - - - CCAPO4 - desc CCAPO4 - 4 - 4 - read-write - - - - - CCAP0 - desc CCAP0 - 0x50 - 32 - read-write - 0x0 - 0xFFFF - - - CCAP0 - desc CCAP0 - 15 - 0 - read-write - - - - - CCAP1 - desc CCAP1 - 0x54 - 32 - read-write - 0x0 - 0xFFFF - - - CCAP1 - desc CCAP1 - 15 - 0 - read-write - - - - - CCAP2 - desc CCAP2 - 0x58 - 32 - read-write - 0x0 - 0xFFFF - - - CCAP2 - desc CCAP2 - 15 - 0 - read-write - - - - - CCAP3 - desc CCAP3 - 0x5C - 32 - read-write - 0x0 - 0xFFFF - - - CCAP3 - desc CCAP3 - 15 - 0 - read-write - - - - - CCAP4 - desc CCAP4 - 0x60 - 32 - read-write - 0x0 - 0xFFFF - - - CCAP4 - desc CCAP4 - 15 - 0 - read-write - - - - - - - RAM - desc RAM - 0x40020400 - - 0x0 - 0x10 - - - - CR - desc CR - 0x0 - 32 - read-write - 0x0 - 0x3 - - - CHKEN - desc CHKEN - 0 - 0 - read-write - - - IE - desc IE - 1 - 1 - read-write - - - - - ERRADDR - desc ERRADDR - 0x4 - 32 - read-only - 0x0 - 0xFFF - - - ERRADDR - desc ERRADDR - 11 - 0 - read-only - - - - - IFR - desc IFR - 0x8 - 32 - read-only - 0x0 - 0x1 - - - ERR - desc ERR - 0 - 0 - read-only - - - - - ICLR - desc ICLR - 0xC - 32 - read-only - 0x0 - 0x1 - - - ERRCLR - desc ERRCLR - 0 - 0 - write-only - - - - - - - RESET - desc RESET - 0x4000201C - - 0x0 - 0xF - - - - RESET_FLAG - desc RESET_FLAG - 0x0 - 32 - read-write - 0x0 - 0xFFFFFFFF - - - POR5V - desc POR5V - 0 - 0 - read-write - - - POR15V - desc POR15V - 1 - 1 - read-write - - - LVD - desc LVD - 2 - 2 - read-write - - - WDT - desc WDT - 3 - 3 - read-write - - - PCA - desc PCA - 4 - 4 - read-write - - - LOCKUP - desc LOCKUP - 5 - 5 - read-write - - - SYSREQ - desc SYSREQ - 6 - 6 - read-write - - - RSTB - desc RSTB - 7 - 7 - read-write - - - - - PREI_RESET - desc PREI_RESET - 0xC - 32 - read-write - 0xD7B3C757 - 0x97A34553 - - - UART0 - desc UART0 - 0 - 0 - read-write - - - UART1 - desc UART1 - 1 - 1 - read-write - - - I2C - desc I2C - 4 - 4 - read-write - - - SPI - desc SPI - 6 - 6 - read-write - - - BASETIM - desc BASETIM - 8 - 8 - read-write - - - ADVTIM - desc ADVTIM - 10 - 10 - read-write - - - PCA - desc PCA - 14 - 14 - read-write - - - ADC - desc ADC - 16 - 16 - read-write - - - VC - desc VC - 17 - 17 - read-write - - - TRIM - desc TRIM - 21 - 21 - read-write - - - TICK - desc TICK - 24 - 24 - read-write - - - CRC - desc CRC - 26 - 26 - read-write - - - GPIO - desc GPIO - 28 - 28 - read-write - - - - - - - SPI - desc SPI - 0x40000800 - - 0x0 - 0x10 - - - - CR - desc CR - 0x0 - 32 - read-write - 0x0 - 0xDF - - - SPR0 - desc SPR0 - 0 - 0 - read-write - - - SPR1 - desc SPR1 - 1 - 1 - read-write - - - CPHA - desc CPHA - 2 - 2 - read-write - - - CPOL - desc CPOL - 3 - 3 - read-write - - - MSTR - desc MSTR - 4 - 4 - read-write - - - SPEN - desc SPEN - 6 - 6 - read-write - - - SPR2 - desc SPR2 - 7 - 7 - read-write - - - - - SSN - desc SSN - 0x4 - 32 - read-write - 0x0 - 0x1 - - - SSN - desc SSN - 0 - 0 - read-write - - - - - STAT - desc STAT - 0x8 - 32 - read-only - 0x0 - 0xF0 - - - MDF - desc MDF - 4 - 4 - read-only - - - SSERR - desc SSERR - 5 - 5 - read-only - - - WCOL - desc WCOL - 6 - 6 - read-only - - - SPIF - desc SPIF - 7 - 7 - read-only - - - - - DATA - desc DATA - 0xC - 32 - read-write - 0x0 - 0xFF - - - SPDAT - desc SPDAT - 7 - 0 - read-write - - - - - - - UART0 - desc UART - 0x40000000 - - 0x0 - 0x15 - - - - SBUF - desc SBUF - 0x0 - 32 - read-write - 0x0 - 0xFF - - - SBUF - desc SBUF - 7 - 0 - read-write - - - - - SCON - desc SCON - 0x4 - 32 - read-write - 0x0 - 0x2FF - - - RIEN - desc RIEN - 0 - 0 - read-write - - - TIEN - desc TIEN - 1 - 1 - read-write - - - RB8 - desc RB8 - 2 - 2 - read-write - - - TB8 - desc TB8 - 3 - 3 - read-write - - - REN - desc REN - 4 - 4 - read-write - - - SM2 - desc SM2 - 5 - 5 - read-write - - - SM01 - desc SM01 - 7 - 6 - read-write - - - DBAUD - desc DBAUD - 9 - 9 - read-write - - - - - SADDR - desc SADDR - 0x8 - 32 - read-write - 0x0 - 0xFF - - - SADDR - desc SADDR - 7 - 0 - read-write - - - - - SADEN - desc SADEN - 0xC - 32 - read-write - 0x0 - 0xFF - - - SADEN - desc SADEN - 7 - 0 - read-write - - - - - ISR - desc ISR - 0x10 - 32 - read-only - 0x0 - 0xF - - - RI - desc RI - 0 - 0 - read-only - - - TI - desc TI - 1 - 1 - read-only - - - FE - desc FE - 2 - 2 - read-only - - - TE - desc TE - 3 - 3 - read-only - - - - - ICR - desc ICR - 0x14 - 32 - write-only - 0x0 - 0x7 - - - RICLR - desc RICLR - 0 - 0 - read-write - - - TICLR - desc TICLR - 1 - 1 - read-write - - - FECLR - desc FECLR - 2 - 2 - write-only - - - - - - - UART1 - desc UART - 0x40000100 - - 0x0 - 0x15 - - - - VC - desc VC - 0x40002400 - ADC - - 0x0 - 0x28 - - - - CR - desc CR - 0x10 - 32 - read-write - 0x20 - 0xFFFF - - - DIV - desc DIV - 5 - 0 - read-write - - - DIV_EN - desc DIV_EN - 6 - 6 - read-write - - - REF2P5_SEL - desc REF2P5_SEL - 7 - 7 - read-write - - - VC0_BIAS_SEL - desc VC0_BIAS_SEL - 9 - 8 - read-write - - - VC0_HYS_SEL - desc VC0_HYS_SEL - 11 - 10 - read-write - - - VC1_BIAS_SEL - desc VC1_BIAS_SEL - 13 - 12 - read-write - - - VC1_HYS_SEL - desc VC1_HYS_SEL - 15 - 14 - read-write - - - - - VC0_CR - desc VC0_CR - 0x14 - 32 - read-write - 0x0 - 0xFFFF - - - EN - desc EN - 0 - 0 - read-write - - - P_SEL - desc P_SEL - 3 - 1 - read-write - - - N_SEL - desc N_SEL - 7 - 4 - read-write - - - FLTEN - desc FLTEN - 8 - 8 - read-write - - - DEBOUNCE_TIME - desc DEBOUNCE_TIME - 11 - 9 - read-write - - - FALLING - desc FALLING - 12 - 12 - read-write - - - RISING - desc RISING - 13 - 13 - read-write - - - LEVEL - desc LEVEL - 14 - 14 - read-write - - - IE - desc IE - 15 - 15 - read-write - - - - - VC1_CR - desc VC1_CR - 0x18 - 32 - read-write - 0x0 - 0xFFFF - - - EN - desc EN - 0 - 0 - read-write - - - P_SEL - desc P_SEL - 3 - 1 - read-write - - - N_SEL - desc N_SEL - 7 - 4 - read-write - - - FLTEN - desc FLTEN - 8 - 8 - read-write - - - DEBOUNCE_TIME - desc DEBOUNCE_TIME - 11 - 9 - read-write - - - FALLING - desc FALLING - 12 - 12 - read-write - - - RISING - desc RISING - 13 - 13 - read-write - - - LEVEL - desc LEVEL - 14 - 14 - read-write - - - IE - desc IE - 15 - 15 - read-write - - - - - VC0_OUT_CFG - desc VC0_OUT_CFG - 0x1C - 32 - read-write - 0x0 - 0xFFFF - - - INV_TIMER - desc INV_TIMER - 0 - 0 - read-write - - - TIM0G - desc TIM0G - 1 - 1 - read-write - - - TIM1G - desc TIM1G - 2 - 2 - read-write - - - TIM2G - desc TIM2G - 3 - 3 - read-write - - - INV_PCA - desc INV_PCA - 6 - 6 - read-write - - - PCACAP0 - desc PCACAP0 - 7 - 7 - read-write - - - PCAECI - desc PCAECI - 8 - 8 - read-write - - - INV_TIM4 - desc INV_TIM4 - 9 - 9 - read-write - - - TIM4 - desc TIM4 - 10 - 10 - read-write - - - INV_TIM5 - desc INV_TIM5 - 11 - 11 - read-write - - - TIM5 - desc TIM5 - 12 - 12 - read-write - - - INV_TIM6 - desc INV_TIM6 - 13 - 13 - read-write - - - TIM6 - desc TIM6 - 14 - 14 - read-write - - - BRAKE - desc BRAKE - 15 - 15 - read-write - - - - - VC1_OUT_CFG - desc VC1_OUT_CFG - 0x20 - 32 - read-write - 0x0 - 0xFFFF - - - INV_TIMER - desc INV_TIMER - 0 - 0 - read-write - - - TIM0G - desc TIM0G - 1 - 1 - read-write - - - TIM1G - desc TIM1G - 2 - 2 - read-write - - - TIM2G - desc TIM2G - 3 - 3 - read-write - - - INV_PCA - desc INV_PCA - 6 - 6 - read-write - - - PCACAP0 - desc PCACAP0 - 7 - 7 - read-write - - - PCAECI - desc PCAECI - 8 - 8 - read-write - - - INV_TIM4 - desc INV_TIM4 - 9 - 9 - read-write - - - TIM4 - desc TIM4 - 10 - 10 - read-write - - - INV_TIM5 - desc INV_TIM5 - 11 - 11 - read-write - - - TIM5 - desc TIM5 - 12 - 12 - read-write - - - INV_TIM6 - desc INV_TIM6 - 13 - 13 - read-write - - - TIM6 - desc TIM6 - 14 - 14 - read-write - - - BRAKE - desc BRAKE - 15 - 15 - read-write - - - - - IFR - desc IFR - 0x24 - 32 - read-write - 0x0 - 0xF - - - VC0_INTF - desc VC0_INTF - 0 - 0 - read-write - - - VC1_INTF - desc VC1_INTF - 1 - 1 - read-write - - - VC0_FILTER - desc VC0_FILTER - 2 - 2 - read-only - - - VC1_FILTER - desc VC1_FILTER - 3 - 3 - read-only - - - - - - - WDT - desc WDT - 0x40000C00 - BT0 - - 0x0 - 0x86 - - - - RST - desc RST - 0x80 - 32 - write-only - 0x0 - 0xFF - - - WDTRST - desc WDTRST - 7 - 0 - write-only - - - - - CON - desc CON - 0x84 - 32 - read-write - 0xF - 0xFFBF - - - WOV - desc WOV - 3 - 0 - read-write - - - WDTR - desc WDTR - 4 - 4 - read-only - - - WINT_EN - desc WINT_EN - 5 - 5 - read-write - - - WDINT - desc WDINT - 7 - 7 - read-only - - - WCNTL - desc WCNTL - 15 - 8 - read-only - - - - - - - diff --git a/src/template/example/EWARM/qitas.bat b/src/template/example/EWARM/qitas.bat deleted file mode 100644 index bcbf38a..0000000 --- a/src/template/example/EWARM/qitas.bat +++ /dev/null @@ -1,7 +0,0 @@ -del *.dep /s -del *.ewt /s -del *.log /s -del *.ewd /s -del Backup* /s -rd settings /s /q -exit diff --git a/src/template/example/EWARM/startup_hc32f005c6ua.s b/src/template/example/EWARM/startup_hc32f005c6ua.s deleted file mode 100644 index 6a643b2..0000000 --- a/src/template/example/EWARM/startup_hc32f005c6ua.s +++ /dev/null @@ -1,307 +0,0 @@ -;******************************************************************************* -; Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -; -; This software is owned and published by: -; Huada Semiconductor Co.,Ltd ("HDSC"). -; -; BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -; BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -; -; This software contains source code for use with HDSC -; components. This software is licensed by HDSC to be adapted only -; for use in systems utilizing HDSC components. HDSC shall not be -; responsible for misuse or illegal use of this software for devices not -; supported herein. HDSC is providing this software "AS IS" and will -; not be responsible for issues arising from incorrect user implementation -; of the software. -; -; Disclaimer: -; HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -; REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -; ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -; WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -; WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -; WARRANTY OF NONINFRINGEMENT. -; HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -; NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -; LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -; LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -; INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -; INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -; SAVINGS OR PROFITS, -; EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -; YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -; INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -; FROM, THE SOFTWARE. -; -; This software may be replicated in part or whole for the licensed use, -; with the restriction that this Disclaimer and Copyright notice must be -; included with each copy of this software, whether used in part or whole, -; at all times. -;/ -;/*****************************************************************************/ -;/* Startup for IAR */ -;/* Version V1.0 */ -;/* Date 2017-10-31 */ -;/* Target-mcu M0+ Device */ -;/*****************************************************************************/ - - - MODULE ?cstartup - - ;; Forward declaration of sections. - SECTION CSTACK:DATA:NOROOT(3) - - EXTERN __iar_program_start - EXTERN SystemInit - PUBLIC __vector_table - - SECTION .intvec:CODE:ROOT(8) - DATA -__vector_table - DCD sfe(CSTACK) ; Top of Stack - DCD Reset_Handler ; Reset - DCD NMI_Handler ; NMI - DCD HardFault_Handler ; Hard Fault - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD SVC_Handler ; SVCall - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD PendSV_Handler ; PendSV - DCD SysTick_Handler ; SysTick - -; Numbered IRQ handler vectors - -; Note: renaming to device dependent ISR function names are done in - - DCD PORT0_IRQHandler - DCD PORT1_IRQHandler - DCD PORT2_IRQHandler - DCD PORT3_IRQHandler - DCD Dummy_Handler - DCD Dummy_Handler - DCD UART0_IRQHandler - DCD UART1_IRQHandler - DCD Dummy_Handler - DCD Dummy_Handler - DCD SPI_IRQHandler - DCD Dummy_Handler - DCD I2C_IRQHandler - DCD Dummy_Handler - DCD TIM0_IRQHandler - DCD TIM1_IRQHandler - DCD TIM2_IRQHandler - DCD Dummy_Handler - DCD TIM4_IRQHandler - DCD TIM5_IRQHandler - DCD TIM6_IRQHandler - DCD PCA_IRQHandler - DCD WDT_IRQHandler - DCD Dummy_Handler - DCD ADC_IRQHandler - DCD Dummy_Handler - DCD VC0_IRQHandler - DCD VC1_IRQHandler - DCD LVD_IRQHandler - DCD Dummy_Handler - DCD EF_RAM_IRQHandler - DCD CLKTRIM_IRQHandler - - - THUMB - - PUBWEAK Reset_Handler - SECTION .text:CODE:NOROOT:REORDER(2) -Reset_Handler - ;reset NVIC if in rom debug - LDR R0, =0x20000000 - LDR R2, =0x0 ; vector offset - cmp PC, R0 - bls ROMCODE - - ; ram code base address. - ADD R2, R0,R2 -ROMCODE - ; reset Vector table address. - LDR R0, =0xE000ED08 - STR R2, [R0] - - LDR R0, =SystemInit - BLX R0 - LDR R0, =__iar_program_start - BX R0 - - PUBWEAK NMI_Handler - SECTION .text:CODE:NOROOT:REORDER(1) -NMI_Handler - B NMI_Handler - - PUBWEAK HardFault_Handler - SECTION .text:CODE:NOROOT:REORDER(1) -HardFault_Handler - B HardFault_Handler - - - PUBWEAK SVC_Handler - SECTION .text:CODE:NOROOT:REORDER(1) -SVC_Handler - B SVC_Handler - - PUBWEAK PendSV_Handler - SECTION .text:CODE:NOROOT:REORDER(1) -PendSV_Handler - B PendSV_Handler - - PUBWEAK SysTick_Handler - SECTION .text:CODE:NOROOT:REORDER(1) -SysTick_Handler - B SysTick_Handler - - PUBWEAK PORT0_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -PORT0_IRQHandler - B PORT0_IRQHandler - - - PUBWEAK PORT1_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -PORT1_IRQHandler - B PORT1_IRQHandler - - - PUBWEAK PORT2_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -PORT2_IRQHandler - B PORT2_IRQHandler - - - PUBWEAK PORT3_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -PORT3_IRQHandler - B PORT3_IRQHandler - - - PUBWEAK Dummy_Handler - SECTION .text:CODE:NOROOT:REORDER(1) -Dummy_Handler - B Dummy_Handler - - - PUBWEAK UART0_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -UART0_IRQHandler - B UART0_IRQHandler - - - PUBWEAK UART1_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -UART1_IRQHandler - B UART1_IRQHandler - - - PUBWEAK SPI_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -SPI_IRQHandler - B SPI_IRQHandler - - - PUBWEAK I2C_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -I2C_IRQHandler - B I2C_IRQHandler - - - PUBWEAK TIM0_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -TIM0_IRQHandler - B TIM0_IRQHandler - - - PUBWEAK TIM1_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -TIM1_IRQHandler - B TIM1_IRQHandler - - - PUBWEAK TIM2_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -TIM2_IRQHandler - B TIM2_IRQHandler - - - PUBWEAK TIM4_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -TIM4_IRQHandler - B TIM4_IRQHandler - - - PUBWEAK TIM5_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -TIM5_IRQHandler - B TIM5_IRQHandler - - - PUBWEAK TIM6_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -TIM6_IRQHandler - B TIM6_IRQHandler - - - PUBWEAK PCA_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -PCA_IRQHandler - B PCA_IRQHandler - - - PUBWEAK WDT_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -WDT_IRQHandler - B WDT_IRQHandler - - - PUBWEAK ADC_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -ADC_IRQHandler - B ADC_IRQHandler - - - PUBWEAK VC0_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -VC0_IRQHandler - B VC0_IRQHandler - - - PUBWEAK VC1_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -VC1_IRQHandler - B VC1_IRQHandler - - - PUBWEAK LVD_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -LVD_IRQHandler - B LVD_IRQHandler - - - PUBWEAK EF_RAM_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -EF_RAM_IRQHandler - B EF_RAM_IRQHandler - - - PUBWEAK CLKTRIM_IRQHandler - SECTION .text:CODE:NOROOT:REORDER(1) -CLKTRIM_IRQHandler - B CLKTRIM_IRQHandler - - - - - - END diff --git a/src/template/example/MDK/.gitignore b/src/template/example/MDK/.gitignore deleted file mode 100644 index 4af9d84..0000000 --- a/src/template/example/MDK/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -list/ -obj/ -listing/ -RTE/ -matismart/ -DebugConfig/ -.pio/ -.vscode/ -*.crf -*.dep -*.map -*.hex -*.bin -*.bak -*.txt -*.lst -*.uvgu* diff --git a/src/template/example/MDK/HC32F005.FLM b/src/template/example/MDK/HC32F005.FLM deleted file mode 100644 index 9436443..0000000 Binary files a/src/template/example/MDK/HC32F005.FLM and /dev/null differ diff --git a/src/template/example/MDK/HC32F005C6UA.uvoptx b/src/template/example/MDK/HC32F005C6UA.uvoptx deleted file mode 100644 index fc80460..0000000 --- a/src/template/example/MDK/HC32F005C6UA.uvoptx +++ /dev/null @@ -1,237 +0,0 @@ - - - - 1.0 - -
### uVision Project, (C) Keil Software
- - - *.c - *.s*; *.src; *.a* - *.obj - *.lib - *.txt; *.h; *.inc; *.md - *.plm - *.cpp - 0 - - - - 0 - 0 - - - - HC32F005C6UA_Release - 0x4 - ARM-ADS - - 4000000 - - 1 - 1 - 0 - 1 - 0 - - - 1 - 65535 - 0 - 0 - 0 - - - 79 - 66 - 8 - .\output\release\ - - - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 0 - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - - - 1 - 0 - 1 - - 7 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 1 - 0 - 1 - 1 - 0 - 0 - 1 - 0 - 0 - 4 - - - - - - - - - - - Segger\JL2CM3.dll - - - - 0 - JL2CM3 - -U158007612 -O78 -S2 -ZTIFSpeedSel5000 -A0 -C0 -JU1 -JI127.0.0.1 -JP0 -RST0 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -TB1 -TFE0 -FO7 -FD20000000 -FC1000 -FN1 -FF0Flash_HC32F15 -FS00 -FL020000 - - - 0 - UL2CM3 - UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0NEW_DEVICE -FS00 -FL040000 -FP0($$Device:ARMCM0P$Device\ARM\Flash\NEW_DEVICE.FLM)) - - - - - 0 - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - 0 - 0 - 0 - - - - - - - - - - - - - common - 1 - 0 - 0 - 0 - - 1 - 1 - 2 - 0 - 0 - 0 - .\startup_hc32f005c6ua.s - startup_hc32f005c6ua.s - 0 - 0 - - - 1 - 2 - 1 - 0 - 0 - 0 - ..\..\common\system_hc32f005c6ua.c - system_hc32f005c6ua.c - 0 - 0 - - - - - source - 1 - 0 - 0 - 0 - - 2 - 3 - 1 - 0 - 0 - 0 - ..\source\main.c - main.c - 0 - 0 - - - - - ::CMSIS - 0 - 0 - 0 - 1 - - -
diff --git a/src/template/example/MDK/HC32F005C6UA.uvprojx b/src/template/example/MDK/HC32F005C6UA.uvprojx deleted file mode 100644 index 46da990..0000000 --- a/src/template/example/MDK/HC32F005C6UA.uvprojx +++ /dev/null @@ -1,428 +0,0 @@ - - - - 2.1 - -
### uVision Project, (C) Keil Software
- - - - HC32F005C6UA_Release - 0x4 - ARM-ADS - 5060960::V5.06 update 7 (build 960)::ARMCC - 0 - - - ARMCM0P - ARM - ARM.CMSIS.5.7.0 - http://www.keil.com/pack/ - IROM(0x00000000,0x40000) IRAM(0x20000000,0x20000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ESEL ELITTLE - - - UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0NEW_DEVICE -FS00 -FL040000 -FP0($$Device:ARMCM0P$Device\ARM\Flash\NEW_DEVICE.FLM)) - 0 - $$Device:ARMCM0P$Device\ARM\ARMCM0plus\Include\ARMCM0plus.h - - - - - - - - - - HC32F005C6UA.SFR - 1 - 0 - - - - - - - 0 - 0 - 0 - 0 - 1 - - .\output\release\ - HC32F005C6UA - 1 - 0 - 0 - 1 - 1 - .\output\release\ - 1 - 0 - 0 - - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - - - 0 - 0 - 0 - 0 - - - 0 - 0 - - - 0 - 0 - 0 - 0 - - 0 - - - - 0 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 0 - 3 - - - 1 - - - SARMCM3.DLL - - DARMCM1.DLL - -pCM0+ - SARMCM3.DLL - - TARMCM1.DLL - -pCM0+ - - - - 1 - 0 - 0 - 0 - 16 - - - - - 1 - 0 - 0 - 1 - 1 - 4096 - - 1 - BIN\UL2CM3.DLL - "" () - - - - - 0 - - - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 0 - 0 - 0 - 0 - 1 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - "Cortex-M0+" - - 0 - 0 - 0 - 1 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 8 - 0 - 1 - 0 - 0 - 3 - 3 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - 0 - 0 - 0 - 0 - 1 - 0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x20000000 - 0x20000 - - - 1 - 0x0 - 0x40000 - - - 0 - 0x0 - 0x0 - - - 1 - 0x0 - 0x0 - - - 1 - 0x0 - 0x0 - - - 1 - 0x0 - 0x0 - - - 1 - 0x0 - 0x8000 - - - 1 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x0 - 0x0 - - - 0 - 0x20000000 - 0x1000 - - - 0 - 0x0 - 0x0 - - - - - - 1 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - - ..\..\common;..\source - - - - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 1 - - - - - - - - - 1 - 0 - 0 - 0 - 1 - 0 - 0x00000000 - 0x20000000 - - HC32F005C6UA.sct - - - - - - - - - - - common - - - startup_hc32f005c6ua.s - 2 - .\startup_hc32f005c6ua.s - - - system_hc32f005c6ua.c - 1 - ..\..\common\system_hc32f005c6ua.c - - - - - source - - - main.c - 1 - ..\source\main.c - - - - - ::CMSIS - - - - - - - - - - - - - - - - - - -
diff --git a/src/template/example/MDK/hc32f005c6ua.sfr b/src/template/example/MDK/hc32f005c6ua.sfr deleted file mode 100644 index 06cdfa7..0000000 Binary files a/src/template/example/MDK/hc32f005c6ua.sfr and /dev/null differ diff --git a/src/template/example/MDK/qitas.bat b/src/template/example/MDK/qitas.bat deleted file mode 100644 index 197395c..0000000 --- a/src/template/example/MDK/qitas.bat +++ /dev/null @@ -1,39 +0,0 @@ -del *.bin /s -del *.lst /s -del *.txt /s -del *.uvopt /s -del *.uvgui.* /s -del *.uvguix.* /s -rd obj /s /q -rd RTE /s /q -rd list /s /q -rd Lst /s /q -rd matismart /s /q -rd DebugConfig /s /q -del *.bak /s -del *.ddk /s -del *.edk /s -del *.lst /s -del *.lnp /s -del *.mpf /s -del *.mpj /s -del *.obj /s -del *.omf /s -::del *.opt /s ::涓嶅厑璁稿垹闄LINK鐨勮缃� -del *.plg /s -del *.rpt /s -del *.tmp /s -del *.__i /s -del *.crf /s -del *.o /s -del *.d /s -del *.axf /s -del *.tra /s -del *.dep /s -del JLinkLog.txt /s - -del *.iex /s -del *.htm /s -del *.sct /s -del *.map /s -exit diff --git a/src/template/example/MDK/startup_hc32f005c6ua.s b/src/template/example/MDK/startup_hc32f005c6ua.s deleted file mode 100644 index eaccb25..0000000 --- a/src/template/example/MDK/startup_hc32f005c6ua.s +++ /dev/null @@ -1,280 +0,0 @@ -;/****************************************************************************** -;* Copyright (C) 2017, Huada Semiconductor Co.,Ltd All rights reserved. -;* -;* This software is owned and published by: -;* Huada Semiconductor Co.,Ltd ("HDSC"). -;* -;* BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND -;* BY ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT. -;* -;* This software contains source code for use with HDSC -;* components. This software is licensed by HDSC to be adapted only -;* for use in systems utilizing HDSC components. HDSC shall not be -;* responsible for misuse or illegal use of this software for devices not -;* supported herein. HDSC is providing this software "AS IS" and will -;* not be responsible for issues arising from incorrect user implementation -;* of the software. -;* -;* Disclaimer: -;* HDSC MAKES NO WARRANTY, EXPRESS OR IMPLIED, ARISING BY LAW OR OTHERWISE, -;* REGARDING THE SOFTWARE (INCLUDING ANY ACOOMPANYING WRITTEN MATERIALS), -;* ITS PERFORMANCE OR SUITABILITY FOR YOUR INTENDED USE, INCLUDING, -;* WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, THE IMPLIED -;* WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE OR USE, AND THE IMPLIED -;* WARRANTY OF NONINFRINGEMENT. -;* HDSC SHALL HAVE NO LIABILITY (WHETHER IN CONTRACT, WARRANTY, TORT, -;* NEGLIGENCE OR OTHERWISE) FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT -;* LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, -;* LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING FROM USE OR -;* INABILITY TO USE THE SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, -;* INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOSS OF DATA, -;* SAVINGS OR PROFITS, -;* EVEN IF Disclaimer HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -;* YOU ASSUME ALL RESPONSIBILITIES FOR SELECTION OF THE SOFTWARE TO ACHIEVE YOUR -;* INTENDED RESULTS, AND FOR THE INSTALLATION OF, USE OF, AND RESULTS OBTAINED -;* FROM, THE SOFTWARE. -;* -;* This software may be replicated in part or whole for the licensed use, -;* with the restriction that this Disclaimer and Copyright notice must be -;* included with each copy of this software, whether used in part or whole, -;* at all times. -;*/ -;/*****************************************************************************/ - -;/*****************************************************************************/ -;/* Startup for ARM */ -;/* Version V1.0 */ -;/* Date 2017-12-12 */ -;/* Target-mcu {HC32L110} */ -;/*****************************************************************************/ - -; Stack Configuration -; Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> - -Stack_Size EQU 0x00000100 - - AREA STACK, NOINIT, READWRITE, ALIGN=3 -Stack_Mem SPACE Stack_Size -__initial_sp - - -; Heap Configuration -; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8> - -Heap_Size EQU 0x00000100 - - AREA HEAP, NOINIT, READWRITE, ALIGN=3 -__heap_base -Heap_Mem SPACE Heap_Size -__heap_limit - - - PRESERVE8 - THUMB - - -; Vector Table Mapped to Address 0 at Reset - - AREA RESET, DATA, READONLY - EXPORT __Vectors - EXPORT __Vectors_End - EXPORT __Vectors_Size - -__Vectors - DCD __initial_sp ; Top of Stack - DCD Reset_Handler ; Reset - DCD NMI_Handler ; NMI - DCD HardFault_Handler ; Hard Fault - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD SVC_Handler ; SVCall - DCD 0 ; Reserved - DCD 0 ; Reserved - DCD PendSV_Handler ; PendSV - DCD SysTick_Handler ; SysTick - - DCD PORT0_IRQHandler - DCD PORT1_IRQHandler - DCD PORT2_IRQHandler - DCD PORT3_IRQHandler - DCD Dummy_Handler - DCD Dummy_Handler - DCD UART0_IRQHandler - DCD UART1_IRQHandler - DCD Dummy_Handler - DCD Dummy_Handler - DCD SPI_IRQHandler - DCD Dummy_Handler - DCD I2C_IRQHandler - DCD Dummy_Handler - DCD TIM0_IRQHandler - DCD TIM1_IRQHandler - DCD TIM2_IRQHandler - DCD Dummy_Handler - DCD TIM4_IRQHandler - DCD TIM5_IRQHandler - DCD TIM6_IRQHandler - DCD PCA_IRQHandler - DCD WDT_IRQHandler - DCD Dummy_Handler - DCD ADC_IRQHandler - DCD Dummy_Handler - DCD VC0_IRQHandler - DCD VC1_IRQHandler - DCD LVD_IRQHandler - DCD Dummy_Handler - DCD EF_RAM_IRQHandler - DCD CLKTRIM_IRQHandler - - - -__Vectors_End - -__Vectors_Size EQU __Vectors_End - __Vectors - - AREA |.text|, CODE, READONLY - - -; Reset Handler - -Reset_Handler PROC - EXPORT Reset_Handler [WEAK] - IMPORT SystemInit - IMPORT __main - - ;reset NVIC if in rom debug - LDR R0, =0x20000000 - LDR R2, =0x0 - MOVS R1, #0 ; for warning, - ADD R1, PC,#0 ; for A1609W, - CMP R1, R0 - BLS RAMCODE - - ; ram code base address. - ADD R2, R0,R2 -RAMCODE - ; reset Vector table address. - LDR R0, =0xE000ED08 - STR R2, [R0] - - LDR R0, =SystemInit - BLX R0 - LDR R0, =__main - BX R0 - ENDP - - -; Dummy Exception Handlers (infinite loops which can be modified) - -NMI_Handler PROC - EXPORT NMI_Handler [WEAK] - B . - ENDP - - -HardFault_Handler\ - PROC - EXPORT HardFault_Handler [WEAK] - B . - ENDP -SVC_Handler PROC - EXPORT SVC_Handler [WEAK] - B . - ENDP -PendSV_Handler PROC - EXPORT PendSV_Handler [WEAK] - B . - ENDP -SysTick_Handler PROC - EXPORT SysTick_Handler [WEAK] - B . - ENDP - -Default_Handler PROC - EXPORT PORT0_IRQHandler [WEAK] - EXPORT PORT1_IRQHandler [WEAK] - EXPORT PORT2_IRQHandler [WEAK] - EXPORT PORT3_IRQHandler [WEAK] - EXPORT Dummy_Handler [WEAK] - EXPORT UART0_IRQHandler [WEAK] - EXPORT UART1_IRQHandler [WEAK] - EXPORT SPI_IRQHandler [WEAK] - EXPORT I2C_IRQHandler [WEAK] - EXPORT TIM0_IRQHandler [WEAK] - EXPORT TIM1_IRQHandler [WEAK] - EXPORT TIM2_IRQHandler [WEAK] - EXPORT TIM4_IRQHandler [WEAK] - EXPORT TIM5_IRQHandler [WEAK] - EXPORT TIM6_IRQHandler [WEAK] - EXPORT PCA_IRQHandler [WEAK] - EXPORT WDT_IRQHandler [WEAK] - EXPORT ADC_IRQHandler [WEAK] - EXPORT VC0_IRQHandler [WEAK] - EXPORT VC1_IRQHandler [WEAK] - EXPORT LVD_IRQHandler [WEAK] - EXPORT EF_RAM_IRQHandler [WEAK] - EXPORT CLKTRIM_IRQHandler [WEAK] -PORT0_IRQHandler -PORT1_IRQHandler -PORT2_IRQHandler -PORT3_IRQHandler -Dummy_Handler -UART0_IRQHandler -UART1_IRQHandler -SPI_IRQHandler -I2C_IRQHandler -TIM0_IRQHandler -TIM1_IRQHandler -TIM2_IRQHandler -TIM4_IRQHandler -TIM5_IRQHandler -TIM6_IRQHandler -PCA_IRQHandler -WDT_IRQHandler -ADC_IRQHandler -VC0_IRQHandler -VC1_IRQHandler -LVD_IRQHandler -EF_RAM_IRQHandler -CLKTRIM_IRQHandler - - - B . - - ENDP - - - ALIGN - - -; User Initial Stack & Heap - - IF :DEF:__MICROLIB - - EXPORT __initial_sp - EXPORT __heap_base - EXPORT __heap_limit - - ELSE - - IMPORT __use_two_region_memory - EXPORT __user_initial_stackheap -__user_initial_stackheap - - LDR R0, = Heap_Mem - LDR R1, =(Stack_Mem + Stack_Size) - LDR R2, = (Heap_Mem + Heap_Size) - LDR R3, = Stack_Mem - BX LR - - ALIGN - - ENDIF - - - END diff --git a/src/template/example/source/main.c b/src/template/example/source/main.c deleted file mode 100644 index 92021de..0000000 --- a/src/template/example/source/main.c +++ /dev/null @@ -1,9 +0,0 @@ - -#include "hc32f005c6ua.h" - - -int32_t main(void) -{ - while(1); -} -