Files
RCU_BUS485_PLC_MASTER/Source/arch/apt32f102a.svc
yanghongfeng f25132cbe3 修复开关控制组控的控制异常问题
修改PB开关状态组控处理,解决后32路的开关状态会复用上前32个回路的数据
2026-01-19 15:35:56 +08:00

3453 lines
499 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="UTF-8"?>
<com.csky.cds.peripheral>
<config Version="1.0">
<Peripheral Name="IFC">
<Register Name="IFC_IDR" Authority="RW" Address="0x40010000" Width="32" Description="闪存控制器ID寄存器">
<Bit Name="IDCODE" Authority="RW" Bits="23-0" Description="ID代码 (0x32f102)" />
</Register>
<Register Name="IFC_CEDR" Authority="RW" Address="0x40010004" Width="32" Description="时钟使能/禁止寄存器">
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="时钟使能/禁止寄存器&#xD;&#xA;&#xD;&#xA;0: 禁止闪存控制器的时钟&#xD;&#xA;1: 使能闪存控制器的时钟&#xD;&#xA;&#xD;&#xA;软件复位 (IFC_SRR)不会影响CLKEN的状态" />
</Register>
<Register Name="IFC_SRR" Authority="RW" Address="0x40010008" Width="32" Description="软件复位寄存器">
<Bit Name="SWRST" Authority="RW" Bits="0" Description="软件复位&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 执行软件复位操作&#xD;&#xA;&#xD;&#xA;除CEDR外的所有寄存器都会恢复初始值" />
</Register>
<Register Name="IFC_CMR" Authority="RW" Address="0x4001000c" Width="32" Description="指令寄存器">
<Bit Name="PROT" Authority="RW" Bits="20-16" Description="保护功能选择寄存器&#xD;&#xA;[20] : ENCRYPT&#xD;&#xA;[19] : SWDP&#xD;&#xA;[18] : RDP&#xD;&#xA;[17] : HDP_FULL&#xD;&#xA;[16] : HDP_4K&#xD;&#xA;&#xD;&#xA;在CMD的写User Option命令中使用PROT位来选择保护功能的使能将相应位置1表示使能该项保护功能。" />
<Bit Name="HMODE" Authority="RW" Bits="9-8" Description="操作模式寄存器&#xD;&#xA;00: 普通模式&#xD;&#xA;01: 用户特权模式&#xD;&#xA;10: 保留&#xD;&#xA;11: 保留&#xD;&#xA;在普通模式下,只有页擦除和写操作有效。其它指令都必须在用户特权模式下执行。" />
<Bit Name="CMD" Authority="RW" Bits="3-0" Description="写/擦除指令寄存器&#xD;&#xA;&#xD;&#xA;CMD[3:0] 指令&#xD;&#xA;0x1 写操作&#xD;&#xA;0x2 页擦除 (Page Erase)&#xD;&#xA;0x3 保留,禁止使用&#xD;&#xA;0x4 片擦除 (Chip Erase)&#xD;&#xA;0x5 自定义选项擦除&#xD;&#xA;0x6 预编程设定&#xD;&#xA;0x7 页缓存清除&#xD;&#xA;0x8 0xC 保留,禁止使用&#xD;&#xA;0xD 禁用调试口重映射 (SWD Remap)&#xD;&#xA;0xE 使能调试口重映射 (SWD Remap)&#xD;&#xA;0xF 写User Option操作&#xD;&#xA;&#xD;&#xA;注意:&#xD;&#xA;1. 当执行ISP操作时禁止读取闪存内容&#xD;&#xA;2. 当操作完成后IFC_CMR寄存器会自动清零&#xD;&#xA;3. 如果IFC_KR的秘钥值不对那么指令不会被执行" />
</Register>
<Register Name="IFC_CR" Authority="RW" Address="0x40010010" Width="32" Description="控制寄存器">
<Bit Name="START" Authority="RW" Bits="0" Description="操作启动位&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 根据CMR设置的值开始执行指令&#xD;&#xA;&#xD;&#xA;注意:&#xD;&#xA;1. 当操作完成后START位会被自动清零&#xD;&#xA;2. 指令的执行过程中,禁止对这位再进行写操作" />
</Register>
<Register Name="IFC_MR" Authority="RW" Address="0x40010014" Width="32" Description="工作模式寄存器">
<Bit Name="SPEED" Authority="RW" Bits="16" Description="FLASH IP速度模式选择&#xD;&#xA;&#xD;&#xA;0: 低速模式&#xD;&#xA;1: 高速模式" />
<Bit Name="WAIT" Authority="RW" Bits="2-0" Description="闪存读等待周期&#xD;&#xA;&#xD;&#xA;0: 闪存读取中等待0个周期&#xD;&#xA;n: 闪存读取中等待n个周期" />
</Register>
<Register Name="IFC_FM_ADDR" Authority="RW" Address="0x40010018" Width="32" Description="ISP地址寄存器">
<Bit Name="FM_ADDR" Authority="RW" Bits="31-0" Description="ISP地址寄存器&#xD;&#xA;&#xD;&#xA;写操作和页擦除操作中的目标闪存地址&#xD;&#xA;&#xD;&#xA;注意:&#xD;&#xA;1. 操作完成后,这个寄存器会自动清零。&#xD;&#xA;2. 除了写操作和页擦除操作,其它指令执行时都不需要设置该寄存器" />
</Register>
<Register Name="IFC_KR" Authority="RW" Address="0x40010020" Width="32" Description="ISP秘钥寄存器">
<Bit Name="KEY" Authority="RW" Bits="31-0" Description="ISP安全秘钥寄存器&#xD;&#xA;&#xD;&#xA;秘钥寄存器用来保证ISP操作的安全必须将该寄存器写0x5A5A_5A5A所有闪存控制器的指令才会被执行。该寄存器在ISP操作完成后会被自动清零。 " />
</Register>
<Register Name="IFC_IMCR" Authority="RW" Address="0x40010024" Width="32" Description="中断控制寄存器">
<Bit Name="OVW_ERR" Authority="RW" Bits="15" Description="非法操作错误中断使能/禁止&#xD;&#xA;当ISP操作正在进行时尝试修改CMDFM_ADDRFM_DRSTART寄存器&#xD;&#xA;0: 禁止中断&#xD;&#xA;1: 使能中断" />
<Bit Name="ADDR_ERR" Authority="RW" Bits="14" Description="" />
<Bit Name="UDEF_ERR" Authority="RW" Bits="13" Description="未定义指令错误中断使能/禁止&#xD;&#xA;CMD中定义的操作指令非法或者不允许在当前模式中执行&#xD;&#xA;&#xD;&#xA;0: 禁止中断&#xD;&#xA;1: 使能中断" />
<Bit Name="PROT_ERR" Authority="RW" Bits="12" Description="保护错误中断使能/禁止&#xD;&#xA;当硬件保护锁使能,仍然进行写操作或擦除操作&#xD;&#xA;&#xD;&#xA;0: 禁止中断&#xD;&#xA;1: 使能中断" />
<Bit Name="PEP_END" Authority="RW" Bits="2" Description="预编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 禁止中断&#xD;&#xA;1: 使能中断" />
<Bit Name="PGM_END" Authority="RW" Bits="1" Description="编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 禁止中断&#xD;&#xA;1: 使能中断" />
<Bit Name="ERS_END" Authority="RW" Bits="0" Description="擦除指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 禁止中断&#xD;&#xA;1: 使能中断" />
</Register>
<Register Name="IFC_RISR" Authority="RW" Address="0x40010028" Width="32" Description="中断原始状态寄存器">
<Bit Name="OVW_ERR" Authority="RO" Bits="15" Description="非法操作错误中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
<Bit Name="ADDR_ERR" Authority="RO" Bits="14" Description="地址错误中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
<Bit Name="UDEF_ERR" Authority="RO" Bits="13" Description="未定义指令错误中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
<Bit Name="PROT_ERR" Authority="RO" Bits="12" Description="保护错误中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
<Bit Name="PEP_END" Authority="RO" Bits="2" Description="预编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
<Bit Name="PGM_END" Authority="RO" Bits="1" Description="编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
<Bit Name="ERS_END" Authority="RO" Bits="0" Description="擦除指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该状态没有发生&#xD;&#xA;1: 该状态发生" />
</Register>
<Register Name="IFC_MISR" Authority="RW" Address="0x4001002c" Width="32" Description="中断状态寄存器">
<Bit Name="OVW_ERR" Authority="RO" Bits="15" Description="非法操作错误中断的状态&#xD;&#xA;&#xD;&#xA;0: 该中断没有发生&#xD;&#xA;1: 该中断发生" />
<Bit Name="ADDR_ERR" Authority="RO" Bits="14" Description="" />
<Bit Name="UDEF_ERR" Authority="RO" Bits="13" Description="未定义指令错误中断的状态&#xD;&#xA;&#xD;&#xA;0: 该中断没有发生&#xD;&#xA;1: 该中断发生" />
<Bit Name="PROT_ERR" Authority="RO" Bits="12" Description="保护错误中断的状态&#xD;&#xA;&#xD;&#xA;0: 该中断没有发生&#xD;&#xA;1: 该中断发生" />
<Bit Name="PEP_END" Authority="RO" Bits="2" Description="预编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该中断没有发生&#xD;&#xA;1: 该中断发生" />
<Bit Name="PGM_END" Authority="RO" Bits="1" Description="编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该中断没有发生&#xD;&#xA;1: 该中断发生" />
<Bit Name="ERS_END" Authority="RO" Bits="0" Description="擦除指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 该中断没有发生&#xD;&#xA;1: 该中断发生" />
</Register>
<Register Name="IFC_ICR" Authority="RW" Address="0x40010030" Width="32" Description="中断状态清除寄存器">
<Bit Name="OVW_ERR" Authority="RW" Bits="15" Description="非法操作错误中断状态清除&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
<Bit Name="ADDR_ERR" Authority="RW" Bits="14" Description="地址错误中断状态清除&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
<Bit Name="UDEF_ERR" Authority="RW" Bits="13" Description="未定义指令错误中断状态清除&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
<Bit Name="PROT_ERR" Authority="RW" Bits="12" Description="保护错误中断状态清除&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
<Bit Name="PEP_END" Authority="RW" Bits="2" Description="预编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
<Bit Name="PGM_END" Authority="RW" Bits="1" Description="编程指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
<Bit Name="ERS_END" Authority="RW" Bits="0" Description="擦除指令执行完成中断的原始状态&#xD;&#xA;&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除中断" />
</Register>
</Peripheral>
<Peripheral Name="SYSCON">
<Register Name="SYSCON_IDCCR" Authority="RW" Address="0x40011000" Width="32" Description="ID和控制器模块时钟控制寄存器">
<Bit Name="IDCODE/ID_KEY" Authority="RW" Bits="31-16" Description="对当前寄存器进行写入时必须同时写入正确KEY值。只有在ID_KEY等于0xE11E时写入才有效。" />
<Bit Name="IDCODE" Authority="RO" Bits="15-8" Description="读取时返回ID CODEIP版本信息" />
<Bit Name="SWRST" Authority="RW" Bits="7" Description="SYSCON产生软件复位。效果和CPU通过软复位指令产生软件复位一致。&#xD;&#xA;0h没有效果。&#xD;&#xA;1h执行软件复位。" />
<Bit Name="CPUFTRST" Authority="RW" Bits="4-1" Description="CPU Fault发生时硬件触发系统复位使能控制位。可由User Option加载复位缺省值&#xD;&#xA;Other禁止CPU Fault时硬件触发复位。&#xD;&#xA;Ah 使能CPU Fault时硬件触发复位。" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="使能或禁止SYSCON模块的PCLK时钟。&#xD;&#xA;0h禁止SYSCON模块的时钟。&#xD;&#xA;1h使能SYSCON模块的时钟。" />
</Register>
<Register Name="SYSCON_GCER" Authority="RW" Address="0x40011004" Width="32" Description="通用使能控制寄存器">
<Bit Name="EMO_CMRST" Authority="RW" Bits="19" Description="在EMO_CKM功能使能后使能或禁止外部EMOSC失效复位。缺省使能&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止EMOSC失效产生系统复位。当禁止产生系统复位时EMOSC失效后会自动切换系统时钟到IMOSC上。" />
<Bit Name="EMO_CKM" Authority="RW" Bits="18" Description="使能或禁止外部EMOSC监测功能缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止EMOSC监测。" />
<Bit Name="LP_EMOEN" Authority="RW" Bits="15" Description="使能或禁止DEEP-SLEEP模式下EMOSC工作状态缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止EMOSC在DEEP-SLEEP模式下工作。" />
<Bit Name="LP_IMOEN" Authority="RW" Bits="13" Description="使能或禁止DEEP-SLEEP模式下IMOSC工作状态缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止IMOSC在DEEP-SLEEP模式下工作。" />
<Bit Name="LP_ISOEN" Authority="RW" Bits="12" Description="使能或禁止DEEP-SLEEP模式下ISOSC工作状态缺省禁止若IWDT使能则该控制位设置无效。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止ISOSC在DEEP-SLEEP模式下工作。" />
<Bit Name="SYSTICK" Authority="RW" Bits="11" Description="使能或禁止CORET的计数时钟缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定功能。" />
<Bit Name="IDLE_HCLK" Authority="RW" Bits="9" Description="使能或禁止SLEEP模式下的HCLK缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定功能。" />
<Bit Name="IDLE_PCLK" Authority="RW" Bits="8" Description="使能或禁止SLEEP模式下的PCLK缺省使能。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定功能。" />
<Bit Name="HFOSC" Authority="RW" Bits="4" Description="使能或禁止HFOSC 内部振荡器(缺省禁止)。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
<Bit Name="EMOSC" Authority="RW" Bits="3" Description="使能或禁止EMOSC 外部振荡器XIN和XOUT管脚功能必须已经在GPIO中进行预先配置。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
<Bit Name="IMOSC" Authority="RW" Bits="1" Description="使能或禁止IMOSC 内部振荡器(缺省使能)。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
<Bit Name="ISOSC" Authority="RW" Bits="0" Description="使能或禁止ISOSC 内部振荡器(缺省使能)。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
</Register>
<Register Name="SYSCON_GCDR" Authority="RW" Address="0x40011008" Width="32" Description="通用禁止控制寄存器">
<Bit Name="EMO_CMRST" Authority="RW" Bits="19" Description="在EMO_CKM功能使能后使能或禁止外部EMOSC失效复位。缺省使能&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止EMOSC失效产生系统复位。当禁止产生系统复位时EMOSC失效后会自动切换系统时钟到IMOSC上。" />
<Bit Name="EMO_CKM" Authority="RW" Bits="18" Description="使能或禁止外部EMOSC监测功能缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止EMOSC监测。" />
<Bit Name="LP_EMOEN" Authority="RW" Bits="15" Description="使能或禁止DEEP-SLEEP模式下EMOSC工作状态缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止EMOSC在DEEP-SLEEP模式下工作。" />
<Bit Name="LP_IMOEN" Authority="RW" Bits="13" Description="使能或禁止DEEP-SLEEP模式下IMOSC工作状态缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止IMOSC在DEEP-SLEEP模式下工作。" />
<Bit Name="LP_ISOEN" Authority="RW" Bits="12" Description="使能或禁止DEEP-SLEEP模式下ISOSC工作状态缺省禁止若IWDT使能则该控制位设置无效。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止ISOSC在DEEP-SLEEP模式下工作。" />
<Bit Name="SYSTICK" Authority="RW" Bits="11" Description="使能或禁止CORET的计数时钟缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定功能。" />
<Bit Name="IDLE_HCLK" Authority="RW" Bits="9" Description="使能或禁止SLEEP模式下的HCLK缺省禁止。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定功能。" />
<Bit Name="IDLE_PCLK" Authority="RW" Bits="8" Description="使能或禁止SLEEP模式下的PCLK缺省使能。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定功能。" />
<Bit Name="HFOSC" Authority="RW" Bits="4" Description="使能或禁止HFOSC 内部振荡器(缺省禁止)。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
<Bit Name="EMOSC" Authority="RW" Bits="3" Description="使能或禁止EMOSC 外部振荡器XIN和XOUT管脚功能必须已经在GPIO中进行预先配置。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
<Bit Name="IMOSC" Authority="RW" Bits="1" Description="使能或禁止IMOSC 内部振荡器(缺省使能)。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
<Bit Name="ISOSC" Authority="RW" Bits="0" Description="使能或禁止ISOSC 内部振荡器(缺省使能)。&#xD;&#xA;0h无效。&#xD;&#xA;1h使能或禁止指定振荡器。" />
</Register>
<Register Name="SYSCON_GCSR" Authority="RW" Address="0x4001100c" Width="32" Description="通用状态寄存器">
<Bit Name="EMO_CMRST" Authority="RO" Bits="19" Description="EMOSC Clock Fail时产生系统复位。&#xD;&#xA;0h禁止产生系统复位。&#xD;&#xA;1h使能产生系统复位。" />
<Bit Name="EMO_CKM" Authority="RO" Bits="18" Description="EMOSC Clock Monitor功能状态。&#xD;&#xA;0hEMO CKM被关闭。&#xD;&#xA;1hEMO CKM被打开。" />
<Bit Name="LP_EMOEN" Authority="RO" Bits="15" Description="DEEP-SLEEP模式下EMOSC工作状态。&#xD;&#xA;0hEMOSC被关闭。&#xD;&#xA;1hEMOSC被打开。" />
<Bit Name="LP_IMOEN" Authority="RO" Bits="13" Description="DEEP-SLEEP模式下IMOSC工作状态。&#xD;&#xA;0hIMOSC被关闭。&#xD;&#xA;1hIMOSC被打开。" />
<Bit Name="LP_ISOEN" Authority="RO" Bits="12" Description="DEEP-SLEEP模式下ISOSC工作状态。&#xD;&#xA;0hISOSC被关闭。&#xD;&#xA;1hISOSC被打开。" />
<Bit Name="SYSTICK" Authority="RO" Bits="11" Description="CORET的时钟工作状态。&#xD;&#xA;0hCORET时钟被关闭。&#xD;&#xA;1hCORET时钟被打开。" />
<Bit Name="IDLE_HCLK" Authority="RO" Bits="9" Description="SLEEP 模式下HCLK状态。&#xD;&#xA;0hSLEEP模式下HCLK被关闭。&#xD;&#xA;1hSLEEP模式下HCLK被打开。" />
<Bit Name="IDLE_PCLK" Authority="RO" Bits="8" Description="SLEEP 模式下PCLK状态。&#xD;&#xA;0hSLEEP模式下PCLK被关闭。&#xD;&#xA;1hSLEEP模式下PCLK被打开。" />
<Bit Name="HFOSC" Authority="RO" Bits="4" Description="HFOSC 内部振荡器工作状态。&#xD;&#xA;0hHFOSC被关闭。&#xD;&#xA;1hHFOSC被打开。" />
<Bit Name="EMOSC" Authority="RO" Bits="3" Description="EMOSC 振荡器工作状态。&#xD;&#xA;0hEMOSC被关闭。&#xD;&#xA;1hEMOSC被打开。" />
<Bit Name="IMOSC" Authority="RO" Bits="1" Description="IMOSC 内部振荡器工作状态。&#xD;&#xA;0hIMOSC被关闭。&#xD;&#xA;1hIMOSC被打开。" />
<Bit Name="ISOSC" Authority="RO" Bits="0" Description="ISOSC 内部振荡器工作状态。&#xD;&#xA;0hISOSC被关闭。&#xD;&#xA;1hISOSC被打开。" />
</Register>
<Register Name="SYSCON_CKST" Authority="RW" Address="0x40011010" Width="32" Description="时钟状态寄存器">
<Bit Name="SYS_CLK" Authority="RO" Bits="8" Description="SYS_CLK (系统时钟)稳定状态。&#xD;&#xA;0hSYS_CLK时钟未稳定。&#xD;&#xA;1hSYS_CLK时钟已稳定。" />
<Bit Name="HFOSC" Authority="RO" Bits="4" Description="HFOSC 内部振荡器稳定状态。&#xD;&#xA;0hHFOSC时钟未稳定。&#xD;&#xA;1hHFOSC时钟已稳定。" />
<Bit Name="EMOSC" Authority="RO" Bits="3" Description="EMOSC 振荡器稳定状态。&#xD;&#xA;0hEMOSC时钟未稳定。&#xD;&#xA;1hEMOSC时钟已稳定。" />
<Bit Name="IMOSC" Authority="RO" Bits="1" Description="IMOSC 内部振荡器稳定状态。&#xD;&#xA;0hIMOSC时钟未稳定。&#xD;&#xA;1hISOSC时钟已稳定。" />
<Bit Name="ISOSC" Authority="RO" Bits="0" Description="ISOSC 内部振荡器稳定状态。&#xD;&#xA;0hISOSC时钟未稳定。&#xD;&#xA;1hISOSC时钟已稳定。" />
</Register>
<Register Name="SYSCON_RAMCHK" Authority="RW" Address="0x40011014" Width="32" Description="SRAM 校验控制寄存器">
<Bit Name="CHKEN" Authority="RW" Bits="31-24" Description="SRAM校验使能控制位。&#xD;&#xA;5Ah使能SRAM的奇偶校验功能。&#xD;&#xA;其他关闭SRAM的奇偶校验功能。" />
<Bit Name="RSTEN" Authority="RW" Bits="23-16" Description="SRAM校验失败复位控制位。在初次校验失败后系统会自动重试RE-READ当重试次数达到CHKCNT设置值时校验仍未通过则系统认为校验失败。&#xD;&#xA;5AhSRAM校验失败后复位。&#xD;&#xA;其他SRAM校验失败后不复位只产生中断。" />
<Bit Name="CHKTIMES" Authority="RW" Bits="15-0" Description="校验重试次数设置。&#xD;&#xA;设置SRAM校验错后的重试次数。如果SRAM校验发生错误SRAM控制器会再次重读SRAM进行校验重读的次数由该寄存器设置。连续重读次数满足该寄存器设置的次数后如果仍然失败那么会产生SRAM校验错的中断或者产生系统复位(由RSTEN位控制)。" />
</Register>
<Register Name="SYSCON_EFLCHK" Authority="RW" Address="0x40011018" Width="32" Description="Embedded Flash 校验控制寄存器">
<Bit Name="CHKEN" Authority="RW" Bits="31-24" Description="Flash校验使能控制位。&#xD;&#xA;5Ah使能Flash的校验功能。&#xD;&#xA;其他关闭Flash的校验功能。" />
<Bit Name="CHKTIMES" Authority="RW" Bits="23-0" Description="校验重试次数设置。&#xD;&#xA;设置Flash校验错后的重试次数。如果Flash校验发生错误Flash控制器会再次重读当前地址进行校验重读的次数由该寄存器设置。重读次数满足该寄存器设置的次数后如果仍然失败系统会产生相应系统复位(由CHKEN位控制)。" />
</Register>
<Register Name="SYSCON_SCLKCR" Authority="RW" Address="0x4001101c" Width="32" Description="系统时钟控制寄存器">
<Bit Name="SCLK_KEY" Authority="RW" Bits="31-16" Description="" />
<Bit Name="SCLK_DIV" Authority="RW" Bits="11-8" Description="系统时钟分频设置SYSCLK分频后即为HCLK频率。&#xD;&#xA;0h不分频。&#xD;&#xA;1h不分频。&#xD;&#xA;2h2分频。&#xD;&#xA;3h3分频。&#xD;&#xA;4h4分频。&#xD;&#xA;5h5分频。&#xD;&#xA;6h6分频。&#xD;&#xA;7h8分频。&#xD;&#xA;8h12分频。&#xD;&#xA;9h16分频。&#xD;&#xA;Ah24分频。&#xD;&#xA;Bh32分频。&#xD;&#xA;Ch36分频。&#xD;&#xA;Dh64分频。&#xD;&#xA;Eh128分频。&#xD;&#xA;Fh256分频。" />
<Bit Name="SCLK_SEL" Authority="RW" Bits="2-0" Description="系统时钟源控制选择当前系统时钟SYSCLK工作的时钟。&#xD;&#xA;0hIMOSC作为系统工作时钟源。&#xD;&#xA;1hEMOSC作为系统工作时钟源。&#xD;&#xA;2hHFOSC作为系统工作时钟源。&#xD;&#xA;4hISOSC作为系统工作时钟源。&#xD;&#xA;其他:保留" />
</Register>
<Register Name="SYSCON_PCLKCR" Authority="RW" Address="0x40011020" Width="32" Description="外设时钟控制寄存器">
<Bit Name="PCLK_KEY" Authority="RW" Bits="31-16" Description="" />
<Bit Name="PCLK_DIV" Authority="RW" Bits="11-8" Description="PCLK的时钟分频设置PCLK分频基于HCLK的频率。&#xD;&#xA;0000B不分频。&#xD;&#xA;0001B2分频。&#xD;&#xA;001xB4分频。&#xD;&#xA;01xxB8分频。&#xD;&#xA;1xxxB16分频。" />
</Register>
<Register Name="SYSCON_PCER0" Authority="RW" Address="0x40011028" Width="32" Description="外设时钟使能寄存器0">
<Bit Name="I2C" Authority="RW" Bits="22" Description="" />
<Bit Name="SIO" Authority="RW" Bits="20" Description="" />
<Bit Name="SPI" Authority="RW" Bits="16" Description="" />
<Bit Name="UART2" Authority="RW" Bits="10" Description="" />
<Bit Name="UART1" Authority="RW" Bits="9" Description="" />
<Bit Name="UART0" Authority="RW" Bits="8" Description="" />
<Bit Name="ETCB" Authority="RW" Bits="7" Description="" />
<Bit Name="TOUCH" Authority="RW" Bits="6" Description="" />
<Bit Name="ADC" Authority="RW" Bits="4" Description="" />
<Bit Name="IFC" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="SYSCON_PCDR0" Authority="RW" Address="0x4001102c" Width="32" Description="外设时钟禁止寄存器0">
<Bit Name="I2C" Authority="RW" Bits="22" Description="" />
<Bit Name="SIO" Authority="RW" Bits="20" Description="" />
<Bit Name="SPI" Authority="RW" Bits="16" Description="" />
<Bit Name="UART2" Authority="RW" Bits="10" Description="" />
<Bit Name="UART1" Authority="RW" Bits="9" Description="" />
<Bit Name="UART0" Authority="RW" Bits="8" Description="" />
<Bit Name="ETCB" Authority="RW" Bits="7" Description="" />
<Bit Name="TOUCH" Authority="RW" Bits="6" Description="" />
<Bit Name="ADC" Authority="RW" Bits="4" Description="" />
<Bit Name="IFC" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="SYSCON_PCSR0" Authority="RW" Address="0x40011030" Width="32" Description="外设时钟状态寄存器0">
<Bit Name="I2C" Authority="RO" Bits="22" Description="" />
<Bit Name="SIO" Authority="RO" Bits="20" Description="" />
<Bit Name="SPI" Authority="RO" Bits="16" Description="" />
<Bit Name="UART2" Authority="RO" Bits="10" Description="" />
<Bit Name="UART1" Authority="RO" Bits="9" Description="" />
<Bit Name="UART0" Authority="RO" Bits="8" Description="" />
<Bit Name="ETCB" Authority="RO" Bits="7" Description="" />
<Bit Name="TOUCH" Authority="RO" Bits="6" Description="" />
<Bit Name="ADC" Authority="RO" Bits="4" Description="" />
<Bit Name="IFC" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="SYSCON_PCER1" Authority="RW" Address="0x40011034" Width="32" Description="外设时钟使能寄存器1">
<Bit Name="EPT" Authority="RW" Bits="17" Description="" />
<Bit Name="GPTA" Authority="RW" Bits="13" Description="" />
<Bit Name="BT1" Authority="RW" Bits="12" Description="" />
<Bit Name="BT0" Authority="RW" Bits="11" Description="" />
<Bit Name="CNTA" Authority="RW" Bits="10" Description="" />
<Bit Name="LPT" Authority="RW" Bits="9" Description="" />
<Bit Name="RTC" Authority="RW" Bits="8" Description="" />
<Bit Name="WWDT" Authority="RW" Bits="7" Description="" />
</Register>
<Register Name="SYSCON_PCDR1" Authority="RW" Address="0x40011038" Width="32" Description="外设时钟禁止寄存器1">
<Bit Name="EPT" Authority="RW" Bits="17" Description="" />
<Bit Name="GPTA" Authority="RW" Bits="13" Description="" />
<Bit Name="BT1" Authority="RW" Bits="12" Description="" />
<Bit Name="BT0" Authority="RW" Bits="11" Description="" />
<Bit Name="CNTA" Authority="RW" Bits="10" Description="" />
<Bit Name="LPT" Authority="RW" Bits="9" Description="" />
<Bit Name="RTC" Authority="RW" Bits="8" Description="" />
<Bit Name="WWDT" Authority="RW" Bits="7" Description="" />
</Register>
<Register Name="SYSCON_PCSR1" Authority="RW" Address="0x4001103c" Width="32" Description="外设时钟状态寄存器1">
<Bit Name="EPT" Authority="RO" Bits="17" Description="" />
<Bit Name="GPTA" Authority="RO" Bits="13" Description="" />
<Bit Name="BT1" Authority="RO" Bits="12" Description="" />
<Bit Name="BT0" Authority="RO" Bits="11" Description="" />
<Bit Name="CNTA" Authority="RO" Bits="10" Description="" />
<Bit Name="LPT" Authority="RO" Bits="9" Description="" />
<Bit Name="RTC" Authority="RO" Bits="8" Description="" />
<Bit Name="WWDT" Authority="RO" Bits="7" Description="" />
</Register>
<Register Name="SYSCON_OSTR" Authority="RW" Address="0x40011040" Width="32" Description="外部振荡器稳定时间配置寄存器">
<Bit Name="EM_FLTSEL" Authority="RW" Bits="27-26" Description="外部振荡器滤波范围选择。选择可滤除的信号间隔幅度。&#xD;&#xA;0h小于5ns间隔脉冲滤波。&#xD;&#xA;1h小于10ns间隔脉冲滤波。&#xD;&#xA;2h小于15ns间隔脉冲滤波。&#xD;&#xA;3h小于20ns间隔脉冲滤波。" />
<Bit Name="EM_FLTEN" Authority="RW" Bits="25" Description="外部振荡器滤波使能控制位。在高噪声环境下,使能该滤波器可以防止时钟路径串入抖动信号造成系统工作错误。&#xD;&#xA;0h禁止滤波&#xD;&#xA;1h打开滤波" />
<Bit Name="EM_GMCTL" Authority="RW" Bits="15-11" Description="外部晶振的增益控制位。根据不同的震荡频率选择适当的增益控制频率越高选择的GM值应越大。" />
<Bit Name="EM_LFSEL" Authority="RW" Bits="10" Description="外部晶振的低速模式设置。当外接32.768KHz晶振,需要将该位设置为使能。&#xD;&#xA;0hEMOSC为普通模式。&#xD;&#xA;1hEMOSC为低速模式。" />
<Bit Name="EMCNT" Authority="RW" Bits="9-0" Description="外部晶振的时钟稳定计数器。&#xD;&#xA;该计数器值可以在EMOSC禁止时进行修改。EMOSC使能时时钟稳定计数器开始递减计数当计数值达到零RISR状态寄存器中的EMOSC_ST位被置位同时CKST寄存器中的EMOSC状态位置位。&#xD;&#xA;时钟稳定计数器的计数时钟为外部时钟的256分频所以在缺省状态下当外部晶振为8MHz时稳定计数时间为&#xD;&#xA;0x3FF x 256 x 125ns = 32.7ms" />
</Register>
<Register Name="SYSCON_LVDCR" Authority="RW" Address="0x4001104c" Width="32" Description="低电压检测控制寄存器">
<Bit Name="LVD_KEY" Authority="RW" Bits="31-16" Description="" />
<Bit Name="LVDFLAG" Authority="RO" Bits="15" Description="LVD的当前状态查询&#xD;&#xA;0hVDD 的当前电压高于 INTLVL 设置的检测阈值。&#xD;&#xA;1hVDD 的当前电压低于 INTLVL 设置的检测阈值。" />
<Bit Name="RSTLVL" Authority="RW" Bits="14-12" Description="低电压复位触发的电压选择。&#xD;&#xA;0h1.9V&#xD;&#xA;1h2.2V&#xD;&#xA;2h2.5V&#xD;&#xA;3h2.8V&#xD;&#xA;4h3.1V&#xD;&#xA;5h3.4V&#xD;&#xA;6h3.7V&#xD;&#xA;7h4.0V" />
<Bit Name="INTLVL" Authority="RW" Bits="10-8" Description="低电压检测中断触发电压选择。&#xD;&#xA;0h2.4V&#xD;&#xA;1h2.1V&#xD;&#xA;2h2.7V&#xD;&#xA;3h3.0V&#xD;&#xA;4h3.3V&#xD;&#xA;5h3.6V&#xD;&#xA;6h3.9V&#xD;&#xA;注比较电压为VDD电压和选择的电压进行比较。" />
<Bit Name="INTPOL" Authority="RW" Bits="7-6" Description="低电压检测中断触发的极性选择。&#xD;&#xA;0h无效。&#xD;&#xA;1h当电压下降到低于LVDLVL(falling)设置时,触发中断。&#xD;&#xA;2h当电压升高到超过LVDLVL(rising)设置时,触发中断。&#xD;&#xA;3h当电压下降到低于或者升高到超过LVDLVL(both)时,触发中断。" />
<Bit Name="LVDEN" Authority="RW" Bits="3-0" Description="使能/禁止LVD模块控制位。使能LVD模块后当VDD电压低于RSTLVL设置值时系统将产生低电压异常的复位。&#xD;&#xA;0Ah禁止LVD模块。&#xD;&#xA;其他使能LVD模块。" />
</Register>
<Register Name="SYSCON_CLCR" Authority="RW" Address="0x40011050" Width="32" Description="内部振荡器调整寄存器">
<Bit Name="ISO_TRM" Authority="RW" Bits="31-24" Description="ISOSC 的 TRIM 调整位&#xD;&#xA;ISOSC 的频率输出随着调整值递增,值越大,频率越高。" />
<Bit Name="IMO_TRM" Authority="RW" Bits="23-16" Description="IMOSC 的 TRIM 调整位&#xD;&#xA;IMOSC 的频率输出随着调整值递增,值越大,频率越高。" />
<Bit Name="HFO_TRM" Authority="RW" Bits="15-9" Description="HFOSC 的 TRIM 调整位&#xD;&#xA;HFOSC 的频率输出随着调整值递增,值越大,频率越高。" />
<Bit Name="HFO_TUNE" Authority="RW" Bits="8-0" Description="HFOSC 频率的微调设置。&#xD;&#xA;通过 HFO_TUNE 控制位,可以精细调整 HFOSC 的输出频率。调整的步进大约为12KHz。&#xD;&#xA;0x1FF标准输出频率工程校准后的输出值。&#xD;&#xA;0x1FE标准输出频率-12KHz。&#xD;&#xA;0x1FD标准输出频率-24KHz。&#xD;&#xA;0x1FC标准输出频率-36KHz&#xD;&#xA;…….." />
</Register>
<Register Name="SYSCON_PWRCR" Authority="RW" Address="0x40011054" Width="32" Description="功耗控制寄存器">
<Bit Name="DSL_CFG" Authority="RW" Bits="28-24" Description="在DEEP-SLEEP模式下VOS控制只有当VOSEN[2]置位时有效。&#xD;&#xA;Bit0BGR的配置位&#xD;&#xA; 0hBGR被禁止&#xD;&#xA; 1hBGR被使能&#xD;&#xA;Bit2-Bit1: 低功耗模式配置位:&#xD;&#xA; 0h低功耗模式0LP0&#xD;&#xA; 1h低功耗模式1LP1&#xD;&#xA; 其他低功耗模式2LP2亦为正常模式&#xD;&#xA;Bit3: 保留" />
<Bit Name="SLP_CFG" Authority="RW" Bits="20-16" Description="在SLEEP模式下VOS控制只有当VOSEN[1]置位时有效。&#xD;&#xA;Bit0BGR的配置位&#xD;&#xA; 0hBGR被禁止&#xD;&#xA; 1hBGR被使能&#xD;&#xA;Bit2-Bit1: 低功耗模式配置位:&#xD;&#xA; 0h低功耗模式0LP0&#xD;&#xA; 1h低功耗模式1LP1亦为正常模式&#xD;&#xA; 2h低功耗模式2LP2&#xD;&#xA; 3hRSVD&#xD;&#xA;Bit3: 保留" />
<Bit Name="RUN_CFG" Authority="RW" Bits="12-8" Description="在RUN模式下VOS控制只有当VOSEN[0]置位时有效。&#xD;&#xA;Bit0BGR的配置位&#xD;&#xA; 0hBGR被禁止&#xD;&#xA; 1hBGR被使能&#xD;&#xA;Bit2-Bit1: 低功耗模式配置位:&#xD;&#xA; 0h低功耗模式0LP0&#xD;&#xA; 1h低功耗模式1LP1&#xD;&#xA; 2h低功耗模式2LP2&#xD;&#xA; 3hRSVD&#xD;&#xA;Bit3保留" />
<Bit Name="VOSEN" Authority="RW" Bits="3-0" Description="VOS模式使能控制。1&#xD;&#xA;xxx1b使能RUN模式下的VOS&#xD;&#xA;xx1xb使能SLEEP模式下的VOS&#xD;&#xA;x1xxb使能DEEP-SLEEP模式下的VOS" />
</Register>
<Register Name="SYSCON_PWRKEY" Authority="RW" Address="0x40011058" Width="32" Description="功耗调整使能寄存器">
<Bit Name="PWR_KEY" Authority="RW" Bits="31-16" Description="" />
<Bit Name="VOSLCK" Authority="RW" Bits="15-0" Description="VOS全局使能控制。&#xD;&#xA;只有在该控制器被配置为0x6CC7时PWRCR寄存器的配置才有效。" />
</Register>
<Register Name="SYSCON_OPT1" Authority="RW" Address="0x40011064" Width="32" Description="系统配置寄存器1 (TRIM value for OSC) [1]">
<Bit Name="EMCKM_DUR" Authority="RW" Bits="23-21" Description="EMCKM的检测时间间隔设置检测周期基于当前IMOSC的频率设置。&#xD;&#xA;0h18个周期&#xD;&#xA;1h14个周期&#xD;&#xA;2h10个周期&#xD;&#xA;3h8个周期&#xD;&#xA;4h6个周期&#xD;&#xA;5h5个周期&#xD;&#xA;6h4个周期&#xD;&#xA;7h3个周期" />
<Bit Name="EXIFLTCKS" Authority="RW" Bits="18-17" Description="EXI通道的数字滤波器检测频率设置。设置滤波器采用时钟的分频系数。&#xD;&#xA;0h不分频&#xD;&#xA;1h2分频&#xD;&#xA;2h3分频&#xD;&#xA;3h4分频" />
<Bit Name="EXIFLTEN" Authority="RW" Bits="16" Description="EXI通道的数字滤波器使能控制。数字滤波的采用时钟为ISCLK当ISCLK没有使能时该控制位无效。&#xD;&#xA;0h禁止数字滤波&#xD;&#xA;1h使能数字滤波" />
<Bit Name="EFL_LPMD" Authority="RW" Bits="15" Description="Flash的Low Power模式选择。在此模式下Flash的读取周期保证大于8us。当HCLK频率比较高时需要配合选择合适的WAIT CYCLE来保证。&#xD;&#xA;0h禁止Flash LP模式。&#xD;&#xA;1h使能Flash LP模式。" />
<Bit Name="CLODIV" Authority="RW" Bits="14-12" Description="CLO输出分频选择。&#xD;&#xA;0h4分频。&#xD;&#xA;1h不分频。&#xD;&#xA;2h2分频。&#xD;&#xA;4h8分频。&#xD;&#xA;5h16分频。&#xD;&#xA;其他4分频。" />
<Bit Name="CLOMX" Authority="RW" Bits="11-8" Description="CLO输出选择。CLO管脚输出最高频率不超过10MHz若输出频率较高可选择CLODIV分频后输出&#xD;&#xA;0hISCLK输出。&#xD;&#xA;1hIMCLK输出。&#xD;&#xA;3hEMCLK输出。&#xD;&#xA;4hHFCLK输出。&#xD;&#xA;6hRTCCLK输出。&#xD;&#xA;7hPCLK输出。&#xD;&#xA;8hHCLK输出。&#xD;&#xA;9hIWDTCLK输出。&#xD;&#xA;DhSYSCLK输出。&#xD;&#xA;其他:保留。" />
<Bit Name="HFO_FSEL" Authority="RW" Bits="5-4" Description="HFOSC频率选择。&#xD;&#xA;0h48MHz。&#xD;&#xA;1h24MHz。&#xD;&#xA;2h12MHz。&#xD;&#xA;3h6MHz。" />
<Bit Name="IMO_FSEL" Authority="RW" Bits="1-0" Description="IMOSC频率选择。&#xD;&#xA;0h5.556MHz。&#xD;&#xA;1h4.194MHz。&#xD;&#xA;2h2.097MHz。&#xD;&#xA;3h131.072KHz。" />
</Register>
<Register Name="SYSCON_OPT0" Authority="RW" Address="0x40011068" Width="32" Description="系统配置寄存器0 [2]">
<Bit Name="RDP" Authority="RO" Bits="27" Description="Read Protection使能User Option状态查询。&#xD;&#xA;0h缺省关闭Read Protection。&#xD;&#xA;1h缺省打开Read Protection。" />
<Bit Name="HDP_4K" Authority="RO" Bits="17" Description="4K空间Hard Protection使能User Option状态查询。&#xD;&#xA;0h缺省禁止Hard Protection。&#xD;&#xA;1h缺省使能Hard Protection。" />
<Bit Name="HDP_ALL" Authority="RO" Bits="16" Description="Hard Protection使能User Option状态查询。&#xD;&#xA;0h缺省禁止Hard Protection。&#xD;&#xA;1h缺省使能Hard Protection。" />
<Bit Name="DBP" Authority="RO" Bits="8" Description="Debug Port 使能User Option状态查询。&#xD;&#xA;0h缺省打开Debug Port。&#xD;&#xA;1h缺省关闭Debug Port。" />
<Bit Name="CIPVALID" Authority="RO" Bits="7" Description="烧录器加密通讯使能User Option状态查询。&#xD;&#xA;0h禁止通讯加密。&#xD;&#xA;1h使能通讯加密。" />
<Bit Name="CPUFTRST" Authority="RO" Bits="2" Description="CPU Fault时产生硬件复位User Option设置状态查询。&#xD;&#xA;0h禁止自动复位。&#xD;&#xA;1h使能自动复位。" />
<Bit Name="EXIRSTEN" Authority="RO" Bits="1" Description="外部复位管脚功能User Option设置状态查询。&#xD;&#xA;0h外部复位管脚禁用。&#xD;&#xA;1h外部复位管脚使能。" />
<Bit Name="IWDTEN" Authority="RO" Bits="0" Description="独立看门狗User Option设置状态查询。&#xD;&#xA;0h缺省关闭看门狗。&#xD;&#xA;1h缺省打开看门狗。" />
</Register>
<Register Name="SYSCON_WKCR" Authority="RW" Address="0x4001106c" Width="32" Description="低功耗唤醒使能控制寄存器">
<Bit Name="TCH_WKEN" Authority="RW" Bits="12" Description="TOUCH中断唤醒DEEP-SLEEP使能控制位。&#xD;&#xA;0h禁止TCH中断唤醒DEEP-SLEEP。&#xD;&#xA;1h使能TCH中断唤醒DEEP-SLEEP。" />
<Bit Name="LVD_WKEN" Authority="RW" Bits="11" Description="LVD中断唤醒DEEP-SLEEP使能控制位。&#xD;&#xA;0h禁止LVD中断唤醒DEEP-SLEEP。&#xD;&#xA;1h使能LVD中断唤醒DEEP-SLEEP。" />
<Bit Name="LPT_WKEN" Authority="RW" Bits="10" Description="LPT中断唤醒DEEP-SLEEP使能控制位。&#xD;&#xA;0h禁止LPT中断唤醒DEEP-SLEEP。&#xD;&#xA;1h使能LPT中断唤醒DEEP-SLEEP。" />
<Bit Name="RTC_WKEN" Authority="RW" Bits="9" Description="RTC中断唤醒DEEP-SLEEP使能控制位。&#xD;&#xA;0h禁止RTC中断唤醒DEEP-SLEEP。&#xD;&#xA;1h使能RTC中断唤醒DEEP-SLEEP。" />
<Bit Name="IWDT_WKEN" Authority="RW" Bits="8" Description="看门狗中断唤醒DEEP-SLEEP使能控制位。&#xD;&#xA;0h禁止IWDT中断唤醒DEEP-SLEEP。&#xD;&#xA;1h使能IWDT中断唤醒DEEP-SLEEP。" />
</Register>
<Register Name="SYSCON_IMER" Authority="RW" Address="0x40011074" Width="32" Description="中断使能控制寄存器">
<Bit Name="CMD_ERR" Authority="RW" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。" />
<Bit Name="EV3TRG" Authority="RW" Bits="22" Description="同步触发输出Event3 触发的中断" />
<Bit Name="EV2TRG" Authority="RW" Bits="21" Description="同步触发输出Event2 触发的中断" />
<Bit Name="EV1TRG" Authority="RW" Bits="20" Description="同步触发输出Event1 触发的中断" />
<Bit Name="EV0TRG" Authority="RW" Bits="19" Description="同步触发输出Event0 触发的中断" />
<Bit Name="EM_CMFAIL" Authority="RW" Bits="18" Description="EMOSC时钟失效中断" />
<Bit Name="OPL_ERR" Authority="RW" Bits="14" Description="Option初始化配置加载失败中断。" />
<Bit Name="EFL_ERR" Authority="RW" Bits="13" Description="EFLASH校验失败中断。" />
<Bit Name="HWD_ERR" Authority="RW" Bits="12" Description="硬件除法器除零中断。" />
<Bit Name="LVD_INT" Authority="RW" Bits="11" Description="LVD中断。" />
<Bit Name="RAM_ERR" Authority="RW" Bits="10" Description="SRAM校验失败中断。" />
<Bit Name="IWDT_INT" Authority="RW" Bits="8" Description="IWDT中断。" />
<Bit Name="SYSCLK_ST" Authority="RW" Bits="7" Description="SYSCLK时钟稳定中断。" />
<Bit Name="HFOSC_ST" Authority="RW" Bits="4" Description="HFOSC时钟稳定中断。" />
<Bit Name="EMOSC_ST" Authority="RW" Bits="3" Description="EMOSC时钟稳定中断。" />
<Bit Name="IMOSC_ST" Authority="RW" Bits="1" Description="IMOSC时钟稳定中断。" />
<Bit Name="ISOSC_ST" Authority="RW" Bits="0" Description="ISOSC时钟稳定中断。" />
</Register>
<Register Name="SYSCON_IMDR" Authority="RW" Address="0x40011078" Width="32" Description="中断禁止控制寄存器">
<Bit Name="CMD_ERR" Authority="RW" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。" />
<Bit Name="EV3TRG" Authority="RW" Bits="22" Description="同步触发输出Event3 触发的中断" />
<Bit Name="EV2TRG" Authority="RW" Bits="21" Description="同步触发输出Event2 触发的中断" />
<Bit Name="EV1TRG" Authority="RW" Bits="20" Description="同步触发输出Event1 触发的中断" />
<Bit Name="EV0TRG" Authority="RW" Bits="19" Description="同步触发输出Event0 触发的中断" />
<Bit Name="EM_CMFAIL" Authority="RW" Bits="18" Description="EMOSC时钟失效中断" />
<Bit Name="OPL_ERR" Authority="RW" Bits="14" Description="Option初始化配置加载失败中断。" />
<Bit Name="EFL_ERR" Authority="RW" Bits="13" Description="EFLASH校验失败中断。" />
<Bit Name="HWD_ERR" Authority="RW" Bits="12" Description="硬件除法器除零中断。" />
<Bit Name="LVD_INT" Authority="RW" Bits="11" Description="LVD中断。" />
<Bit Name="RAM_ERR" Authority="RW" Bits="10" Description="SRAM校验失败中断。" />
<Bit Name="IWDT_INT" Authority="RW" Bits="8" Description="IWDT中断。" />
<Bit Name="SYSCLK_ST" Authority="RW" Bits="7" Description="SYSCLK时钟稳定中断。" />
<Bit Name="HFOSC_ST" Authority="RW" Bits="4" Description="HFOSC时钟稳定中断。" />
<Bit Name="EMOSC_ST" Authority="RW" Bits="3" Description="EMOSC时钟稳定中断。" />
<Bit Name="IMOSC_ST" Authority="RW" Bits="1" Description="IMOSC时钟稳定中断。" />
<Bit Name="ISOSC_ST" Authority="RW" Bits="0" Description="ISOSC时钟稳定中断。" />
</Register>
<Register Name="SYSCON_IMCR" Authority="RW" Address="0x4001107c" Width="32" Description="中断使能/禁止状态寄存器">
<Bit Name="CMD_ERR" Authority="RW" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EV3TRG" Authority="RW" Bits="22" Description="同步触发输出Event3 触发的中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EV2TRG" Authority="RW" Bits="21" Description="同步触发输出Event2 触发的中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EV1TRG" Authority="RW" Bits="20" Description="同步触发输出Event1 触发的中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EV0TRG" Authority="RW" Bits="19" Description="同步触发输出Event0 触发的中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EM_CMFAIL" Authority="RW" Bits="18" Description="EMOSC时钟失效中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="OPL_ERR" Authority="RW" Bits="14" Description="Option初始化配置加载失败中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EFL_ERR" Authority="RW" Bits="13" Description="EFLASH校验失败中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="HWD_ERR" Authority="RW" Bits="12" Description="硬件除法器除零中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="LVD_INT" Authority="RW" Bits="11" Description="LVD中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="RAM_ERR" Authority="RW" Bits="10" Description="SRAM校验失败中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="IWDT_INT" Authority="RW" Bits="8" Description="IWDT中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="SYSCLK_ST" Authority="RW" Bits="7" Description="SYSCLK时钟稳定中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="HFOSC_ST" Authority="RW" Bits="4" Description="HFOSC时钟稳定中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="EMOSC_ST" Authority="RW" Bits="3" Description="EMOSC时钟稳定中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="IMOSC_ST" Authority="RW" Bits="1" Description="IMOSC时钟稳定中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
<Bit Name="ISOSC_ST" Authority="RW" Bits="0" Description="ISOSC时钟稳定中断。&#xD;&#xA;0h禁止中断。&#xD;&#xA;1h使能中断。" />
</Register>
<Register Name="SYSCON_IAR" Authority="RW" Address="0x40011080" Width="32" Description="中断软件触发寄存器">
<Bit Name="CMD_ERR" Authority="RW" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。" />
<Bit Name="EV3TRG" Authority="RW" Bits="22" Description="同步触发输出Event3 触发的中断" />
<Bit Name="EV2TRG" Authority="RW" Bits="21" Description="同步触发输出Event2 触发的中断" />
<Bit Name="EV1TRG" Authority="RW" Bits="20" Description="同步触发输出Event1 触发的中断" />
<Bit Name="EV0TRG" Authority="RW" Bits="19" Description="同步触发输出Event0 触发的中断" />
<Bit Name="EM_CMFAIL" Authority="RW" Bits="18" Description="EMOSC时钟失效中断" />
<Bit Name="OPL_ERR" Authority="RW" Bits="14" Description="Option初始化配置加载失败中断。" />
<Bit Name="EFL_ERR" Authority="RW" Bits="13" Description="EFLASH校验失败中断。" />
<Bit Name="HWD_ERR" Authority="RW" Bits="12" Description="硬件除法器除零中断。" />
<Bit Name="LVD_INT" Authority="RW" Bits="11" Description="LVD中断。" />
<Bit Name="RAM_ERR" Authority="RW" Bits="10" Description="SRAM校验失败中断。" />
<Bit Name="IWDT_INT" Authority="RW" Bits="8" Description="IWDT中断。" />
<Bit Name="SYSCLK_ST" Authority="RW" Bits="7" Description="SYSCLK时钟稳定中断。" />
<Bit Name="HFOSC_ST" Authority="RW" Bits="4" Description="HFOSC时钟稳定中断。" />
<Bit Name="EMOSC_ST" Authority="RW" Bits="3" Description="EMOSC时钟稳定中断。" />
<Bit Name="IMOSC_ST" Authority="RW" Bits="1" Description="IMOSC时钟稳定中断。" />
<Bit Name="ISOSC_ST" Authority="RW" Bits="0" Description="ISOSC时钟稳定中断。" />
</Register>
<Register Name="SYSCON_ICR" Authority="RW" Address="0x40011084" Width="32" Description="中断清除寄存器">
<Bit Name="CMD_ERR" Authority="RW" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。" />
<Bit Name="EV3TRG" Authority="RW" Bits="22" Description="同步触发输出Event3 触发的中断" />
<Bit Name="EV2TRG" Authority="RW" Bits="21" Description="同步触发输出Event2 触发的中断" />
<Bit Name="EV1TRG" Authority="RW" Bits="20" Description="同步触发输出Event1 触发的中断" />
<Bit Name="EV0TRG" Authority="RW" Bits="19" Description="同步触发输出Event0 触发的中断" />
<Bit Name="EM_CMFAIL" Authority="RW" Bits="18" Description="EMOSC时钟失效中断" />
<Bit Name="OPL_ERR" Authority="RW" Bits="14" Description="Option初始化配置加载失败中断。" />
<Bit Name="EFL_ERR" Authority="RW" Bits="13" Description="EFLASH校验失败中断。" />
<Bit Name="HWD_ERR" Authority="RW" Bits="12" Description="硬件除法器除零中断。" />
<Bit Name="LVD_INT" Authority="RW" Bits="11" Description="LVD中断。" />
<Bit Name="RAM_ERR" Authority="RW" Bits="10" Description="SRAM校验失败中断。" />
<Bit Name="IWDT_INT" Authority="RW" Bits="8" Description="IWDT中断。" />
<Bit Name="SYSCLK_ST" Authority="RW" Bits="7" Description="SYSCLK时钟稳定中断。" />
<Bit Name="HFOSC_ST" Authority="RW" Bits="4" Description="HFOSC时钟稳定中断。" />
<Bit Name="EMOSC_ST" Authority="RW" Bits="3" Description="EMOSC时钟稳定中断。" />
<Bit Name="IMOSC_ST" Authority="RW" Bits="1" Description="IMOSC时钟稳定中断。" />
<Bit Name="ISOSC_ST" Authority="RW" Bits="0" Description="ISOSC时钟稳定中断。" />
</Register>
<Register Name="SYSCON_RISR" Authority="RW" Address="0x40011088" Width="32" Description="原始中断标志状态寄存器">
<Bit Name="CMD_ERR" Authority="RO" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。" />
<Bit Name="EV3TRG" Authority="RO" Bits="22" Description="事件触发输出Event3 触发的中断" />
<Bit Name="EV2TRG" Authority="RO" Bits="21" Description="事件触发输出Event2 触发的中断" />
<Bit Name="EV1TRG" Authority="RO" Bits="20" Description="事件触发输出Event1 触发的中断" />
<Bit Name="EV0TRG" Authority="RO" Bits="19" Description="事件触发输出Event0 触发的中断" />
<Bit Name="EM_CMFAIL" Authority="RO" Bits="18" Description="EMOSC时钟失效中断" />
<Bit Name="OPL_ERR" Authority="RO" Bits="14" Description="Option初始化配置加载失败中断。" />
<Bit Name="EFL_ERR" Authority="RO" Bits="13" Description="EFLASH校验失败中断。" />
<Bit Name="HWD_ERR" Authority="RO" Bits="12" Description="硬件除法器除零中断。" />
<Bit Name="LVD_INT" Authority="RO" Bits="11" Description="LVD中断。" />
<Bit Name="RAM_ERR" Authority="RO" Bits="10" Description="SRAM校验失败中断。" />
<Bit Name="IWDT_INT" Authority="RO" Bits="8" Description="IWDT中断。" />
<Bit Name="SYSCLK_ST" Authority="RO" Bits="7" Description="SYSCLK时钟稳定中断。" />
<Bit Name="HFOSC_ST" Authority="RO" Bits="4" Description="HFOSC时钟稳定中断。" />
<Bit Name="EMOSC_ST" Authority="RO" Bits="3" Description="EMOSC时钟稳定中断。" />
<Bit Name="IMOSC_ST" Authority="RO" Bits="1" Description="IMOSC时钟稳定中断。" />
<Bit Name="ISOSC_ST" Authority="RO" Bits="0" Description="ISOSC时钟稳定中断。" />
</Register>
<Register Name="SYSCON_MISR" Authority="RW" Address="0x4001108c" Width="32" Description="中断标志状态寄存器">
<Bit Name="CMD_ERR" Authority="RO" Bits="29" Description="命令错误中断,在对某些寄存器错误操作时会产生此中断。" />
<Bit Name="EV3TRG" Authority="RO" Bits="22" Description="事件触发输出Event3 触发的中断" />
<Bit Name="EV2TRG" Authority="RO" Bits="21" Description="事件触发输出Event2 触发的中断" />
<Bit Name="EV1TRG" Authority="RO" Bits="20" Description="事件触发输出Event1 触发的中断" />
<Bit Name="EV0TRG" Authority="RO" Bits="19" Description="事件触发输出Event0 触发的中断" />
<Bit Name="EM_CMFAIL" Authority="RO" Bits="18" Description="EMOSC时钟失效中断" />
<Bit Name="OPL_ERR" Authority="RO" Bits="14" Description="Option初始化配置加载失败中断。" />
<Bit Name="EFL_ERR" Authority="RO" Bits="13" Description="EFLASH校验失败中断。" />
<Bit Name="HWD_ERR" Authority="RO" Bits="12" Description="硬件除法器除零中断。" />
<Bit Name="LVD_INT" Authority="RO" Bits="11" Description="LVD中断。" />
<Bit Name="RAM_ERR" Authority="RO" Bits="10" Description="SRAM校验失败中断。" />
<Bit Name="IWDT_INT" Authority="RO" Bits="8" Description="IWDT中断。" />
<Bit Name="SYSCLK_ST" Authority="RO" Bits="7" Description="SYSCLK时钟稳定中断。" />
<Bit Name="HFOSC_ST" Authority="RO" Bits="4" Description="HFOSC时钟稳定中断。" />
<Bit Name="EMOSC_ST" Authority="RO" Bits="3" Description="EMOSC时钟稳定中断。" />
<Bit Name="IMOSC_ST" Authority="RO" Bits="1" Description="IMOSC时钟稳定中断。" />
<Bit Name="ISOSC_ST" Authority="RO" Bits="0" Description="ISOSC时钟稳定中断。" />
</Register>
<Register Name="SYSCON_RSR" Authority="RW" Address="0x40011090" Width="32" Description="复位源记录状态寄存器">
<Bit Name="WWDT" Authority="RW" Bits="13" Description="WWDT复位。" />
<Bit Name="EFL_ERR" Authority="RW" Bits="12" Description="EFLASH校验错误复位。" />
<Bit Name="RAM_ERR" Authority="RW" Bits="11" Description="SRAM校验错误复位。" />
<Bit Name="CPUFAULT" Authority="RW" Bits="9" Description="CPU异常自动复位。" />
<Bit Name="SWRST" Authority="RW" Bits="8" Description="SYSCON产生软件复位。" />
<Bit Name="CPURST" Authority="RW" Bits="7" Description="CPU软件复位。" />
<Bit Name="EMCKM" Authority="RW" Bits="6" Description="EMOSC CKM Fail复位。" />
<Bit Name="IWDT" Authority="RW" Bits="4" Description="IWDT复位。" />
<Bit Name="EXTRST" Authority="RW" Bits="2" Description="外部复位管脚复位。" />
<Bit Name="LVR" Authority="RW" Bits="1" Description="LVD复位。" />
<Bit Name="POR" Authority="RW" Bits="0" Description="POR上电复位。" />
</Register>
<Register Name="SYSCON_EXIRT" Authority="RW" Address="0x40011094" Width="32" Description="外部中断上升沿选择寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="外部中断上升沿/下降沿使能控制。&#xD;&#xA;0h该边沿触发关闭。&#xD;&#xA;1h该边沿触发打开。" />
</Register>
<Register Name="SYSCON_EXIFT" Authority="RW" Address="0x40011098" Width="32" Description="外部中断下降沿选择寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="外部中断上升沿/下降沿使能控制。&#xD;&#xA;0h该边沿触发关闭。&#xD;&#xA;1h该边沿触发打开。" />
</Register>
<Register Name="SYSCON_EXIER" Authority="RW" Address="0x4001109c" Width="32" Description="外部中断使能寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="外部中断使能控制。&#xD;&#xA;EXIER和EXIDR为只写寄存器。通过EXIER使能中断EXIDR禁止中断。只有对寄存器写入1时才有效读取时返回总为0。&#xD;&#xA;寄存器写入时:&#xD;&#xA;0h无效。&#xD;&#xA;1h打开/关闭该EXI中断源。" />
</Register>
<Register Name="SYSCON_EXIDR" Authority="RW" Address="0x400110a0" Width="32" Description="外部中断禁止寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="外部中断使能控制。&#xD;&#xA;EXIER和EXIDR为只写寄存器。通过EXIER使能中断EXIDR禁止中断。只有对寄存器写入1时才有效读取时返回总为0。&#xD;&#xA;寄存器写入时:&#xD;&#xA;0h无效。&#xD;&#xA;1h打开/关闭该EXI中断源。" />
</Register>
<Register Name="SYSCON_EXIMR" Authority="RW" Address="0x400110a4" Width="32" Description="外部中断使能/禁止状态寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="EXIMR为只读寄存器读取时返回当前中断使能状态。&#xD;&#xA;读取时:&#xD;&#xA;0h中断处于关闭状态。&#xD;&#xA;1h中断处于打开状态。" />
</Register>
<Register Name="SYSCON_EXIAR" Authority="RW" Address="0x400110a8" Width="32" Description="外部中断软件触发寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="EXIAR为只写寄存器只有对寄存器写入1时才有效读取时返回总为0。&#xD;&#xA;寄存器写入时:&#xD;&#xA;0h无效。&#xD;&#xA;1h软件触发该EXI中断源。" />
</Register>
<Register Name="SYSCON_EXICR" Authority="RW" Address="0x400110ac" Width="32" Description="外部中断清除寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="EXICR为读写寄存器。读取时返回当前中断pending标志。写入1清除当前中断标志写入0时无效。&#xD;&#xA;读取时:&#xD;&#xA;0h中断标志处于未Pending状态。&#xD;&#xA;1h中断标志处于Pending状态。&#xD;&#xA;写入时:&#xD;&#xA;0h无效。&#xD;&#xA;1h清除该EXI Pending状态。" />
</Register>
<Register Name="SYSCON_EXIRS" Authority="RW" Address="0x400110b0" Width="32" Description="外部中断原始标志状态寄存器">
<Bit Name="EXI0 ~ EXI19" Authority="RW" Bits="19-0" Description="EXIRS为只读寄存器读取时返回当前中断原始标志状态。&#xD;&#xA;读取时:&#xD;&#xA;0h中断处于未Pending状态。&#xD;&#xA;1h中断处于Pending状态。" />
</Register>
<Register Name="SYSCON_IWDCR" Authority="RW" Address="0x400110b4" Width="32" Description="独立看门狗控制寄存器">
<Bit Name="IWDT_KEY" Authority="RW" Bits="31-16" Description="对本寄存器进行写操作时需要填入对应的KEY值。&#xD;&#xA;只有在IWDT_KEY等于0x8778时对本寄存器的写入才有效" />
<Bit Name="BUSY" Authority="RO" Bits="12" Description="看门狗工作状态。&#xD;&#xA;0h看门狗未使能。&#xD;&#xA;1h看门狗已使能。" />
<Bit Name="DBGEN" Authority="RW" Bits="11" Description="调试使能控制。调试使能时在CPU被调试器挂起时时基计数器的计数时钟同时也被挂起。&#xD;&#xA;0h调试禁止&#xD;&#xA;1h调试使能" />
<Bit Name="OVTIME" Authority="RW" Bits="10-8" Description="总溢出时间设置。当看门狗计数器计数溢出时,产生复位。&#xD;&#xA;0h128ms。&#xD;&#xA;1h256ms。&#xD;&#xA;2h512ms。&#xD;&#xA;3h1.024s。&#xD;&#xA;4h2.048s。&#xD;&#xA;5h3.096s。&#xD;&#xA;6h4.12s。&#xD;&#xA;7h8.196s。" />
<Bit Name="INTVAL" Authority="RW" Bits="4-2" Description="看门狗报警中断的时间设置。当看门狗计数器计数到总溢出时间的一定比例时,产生报警中断。&#xD;&#xA;0h1/8总溢出时间。&#xD;&#xA;1h2/8总溢出时间。&#xD;&#xA;2h3/8总溢出时间。&#xD;&#xA;3h4/8总溢出时间。&#xD;&#xA;4h5/8总溢出时间。&#xD;&#xA;5h6/8总溢出时间。&#xD;&#xA;6h7/8总溢出时间。&#xD;&#xA;7h7/8总溢出时间。" />
<Bit Name="SHORT" Authority="RW" Bits="0" Description="SHORT工作模式该模式用于缩短IWDT的溢出时间。正常使用时保持该位为零。&#xD;&#xA;0h禁止SHORT模式。&#xD;&#xA;1h使能SHORT模式。" />
</Register>
<Register Name="SYSCON_IWDCNT" Authority="RW" Address="0x400110b8" Width="32" Description="独立看门狗控制计数器值">
<Bit Name="CLR_BUSY" Authority="RO" Bits="31" Description="看门狗清除请求执行状态。&#xD;&#xA;0h没有挂起的清除操作。&#xD;&#xA;1h当前清除正在执行。" />
<Bit Name="CLR" Authority="RW" Bits="30-24" Description="看门狗计数器清除请求。&#xD;&#xA;只写控制位只有写入0x5A时有效。" />
<Bit Name="CNT" Authority="RO" Bits="11-0" Description="返回IWDT当前计数值。" />
</Register>
<Register Name="SYSCON_IWDEDR" Authority="RW" Address="0x400110bc" Width="32" Description="独立看门狗使能寄存器">
<Bit Name="IWDTE_KEY" Authority="RW" Bits="31-16" Description="对本寄存器进行写操作时需要填入对应的KEY值。&#xD;&#xA;只有在IWDTE_KEY等于0x7887时对本寄存器的写入才有效。" />
<Bit Name="ENDIS" Authority="RW" Bits="15-0" Description="IWDT使能控制。&#xD;&#xA;写入0x55AA时关闭IWDT。&#xD;&#xA;写入其他值时使能IWDT。" />
</Register>
<Register Name="SYSCON_IOMAP0" Authority="RW" Address="0x400110c0" Width="32" Description="GPIO分组0的功能映射配置寄存器">
<Bit Name="CFGVAL7" Authority="RW" Bits="31-28" Description="" />
<Bit Name="CFGVAL6" Authority="RW" Bits="27-24" Description="" />
<Bit Name="CFGVAL5" Authority="RW" Bits="23-20" Description="" />
<Bit Name="CFGVAL4" Authority="RW" Bits="19-16" Description="" />
<Bit Name="CFGVAL3" Authority="RW" Bits="15-12" Description="" />
<Bit Name="CFGVAL2" Authority="RW" Bits="11-8" Description="" />
<Bit Name="CFGVAL1" Authority="RW" Bits="7-4" Description="" />
<Bit Name="CFGVAL0" Authority="RW" Bits="3-0" Description="" />
</Register>
<Register Name="SYSCON_IOMAP1" Authority="RW" Address="0x400110c4" Width="32" Description="GPIO分组1的功能映射配置寄存器" />
<Register Name="SYSCON_UID0" Authority="RW" Address="0x400110e4" Width="32" Description="UID寄存器0">
<Bit Name="UID" Authority="RO" Bits="31-0" Description="唯一ID寄存器。&#xD;&#xA;在出厂时由工厂写入的唯一ID码。" />
</Register>
<Register Name="SYSCON_UID1" Authority="RW" Address="0x400110e8" Width="32" Description="UID寄存器1" />
<Register Name="SYSCON_UID2" Authority="RW" Address="0x400110ec" Width="32" Description="UID寄存器2" />
<Register Name="SYSCON_PWROPT" Authority="RW" Address="0x400110f0" Width="32" Description="供电恢复时间调整寄存器">
<Bit Name="EFLR_CTL" Authority="RW" Bits="21-20" Description="EFLASH的内部参考源使能硬件控制策略设置。&#xD;&#xA;0h参考源不随模式改变切换供电开关。&#xD;&#xA;1h参考源在 SLEEP模式下自动关闭。&#xD;&#xA;3h参考源在 SLEEP模式、EFL_PD或 EFLASH LP模式下自动关闭。&#xD;&#xA;2h保留。&#xD;&#xA;EFLASH LP模式通过OPT1[EFL_LPMD]控制位设置。" />
<Bit Name="EFLR_PD" Authority="RW" Bits="19-18" Description="EFLASH的内部参考软件使能控制。&#xD;&#xA;当EFLASH断电时可以关闭EFLASH的参考源以降低功耗。当写入11关闭参考源的供电当写入其他值时打开参考源的供电。EFLASH参考源必须在EFLASH断电后才能关闭同样在恢复时需要先恢复参考源然后再打开EFLASH供电。" />
<Bit Name="EFL_PD" Authority="RW" Bits="17-16" Description="EFLASH 的电源控制。&#xD;&#xA;当程序在SRAM中运行时为降低功耗可以临时将EFLASH的供电关闭。当写入11关闭EFLASH的供电当写入其他值时打开EFLASH的供电。" />
<Bit Name="TPWRCV_SLP" Authority="RW" Bits="15-8" Description="从SLEEP模式唤醒后的电源稳定时间调整。稳定时间计数器的工作时钟为2MHz。" />
<Bit Name="TPWRCV_DSL" Authority="RW" Bits="7-0" Description="从DEEPSLEEP模式唤醒后的电源稳定时间调整。稳定时间计数器的工作时钟为2MHz。" />
</Register>
<Register Name="SYSCON_EVTRG" Authority="RW" Address="0x400110f4" Width="32" Description="事件触发选择寄存器">
<Bit Name="CNTxCLR" Authority="" Bits="31-28" Description="TRGEVxCNT软件清除&#xD;&#xA;0h无效&#xD;&#xA;1hEVxCNT重置为零" />
<Bit Name="" Authority="" Bits="27-26" Description="" />
<Bit Name="TRGxOE" Authority="" Bits="25-20" Description="外部触发端口TRGOUTx使能。&#xD;&#xA;0h禁止触发输出。&#xD;&#xA;1h允许触发输出。" />
<Bit Name="TRGSEL5" Authority="" Bits="19-18" Description="TRGEVx事件的触发源选择。&#xD;&#xA;0h选择EXI16事件作为当前触发通道事件。&#xD;&#xA;1h选择EXI17事件作为当前触发通道事件。&#xD;&#xA;2h选择EXI18事件作为当前触发通道事件。&#xD;&#xA;3h选择EXI19事件作为当前触发通道事件。" />
<Bit Name="TRGSEL4" Authority="" Bits="17-16" Description="TRGEVx事件的触发源选择。&#xD;&#xA;0h选择EXI16事件作为当前触发通道事件。&#xD;&#xA;1h选择EXI17事件作为当前触发通道事件。&#xD;&#xA;2h选择EXI18事件作为当前触发通道事件。&#xD;&#xA;3h选择EXI19事件作为当前触发通道事件。" />
<Bit Name="TRGSEL3" Authority="" Bits="15-12" Description="TRGEVx事件的触发源选择。&#xD;&#xA;0h选择EXI0事件作为当前触发通道事件。&#xD;&#xA;1h选择EXI1事件作为当前触发通道事件。&#xD;&#xA;2h选择EXI2事件作为当前触发通道事件。&#xD;&#xA;3h选择EXI3事件作为当前触发通道事件。&#xD;&#xA;……&#xD;&#xA;Fh选择EXI15事件作为当前触发通道事件。" />
<Bit Name="TRGSEL2" Authority="" Bits="11-8" Description="TRGEVx事件的触发源选择。&#xD;&#xA;0h选择EXI0事件作为当前触发通道事件。&#xD;&#xA;1h选择EXI1事件作为当前触发通道事件。&#xD;&#xA;2h选择EXI2事件作为当前触发通道事件。&#xD;&#xA;3h选择EXI3事件作为当前触发通道事件。&#xD;&#xA;……&#xD;&#xA;Fh选择EXI15事件作为当前触发通道事件。" />
<Bit Name="TRGSEL1" Authority="" Bits="7-4" Description="TRGEVx事件的触发源选择。&#xD;&#xA;0h选择EXI0事件作为当前触发通道事件。&#xD;&#xA;1h选择EXI1事件作为当前触发通道事件。&#xD;&#xA;2h选择EXI2事件作为当前触发通道事件。&#xD;&#xA;3h选择EXI3事件作为当前触发通道事件。&#xD;&#xA;……&#xD;&#xA;Fh选择EXI15事件作为当前触发通道事件。" />
<Bit Name="TRGSEL0" Authority="" Bits="3-0" Description="TRGEVx事件的触发源选择。&#xD;&#xA;0h选择EXI0事件作为当前触发通道事件。&#xD;&#xA;1h选择EXI1事件作为当前触发通道事件。&#xD;&#xA;2h选择EXI2事件作为当前触发通道事件。&#xD;&#xA;3h选择EXI3事件作为当前触发通道事件。&#xD;&#xA;……&#xD;&#xA;Fh选择EXI15事件作为当前触发通道事件。" />
</Register>
<Register Name="SYSCON_EVPS" Authority="RW" Address="0x400110f8" Width="32" Description="事件触发计数寄存器">
<Bit Name="TRGEV3CNT" Authority="RO" Bits="31-28" Description="当前TRGEVx事件计数器值。&#xD;&#xA;读取时返回当前事件计数器值。此计数器不能设置初始值只能通过EVTRG的CNTCLR控制位进行清零。" />
<Bit Name="TRGEV2CNT" Authority="RO" Bits="27-24" Description="当前TRGEVx事件计数器值。&#xD;&#xA;读取时返回当前事件计数器值。此计数器不能设置初始值只能通过EVTRG的CNTCLR控制位进行清零。" />
<Bit Name="TRGEV1CNT" Authority="RO" Bits="23-20" Description="当前TRGEVx事件计数器值。&#xD;&#xA;读取时返回当前事件计数器值。此计数器不能设置初始值只能通过EVTRG的CNTCLR控制位进行清零。" />
<Bit Name="TRGEV0CNT" Authority="RO" Bits="19-16" Description="当前TRGEVx事件计数器值。&#xD;&#xA;读取时返回当前事件计数器值。此计数器不能设置初始值只能通过EVTRG的CNTCLR控制位进行清零。" />
<Bit Name="TRGEV3PRD" Authority="RW" Bits="15-12" Description="TRGEVx 的事件计数器周期设置。&#xD;&#xA;当TRGEVx事件发生时TRGEVxCNT递增一次当TRGEVxCNT的计数值等于TRGEVxPRD设置周期时产生TRGEVx触发事件。" />
<Bit Name="TRGEV2PRD" Authority="RW" Bits="11-8" Description="TRGEVx 的事件计数器周期设置。&#xD;&#xA;当TRGEVx事件发生时TRGEVxCNT递增一次当TRGEVxCNT的计数值等于TRGEVxPRD设置周期时产生TRGEVx触发事件。" />
<Bit Name="TRGEV1PRD" Authority="RW" Bits="7-4" Description="TRGEVx 的事件计数器周期设置。&#xD;&#xA;当TRGEVx事件发生时TRGEVxCNT递增一次当TRGEVxCNT的计数值等于TRGEVxPRD设置周期时产生TRGEVx触发事件。" />
<Bit Name="TRGEV0PRD" Authority="RW" Bits="3-0" Description="TRGEVx 的事件计数器周期设置。&#xD;&#xA;当TRGEVx事件发生时TRGEVxCNT递增一次当TRGEVxCNT的计数值等于TRGEVxPRD设置周期时产生TRGEVx触发事件。" />
</Register>
<Register Name="SYSCON_EVSWF" Authority="RW" Address="0x400110fc" Width="32" Description="事件计数器软件触发控制寄存器">
<Bit Name="EV5SWF" Authority="RW" Bits="5" Description="软件产生一次EV5的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV4SWF" Authority="RW" Bits="4" Description="软件产生一次EV4的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV3SWF" Authority="RW" Bits="3" Description="软件产生一次EV3的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV2SWF" Authority="RW" Bits="2" Description="软件产生一次EV2的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV1SWF" Authority="RW" Bits="1" Description="软件产生一次EV1的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV0SWF" Authority="RW" Bits="0" Description="软件产生一次EV0的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
</Register>
<Register Name="SYSCON_UREG0" Authority="RW" Address="0x40011100" Width="32" Description="32位用户寄存器">
<Bit Name="UREG" Authority="RW" Bits="31-0" Description="用户寄存器。&#xD;&#xA;可用于用户自定义信息临时保存的寄存器。此寄存器中的内容只有在POR复位时才会清除。" />
</Register>
<Register Name="SYSCON_UREG1" Authority="RW" Address="0x40011104" Width="32" Description="32位用户寄存器" />
<Register Name="SYSCON_UREG2" Authority="RW" Address="0x40011108" Width="32" Description="16位用户寄存器" />
<Register Name="SYSCON_UREG3" Authority="RW" Address="0x4001110c" Width="32" Description="16位用户寄存器" />
</Peripheral>
<Peripheral Name="ETCB">
<Register Name="ETCB_ENABLE" Authority="RW" Address="0x40012000" Width="32" Description="ETCB使能寄存器">
<Bit Name="ENABLE" Authority="RW" Bits="0" Description="ETCB模块使能控制&#xD;&#xA;&#xD;&#xA;0 : 禁止&#xD;&#xA;1 : 使能" />
</Register>
<Register Name="ETCB_SWTRG" Authority="RW" Address="0x40012004" Width="32" Description="ETCB软件触发寄存器">
<Bit Name="SWTRG_CHx" Authority="RW" Bits="7-0" Description="软件触发控制&#xD;&#xA;&#xD;&#xA;0 : 无效&#xD;&#xA;1 : 触发该通道的事件" />
</Register>
<Register Name="ETCB_CH0CON0" Authority="RW" Address="0x40012008" Width="32" Description="ETCB通道0控制寄存器0">
<Bit Name="SRC2_SEL" Authority="RW" Bits="26-21" Description="触发源2的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC2_EN" Authority="RW" Bits="20" Description="触发源2使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
<Bit Name="SRC1_SEL" Authority="RW" Bits="16-11" Description="触发源1的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC1_EN" Authority="RW" Bits="10" Description="触发源1使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
<Bit Name="SRC0_SEL" Authority="RW" Bits="6-1" Description="触发源0的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC0_EN" Authority="RW" Bits="0" Description="触发源0使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH0CON1" Authority="RW" Address="0x4001200c" Width="32" Description="ETCB通道0控制寄存器1">
<Bit Name="DST_SEL" Authority="RW" Bits="31-26" Description="触发目标选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH0_EN" Authority="RW" Bits="0" Description="通道0使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH1CON0" Authority="RW" Address="0x40012010" Width="32" Description="ETCB通道1控制寄存器0">
<Bit Name="DST2_SEL" Authority="RW" Bits="26-21" Description="触发目标2的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="DST2_EN" Authority="RW" Bits="20" Description="触发目标2使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
<Bit Name="DST1_SEL" Authority="RW" Bits="16-11" Description="触发目标1的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="DST1_EN" Authority="RW" Bits="10" Description="触发目标1使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
<Bit Name="DST0_SEL" Authority="RW" Bits="6-1" Description="触发目标0的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="DST0_EN" Authority="RW" Bits="0" Description="触发目标0使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH1CON1" Authority="RW" Address="0x40012014" Width="32" Description="ETCB通道1控制寄存器1">
<Bit Name="SRC_SEL" Authority="RW" Bits="31-26" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH1_EN" Authority="RW" Bits="0" Description="通1使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH2CON0" Authority="RW" Address="0x40012018" Width="32" Description="ETCB通道2控制寄存器0">
<Bit Name="DST2_EN" Authority="RW" Bits="26-20" Description="触发目标2使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
<Bit Name="DST1_SEL" Authority="RW" Bits="16-11" Description="触发目标1的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="DST1_EN" Authority="RW" Bits="10" Description="触发目标1使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
<Bit Name="DST0_SEL" Authority="RW" Bits="6-1" Description="触发目标0的事件选择位&#xD;&#xA;参考事件对应表" />
<Bit Name="DST0_EN" Authority="RW" Bits="0" Description="触发目标0使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH2CON1" Authority="RW" Address="0x4001201c" Width="32" Description="ETCB通道2控制寄存器1">
<Bit Name="SRC_SEL" Authority="RW" Bits="31-26" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH2_EN" Authority="RW" Bits="0" Description="通道2使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH3CON" Authority="RW" Address="0x40012030" Width="32" Description="ETCB通道3控制寄存器">
<Bit Name="DST_SEL" Authority="RW" Bits="31-26" Description="触发目标选择&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC_SEL" Authority="RW" Bits="18-12" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH3_EN" Authority="RW" Bits="0" Description="通道3使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH4CON" Authority="RW" Address="0x40012034" Width="32" Description="ETCB通道4控制寄存器">
<Bit Name="DST_SEL" Authority="RW" Bits="31-26" Description="触发目标选择&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC_SEL" Authority="RW" Bits="18-12" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH5_EN" Authority="RW" Bits="0" Description="通道5使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH5CON" Authority="RW" Address="0x40012038" Width="32" Description="ETCB通道5控制寄存器">
<Bit Name="DST_SEL" Authority="RW" Bits="31-26" Description="触发目标选择&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC_SEL" Authority="RW" Bits="18-12" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH4_EN" Authority="RW" Bits="0" Description="通道4使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH6CON" Authority="RW" Address="0x4001203c" Width="32" Description="ETCB通道6控制寄存器">
<Bit Name="DST_SEL" Authority="RW" Bits="31-26" Description="触发目标选择&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC_SEL" Authority="RW" Bits="18-12" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH6_EN" Authority="RW" Bits="0" Description="通道6使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
<Register Name="ETCB_CH7CON" Authority="RW" Address="0x40012040" Width="32" Description="ETCB通道7控制寄存器">
<Bit Name="DST_SEL" Authority="RW" Bits="31-26" Description="触发目标选择&#xD;&#xA;参考事件对应表" />
<Bit Name="SRC_SEL" Authority="RW" Bits="18-12" Description="触发源选择&#xD;&#xA;参考事件对应表" />
<Bit Name="TRIG_MODE" Authority="RW" Bits="1" Description="触发模式选择&#xD;&#xA;0: 硬件触发&#xD;&#xA;1: 软件触发 (由ETCB_SWTRG寄存器触发)" />
<Bit Name="CH7_EN" Authority="RW" Bits="0" Description="通道7使能控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能" />
</Register>
</Peripheral>
<Peripheral Name="TOUCH">
<Register Name="TCH_CCR" Authority="RW" Address="0x40020000" Width="32" Description="Clock Control Register">
<Bit Name="IDCODE" Authority="RO" Bits="31-16" Description="当前TOUCH硬件版本信息" />
<Bit Name="PCKDIV" Authority="RW" Bits="15-8" Description="时钟分频控制基于SYSCLK分频目标时钟频率1MhzFTarget = FPCLK / (PCKDIV +1)" />
<Bit Name="TCKDIV" Authority="RW" Bits="7-2" Description="时钟分频控制基于IMOSC分频目标时钟频率1MhzFTarget = FTCLK / (TCKDIV +1)" />
<Bit Name="TEST_MODE" Authority="RW" Bits="1" Description="TOUCH TEST MODE用于调整TRIM值" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="扫描时钟使能控制:&#xD;&#xA;0 扫描时钟停止&#xD;&#xA;1 扫描时钟开启" />
</Register>
<Register Name="TCH_CON0" Authority="RW" Address="0x40020004" Width="32" Description="Touch Sensor General Control Register0">
<Bit Name="OTHRCNTCLR" Authority="RW" Bits="27" Description="软件清零当前OTHRCNT&#xD;&#xA;0h无效&#xD;&#xA;1h复位OTHRCNT" />
<Bit Name="OTHRCNT" Authority="RW" Bits="26-24" Description="超出阈值判定&#xD;&#xA;0h超出阈值1次认为超出阈值&#xD;&#xA;1h连续2次超出阈值认为超出阈值&#xD;&#xA;…&#xD;&#xA;7h连续8次超出阈值认为超出阈值" />
<Bit Name="TSCANSTB" Authority="RW" Bits="21-20" Description="发生LowPower-Normal模式切换扫描稳定次数&#xD;&#xA;0h1次扫描&#xD;&#xA;1h2次扫描&#xD;&#xA;2h3次扫描&#xD;&#xA;3h4次扫描" />
<Bit Name="DIO_EN" Authority="RW" Bits="18" Description="滤波二极管使能控制&#xD;&#xA;0h禁止&#xD;&#xA;1h使能" />
<Bit Name="DSR" Authority="RW" Bits="17-16" Description="设置在扫描过程中,没有被激活为当前扫描通道的通道状态&#xD;&#xA;0h 高阻状态&#xD;&#xA;1h 低电平输出&#xD;&#xA;2h 高电平输出&#xD;&#xA;3h 高阻状态" />
<Bit Name="IDLE_PDEN" Authority="RW" Bits="14" Description="扫描空闲时触控Hard-macro 模块使能控制&#xD;&#xA;0h禁止&#xD;&#xA;1h使能" />
<Bit Name="PSEL" Authority="RW" Bits="13" Description="Power selection &#xD;&#xA;0h: FVR &#xD;&#xA;1h: AVDD" />
<Bit Name="RSSEL" Authority="RW" Bits="12" Description="TCH_OVW_THR寄存器状态选择&#xD;&#xA;0h: OVW状态&#xD;&#xA;1h: OverTHR状态" />
<Bit Name="CKFEQSEL" Authority="RW" Bits="11" Description="扫描频率选择&#xD;&#xA;0h: 低频&#xD;&#xA;1h: 高频" />
<Bit Name="CKRND" Authority="RW" Bits="10" Description="扫描时钟频率随机化控制&#xD;&#xA;0h关闭扫描时钟随机化&#xD;&#xA;1h打开扫描时钟随机化" />
<Bit Name="CKSPR" Authority="RW" Bits="9" Description="扫描时钟扩频控制&#xD;&#xA;0h关闭扫描时钟扩频&#xD;&#xA;1h打开扫描时钟扩频" />
<Bit Name="ECLVL" Authority="RW" Bits="8-7" Description="外部C0端口电压选择&#xD;&#xA;0h1V&#xD;&#xA;1h2V&#xD;&#xA;2h3V&#xD;&#xA;3h3.6V" />
<Bit Name="SEQLEN" Authority="RW" Bits="6-2" Description="SEQUENCE模式下扫描次数控制&#xD;&#xA;00000b 1次扫描&#xD;&#xA;00001b 2次扫描&#xD;&#xA;…&#xD;&#xA;10000b 17次扫描" />
<Bit Name="MODE" Authority="RW" Bits="1" Description="扫描模式启动位:&#xD;&#xA;0hRSVD&#xD;&#xA;1h使能SEQUENCE模式" />
<Bit Name="HMEN" Authority="RW" Bits="0" Description="TOUCH使能控制位&#xD;&#xA;0h 关闭触控Hard-macro 模块&#xD;&#xA;1h 开启触控Hard-macro 模块" />
</Register>
<Register Name="TCH_CON1" Authority="RW" Address="0x40020008" Width="32" Description="Touch Sensor General Control Register1">
<Bit Name="START" Authority="RW" Bits="0" Description="扫描启动控制位&#xD;&#xA;写操作时:&#xD;&#xA;0 停止扫描&#xD;&#xA;1 启动扫描&#xD;&#xA;读操作时:&#xD;&#xA;0 扫描没有开始&#xD;&#xA;1 扫描正在进行" />
</Register>
<Register Name="TCH_VALBUF" Authority="RW" Address="0x40020014" Width="32" Description="Touch Sample Value Buffer">
<Bit Name="VALBUF" Authority="RO" Bits="15-0" Description="当前扫描通道采样值" />
</Register>
<Register Name="TCH_SENCNT" Authority="RW" Address="0x40020018" Width="32" Description="Current Sensor Node Discharge Counter Value">
<Bit Name="SENCNT" Authority="RO" Bits="15-0" Description="Sensor Node 充放电次数计数器当前值" />
</Register>
<Register Name="TCH_TCHCNT" Authority="RW" Address="0x4002001c" Width="32" Description="Current Touch Sample Counter Value">
<Bit Name="TCHCNT" Authority="RO" Bits="15-0" Description="扫描时间计数器当前值 " />
</Register>
<Register Name="TCH_THR" Authority="RW" Address="0x40020020" Width="32" Description="Touch OFFSET Threshold Register">
<Bit Name="OFF_THR" Authority="RW" Bits="15-0" Description="扫描偏差阈值" />
</Register>
<Register Name="TCH_RISR" Authority="RW" Address="0x40020028" Width="32" Description="Touch Senor Raw Interrupt Status Register">
<Bit Name="OVR_TIME" Authority="RO" Bits="5" Description="扫描超时中断" />
<Bit Name="OVR_OVW" Authority="RO" Bits="4" Description="TCH_CHxVAL over write 中断" />
<Bit Name="OVR_FLW" Authority="RO" Bits="3" Description="TCHCNT溢出中断" />
<Bit Name="OVR_THR" Authority="RO" Bits="2" Description="两次扫描OFFSET值超出扫描OFFSET阈值中断" />
<Bit Name="SEQ_DNE" Authority="RO" Bits="1" Description="SEQUENCE模式所有通道扫描完成中断" />
<Bit Name="SIN_DNE" Authority="RO" Bits="0" Description="SEQ模式一个通道扫描完成中断" />
</Register>
<Register Name="TCH_IER" Authority="RW" Address="0x4002002c" Width="32" Description="Touch Senor Interrupt Masking Control Register">
<Bit Name="OVR_TIME" Authority="RW" Bits="5" Description="扫描超时中断使能" />
<Bit Name="OVR_OVW" Authority="RW" Bits="4" Description="TCH_CHxVAL over write 中断使能" />
<Bit Name="OVR_FLW" Authority="RW" Bits="3" Description="TCHCNT溢出中断使能" />
<Bit Name="OVR_THR" Authority="RW" Bits="2" Description="两次扫描OFFSET值超出扫描OFFSET阈值中断使能" />
<Bit Name="SEQ_DNE" Authority="RW" Bits="1" Description="SEQUENCE模式所有通道扫描完成中断使能" />
<Bit Name="SIN_DNE" Authority="RW" Bits="0" Description="SEQ模式一个通道扫描完成中断使能" />
</Register>
<Register Name="TCH_ICR" Authority="RW" Address="0x40020030" Width="32" Description="Touch Senor Interrupt Clear Control Register">
<Bit Name="OVR_TIME" Authority="RW" Bits="5" Description="清除扫描超时中断" />
<Bit Name="OVR_OVW" Authority="RW" Bits="4" Description="清除TCH_CHxVAL over write 中断" />
<Bit Name="OVR_FLW" Authority="RW" Bits="3" Description="清除TCHCNT溢出中断" />
<Bit Name="OVR_THR" Authority="RW" Bits="2" Description="清除两次扫描OFFSET值超出扫描OFFSET阈值中断" />
<Bit Name="SEQ_DNE" Authority="RW" Bits="1" Description="清除SEQUENCE模式所有通道扫描完成中断" />
<Bit Name="SIN_DNE" Authority="RW" Bits="0" Description="清除SEQ模式一个通道扫描完成中断" />
</Register>
<Register Name="TCH_RWSR" Authority="RW" Address="0x40020034" Width="32" Description="Touch Sample Value R/W Status Register">
<Bit Name="CHx_RWSR(x=0~16)" Authority="RW" Bits="16-0" Description="通道采样值读写状态位当采样值写入TCH_SEQxVA时对应通道读写状态位置1软件读取TCH_SEQxVA后读写状态位清0。软件也可以通过写入该状态寄存器手动清0&#xD;&#xA;当读取时,返回当前通道采样值写入状态&#xD;&#xA;0h该通道没有新的采样值写入&#xD;&#xA;1h该通道有新的采样值写入软件可以读取对应通道采样值寄存器读取后自动清0&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道写入状态" />
</Register>
<Register Name="TCH_OVW_THR" Authority="RW" Address="0x40020038" Width="32" Description="Touch OverThreshold Status Register">
<Bit Name="CHx_OVW_THR(x=0~16)" Authority="" Bits="16-0" Description="当TCH_CON0[11]=0时该状态寄存器表示通道采样值OVW状态。&#xD;&#xA;0h采样值寄存器的值是最新的&#xD;&#xA;1h: 采样值寄存器当前值未被软件读取时,有新的采样值存入&#xD;&#xA;当CH_CON0[11]=1时该状态寄存器表示通道采样值偏差状态寄存器&#xD;&#xA;0h通道相邻两次采样值偏差没有超出阈值&#xD;&#xA;1h通道相邻两次采样值偏差超出阈值" />
</Register>
<Register Name="TCH_OVF" Authority="RW" Address="0x4002003c" Width="32" Description="Touch Overflow status Register">
<Bit Name="CHx_OVF(x=0~16)" Authority="" Bits="16-0" Description="TCH CNT溢出状态标志" />
</Register>
<Register Name="TCH_OVT" Authority="RW" Address="0x40020040" Width="32" Description="Touch OverTIME status Register">
<Bit Name="CHx_OVT(x=0~16)" Authority="" Bits="16-0" Description="通道扫描时间内,未完成既定目标值扫描状态标志" />
</Register>
<Register Name="TCH_SYNCR" Authority="RW" Address="0x40020044" Width="32" Description="Touch Sync Control Register">
<Bit Name="REARM" Authority="RW" Bits="8" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前触发使能状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h不允许后续触发需要REARM&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="OSTMD" Authority="RW" Bits="7" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="SYNC2EN" Authority="RW" Bits="2" Description="外部触发START使能控制通道2。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能LPT_PEND触发源通道" />
<Bit Name="SYNC1EN" Authority="RW" Bits="1" Description="外部触发START使能控制通道1。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能ETCB TOUCH_SYNCIN触发源通道" />
<Bit Name="SYNC0EN" Authority="RW" Bits="0" Description="外部触发START使能控制通道0。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能RTC触发源通道" />
</Register>
<Register Name="TCH_EVTRG" Authority="RW" Address="0x40020048" Width="32" Description="Touch Trigger Event Generation Control Register">
<Bit Name="TRGOE" Authority="RW" Bits="8" Description="外部触发端口输出使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRGSEL" Authority="RW" Bits="2-0" Description="TRGEVT事件的触发源选择&#xD;&#xA;000禁止TRGOUT触发输出&#xD;&#xA;001SINGLE_DONE事件&#xD;&#xA;010SEQ_DONE事件&#xD;&#xA;011OVR_THR事件&#xD;&#xA;100OVR_OVF事件&#xD;&#xA;101OVR_OVW事件&#xD;&#xA;110OVR_OVT事件" />
</Register>
<Register Name="TCH_EVPS" Authority="RW" Address="0x4002004c" Width="32" Description="Touch Trigger Event Generation Prescaler">
<Bit Name="TRGEVCNT" Authority="RW" Bits="11-8" Description="TRGEVT事件计数器设置。&#xD;&#xA;读取时,返回当前事件计数器值;&#xD;&#xA;写入时,直接更新事件计数器值。" />
<Bit Name="TRGEVPRD" Authority="RW" Bits="3-0" Description="TRGEVT事件计数的周期设置。&#xD;&#xA;当TRGEVT事件发生次数满足周期时才产生TRGEV触发事件" />
</Register>
<Register Name="TCH_EVSWF" Authority="RW" Address="0x40020050" Width="32" Description="Touch Trigger Event Software Force Generation">
<Bit Name="EVSWF" Authority="RW" Bits="0" Description="软件产生一次EV0的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
</Register>
<Register Name="TCH_CH0VAL[18]" Authority="RW" Address="0x40021000" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH1VAL[18]" Authority="RW" Address="0x40021004" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH2VAL[18]" Authority="RW" Address="0x40021008" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH3VAL[18]" Authority="RW" Address="0x4002100c" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH4VAL[18]" Authority="RW" Address="0x40021010" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH5VAL[18]" Authority="RW" Address="0x40021014" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH6VAL[18]" Authority="RW" Address="0x40021018" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH7VAL[18]" Authority="RW" Address="0x4002101c" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH8VAL[18]" Authority="RW" Address="0x40021020" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH9VAL[18]" Authority="RW" Address="0x40021024" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH10VAL[18]" Authority="RW" Address="0x40021028" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH11VAL[18]" Authority="RW" Address="0x4002102c" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH12VAL[18]" Authority="RW" Address="0x40021030" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH13VAL[18]" Authority="RW" Address="0x40021034" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH14VAL[18]" Authority="RW" Address="0x40021038" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH15VAL[18]" Authority="RW" Address="0x4002103c" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH16VAL[18]" Authority="RW" Address="0x40021040" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_CH17VAL[18]" Authority="RW" Address="0x40021044" Width="32" Description="CHx Touch Sample Value Register">
<Bit Name="CHxCNT" Authority="RO" Bits="15-0" Description="通道x原值采样值寄存器" />
</Register>
<Register Name="TCH_SEQ0CON[18]" Authority="RW" Address="0x40021048" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ1CON[18]" Authority="RW" Address="0x4002104c" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ2CON[18]" Authority="RW" Address="0x40021050" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ3CON[18]" Authority="RW" Address="0x40021054" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ4CON[18]" Authority="RW" Address="0x40021058" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ5CON[18]" Authority="RW" Address="0x4002105c" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ6CON[18]" Authority="RW" Address="0x40021060" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ7CON[18]" Authority="RW" Address="0x40021064" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ8CON[18]" Authority="RW" Address="0x40021068" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ9CON[18]" Authority="RW" Address="0x4002106c" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ10CON[18]" Authority="RW" Address="0x40021070" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ11CON[18]" Authority="RW" Address="0x40021074" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ12CON[18]" Authority="RW" Address="0x40021078" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ13CON[18]" Authority="RW" Address="0x4002107c" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ14CON[18]" Authority="RW" Address="0x40021080" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ15CON[18]" Authority="RW" Address="0x40021084" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ16CON[18]" Authority="RW" Address="0x40021088" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
<Register Name="TCH_SEQ17CON[18]" Authority="RW" Address="0x4002108c" Width="32" Description="SEQ Mode Control Register for each sub-sequence">
<Bit Name="DCKDIV" Authority="RW" Bits="25-24" Description="扫描频率分频" />
<Bit Name="ICON" Authority="RW" Bits="22-20" Description="补偿电流控制" />
<Bit Name="CHSEL" Authority="RW" Bits="19-15" Description="扫描通道配置" />
<Bit Name="SCANTIME" Authority="RW" Bits="14-12" Description="当前扫描通道扫描时间值&#xD;&#xA;3b000-禁止通道扫描时间设置&#xD;&#xA;3b001-通道扫描时间为1ms&#xD;&#xA;3b010-通道扫描时间为1.5ms&#xD;&#xA;3b011-通道扫描时间为2ms&#xD;&#xA;3b100-通道扫描时间为3ms&#xD;&#xA;3b101-通道扫描时间为5ms&#xD;&#xA;3b110-通道扫描时间为10ms&#xD;&#xA;3b111-通道扫描时间为100ms" />
<Bit Name="SENPRD" Authority="RW" Bits="11-0" Description="当前扫描通道目标值,实际值为[SENPRD,4b1111]" />
</Register>
</Peripheral>
<Peripheral Name="ADC">
<Register Name="ADC_ECR" Authority="RW" Address="0x40030000" Width="32" Description="时钟使能寄存器">
<Bit Name="" Authority="" Bits="31-0" Description="" />
</Register>
<Register Name="ADC_DCR" Authority="RW" Address="0x40030004" Width="32" Description="时钟禁止寄存器">
<Bit Name="DBGEN" Authority="RW" Bits="31" Description="DBGEN: ADC调试模式禁止&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止ADC调试模式" />
<Bit Name="ADCCLKEN" Authority="RW" Bits="1" Description="ADC: ADC时钟禁止&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止ADC时钟" />
</Register>
<Register Name="ADC_PMSR" Authority="RW" Address="0x40030008" Width="32" Description="功耗管理状态寄存器">
<Bit Name="DBGEN" Authority="RO" Bits="31" Description="DBGEN : 调试模式&#xD;&#xA;0: ADC在调试模式下不停止 &#xD;&#xA;1: ADC 在调试模式下停止工作" />
<Bit Name="IPICODE" Authority="RO" Bits="29-4" Description="IPICODE[25:0] : IP识别码&#xD;&#xA;模块的版本号共26位" />
<Bit Name="ADCCLKEN" Authority="RO" Bits="1" Description="ADC : ADC时钟状态&#xD;&#xA;0: ADC时钟被禁止&#xD;&#xA;1: ADC时钟被使能" />
</Register>
<Register Name="ADC_CR" Authority="RW" Address="0x40030010" Width="32" Description="控制寄存器">
<Bit Name="ACCURACY" Authority="RW" Bits="31" Description="ACCURACY: ADC转换精度选择位&#xD;&#xA;0: 保留&#xD;&#xA;1: 12位&#xD;&#xA;注意该位请保持为1." />
<Bit Name="FVR_LVL" Authority="RW" Bits="25" Description="FVR_LVL: 固定电压参考源的电压值选择&#xD;&#xA; 0: 2.048V&#xD;&#xA; 1: 4.096V&#xD;&#xA;注AVREF选择FVR时无需操作这位。" />
<Bit Name="FVR_EN" Authority="RW" Bits="24" Description="FVR_EN: 使能固定电压参考源&#xD;&#xA; 0: 禁止&#xD;&#xA; 1: 使能&#xD;&#xA;注AVREF选择FVR时无需操作这位。" />
<Bit Name="INTVREF_SEL" Authority="RW" Bits="18-17" Description="INTVREF_SEL: 内部参考电压输入源选择&#xD;&#xA; 00: 保留&#xD;&#xA; 01: 保留&#xD;&#xA; 10: 内部1.0V电压&#xD;&#xA; 11: 保留&#xD;&#xA;注意目前只提供1.0V作为参考电压。" />
<Bit Name="INTVREF_OUTEN" Authority="RW" Bits="16" Description="INTVREF_OUTEN: 使能内部参考电压输出到管脚&#xD;&#xA;0: 输出到管脚(INTV)禁止&#xD;&#xA; 1: 输出到管脚(INTV)使能&#xD;&#xA;注该位只影响INTVREF是否输出到IO管脚并不影响AVREF以及ADC输入通道的INTVREF使用" />
<Bit Name="VREF_SEL" Authority="RW" Bits="9-6" Description="VREF: ADC电压参考电源选择&#xD;&#xA; 0000: 正向为内部VDD负向为VSS&#xD;&#xA; 0001: 正向为外部VREF+管脚负向为VSS&#xD;&#xA; 0010: 正向为FVR 2.048V输出负向为VSS&#xD;&#xA; 0011: 正向为FVR 4.096V输出负向为VSS&#xD;&#xA; 0100: 正向为内部INTVREF输出负向为VSS&#xD;&#xA; 1000: 正向为内部VDD负向为VREF-&#xD;&#xA; 1001: 正向为外部VREF+管脚负向为VREF-&#xD;&#xA; 1010: 正向为FVR 2.048V输出负向为VREF-&#xD;&#xA; 1011: 正向为FVR 4.096V输出负向为VREF-&#xD;&#xA; 1100: 正向为内部INTVREF输出负向为VREF-&#xD;&#xA; 其它: 保留&#xD;&#xA;注意使用FVR做参考时外部需要接100nF的电容。" />
<Bit Name="SWTRG" Authority="RW" Bits="5" Description="SWTRG : 软件触发&#xD;&#xA; 0: 无效&#xD;&#xA; 1: 触发转换序列" />
<Bit Name="STOP" Authority="RW" Bits="4" Description="STOP: 在连续转换模式下停止转换&#xD;&#xA;0: 无效&#xD;&#xA;1: 停止连续转换" />
<Bit Name="START" Authority="RW" Bits="3" Description="START : 开始转换&#xD;&#xA;0: 无效&#xD;&#xA;1: 开始模数转换清除EOC标志位&#xD;&#xA;注意在开始转换前用户必须保证ADC已经处于准备好转换的状态(ADC_SR中的READY位必须为1)" />
<Bit Name="ADCDIS" Authority="RW" Bits="2" Description="ADCDIS : ADC模拟模块禁止&#xD;&#xA;0: 无效&#xD;&#xA;1: 关闭ADC模块(待机模式)&#xD;&#xA;如果ADCEN和ADCDIS都写1那么ADC会被禁用。" />
<Bit Name="ADCEN" Authority="RW" Bits="1" Description="ADCEN : ADC模拟模块使能&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能ADC模块" />
<Bit Name="SWRST" Authority="RW" Bits="0" Description="SWRST : ADC软件复位&#xD;&#xA;0: 无效&#xD;&#xA;1: 复位ADC模块&#xD;&#xA;&#xD;&#xA;当软件复位发生时除了ADC_PMSR寄存器以外其它所有寄存器都会恢复初始值。" />
</Register>
<Register Name="ADC_MR" Authority="RW" Address="0x40030014" Width="32" Description="模式寄存器">
<Bit Name="CONTCV" Authority="RW" Bits="31" Description="CONTCV: 连续转换&#xD;&#xA;0: 单次转换模式。ADC根据NBRCH[3:0]中设置的值转换输入的信号并且停止&#xD;&#xA;1: 连续转换模式。ADC根据NBRCH[3:0]中设置的值转换输入的信号并且重复不停的循环转换。&#xD;&#xA;该位初始值为0.&#xD;&#xA;注意在连续转换模式下ADC收到停止指令后仍然会完成当前正在进行的转换看起来像是多转换了一次。" />
<Bit Name="CMP_OS" Authority="RW" Bits="30" Description="CMP_OS: 一次性比较&#xD;&#xA;0: 每次得到比较结果时都会产生ADC_CMPx中断&#xD;&#xA;1: 只有转换结果从比ADC_CMPxH小的值变成比它大的值或者从比ADC_CMPxL大的值变成比它小的值时才会产生ADC_CMPx中断。" />
<Bit Name="NBRCMP1" Authority="RW" Bits="25-22" Description="NBRCMP1[3:0]: 需要比较的转换序列&#xD;&#xA;当该次转换结果大于或者小于ADC_CMP1寄存器时将产生一个CMPxH/CMPxL中断" />
<Bit Name="NBRCMP0" Authority="RW" Bits="19-16" Description="NBRCMP0[3:0]: 需要比较的转换序列&#xD;&#xA;当该次转换结果大于或者小于ADC_CMP0寄存器时将产生一个CMPxH/CMPxL中断" />
<Bit Name="NBRCH" Authority="RW" Bits="13-10" Description="NBRCH[3:0]: 转换序列个数&#xD;&#xA;0000b:1&#xD;&#xA;0001b:2&#xD;&#xA;…&#xD;&#xA;1111b:16&#xD;&#xA;注意: 即使在单次转换模式如果NBRCH[3:0]的值大于0ADC也会进行多次转换。" />
<Bit Name="PRLVAL" Authority="RW" Bits="4-0" Description="PRLVAL[4:0]: 分频设置&#xD;&#xA;将PCLK分频给ADC模拟模块作为时钟。&#xD;&#xA;&#xD;&#xA;如果PRLVAL == 0那么 FADC = PCLK&#xD;&#xA;否则 FADC = PCLK / (2*PRLVAL)&#xD;&#xA;注意:&#xD;&#xA;- ADC模拟模块的时钟频率不能超过24MHz&#xD;&#xA;- 当选择INTVREF作为ADC参考电压时ADC模拟模块的时钟频率不能超过2MHz。FVR做参考时没有限制。&#xD;&#xA;- 如果系统时钟为40MHz那么PRLVAL至少为1 " />
</Register>
<Register Name="ADC_SHR" Authority="RW" Address="0x40030018" Width="32" Description="采样保持周期寄存器">
<Bit Name="SHR" Authority="RW" Bits="7-0" Description="SHR : 采样保持 (Sample &amp; Hold) 周期数&#xD;&#xA;设置ADC转换中采样保持的周期数该周期数基于ADC_MR寄存器中PRLVAL分频后的ADC工作时钟频率FADC。采样保持周期数至少为3个周期小于3的值无法写入该寄存器。" />
</Register>
<Register Name="ADC_CSR" Authority="RW" Address="0x4003001c" Width="32" Description="状态清除寄存器">
<Bit Name="SEQ_END[x](x=0~15)" Authority="RW" Bits="31-16" Description="SEQ_END[x] : SEQx序列转换完成中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
<Bit Name="CMP1L" Authority="RW" Bits="7" Description="CMP1L : 转换结果小于ADC_CMP1中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
<Bit Name="CMP1H" Authority="RW" Bits="6" Description="CMP1H : 转换结果大于ADC_CMP1中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
<Bit Name="CMP0L" Authority="RW" Bits="5" Description="CMP0L : 转换结果小于ADC_CMP0中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
<Bit Name="CMP0H" Authority="RW" Bits="4" Description="CMP0H : 转换结果大于ADC_CMP0中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
<Bit Name="OVR" Authority="RW" Bits="2" Description="OVR : 转换溢出中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
<Bit Name="READY" Authority="RW" Bits="1" Description="READY : ADC已准备好可以转换中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 清除该中断" />
</Register>
<Register Name="ADC_SR" Authority="RW" Address="0x40030020" Width="32" Description="状态寄存器">
<Bit Name="SEQ_END[x](x=0~15)" Authority="RO" Bits="31-16" Description="SEQ_END[x] : SEQx序列转换完成中断&#xD;&#xA;0: 该转换序列没完成&#xD;&#xA;1: 该转换序列已完成" />
<Bit Name="SEQ_INDEX" Authority="RO" Bits="13-10" Description="SEQ_INDEX : 当前转换序列&#xD;&#xA;该寄存器的值为当前转换的序列号" />
<Bit Name="CTCVS" Authority="RO" Bits="9" Description="CTCVS : 连续转换模式状态&#xD;&#xA;0: 单次模式&#xD;&#xA;1: 连续模式" />
<Bit Name="ADCENS" Authority="RO" Bits="8" Description="ADCENS : ADC使能状态&#xD;&#xA;0: ADC被禁止&#xD;&#xA;1: ADC 被使能" />
<Bit Name="CMP1L" Authority="RO" Bits="7" Description="CMP1L : 比较功能的状态&#xD;&#xA;0: ADC转换的结果比ADC_CMP1大&#xD;&#xA;1: ADC转换的结果比ADC_CMP1小" />
<Bit Name="CMP1H" Authority="RO" Bits="6" Description="CMP1H : 比较功能的状态&#xD;&#xA;0: ADC转换的结果比ADC_CMP1小&#xD;&#xA;1: ADC转换的结果比ADC_CMP1大" />
<Bit Name="CMP0L" Authority="RO" Bits="5" Description="CMP0L : 比较功能的状态&#xD;&#xA;0: ADC转换的结果比ADC_CMP0大&#xD;&#xA;1: ADC转换的结果比ADC_CMP0小" />
<Bit Name="CMP0H" Authority="RO" Bits="4" Description="CMP0H : 比较功能的状态&#xD;&#xA;0: ADC转换的结果比ADC_CMP0小&#xD;&#xA;1: ADC转换的结果比ADC_CMP0大" />
<Bit Name="OVR" Authority="RO" Bits="2" Description="OVR : 转换溢出&#xD;&#xA;0: 最后一次读ADC_DR时ADC没有完成任何转换或者只完成了1次转换 &#xD;&#xA;1: 最后一次读ADC_DR时ADC完成了2次或者2次以上的转换" />
<Bit Name="READY" Authority="RO" Bits="1" Description="READY : ADC已准备好可以转换&#xD;&#xA;0: ADC忽略开始或者停止指令因为它还没有准备好或者转换未结束它还在工作中&#xD;&#xA;1: ADC已经准备好可以开始一个转换" />
<Bit Name="EOC" Authority="RO" Bits="0" Description="EOC : 转换结束&#xD;&#xA;0: 转换未结束,仍在进行中&#xD;&#xA;1: 转换完成ADC_DR中的数据有效。当ADC_DR被读取时该位自动清零 " />
</Register>
<Register Name="ADC_IER" Authority="RW" Address="0x40030024" Width="32" Description="中断使能寄存器">
<Bit Name="SEQ_END[x](x=0~15)" Authority="RW" Bits="31-16" Description="SEQ_END[x] : SEQx序列转换完成中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="CMP1L" Authority="RW" Bits="7" Description="CMP1L : 转换结果低于ADC_CMP1中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="CMP1H" Authority="RW" Bits="6" Description="CMP1H : 转换结果高于ADC_CMP1中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="CMP0L" Authority="RW" Bits="5" Description="CMP0L : 转换结果低于ADC_CMP0中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="CMP0H" Authority="RW" Bits="4" Description="CMP0H : 转换结果高于ADC_CMP0中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="OVR" Authority="RW" Bits="2" Description="OVR : 转换溢出中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="READY" Authority="RW" Bits="1" Description="READY : ADC READY中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
<Bit Name="EOC" Authority="RW" Bits="0" Description="EOC : 转换结束中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 使能该中断" />
</Register>
<Register Name="ADC_IDR" Authority="RW" Address="0x40030028" Width="32" Description="中断禁止寄存器">
<Bit Name="SEQ_END[x](x=0~15)" Authority="RW" Bits="31-16" Description="SEQ_END[x] : SEQx序列转换完成中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="CMP1L" Authority="RW" Bits="7" Description="CMP1L : 转换结果低于ADC_CMP1中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="CMP1H" Authority="RW" Bits="6" Description="CMP1H : 转换结果高于ADC_CMP1中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="CMP0L" Authority="RW" Bits="5" Description="CMP0L : 转换结果低于ADC_CMP0中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="CMP0H" Authority="RW" Bits="4" Description="CMP0H : 转换结果高于ADC_CMP0中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="OVR" Authority="RW" Bits="2" Description="OVR : 转换溢出中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="READY" Authority="RW" Bits="1" Description="READY : ADC READY中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
<Bit Name="EOC" Authority="RW" Bits="0" Description="EOC : 转换结束中断&#xD;&#xA;0: 无效&#xD;&#xA;1: 禁止该中断" />
</Register>
<Register Name="ADC_IMR" Authority="RW" Address="0x4003002c" Width="32" Description="中断使能状态寄存器">
<Bit Name="SEQ_END[x](x=0~15)" Authority="RO" Bits="31-16" Description="SEQ_END[x] : SEQx序列转换完成中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="CMP1L" Authority="RO" Bits="7" Description="CMP1L : 转换结果低于ADC_CMP1中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="CMP1H" Authority="RO" Bits="6" Description="CMP1H : 转换结果高于ADC_CMP1中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="CMP0L" Authority="RO" Bits="5" Description="CMP0L : 转换结果低于ADC_CMP0中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="CMP0H" Authority="RO" Bits="4" Description="CMP0H : 转换结果高于ADC_CMP0中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="OVR" Authority="RO" Bits="2" Description="OVR : 转换溢出中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="READY" Authority="RO" Bits="1" Description="READY : ADC READY中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
<Bit Name="EOC" Authority="RO" Bits="0" Description="EOC : 转换结束中断&#xD;&#xA;0: 该中断没有使能&#xD;&#xA;1: 该中断使能" />
</Register>
<Register Name="ADC_SEQ0" Authority="RW" Address="0x40030030" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ1" Authority="RW" Address="0x40030034" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ2" Authority="RW" Address="0x40030038" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ3" Authority="RW" Address="0x4003003c" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ4" Authority="RW" Address="0x40030040" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ5" Authority="RW" Address="0x40030044" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ6" Authority="RW" Address="0x40030048" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ7" Authority="RW" Address="0x4003004c" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ8" Authority="RW" Address="0x40030050" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ9" Authority="RW" Address="0x40030054" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ10" Authority="RW" Address="0x40030058" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ11" Authority="RW" Address="0x4003005c" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ12" Authority="RW" Address="0x40030060" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ13" Authority="RW" Address="0x40030064" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ14" Authority="RW" Address="0x40030068" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_SEQ15" Authority="RW" Address="0x4003006c" Width="32" Description="转换序列寄存器x (x=0~15)">
<Bit Name="TRG_SRC" Authority="RW" Bits="19-17" Description="TRG_SRC : 触发源选择&#xD;&#xA;000 : 无触发&#xD;&#xA;001 : 软件触发(ADC_CR中的SWTRG位)&#xD;&#xA;010 : ADC_SYNCIN0 (ETCB)&#xD;&#xA;011 : ADC_SYNCIN1 (ETCB)&#xD;&#xA;100 : ADC_SYNCIN2 (ETCB)&#xD;&#xA;101 : ADC_SYNCIN3 (ETCB)&#xD;&#xA;110 : ADC_SYNCIN4 (ETCB)&#xD;&#xA;111 : ADC_SYNCIN5 (ETCB)" />
<Bit Name="AVG_SEL" Authority="RW" Bits="16-13" Description="AVG_SEL: 平均系数选择&#xD;&#xA;0000 : 1 (不平均)&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AVG_CAL" Authority="RW" Bits="12" Description="AVG_CAL : 平均值计算&#xD;&#xA;0 : 禁用&#xD;&#xA;1 : 使能&#xD;&#xA;当这位使能时ADC转换结果寄存器ADC_DRx将保存若干次数转换后的平均值由CV_CNT和AVG_SEL决定。否则ADC_DRx将保存最后一次转换的值。" />
<Bit Name="CV_CNT" Authority="RW" Bits="11-8" Description="CV_CNT: 连续重复采样次数&#xD;&#xA;0000 : 1&#xD;&#xA;0001 : 2&#xD;&#xA;0010 : 4&#xD;&#xA;0011 : 8&#xD;&#xA;0100 : 16&#xD;&#xA;0101 : 32&#xD;&#xA;0110 : 64&#xD;&#xA;0111 : 128&#xD;&#xA;1000 : 256&#xD;&#xA;1001 : 512&#xD;&#xA;Other : 保留" />
<Bit Name="AIN_SEL" Authority="RW" Bits="4-0" Description="模拟输入通道选择&#xD;&#xA;AIN_SEL值 输入选择&#xD;&#xA;BIN DEC &#xD;&#xA;00000 0 AIN0&#xD;&#xA;00001 1 AIN1&#xD;&#xA;00010 2 AIN2&#xD;&#xA;…… ……&#xD;&#xA;10001 17 AIN17&#xD;&#xA;…… …… N/A&#xD;&#xA;11100 28 INTVREF&#xD;&#xA;11101 29 1/4VDD&#xD;&#xA;11110 30 VSS&#xD;&#xA;11111 31 N/A" />
</Register>
<Register Name="ADC_PRI" Authority="RW" Address="0x40030070" Width="32" Description="转换序列优先级寄存器">
<Bit Name="PRI" Authority="RW" Bits="3-0" Description="PRI : 转换序列优先权选择&#xD;&#xA;&#xD;&#xA;比这个寄存器数值低的序列有更高的优先权" />
</Register>
<Register Name="ADC_TDL0" Authority="RW" Address="0x40030074" Width="32" Description="触发延时寄存器0">
<Bit Name="TRGIN2_TDL" Authority="RW" Bits="23-16" Description="TRGIN2_TDL : ADC_TRGIN2触发延时控制&#xD;&#xA;&#xD;&#xA;触发时使用计数器延时一段时间后才开始ADC转换。&#xD;&#xA;延时 = (TRGIN2_TDL+1) x 4 x PCLK周期" />
<Bit Name="TRGIN1_TDL" Authority="RW" Bits="15-8" Description="TRGIN1_TDL : ADC_TRGIN1触发延时控制&#xD;&#xA;&#xD;&#xA;触发时使用计数器延时一段时间后才开始ADC转换。&#xD;&#xA;延时 = (TRGIN1_TDL+1) x 4 x PCLK周期" />
<Bit Name="TRGIN0_TDL" Authority="RW" Bits="7-0" Description="TRGIN0_TDL : ADC_TRGIN0触发延时控制&#xD;&#xA;&#xD;&#xA;触发时使用计数器延时一段时间后才开始ADC转换。&#xD;&#xA;延时 = (TRGIN0_TDL+1) x 4 x PCLK周期" />
</Register>
<Register Name="ADC_TDL1" Authority="RW" Address="0x40030078" Width="32" Description="触发延时寄存器1">
<Bit Name="TRGIN5_TDL" Authority="RW" Bits="23-16" Description="TRGIN5_TDL : ADC_TRGIN5触发延时控制&#xD;&#xA;&#xD;&#xA;触发时使用计数器延时一段时间后才开始ADC转换。&#xD;&#xA;延时 = (TRGIN5_TDL+1) x 4 x PCLK周期" />
<Bit Name="TRGIN4_TDL" Authority="RW" Bits="15-8" Description="TRGIN4_TDL : ADC_TRGIN4触发延时控制&#xD;&#xA;&#xD;&#xA;触发时使用计数器延时一段时间后才开始ADC转换。&#xD;&#xA;延时 = (TRGIN4_TDL+1) x 4 x PCLK周期" />
<Bit Name="TRGIN3_TDL" Authority="RW" Bits="7-0" Description="TRGIN3_TDL : ADC_TRGIN3触发延时控制&#xD;&#xA;&#xD;&#xA;触发时使用计数器延时一段时间后才开始ADC转换。&#xD;&#xA;延时 = (TRGIN3_TDL+1) x 4 x PCLK周期" />
</Register>
<Register Name="ADC_SYNCR" Authority="RW" Address="0x4003007c" Width="32" Description="触发同步控制寄存器">
<Bit Name="REARMx(x=0~5)" Authority="RW" Bits="21-16" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="OSTMDx(x=0~5)" Authority="RW" Bits="13-8" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="SYNCENx(x=0~5)" Authority="RW" Bits="5-0" Description="外部同步触发使能控制。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能当前触发输入通道&#xD;&#xA;SYNCINx ETCB模块中配置的触发源" />
</Register>
<Register Name="ADC_EVTRG" Authority="RW" Address="0x40030088" Width="32" Description="事件触发选择寄存器">
<Bit Name="TRG1OE" Authority="RW" Bits="21" Description="触发输出端口ADC_ TRGOUT1使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG0OE" Authority="RW" Bits="20" Description="触发输出端口ADC_TRGOUT0使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG1SEL" Authority="RW" Bits="12-8" Description="TRGEV0TRGEV1事件的触发源选择。&#xD;&#xA;00000无触发输出&#xD;&#xA;00001EOC事件&#xD;&#xA;00010READY事件&#xD;&#xA;00011OVR事件&#xD;&#xA;00100CMP0H事件&#xD;&#xA;00101CMP0L事件&#xD;&#xA;00110CMP1H事件&#xD;&#xA;00111CMP1L事件&#xD;&#xA;01000SEQ_END[0]事件&#xD;&#xA;01001SEQ_END[1]事件&#xD;&#xA;01010SEQ_END[2]事件&#xD;&#xA;01011SEQ_END[3]事件&#xD;&#xA;01100SEQ_END[4]事件&#xD;&#xA;01101SEQ_END[5]事件&#xD;&#xA;01110SEQ_END[6]事件&#xD;&#xA;01111SEQ_END[7]事件&#xD;&#xA;10000SEQ_END[8]事件&#xD;&#xA;10001SEQ_END[9]事件&#xD;&#xA;10010SEQ_END[10]事件&#xD;&#xA;10011SEQ_END[11]事件&#xD;&#xA;10100SEQ_END[12]事件&#xD;&#xA;10101SEQ_END[13]事件&#xD;&#xA;10110SEQ_END[14]事件&#xD;&#xA;10111SEQ_END[15]事件" />
<Bit Name="TRG0SEL" Authority="RW" Bits="4-0" Description="TRGEV0TRGEV1事件的触发源选择。&#xD;&#xA;00000无触发输出&#xD;&#xA;00001EOC事件&#xD;&#xA;00010READY事件&#xD;&#xA;00011OVR事件&#xD;&#xA;00100CMP0H事件&#xD;&#xA;00101CMP0L事件&#xD;&#xA;00110CMP1H事件&#xD;&#xA;00111CMP1L事件&#xD;&#xA;01000SEQ_END[0]事件&#xD;&#xA;01001SEQ_END[1]事件&#xD;&#xA;01010SEQ_END[2]事件&#xD;&#xA;01011SEQ_END[3]事件&#xD;&#xA;01100SEQ_END[4]事件&#xD;&#xA;01101SEQ_END[5]事件&#xD;&#xA;01110SEQ_END[6]事件&#xD;&#xA;01111SEQ_END[7]事件&#xD;&#xA;10000SEQ_END[8]事件&#xD;&#xA;10001SEQ_END[9]事件&#xD;&#xA;10010SEQ_END[10]事件&#xD;&#xA;10011SEQ_END[11]事件&#xD;&#xA;10100SEQ_END[12]事件&#xD;&#xA;10101SEQ_END[13]事件&#xD;&#xA;10110SEQ_END[14]事件&#xD;&#xA;10111SEQ_END[15]事件" />
</Register>
<Register Name="ADC_DR0" Authority="RW" Address="0x40030100" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR1" Authority="RW" Address="0x40030104" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR2" Authority="RW" Address="0x40030108" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR3" Authority="RW" Address="0x4003010c" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR4" Authority="RW" Address="0x40030110" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR5" Authority="RW" Address="0x40030114" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR6" Authority="RW" Address="0x40030118" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR7" Authority="RW" Address="0x4003011c" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR8" Authority="RW" Address="0x40030120" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR9" Authority="RW" Address="0x40030124" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR10" Authority="RW" Address="0x40030128" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR11" Authority="RW" Address="0x4003012c" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR12" Authority="RW" Address="0x40030130" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR13" Authority="RW" Address="0x40030134" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR14" Authority="RW" Address="0x40030138" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_DR15" Authority="RW" Address="0x4003013c" Width="32" Description="转换结果寄存器x (x=0~15)">
<Bit Name="DATA" Authority="RO" Bits="20-0" Description="DATA[20:0] : 转换结果&#xD;&#xA;模数转换的结果在转换结束后,锁存在该寄存器,直到下一个转换完成前一直有效可供读取。&#xD;&#xA;当该寄存器被读取后ADC_SR的EOC位会被自动清零。&#xD;&#xA;注意: 该寄存器的有效位数跟ADC_SEQx的AVG_SEL位有关选择的平均次数小于转换次数时该寄存器的位数会多于12位。" />
</Register>
<Register Name="ADC_CMP0" Authority="RW" Address="0x40030140" Width="32" Description="比较数据0寄存器">
<Bit Name="CMP0" Authority="RW" Bits="20-0" Description="CMP0[20:0] : 比较阈值&#xD;&#xA;模数转换结束后,转换结果会和这个寄存器的值进行比较,根据比较的结果触发相应的中断。" />
</Register>
<Register Name="ADC_CMP1" Authority="RW" Address="0x40030144" Width="32" Description="比较数据1寄存器">
<Bit Name="CMP1" Authority="RW" Bits="20-0" Description="CMP1[20:0] : 比较阈值&#xD;&#xA;模数转换结束后,转换结果会和这个寄存器的值进行比较,根据比较的结果触发相应的中断。" />
</Register>
<Register Name="ADC_DRMASK" Authority="RW" Address="0x40030148" Width="32" Description="禁止转换结果更新寄存器">
<Bit Name="DRMASK" Authority="RW" Bits="15-0" Description="DRMASK : 禁止转换结果更新&#xD;&#xA;如果该位为1 (MASK)那么对应的ADC_DRx寄存器的转换结果则不会被更新而是保持MASK之前的值。" />
</Register>
</Peripheral>
<Peripheral Name="COUNTER A">
<Register Name="CADATAH" Authority="RW" Address="0x40050000" Width="32" Description="计数器A DATAH寄存器">
<Bit Name="CADATAH" Authority="RW" Bits="15-0" Description="DATAH控制计数器A输出的高电平宽度" />
</Register>
<Register Name="CADATAL" Authority="RW" Address="0x40050004" Width="32" Description="计数器A DATAL寄存器">
<Bit Name="CADATAL" Authority="RW" Bits="15-0" Description="DATAL控制计数器A输出的低电平宽度" />
</Register>
<Register Name="CACON" Authority="RW" Address="0x40050008" Width="32" Description="计数器A控制寄存器">
<Bit Name="CARRIERON" Authority="RW" Bits="25" Description="载波信号控制位&#xD;&#xA;&#xD;&#xA;0: 关闭载波&#xD;&#xA;1: 打开载波" />
<Bit Name="ENVELOPE" Authority="RW" Bits="24" Description="REM输出信号选择位&#xD;&#xA;&#xD;&#xA;0: 选择载波信号为输出&#xD;&#xA;1: 选择包络信号为输出" />
<Bit Name="REM_STAT" Authority="RW" Bits="23" Description="当关闭载波时REM的输出状态&#xD;&#xA;&#xD;&#xA;0: 低&#xD;&#xA;1: 高" />
<Bit Name="BTPEND_REM_CON" Authority="RW" Bits="22-21" Description="当BT周期结束中断发生时硬件触发控制载波的打开和关闭&#xD;&#xA;&#xD;&#xA;00/11: 禁止CARRIERON的硬件自动触发&#xD;&#xA;01: BT周期结束中断发生时CARRIERON位会被硬件自动清零&#xD;&#xA;10: BT周期结束中断发生时CARRIERON位会被硬件自动置位" />
<Bit Name="BTMATCH_REM_CON" Authority="RW" Bits="20-19" Description="当BT脉冲匹配中断发生时硬件触发控制载波的打开和关闭&#xD;&#xA;&#xD;&#xA;00/11: 禁止CARRIERON的硬件自动触发&#xD;&#xA;01: BT脉冲匹配中断发生时CARRIERON位会被硬件自动清零&#xD;&#xA;10: BT脉冲匹配中断发生时CARRIERON位会被硬件自动置位" />
<Bit Name="HW_STROBE_DATA" Authority="RW" Bits="18-17" Description="使能计数值寄存器的硬件自动更新功能&#xD;&#xA;X1: 当BT脉冲匹配中断发生时计数值会自动载入计数器&#xD;&#xA;1X: 当BT周期结束中断发生时计数值会自动载入计数器" />
<Bit Name="SW_STROBE_DATA" Authority="RW" Bits="16" Description="使能计数值寄存器软件更新&#xD;&#xA;&#xD;&#xA;当该位置位时CADATAH和CADATAL的值会更新到计数器中" />
<Bit Name="CA_CLK" Authority="RW" Bits="5-4" Description="输入时钟频率选择位&#xD;&#xA;&#xD;&#xA;00: PCLK&#xD;&#xA;01: PCLK/2&#xD;&#xA;10: PCLK/4&#xD;&#xA;11: PCLK/8" />
<Bit Name="STOP" Authority="RW" Bits="3" Description="停止位&#xD;&#xA;&#xD;&#xA;计数器A在工作时该位为0。需要停止计数器A则需将该位写1。" />
<Bit Name="START" Authority="RW" Bits="2" Description="启动位。&#xD;&#xA;&#xD;&#xA;写1会启动计数器A。&#xD;&#xA;计数器A开始计数后该位会被自动清零。" />
<Bit Name="MODE" Authority="RW" Bits="1" Description="模式选择位&#xD;&#xA;&#xD;&#xA;0: 单次(One Shot)模式&#xD;&#xA;1: 重复模式" />
<Bit Name="OSP" Authority="RW" Bits="0" Description="载波输出波形的初始极性选择&#xD;&#xA;&#xD;&#xA;0: 低&#xD;&#xA;1: 高" />
</Register>
<Register Name="CAINTMASK" Authority="RW" Address="0x4005000c" Width="32" Description="计数器A中断控制寄存器">
<Bit Name="PLEND_INT" Authority="RW" Bits="1" Description="低电平结束中断的使能/禁止" />
<Bit Name="PHEND_INT" Authority="RW" Bits="0" Description="高电平结束中断的使能/禁止" />
</Register>
</Peripheral>
<Peripheral Name="BT0">
<Register Name="BT_RSSR" Authority="RW" Address="0x40051000" Width="32" Description="Reset/Start Control Register">
<Bit Name="SRR" Authority="RW" Bits="15-12" Description="软件复位控制位。&#xD;&#xA;当对当前控制位写入0x5BT模块会被复位。复位后所有寄存器都恢复为RESET状态。" />
<Bit Name="START" Authority="RW" Bits="0" Description="计数器启动控制。&#xD;&#xA;0h写入0停止计数器。&#xD;&#xA;1h写入1启动计数器。&#xD;&#xA;&#xD;&#xA;读取时,返回当前计数器的工作状态。&#xD;&#xA;0h计数器处于IDLE状态。&#xD;&#xA;1h计数器处于工作状态。" />
</Register>
<Register Name="BT_CR" Authority="RW" Address="0x40051004" Width="32" Description="General Control Register">
<Bit Name="CNTRLD" Authority="RW" Bits="16" Description="硬件自动重载CNT值控制位。&#xD;&#xA;0当CNT计数值等于PRDR时CNT自动清零重新开始计数。&#xD;&#xA;1不进行CNT重载计数器一直计数直到溢出后重新开始计数。" />
<Bit Name="SYNCMD" Authority="RW" Bits="15" Description="同步触发结果控制位。&#xD;&#xA;0h同步触发发生时计数器重置并触发所有具有缓存Shadow的寄存器将缓存内容更新到活动寄存器中。&#xD;&#xA;1h同步触发发生时只是计数器重置。" />
<Bit Name="AREARM" Authority="RW" Bits="14" Description="硬件自动REARM控制位。&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1计数器周期结束时自动REARM" />
<Bit Name="REARM1" Authority="RW" Bits="13" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="REARM0" Authority="RW" Bits="12" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="OSTMD1" Authority="RW" Bits="11" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="OSTMD0" Authority="RW" Bits="10" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="SYNCEN1" Authority="RW" Bits="9" Description="外部同步触发输入使能控制。&#xD;&#xA;0h禁止外部触发&#xD;&#xA;1h使能外部触发" />
<Bit Name="SYNCEN0" Authority="RW" Bits="8" Description="外部同步触发输入使能控制。&#xD;&#xA;0h禁止外部触发&#xD;&#xA;1h使能外部触发" />
<Bit Name="STARTST" Authority="RW" Bits="7" Description="BT开始计数时BT_OUT状态设置。&#xD;&#xA;0低电平&#xD;&#xA;1高电平" />
<Bit Name="IDLEST" Authority="RW" Bits="6" Description="BT停止计数时BT_OUT状态设置。&#xD;&#xA;0低电平&#xD;&#xA;1高电平" />
<Bit Name="EXTCKM" Authority="RW" Bits="5" Description="计数器时钟源选择。&#xD;&#xA;0h计数器基于PCLK的分频计数&#xD;&#xA;1h由同步触发端口触发计数" />
<Bit Name="OPM" Authority="RW" Bits="4" Description="计数器单次触发工作模式选择。&#xD;&#xA;0h连续计数工作模式&#xD;&#xA;1h单次触发工作模式" />
<Bit Name="SHDWSTP" Authority="RW" Bits="3" Description="START控制位的Shadow功能使能控制。START置位不受此位控制清除时受此位控制。当选择Shadow模式时START控制位在周期结束时清除。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式" />
<Bit Name="UPDATE" Authority="RW" Bits="2" Description="PRDR和PSCR软件强制更新。当对UPDATE写入1PRDR和PSCR的Shadow寄存器内容将被载入到活动寄存器中。&#xD;&#xA;0h: 无效. &#xD;&#xA;1h: 触发更新" />
<Bit Name="DBGEN" Authority="RW" Bits="1" Description="调试使能控制。调试使能时在CPU被调试器挂起时时基计数器的计数时钟同时也被挂起。&#xD;&#xA;0h调试禁止&#xD;&#xA;1h调试使能" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="时基计数器的时钟使能控制。&#xD;&#xA;0h计数器计数时钟禁止。&#xD;&#xA;1h计数器计数时钟使能。" />
</Register>
<Register Name="BT_PSCR" Authority="RW" Address="0x40051008" Width="32" Description="Counter Clock Prescaler Register">
<Bit Name="PSCR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;BT的计数器时钟频率为PCLK/(PSCR+1)" />
</Register>
<Register Name="BT_PRDR" Authority="RW" Address="0x4005100c" Width="32" Description="Period Register">
<Bit Name="CMPLINK" Authority="RW" Bits="31" Description="CMP寄存器同步写入控制。&#xD;&#xA;当对PRDR进行更新时若该控制位同时写入1则CMP寄存器同时被更新成和PRDR一样的值。" />
<Bit Name="PRDR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;当计数器计数值等于PRDR的设置值时下一个计数周期计数器将从零开始计数。" />
</Register>
<Register Name="BT_CMP" Authority="RW" Address="0x40051010" Width="32" Description="Compare Data">
<Bit Name="CMP" Authority="RW" Bits="15-0" Description="比较值寄存器。&#xD;&#xA;当CNT值等于CMP时下个计数周期开始BT输出将翻转。" />
</Register>
<Register Name="BT_CNT" Authority="RW" Address="0x40051014" Width="32" Description="Counter Register">
<Bit Name="CNT" Authority="RW" Bits="15-0" Description="当前计数器计数值寄存器。&#xD;&#xA;对CNT读取时返回当前计数器值。对CNT写入时将直接更新CNT的计数值。CNT计数器没有Shadow寄存器CPU的写入将直接影响当前计数器值。" />
</Register>
<Register Name="BT_EVTRG" Authority="RW" Address="0x40051018" Width="32" Description="Event Generation Control Register">
<Bit Name="TRGOE" Authority="RW" Bits="20" Description="外部触发端口TRGOUT输出使能。&#xD;&#xA;0h禁止触发输出到ETCB。&#xD;&#xA;1h允许触发输出到ETCB。" />
<Bit Name="TRGSEL" Authority="RW" Bits="3-0" Description="TRGEV事件的触发源选择控制位。&#xD;&#xA;0h禁止TRGOUT的触发。&#xD;&#xA;1h指定PEND事件用于产生TRGEV事件。&#xD;&#xA;2h指定CMP事件用于产生TRGEV事件。&#xD;&#xA;3h指定OVF事件用于产生TRGEV事件。&#xD;&#xA;其他:保留" />
</Register>
<Register Name="BT_EVSWF" Authority="RW" Address="0x40051024" Width="32" Description="Event Counter Software Trigger Register">
<Bit Name="EVSWF" Authority="RW" Bits="0" Description="软件产生一次TRGEV事件。&#xD;&#xA;0h写入0无效。&#xD;&#xA;1h软件产生一次TRGEV事件。" />
</Register>
<Register Name="BT_RISR" Authority="RW" Address="0x40051028" Width="32" Description="Raw Interrupt Status Register">
<Bit Name="TRGEV" Authority="RO" Bits="3" Description="事件触发中断请求原始标志状态。" />
<Bit Name="OVF" Authority="RO" Bits="2" Description="OVF中断请求原始标志状态。" />
<Bit Name="CMP" Authority="RO" Bits="1" Description="CMP Match中断请求原始标志状态。" />
<Bit Name="PEND" Authority="RO" Bits="0" Description="PEND周期结束中断请求原始标志状态。" />
</Register>
<Register Name="BT_IMCR" Authority="RW" Address="0x4005102c" Width="32" Description="Interrupt Masking Control Register">
<Bit Name="EVTRG" Authority="RW" Bits="3" Description="事件触发中断中断使能控制位。" />
<Bit Name="OVF" Authority="RW" Bits="2" Description="OVF中断使能控制位。" />
<Bit Name="CMP" Authority="RW" Bits="1" Description="CMP Match中断使能控制位" />
<Bit Name="PEND" Authority="RW" Bits="0" Description="PEND中断使能控制位。" />
</Register>
<Register Name="BT_MISR" Authority="RW" Address="0x40051030" Width="32" Description="Masked Interrupt Status Register">
<Bit Name="EVTRG" Authority="RO" Bits="3" Description="事件触发中断请求标志状态。" />
<Bit Name="OVF" Authority="RO" Bits="2" Description="OVF中断请求标志状态。" />
<Bit Name="CMP" Authority="RO" Bits="1" Description="CMP Match中断请求标志状态。" />
<Bit Name="PEND" Authority="RO" Bits="0" Description="PEND周期结束中断请求标志状态。" />
</Register>
<Register Name="BT_ICR" Authority="RW" Address="0x40051034" Width="32" Description="Interrupt Clear Register">
<Bit Name="EVTRG" Authority="RW" Bits="3" Description="清除事件触发中断原始中断状态位。" />
<Bit Name="OVF" Authority="RW" Bits="2" Description="清除OVF原始中断状态位。" />
<Bit Name="CMP" Authority="RW" Bits="1" Description="清除CMP Match原始中断状态位。" />
<Bit Name="PEND" Authority="RW" Bits="0" Description="清除PEND原始中断状态位。" />
</Register>
</Peripheral>
<Peripheral Name="BT1">
<Register Name="BT_RSSR" Authority="RW" Address="0x40052000" Width="32" Description="Reset/Start Control Register">
<Bit Name="SRR" Authority="RW" Bits="15-12" Description="软件复位控制位。&#xD;&#xA;当对当前控制位写入0x5BT模块会被复位。复位后所有寄存器都恢复为RESET状态。" />
<Bit Name="START" Authority="RW" Bits="0" Description="计数器启动控制。&#xD;&#xA;0h写入0停止计数器。&#xD;&#xA;1h写入1启动计数器。&#xD;&#xA;&#xD;&#xA;读取时,返回当前计数器的工作状态。&#xD;&#xA;0h计数器处于IDLE状态。&#xD;&#xA;1h计数器处于工作状态。" />
</Register>
<Register Name="BT_CR" Authority="RW" Address="0x40052004" Width="32" Description="General Control Register">
<Bit Name="CNTRLD" Authority="RW" Bits="16" Description="硬件自动重载CNT值控制位。&#xD;&#xA;0当CNT计数值等于PRDR时CNT自动清零重新开始计数。&#xD;&#xA;1不进行CNT重载计数器一直计数直到溢出后重新开始计数。" />
<Bit Name="SYNCMD" Authority="RW" Bits="15" Description="同步触发结果控制位。&#xD;&#xA;0h同步触发发生时计数器重置并触发所有具有缓存Shadow的寄存器将缓存内容更新到活动寄存器中。&#xD;&#xA;1h同步触发发生时只是计数器重置。" />
<Bit Name="AREARM" Authority="RW" Bits="14" Description="硬件自动REARM控制位。&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1计数器周期结束时自动REARM" />
<Bit Name="REARM1" Authority="RW" Bits="13" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="REARM0" Authority="RW" Bits="12" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="OSTMD1" Authority="RW" Bits="11" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="OSTMD0" Authority="RW" Bits="10" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="SYNCEN1" Authority="RW" Bits="9" Description="外部同步触发输入使能控制。&#xD;&#xA;0h禁止外部触发&#xD;&#xA;1h使能外部触发" />
<Bit Name="SYNCEN0" Authority="RW" Bits="8" Description="外部同步触发输入使能控制。&#xD;&#xA;0h禁止外部触发&#xD;&#xA;1h使能外部触发" />
<Bit Name="STARTST" Authority="RW" Bits="7" Description="BT开始计数时BT_OUT状态设置。&#xD;&#xA;0低电平&#xD;&#xA;1高电平" />
<Bit Name="IDLEST" Authority="RW" Bits="6" Description="BT停止计数时BT_OUT状态设置。&#xD;&#xA;0低电平&#xD;&#xA;1高电平" />
<Bit Name="EXTCKM" Authority="RW" Bits="5" Description="计数器时钟源选择。&#xD;&#xA;0h计数器基于PCLK的分频计数&#xD;&#xA;1h由同步触发端口触发计数" />
<Bit Name="OPM" Authority="RW" Bits="4" Description="计数器单次触发工作模式选择。&#xD;&#xA;0h连续计数工作模式&#xD;&#xA;1h单次触发工作模式" />
<Bit Name="SHDWSTP" Authority="RW" Bits="3" Description="START控制位的Shadow功能使能控制。START置位不受此位控制清除时受此位控制。当选择Shadow模式时START控制位在周期结束时清除。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式" />
<Bit Name="UPDATE" Authority="RW" Bits="2" Description="PRDR和PSCR软件强制更新。当对UPDATE写入1PRDR和PSCR的Shadow寄存器内容将被载入到活动寄存器中。&#xD;&#xA;0h: 无效. &#xD;&#xA;1h: 触发更新" />
<Bit Name="DBGEN" Authority="RW" Bits="1" Description="调试使能控制。调试使能时在CPU被调试器挂起时时基计数器的计数时钟同时也被挂起。&#xD;&#xA;0h调试禁止&#xD;&#xA;1h调试使能" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="时基计数器的时钟使能控制。&#xD;&#xA;0h计数器计数时钟禁止。&#xD;&#xA;1h计数器计数时钟使能。" />
</Register>
<Register Name="BT_PSCR" Authority="RW" Address="0x40052008" Width="32" Description="Counter Clock Prescaler Register">
<Bit Name="PSCR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;BT的计数器时钟频率为PCLK/(PSCR+1)" />
</Register>
<Register Name="BT_PRDR" Authority="RW" Address="0x4005200c" Width="32" Description="Period Register">
<Bit Name="CMPLINK" Authority="RW" Bits="31" Description="CMP寄存器同步写入控制。&#xD;&#xA;当对PRDR进行更新时若该控制位同时写入1则CMP寄存器同时被更新成和PRDR一样的值。" />
<Bit Name="PRDR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;当计数器计数值等于PRDR的设置值时下一个计数周期计数器将从零开始计数。" />
</Register>
<Register Name="BT_CMP" Authority="RW" Address="0x40052010" Width="32" Description="Compare Data">
<Bit Name="CMP" Authority="RW" Bits="15-0" Description="比较值寄存器。&#xD;&#xA;当CNT值等于CMP时下个计数周期开始BT输出将翻转。" />
</Register>
<Register Name="BT_CNT" Authority="RW" Address="0x40052014" Width="32" Description="Counter Register">
<Bit Name="CNT" Authority="RW" Bits="15-0" Description="当前计数器计数值寄存器。&#xD;&#xA;对CNT读取时返回当前计数器值。对CNT写入时将直接更新CNT的计数值。CNT计数器没有Shadow寄存器CPU的写入将直接影响当前计数器值。" />
</Register>
<Register Name="BT_EVTRG" Authority="RW" Address="0x40052018" Width="32" Description="Event Generation Control Register">
<Bit Name="TRGOE" Authority="RW" Bits="20" Description="外部触发端口TRGOUT输出使能。&#xD;&#xA;0h禁止触发输出到ETCB。&#xD;&#xA;1h允许触发输出到ETCB。" />
<Bit Name="TRGSEL" Authority="RW" Bits="3-0" Description="TRGEV事件的触发源选择控制位。&#xD;&#xA;0h禁止TRGOUT的触发。&#xD;&#xA;1h指定PEND事件用于产生TRGEV事件。&#xD;&#xA;2h指定CMP事件用于产生TRGEV事件。&#xD;&#xA;3h指定OVF事件用于产生TRGEV事件。&#xD;&#xA;其他:保留" />
</Register>
<Register Name="BT_EVSWF" Authority="RW" Address="0x40052024" Width="32" Description="Event Counter Software Trigger Register">
<Bit Name="EVSWF" Authority="RW" Bits="0" Description="软件产生一次TRGEV事件。&#xD;&#xA;0h写入0无效。&#xD;&#xA;1h软件产生一次TRGEV事件。" />
</Register>
<Register Name="BT_RISR" Authority="RW" Address="0x40052028" Width="32" Description="Raw Interrupt Status Register">
<Bit Name="TRGEV" Authority="RO" Bits="3" Description="事件触发中断请求原始标志状态。" />
<Bit Name="OVF" Authority="RO" Bits="2" Description="OVF中断请求原始标志状态。" />
<Bit Name="CMP" Authority="RO" Bits="1" Description="CMP Match中断请求原始标志状态。" />
<Bit Name="PEND" Authority="RO" Bits="0" Description="PEND周期结束中断请求原始标志状态。" />
</Register>
<Register Name="BT_IMCR" Authority="RW" Address="0x4005202c" Width="32" Description="Interrupt Masking Control Register">
<Bit Name="EVTRG" Authority="RW" Bits="3" Description="事件触发中断中断使能控制位。" />
<Bit Name="OVF" Authority="RW" Bits="2" Description="OVF中断使能控制位。" />
<Bit Name="CMP" Authority="RW" Bits="1" Description="CMP Match中断使能控制位" />
<Bit Name="PEND" Authority="RW" Bits="0" Description="PEND中断使能控制位。" />
</Register>
<Register Name="BT_MISR" Authority="RW" Address="0x40052030" Width="32" Description="Masked Interrupt Status Register">
<Bit Name="EVTRG" Authority="RO" Bits="3" Description="事件触发中断请求标志状态。" />
<Bit Name="OVF" Authority="RO" Bits="2" Description="OVF中断请求标志状态。" />
<Bit Name="CMP" Authority="RO" Bits="1" Description="CMP Match中断请求标志状态。" />
<Bit Name="PEND" Authority="RO" Bits="0" Description="PEND周期结束中断请求标志状态。" />
</Register>
<Register Name="BT_ICR" Authority="RW" Address="0x40052034" Width="32" Description="Interrupt Clear Register">
<Bit Name="EVTRG" Authority="RW" Bits="3" Description="清除事件触发中断原始中断状态位。" />
<Bit Name="OVF" Authority="RW" Bits="2" Description="清除OVF原始中断状态位。" />
<Bit Name="CMP" Authority="RW" Bits="1" Description="清除CMP Match原始中断状态位。" />
<Bit Name="PEND" Authority="RW" Bits="0" Description="清除PEND原始中断状态位。" />
</Register>
</Peripheral>
<Peripheral Name="GPT">
<Register Name="GPTA_CEDR" Authority="RW" Address="0x40055000" Width="32" Description="ID &amp; Clock Enable/Disable Register">
<Bit Name="IDCODE" Authority="RO" Bits="31-16" Description="当前GPTA模块的版本信息。" />
<Bit Name="FLTCKPRS" Authority="RW" Bits="15-8" Description="数字滤波器的时钟分频控制。&#xD;&#xA;数字滤波器的时钟频率为PCLK/( FLTCKPRS+1)" />
<Bit Name="SHDWSTP" Authority="RW" Bits="6" Description="START控制位的Shadow功能使能控制。START置位不受此位控制清除时受此位控制。当选择Shadow模式时START控制位在周期结束时清除。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式" />
<Bit Name="CSS" Authority="RW" Bits="3" Description="计数器时钟源选择位。&#xD;&#xA;0hPCLK&#xD;&#xA;1h由SYNCIN3控制&#xD;&#xA;其他:保留" />
<Bit Name="DBGEN" Authority="RW" Bits="2-1" Description="调试使能控制。调试使能时在CPU被调试器挂起时时基计数器的计数时钟同时也被挂起。&#xD;&#xA;0h调试禁止&#xD;&#xA;1h调试使能PWM输出高阻&#xD;&#xA;其他调试使能PWM输出保持" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="时基计数器的时钟使能控制。&#xD;&#xA;0h计数器计数时钟禁止。&#xD;&#xA;1h计数器计数时钟使能。" />
</Register>
<Register Name="GPTA_RSSR" Authority="RW" Address="0x40055004" Width="32" Description="RESET/START/STOP Register">
<Bit Name="SRR" Authority="RW" Bits="15-12" Description="软件复位控制位。&#xD;&#xA;当对当前控制位写入0x5TIMER模块会被复位。复位后所有寄存器都恢复为RESET状态。" />
<Bit Name="CNTDIR" Authority="RO" Bits="3" Description="当前计数器计数方向状态。&#xD;&#xA;0h当前计数器方向为递减&#xD;&#xA;1h当前计数器方向为递增" />
<Bit Name="START" Authority="RW" Bits="0" Description="计数器启动控制位。&#xD;&#xA;0h当写0停止计数器&#xD;&#xA;1h当写1启动计数器&#xD;&#xA;当对START位进行读取时返回当前计数器工作状态&#xD;&#xA;0h计数器处于IDLE状态&#xD;&#xA;1h计数器正在工作&#xD;&#xA;&#xD;&#xA;当GPTA_CR[SWSYNEN]控制位为低时START控制位用于控制GPTA的启动当GPTA启动后再次写入START将被忽略&#xD;&#xA;当GPTA_CR[SWSYNEN]控制位为高时START控制位用于软件触发同步事件每次对START的写入会产生一次外部Sync事件等同于SYNCR中的SYNCIN0触发。" />
</Register>
<Register Name="GPTA_PSCR" Authority="RW" Address="0x40055008" Width="32" Description="Counter Clock Prescaler Register">
<Bit Name="PSC" Authority="RW" Bits="15-0" Description="时钟分频控制。&#xD;&#xA;TCLK作为时基模块的计时时钟和工作时钟。TCLK的时钟从PCLK分频得到。TCLK的频率FTCLK = FPCLK / (PSC+1)&#xD;&#xA;此寄存器具有Shadow寄存器可通过GPTA_CR[PSCLD]设置载入的条件。" />
</Register>
<Register Name="GPTA_CR(WAVE=0)" Authority="RW" Address="0x4005500c" Width="32" Description="General Control Register">
<Bit Name="LDDRST" Authority="RW" Bits="26" Description="CMPB(Active)捕捉载入后,计数器值计数状态控制位。&#xD;&#xA;0h当前捕获触发后计数器值不进行重置&#xD;&#xA;1h当前捕获触发后计数器值进行重置" />
<Bit Name="LDCRST" Authority="RW" Bits="25" Description="CMPA(Active)捕捉载入后,计数器值计数状态控制位。&#xD;&#xA;0h当前捕获触发后计数器值不进行重置&#xD;&#xA;1h当前捕获触发后计数器值进行重置" />
<Bit Name="LDBRST" Authority="RW" Bits="24" Description="CMPB(Shadow)捕捉载入后,计数器值计数状态控制位。&#xD;&#xA;0h当前捕获触发后计数器值不进行重置&#xD;&#xA;1h当前捕获触发后计数器值进行重置" />
<Bit Name="LDARST" Authority="RW" Bits="23" Description="CMPA(Shadow)捕捉载入后,计数器值计数状态控制位。&#xD;&#xA;0h当前捕获触发后计数器值不进行重置&#xD;&#xA;1h当前捕获触发后计数器值进行重置" />
<Bit Name="STOP_WRAP" Authority="RW" Bits="22-21" Description="Capture模式下捕获事件计数器周期设置值。GPTA最大可设为2" />
<Bit Name="CAPMD" Authority="RW" Bits="20" Description="捕捉模式设置。&#xD;&#xA;0h连续捕捉模式&#xD;&#xA;1h一次性捕捉模式" />
<Bit Name="REARM" Authority="RW" Bits="19" Description="重置CAPTURE控制。&#xD;&#xA;0h无效&#xD;&#xA;1h重置捕捉&#xD;&#xA;重置时捕捉事件计数器被清零自动打开CAPLDEN" />
<Bit Name="WAVE" Authority="RW" Bits="18" Description="GPTA工作模式选择。&#xD;&#xA;0h捕捉模式&#xD;&#xA;1h波形发生模式" />
<Bit Name="PSCLD" Authority="RW" Bits="17-16" Description="PSCR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;01b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b不进行载入" />
<Bit Name="CGFLT" Authority="RW" Bits="15-13" Description="门控输入数字滤波控制。此控制定义了滤波器监测的步数只有连续N次监测结果一致时滤波器才输出有效的电平翻转。滤波器的采样时钟频率通过CEDR[FLTCKPRS] 控制位定义。&#xD;&#xA;000bBypass&#xD;&#xA;001bN = 2&#xD;&#xA;010bN = 3&#xD;&#xA;011bN = 4&#xD;&#xA;100bN = 6&#xD;&#xA;101bN = 8&#xD;&#xA;110bN = 16&#xD;&#xA;111bN = 32" />
<Bit Name="CGSRC" Authority="RW" Bits="12-11" Description="群脉冲模式下,时钟门控的输入源选择。&#xD;&#xA;0hGPTA_CHA作为CG的输入源&#xD;&#xA;1hGPTA_CHB作为CG的输入源&#xD;&#xA;其他:保留" />
<Bit Name="FLTIPSCLD" Authority="RW" Bits="10" Description="数字滤波器初始化控制。对该控制写1可以初始化数字滤波器计数器.&#xD;&#xA;0h无效&#xD;&#xA;1h执行初始化" />
<Bit Name="BURST" Authority="RW" Bits="9" Description="群脉冲模式。&#xD;&#xA;0h禁止群脉冲模式&#xD;&#xA;1h使能群脉冲模式" />
<Bit Name="CAPLDEN" Authority="RW" Bits="8" Description="CMPA和CMPB在捕捉事件触发时载入使能控制。&#xD;&#xA;0h禁止对CMP寄存器的捕获载入&#xD;&#xA;1h使能对CMP寄存器的捕获载入&#xD;&#xA;此控制位在禁止对CMP寄存器载入时并不影响捕捉事件SYNCIN2的触发。" />
<Bit Name="PRDLD" Authority="RW" Bits="5-4" Description="PRDR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00bPRDR活动寄存器更新发生在周期结束(PEND)&#xD;&#xA;01bPRDR活动寄存器更新发生在SYNCIN1被触发时&#xD;&#xA;10bPRDR活动寄存器更新发生在计数器值等于零或SYNCIN1触发时&#xD;&#xA;11b立即更新所有对PRDR操作直接作用于活动寄存器 [1]" />
<Bit Name="IDLEST" Authority="RW" Bits="3" Description="" />
<Bit Name="SWSYNEN" Authority="RW" Bits="2" Description="软件使能同步触发使能控制RSSR中START控制位。&#xD;&#xA;0h设置SW START控制只用于启动。&#xD;&#xA;1h设置SW START控制用于启动和以产生一次SYNCIN0事件以外部触发的方式重新启动。" />
<Bit Name="CNTMD" Authority="RW" Bits="1-0" Description="计数模式设置。&#xD;&#xA;计数模式一般只设置一次并且在计数过程中不做改变。如果计数模式被改变变化将发生在下一个TCLK的边沿并且基于上一个计数器值进行递增或者递减。&#xD;&#xA;00b递增模式&#xD;&#xA;01b递减模式&#xD;&#xA;10b递增递减模式&#xD;&#xA;11b保留" />
</Register>
<Register Name="GPTA_CR(WAVE=1)" Authority="RW" Address="0x4005500c" Width="32" Description="General Control Register">
<Bit Name="WAVE" Authority="RW" Bits="18" Description="GPTA工作模式选择。&#xD;&#xA;0h捕捉模式&#xD;&#xA;1h波形发生模式" />
<Bit Name="PSCLD" Authority="RW" Bits="17-16" Description="PSCR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;01b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b不进行载入" />
<Bit Name="CGFLT" Authority="RW" Bits="15-13" Description="门控输入数字滤波控制。此控制定义了滤波器监测的步数只有连续N次监测结果一致时滤波器才输出有效的电平翻转。滤波器的采样时钟频率通过CEDR[FLTCKPRS] 控制位定义。&#xD;&#xA;000bBypass&#xD;&#xA;001bN = 2&#xD;&#xA;010bN = 3&#xD;&#xA;011bN = 4&#xD;&#xA;100bN = 6&#xD;&#xA;101bN = 8&#xD;&#xA;110bN = 16&#xD;&#xA;111bN = 32" />
<Bit Name="CGSRC" Authority="RW" Bits="12-11" Description="群脉冲模式下,时钟门控的输入源选择。&#xD;&#xA;0hGPTA_CHA作为CG的输入源&#xD;&#xA;1hGPTA_CHB作为CG的输入源&#xD;&#xA;其他:保留" />
<Bit Name="CKS" Authority="RW" Bits="10" Description="采样时钟频率控制位。此控制位决定数字滤波器的采样时钟频率。&#xD;&#xA;0hPCLK&#xD;&#xA;1hPCLK/2" />
<Bit Name="BURST" Authority="RW" Bits="9" Description="群脉冲模式。&#xD;&#xA;0h禁止群脉冲模式&#xD;&#xA;1h使能群脉冲模式" />
<Bit Name="OPM" Authority="RW" Bits="6" Description="计数器单次触发工作模式选择。&#xD;&#xA;0h连续计数工作模式&#xD;&#xA;1h单次触发工作模式&#xD;&#xA;其他:保留" />
<Bit Name="PRDLD" Authority="RW" Bits="5-4" Description="PRDR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00bPRDR活动寄存器更新发生在周期结束(PEND)&#xD;&#xA;01bPRDR活动寄存器更新发生在SYNCIN1被触发时&#xD;&#xA;10bPRDR活动寄存器更新发生在计数器值等于零或SYNCIN1触发时&#xD;&#xA;11b立即更新所有对PRDR操作直接作用于活动寄存器 [1]" />
<Bit Name="IDLEST" Authority="RO" Bits="3" Description="波形输出被停止时,输出端口的缺省状态。&#xD;&#xA;0h高阻输出&#xD;&#xA;1h低电平输出" />
<Bit Name="SWSYNEN" Authority="RW" Bits="2" Description="软件使能同步触发使能控制RSSR中START控制位。&#xD;&#xA;0h设置SW START控制只用于启动。&#xD;&#xA;1h设置SW START控制用于启动和以产生一次SYNCIN0事件以外部触发的方式重新启动。" />
<Bit Name="CNTMD" Authority="RW" Bits="1-0" Description="计数模式设置。&#xD;&#xA;计数模式一般只设置一次并且在计数过程中不做改变。如果计数模式被改变变化将发生在下一个TCLK的边沿并且基于上一个计数器值进行递增或者递减。&#xD;&#xA;00b递增模式&#xD;&#xA;01b递减模式&#xD;&#xA;10b递增递减模式&#xD;&#xA;11b保留" />
</Register>
<Register Name="GPTA_SYNCR" Authority="RW" Address="0x40055010" Width="32" Description="Synchronization Control Register">
<Bit Name="AREARM" Authority="RW" Bits="31-30" Description="硬件自动REARM控制位。&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1CNT = ZRO时自动REARM&#xD;&#xA;2CNT = PRD时自动REARM&#xD;&#xA;3CNT = ZRO or CNT = PRD时自动REARM" />
<Bit Name="TRGO1SEL" Authority="RW" Bits="29-27" Description="输入触发通道直通作为TRGSRC1的ExtSync条件的选择。只有当EVTRG寄存器中TRGSRC1控制位选择为ExtSync条件时有效。&#xD;&#xA;0h选择SYNCIN0作为TRGSRC1的ExtSync触发&#xD;&#xA;1h选择SYNCIN1作为TRGSRC1的ExtSync触发&#xD;&#xA;2h选择SYNCIN2作为TRGSRC1的ExtSync触发&#xD;&#xA;3h选择SYNCIN3作为TRGSRC1的ExtSync触发&#xD;&#xA;4h选择SYNCIN4作为TRGSRC1的ExtSync触发&#xD;&#xA;5h选择SYNCIN5作为TRGSRC1的ExtSync触发&#xD;&#xA;其他:保留" />
<Bit Name="TRGO0SEL" Authority="RW" Bits="26-24" Description="输入触发通道直通作为TRGSRC0的ExtSync条件的选择。只有当EVTRG寄存器中TRGSRC0控制位选择为ExtSync条件时有效。&#xD;&#xA;0h选择SYNCIN0作为TRGSRC0的ExtSync触发&#xD;&#xA;1h选择SYNCIN1作为TRGSRC0的ExtSync触发&#xD;&#xA;2h选择SYNCIN2作为TRGSRC0的ExtSync触发&#xD;&#xA;3h选择SYNCIN3作为TRGSRC0的ExtSync触发&#xD;&#xA;4h选择SYNCIN4作为TRGSRC0的ExtSync触发&#xD;&#xA;5h选择SYNCIN5作为TRGSRC0的ExtSync触发&#xD;&#xA;其他:保留" />
<Bit Name="TXREARM0" Authority="RW" Bits="23-22" Description="Tx信号触发SYNCIN0的REARM&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1T1发生触发自动REARM SYNCIN0通道&#xD;&#xA;2T2发生触发自动REARM SYNCIN0通道&#xD;&#xA;3T1或者T2发生触发自动REARM SYNCIN0通道" />
<Bit Name="REARM5" Authority="RW" Bits="21" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="REARM4" Authority="RW" Bits="20" Description="" />
<Bit Name="REARM3" Authority="RW" Bits="19" Description="" />
<Bit Name="REARM2" Authority="RW" Bits="18" Description="" />
<Bit Name="REARM1" Authority="RW" Bits="17" Description="" />
<Bit Name="REARM0" Authority="RW" Bits="16" Description="" />
<Bit Name="OSTMD5" Authority="RW" Bits="13" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="OSTMD4" Authority="RW" Bits="12" Description="" />
<Bit Name="OSTMD3" Authority="RW" Bits="11" Description="" />
<Bit Name="OSTMD2" Authority="RW" Bits="10" Description="" />
<Bit Name="OSTMD1" Authority="RW" Bits="9" Description="" />
<Bit Name="OSTMD0" Authority="RW" Bits="8" Description="" />
<Bit Name="SYNCEN5" Authority="RW" Bits="5" Description="外部同步触发使能控制。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能当前触发输入通道&#xD;&#xA;SYNCIN0外部Sync事件&#xD;&#xA;SYNCIN1Load触发&#xD;&#xA;SYNCIN2Capture触发事件&#xD;&#xA;SYNCIN3CNT增减一拍触发事件&#xD;&#xA;SYNCIN4外部COS事件用于PWM波形输出控制&#xD;&#xA;SYNCIN5外部COS事件用于PWM波形输出控制" />
<Bit Name="SYNCEN4" Authority="RW" Bits="4" Description="" />
<Bit Name="SYNCEN3" Authority="RW" Bits="3" Description="" />
<Bit Name="SYNCEN2" Authority="RW" Bits="2" Description="" />
<Bit Name="SYNCEN1" Authority="RW" Bits="1" Description="" />
<Bit Name="SYNCEN0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPTA_GLDCR" Authority="RW" Address="0x40055014" Width="32" Description="Global Load Control Register">
<Bit Name="GLDCNT" Authority="RW" Bits="12-10" Description="全局载入事件计数器。&#xD;&#xA;计数器值表示当前已发生多少次事件触发。" />
<Bit Name="GLDPRD" Authority="RW" Bits="9-7" Description="全局载入触发周期选择。&#xD;&#xA;可以选择N次触发条件满足后才进行一次全局载入。&#xD;&#xA;000bDisable Counter立即触发&#xD;&#xA;001b第2次条件满足时触发&#xD;&#xA;010b第3次条件满足时触发&#xD;&#xA;011b第4次条件满足时触发&#xD;&#xA;100b第5次条件满足时触发&#xD;&#xA;101b第6次条件满足时触发&#xD;&#xA;110b第7次条件满足时触发&#xD;&#xA;111b第8次条件满足时触发" />
<Bit Name="OSTMD" Authority="RW" Bits="5" Description="One Shot 载入模式使能控制位&#xD;&#xA;0h禁止One Shot模式只要条件满足Active寄存器都会从Shadow寄存器载入&#xD;&#xA;1h使能One Shot模式只有在GLDCR2[OSREARM]写入1才会进行一次载入。一旦载入被触发需要再次对GLDCR2[OSREARM]写入1才能允许下一次载入触发。" />
<Bit Name="GLDMD" Authority="RW" Bits="4-1" Description="全局载入触发事件选择。&#xD;&#xA;0hCNT = ZRO&#xD;&#xA;1hCNT = PRD&#xD;&#xA;2hCNT = ZRO or CNT = PRD&#xD;&#xA;3hCNT = ZRO or 外部LOAD触发或SYNC触发&#xD;&#xA;4hCNT = PRD or 外部LOAD触发或SYNC触发&#xD;&#xA;5hCNT = ZRO or CNT = PRD or 外部LOAD触发或SYNC触发&#xD;&#xA;OthersReserved&#xD;&#xA;Fh在GLDCR2[GFRCLD]写入1时 [1]" />
<Bit Name="GLDEN" Authority="RW" Bits="0" Description="全局的Shadow到Active寄存器载入控制。&#xD;&#xA;0使用独立的单个配置在各个寄存器中LDMD控制位分别指派的载入控制&#xD;&#xA;1使用GLDMD中的设置其他设置被屏蔽" />
</Register>
<Register Name="GPTA_GLDCFG" Authority="RW" Address="0x40055018" Width="32" Description="Global Load Configuration Register">
<Bit Name="AQCSF" Authority="RW" Bits="12" Description="AQCSF寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCRB" Authority="RW" Bits="9" Description="AQCRB寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCRA" Authority="RW" Bits="8" Description="AQCRA寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="CMPB" Authority="RW" Bits="2" Description="CMPB寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="CMPA" Authority="RW" Bits="1" Description="CMPA寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="PRDR" Authority="RW" Bits="0" Description="PRDR寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
</Register>
<Register Name="GPTA_GLDCR2" Authority="RW" Address="0x4005501c" Width="32" Description="Global Load Control Register2">
<Bit Name="GFRCLD" Authority="RW" Bits="1" Description="软件产生一次GLD触发。&#xD;&#xA;0写入0无效读取时总是返回0&#xD;&#xA;1软件产生一次GLD触发事件" />
<Bit Name="OSREARM" Authority="RW" Bits="0" Description="重置ONE SHOT模式&#xD;&#xA;0写入0无效读取时总是返回0&#xD;&#xA;1重置ONE SHOT模式。ONE SHOT模式下一次触发后需要重置模式才允许再次触发" />
</Register>
<Register Name="GPTA_PRDR" Authority="RW" Address="0x40055024" Width="32" Description="Period Register">
<Bit Name="PRDR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;此控制位决定了PWM输出波形的周期值。通过设置GPTA_CR[PRDLD]可以选择Shadow到Active载入的触发条件。" />
</Register>
<Register Name="GPTA_CMPA" Authority="RW" Address="0x4005502c" Width="32" Description="Compare A Register">
<Bit Name="OVWRT" Authority="RO" Bits="31" Description="Over Write Flag 标志位。&#xD;&#xA;表示当前Capture值是否被Over Written。当连续两次针对于当前寄存器的捕获事件发生而两次捕获之间未对当前寄存器进行过读取操作则Over Written标志被置位。读取当前寄存器会自动清除Over Written标志。&#xD;&#xA;此标志位只有在Capture模式下有效。" />
<Bit Name="CMPA" Authority="RW" Bits="15-0" Description="比较值A寄存器。&#xD;&#xA;此寄存器有Shadow寄存器Shadow模式可以通过CMPLDR[SHDWCMPA]进行设置。在Shadow模式下可以通过CMPLDR[LDAMD]选择Shadow到Active载入的触发条件。在写入前可以通过SHDWAFULL控制位检测当前寄存器状态。&#xD;&#xA;&#xD;&#xA;当工作于Capture模式下此寄存器对应CAPLD0事件触发的捕获值。" />
</Register>
<Register Name="GPTA_CMPB" Authority="RW" Address="0x40055030" Width="32" Description="Compare B Register">
<Bit Name="OVWRT" Authority="RO" Bits="31" Description="Over Write Flag 标志位。&#xD;&#xA;表示当前Capture值是否被Over Written。当连续两次针对于当前寄存器的捕获事件发生而两次捕获之间未对当前寄存器进行过读取操作则Over Written标志被置位。读取当前寄存器会自动清除Over Written标志。&#xD;&#xA;此标志位只有在Capture模式下有效。" />
<Bit Name="CMPB" Authority="RW" Bits="15-0" Description="比较值B寄存器。&#xD;&#xA;此寄存器有Shadow寄存器Shadow模式可以通过CMPLDR[SHDWCMPB]进行设置。在Shadow模式下可以通过CMPLDR[LDBMD]选择Shadow到Active载入的触发条件。在写入前可以通过SHDWBFULL控制位检测当前寄存器状态。&#xD;&#xA;&#xD;&#xA;当工作于Capture模式下此寄存器对应CAPLD1事件触发的捕获值。" />
</Register>
<Register Name="GPTA_CMPLDR" Authority="RW" Address="0x4005503c" Width="32" Description="Compare Data Load Control Register">
<Bit Name="SHDWAFULL" Authority="RO" Bits="21-20" Description="CMPB的Shadow寄存器非空标志位。&#xD;&#xA;当对CMPB进行写操作时该标志位置位。该标志位在Shadow被载入到Active后会自动清除。&#xD;&#xA;0hShadow空&#xD;&#xA;1hShadow非空对当前CMP寄存器写入会覆盖Shadow中未被载入的值" />
<Bit Name="LDBMD" Authority="RW" Bits="9-7" Description="Shadow模式下Active CMPB从Shadow CMPB载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入" />
<Bit Name="LDAMD" Authority="RW" Bits="6-4" Description="Shadow模式下Active CMPA从Shadow CMPA载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="SHDWCMPB" Authority="RW" Bits="1" Description="CMPB的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式 [1]" />
<Bit Name="SHDWCMPA" Authority="RW" Bits="0" Description="CMPA的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式 [1]" />
</Register>
<Register Name="GPTA_CNT" Authority="RW" Address="0x40055040" Width="32" Description="Counter Register">
<Bit Name="CNT" Authority="RW" Bits="15-0" Description="时基计数器寄存器。&#xD;&#xA;对CNT读取时返回当前计数器值。对CNT写入时将直接更新CNT的计数值。CNT计数器没有Shadow寄存器CPU的写入将直接影响当前计数器值。" />
</Register>
<Register Name="GPTA_AQLDR" Authority="RW" Address="0x40055044" Width="32" Description="Action Qualifier Load Control Register">
<Bit Name="LDBMD" Authority="RW" Bits="7-5" Description="Shadow模式下Active AQCRB从Shadow载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="LDAMD" Authority="RW" Bits="4-2" Description="Shadow模式下Active AQCRA从Shadow载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="SHDWAQB" Authority="RW" Bits="1" Description="AQCRB寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="SHDWAQA" Authority="RW" Bits="0" Description="AQCRA寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
</Register>
<Register Name="GPTA_AQCRA" Authority="RW" Address="0x40055048" Width="32" Description="Action Qualifier Control Register A">
<Bit Name="CBSEL" Authority="RW" Bits="23-22" Description="CB比较值数据源选择。&#xD;&#xA;0hCMPA寄存器作为CA的数据源。&#xD;&#xA;1hCMPB寄存器作为CA的数据源。&#xD;&#xA;其他:保留。" />
<Bit Name="CASEL" Authority="RW" Bits="21-20" Description="CA比较值的数据源选择。&#xD;&#xA;0hCMPA寄存器作为CA的数据源。&#xD;&#xA;1hCMPB寄存器作为CA的数据源。&#xD;&#xA;其他:保留。" />
<Bit Name="T2D" Authority="RW" Bits="19-18" Description="当T2事件发生且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T2U" Authority="RW" Bits="17-16" Description="当T2事件发生且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1D" Authority="RW" Bits="15-14" Description="当T1事件发生且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1U" Authority="RW" Bits="13-12" Description="当T1事件发生且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBD" Authority="RW" Bits="11-10" Description="当CNT值等于CB且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBU" Authority="RW" Bits="9-8" Description="当CNT值等于CB且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAD" Authority="RW" Bits="7-6" Description="当CNT值等于CA且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAU" Authority="RW" Bits="5-4" Description="当CNT值等于CA且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="PRD" Authority="RW" Bits="3-2" Description="当CNT值等于PRDR时在通道A上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时当计数器值等于PRDR时计数方向为递减模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="ZRO" Authority="RW" Bits="1-0" Description="当CNT值等于零时在通道A上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时,当计数器值等于零时,计数方向为递增模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
</Register>
<Register Name="GPTA_AQCRB" Authority="RW" Address="0x4005504c" Width="32" Description="Action Qualifier Control Register B">
<Bit Name="CBSEL" Authority="RW" Bits="23-22" Description="CB比较值数据源选择。&#xD;&#xA;0hCMPA寄存器作为CA的数据源。&#xD;&#xA;1hCMPB寄存器作为CA的数据源。&#xD;&#xA;其他:保留。" />
<Bit Name="CASEL" Authority="RW" Bits="21-20" Description="CA比较值的数据源选择。&#xD;&#xA;0hCMPA寄存器作为CA的数据源。&#xD;&#xA;1hCMPB寄存器作为CA的数据源。&#xD;&#xA;其他:保留。" />
<Bit Name="T2D" Authority="RW" Bits="19-18" Description="当T2事件发生且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T2U" Authority="RW" Bits="17-16" Description="当T2事件发生且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1D" Authority="RW" Bits="15-14" Description="当T1事件发生且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1U" Authority="RW" Bits="13-12" Description="当T1事件发生且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBD" Authority="RW" Bits="11-10" Description="当CNT值等于CMPB且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBU" Authority="RW" Bits="9-8" Description="当CNT值等于CMPB且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAD" Authority="RW" Bits="7-6" Description="当CNT值等于CMPA且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAU" Authority="RW" Bits="5-4" Description="当CNT值等于CMPA且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="PRD" Authority="RW" Bits="3-2" Description="当CNT值等于PRDR时在通道B上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时当计数器值等于PRDR时计数方向为递减模式&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="ZRO" Authority="RW" Bits="1-0" Description="当CNT值等于零时在通道B上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时,当计数器值等于零时,计数方向为递增模式&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
</Register>
<Register Name="GPTA_AQOSF" Authority="RW" Address="0x4005505c" Width="32" Description="Action Qualifier One Shot Force Register">
<Bit Name="RLDCSF" Authority="RW" Bits="17-16" Description="AQCSF寄存器从Shadow载入到Active的控制。&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;00b立即载入" />
<Bit Name="ACTB" Authority="RW" Bits="6-5" Description="当软件强制输出时通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="OSTSFB" Authority="RW" Bits="4" Description="在通道B上产生一次性软件强制输出。&#xD;&#xA;0h对当前位写0无效&#xD;&#xA;1h产生一次性软件强制输出此输出状态保持直到有其他改变通道A输出状态的触发事件发生。" />
<Bit Name="ACTA" Authority="RW" Bits="2-1" Description="当软件强制输出时通道A上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="OSTSFA" Authority="RW" Bits="0" Description="在通道A上产生一次性软件强制输出。&#xD;&#xA;0h对当前位写0无效&#xD;&#xA;1h产生一次性软件强制输出此输出状态保持直到有其他改变通道A输出状态的触发事件发生。" />
</Register>
<Register Name="GPTA_AQCSF" Authority="RW" Address="0x40055060" Width="32" Description="Action Qualifier Continuous Force Register">
<Bit Name="CSFB" Authority="RW" Bits="3-2" Description="通过软件对通道B做连续强制赋值。在立即更新模式下赋值将在配置后下一个TCLK输出。在Shadow模式下在Shadow更新到Active后的下一个TCLK后输出。对Shadow更新到Active的控制可以通过AQOSF寄存器中的RLDCSF控制位进行配置。&#xD;&#xA;0h禁止强制赋值&#xD;&#xA;1h强制输出低&#xD;&#xA;2h强制输出高&#xD;&#xA;3h禁止强制赋值" />
<Bit Name="CSFA" Authority="RW" Bits="1-0" Description="通过软件对通道A做连续强制赋值。在立即更新模式下赋值将在配置后下一个TCLK输出。在Shadow模式下在Shadow更新到Active后的下一个TCLK后输出。对Shadow更新到Active的控制可以通过AQOSF寄存器中的RLDCSF控制位进行配置。&#xD;&#xA;0h禁止强制赋值&#xD;&#xA;1h强制输出低&#xD;&#xA;2h强制输出高&#xD;&#xA;3h禁止强制赋值" />
</Register>
<Register Name="GPTA_TRGFTCR" Authority="RW" Address="0x400550b8" Width="32" Description="Digital Compare Filter Control Register">
<Bit Name="CROSSMD" Authority="RW" Bits="7" Description="允许滤波窗跨越多个TB的周期。&#xD;&#xA;缺省条件下,当滤波窗在周期结束时若任然有效,将跨过周期点,一直持续到窗口计数器溢出。当禁止跨周期时,在周期结束时,窗口计数器将被停止。&#xD;&#xA;0h禁止跨周期&#xD;&#xA;1h允许跨周期" />
<Bit Name="ALIGNMD" Authority="RW" Bits="6-5" Description="窗口对齐模式选择。&#xD;&#xA;0hCNT=PRD&#xD;&#xA;1hCNT=ZRO&#xD;&#xA;2hCNT=PRD or CNT=ZRO&#xD;&#xA;3hT1事件" />
<Bit Name="BLKINV" Authority="RW" Bits="4" Description="窗口使能反转控制。&#xD;&#xA;0h窗口不反转&#xD;&#xA;1h窗口反转" />
<Bit Name="SRC_SEL" Authority="RW" Bits="2-0" Description="滤波模块的输入信号选择。&#xD;&#xA;0h禁止滤波&#xD;&#xA;1h使能SYNCIN0滤波&#xD;&#xA;2h使能SYNCIN1滤波&#xD;&#xA;3h使能SYNCIN2滤波&#xD;&#xA;4h使能SYNCIN3滤波&#xD;&#xA;5h使能SYNCIN4滤波&#xD;&#xA;6h使能SYNCIN5滤波&#xD;&#xA;7h保留" />
</Register>
<Register Name="GPTA_TRGFTWR" Authority="RW" Address="0x400550bc" Width="32" Description="Digital Compare Filter Window Register">
<Bit Name="WINDOW" Authority="RW" Bits="31-16" Description="滤波窗的宽度设置。&#xD;&#xA;此16bit控制位定义了滤波窗的宽度窗口宽度是基于TCLK的计数值。当OFFSET计数器溢出时WINDOW计数器被重置并开始计数直到溢出。当OFFSET计数器溢出但WINDOW状态已经激活时WINDOW计数器不会重置。在应用时必须注意此条件的设置。" />
<Bit Name="OFFSET" Authority="RW" Bits="15-0" Description="滤波窗的OFFSET设置。&#xD;&#xA;此16bit控制位定义了从窗口参考起始位置开始计数多少个TCLK后开始有效的滤波窗口。参考位置的定义在TRGFTCR[ALIGNMD]控制位中进行选择。OFFSET的Shadow寄存器在ALIGNMD指定的条件满足时载入到Active寄存器中并重新开始计数。" />
</Register>
<Register Name="GPTA_EVTRG" Authority="RW" Address="0x400550c0" Width="32" Description="Event Generation Control Register">
<Bit Name="CNT1INITFRC" Authority="RO" Bits="25" Description="TRGEV1CNT软件触发更新&#xD;&#xA;0h无效&#xD;&#xA;1hEVCNT1INIT内容更新到EVCNT1中" />
<Bit Name="CNT0INITFRC" Authority="RO" Bits="24" Description="TRGEV0CNT软件触发更新&#xD;&#xA;0h无效&#xD;&#xA;1hEVCNT0INIT内容更新到EVCNT0中" />
<Bit Name="TRG1OE" Authority="RW" Bits="21" Description="外部触发端口TRGOUT1使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG0OE" Authority="RW" Bits="20" Description="外部触发端口TRGOUT0使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="CNT1INITEN" Authority="RW" Bits="17" Description="TRGEV1CNT寄存器更新模式控制&#xD;&#xA;0h无效&#xD;&#xA;1hTRGEV1CNT在发生LOAD事件触发时或者EV1CNTINITFRC控制位软件写入1EV1CNTINIT的内容更新到EV1CNT中。" />
<Bit Name="CNT0INITEN" Authority="RW" Bits="16" Description="TRGEV0CNT寄存器更新模式控制&#xD;&#xA;0h无效&#xD;&#xA;1hTRGEV0CNT在发生LOAD事件触发时或者EV0CNTINITFRC控制位软件写入1EV0CNTINIT的内容更新到EV0CNT中。" />
<Bit Name="TRGSEL1" Authority="RW" Bits="7-4" Description="TRGEV1事件的触发源选择。&#xD;&#xA;0000禁止TRGOUT触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGEV事件&#xD;&#xA;0010当 CNT = PRD 产生TRGEV事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGEV事件&#xD;&#xA;0100当 CNT = CMPA 且计数方向为递增时产生TRGEV事件&#xD;&#xA;0101当 CNT = CMPA 且计数方向为递减时产生TRGEV事件&#xD;&#xA;0110当 CNT = CMPB 且计数方向为递增时产生TRGEV事件&#xD;&#xA;0111当 CNT = CMPB 且计数方向为递减时产生TRGEV事件&#xD;&#xA;1100ExtSync通道&#xD;&#xA;1101PE0 event&#xD;&#xA;1110PE1 event&#xD;&#xA;1111PE2 event" />
<Bit Name="TRGSEL0" Authority="RW" Bits="3-0" Description="TRGEV0事件的触发源选择。&#xD;&#xA;0000禁止TRGOUT触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGEV事件&#xD;&#xA;0010当 CNT = PRD 产生TRGEV事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGEV事件&#xD;&#xA;0100当 CNT = CMPA 且计数方向为递增时产生TRGEV事件&#xD;&#xA;0101当 CNT = CMPA 且计数方向为递减时产生TRGEV事件&#xD;&#xA;0110当 CNT = CMPB 且计数方向为递增时产生TRGEV事件&#xD;&#xA;0111当 CNT = CMPB 且计数方向为递减时产生TRGEV事件&#xD;&#xA;1100ExtSync通道&#xD;&#xA;1101PE0 event&#xD;&#xA;1110PE1 event&#xD;&#xA;1111PE2 event" />
</Register>
<Register Name="GPTA_EVPS" Authority="RW" Address="0x400550c4" Width="32" Description="Event Counter Prescaler">
<Bit Name="TRGEV1CNT" Authority="RW" Bits="23-20" Description="TRGEV1事件计数器设置。&#xD;&#xA;读取时,返回当前事件计数器值;&#xD;&#xA;写入时,直接更新事件计数器值。" />
<Bit Name="TRGEV0CNT" Authority="RW" Bits="19-16" Description="TRGEV0事件计数器设置。&#xD;&#xA;读取时,返回当前事件计数器值;&#xD;&#xA;写入时,直接更新事件计数器值。" />
<Bit Name="TRGEV1PRD" Authority="RW" Bits="7-4" Description="TRGEV1事件计数的周期设置。&#xD;&#xA;当TRGEV1事件发生次数满足周期时才产生TRGEV1触发事件" />
<Bit Name="TRGEV0PRD" Authority="RW" Bits="3-0" Description="TRGEV0事件计数的周期设置。&#xD;&#xA;当TRGEV0事件发生次数满足周期时才产生TRGEV0触发事件" />
</Register>
<Register Name="GPTA_EVCNTINIT" Authority="RW" Address="0x400550c8" Width="32" Description="Event Counter Initial Value">
<Bit Name="CNT1INIT" Authority="RW" Bits="7-4" Description="TRGEV1CNT计数器的初始化值设置。&#xD;&#xA;当EVTRG[CNT1INITEN]控制位有效时CNT1INIT的值将在触发条件满足时(LOAD事件)或EVTRG[CNT1INITFRC]软件置位时被载入到TRGEV1CNT寄存器中。" />
<Bit Name="CNT0INIT" Authority="RW" Bits="3-0" Description="TRGEV0CNT计数器的初始化值设置。&#xD;&#xA;当EVTRG[CNT0INITEN]控制位有效时CNT0INIT的值将在触发条件满足时(LOAD事件)或EVTRG[CNT0INITFRC]软件置位时被载入到TRGEV0CNT寄存器中。" />
</Register>
<Register Name="GPTA_EVSWF" Authority="RW" Address="0x400550cc" Width="32" Description="Event Counter Load Control Register">
<Bit Name="EV1SWF" Authority="RW" Bits="1" Description="软件产生一次EV1的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV0SWF" Authority="RW" Bits="0" Description="软件产生一次EV0的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
</Register>
<Register Name="GPTA_RISR" Authority="RW" Address="0x400550d0" Width="32" Description="Raw Interrupt Status Register">
<Bit Name="PEND" Authority="RO" Bits="16" Description="周期结束中断请求原始标志状态" />
<Bit Name="CBD" Authority="RO" Bits="11" Description="递减阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CBU" Authority="RO" Bits="10" Description="递增阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CAD" Authority="RO" Bits="9" Description="递减阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAU" Authority="RO" Bits="8" Description="递增阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAP_LD1" Authority="RO" Bits="5" Description="Capture Load to CMPB Shadow中断请求原始标志状态" />
<Bit Name="CAP_LD0" Authority="RO" Bits="4" Description="Capture Load to CMPA Shadow中断请求原始标志状态" />
<Bit Name="TRGEV1" Authority="RW" Bits="1" Description="TRGEV1中断请求原始标志状态" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="TRGEV0中断请求原始标志状态" />
</Register>
<Register Name="GPTA_MISR" Authority="RW" Address="0x400550d4" Width="32" Description="Masked Interrupt Status Register">
<Bit Name="PEND" Authority="RO" Bits="16" Description="周期结束中断请求原始标志状态" />
<Bit Name="CBD" Authority="RO" Bits="11" Description="递减阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CBU" Authority="RO" Bits="10" Description="递增阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CAD" Authority="RO" Bits="9" Description="递减阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAU" Authority="RO" Bits="8" Description="递增阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAP_LD1" Authority="RO" Bits="5" Description="Capture Load to CMPB Shadow中断请求原始标志状态" />
<Bit Name="CAP_LD0" Authority="RO" Bits="4" Description="Capture Load to CMPA Shadow中断请求原始标志状态" />
<Bit Name="TRGEV1" Authority="RW" Bits="1" Description="TRGEV1中断请求标志状态" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="TRGEV0中断请求标志状态" />
</Register>
<Register Name="GPTA_IMCR" Authority="RW" Address="0x400550d8" Width="32" Description="Interrupt Masking Control Register">
<Bit Name="PEND" Authority="RW" Bits="16" Description="周期结束中断请求原始标志状态" />
<Bit Name="CBD" Authority="RW" Bits="11" Description="递减阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CBU" Authority="RW" Bits="10" Description="递增阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CAD" Authority="RW" Bits="9" Description="递减阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAU" Authority="RW" Bits="8" Description="递增阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAP_LD1" Authority="RW" Bits="5" Description="Capture Load to CMPB Shadow中断请求原始标志状态" />
<Bit Name="CAP_LD0" Authority="RW" Bits="4" Description="Capture Load to CMPA Shadow中断请求原始标志状态" />
<Bit Name="TRGEV1" Authority="RW" Bits="1" Description="TRGEV1中断使能控制位" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="TRGEV0中断使能控制位" />
</Register>
<Register Name="GPTA_ICR" Authority="RW" Address="0x400550dc" Width="32" Description="Interrupt Clear Register">
<Bit Name="PEND" Authority="RO" Bits="16" Description="周期结束中断请求原始标志状态" />
<Bit Name="CBD" Authority="RO" Bits="11" Description="递减阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CBU" Authority="RO" Bits="10" Description="递增阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CAD" Authority="RO" Bits="9" Description="递减阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAU" Authority="RO" Bits="8" Description="递增阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAP_LD1" Authority="RO" Bits="5" Description="Capture Load to CMPB Shadow中断请求原始标志状态" />
<Bit Name="CAP_LD0" Authority="RO" Bits="4" Description="Capture Load to CMPA Shadow中断请求原始标志状态" />
<Bit Name="TRGEV1" Authority="RW" Bits="1" Description="清除TRGEV1原始中断状态位" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="清除TRGEV0原始中断状态位" />
</Register>
</Peripheral>
<Peripheral Name="EPT">
<Register Name="CEDR" Authority="RW" Address="0x40059000" Width="32" Description="ID &amp; Clock Enable/Disable Register">
<Bit Name="IDCODE" Authority="RO" Bits="31-16" Description="当前EPT模块的版本信息。" />
<Bit Name="FLTCKPRS" Authority="RW" Bits="15-8" Description="CGFLT数字滤波器的时钟分频控制。&#xD;&#xA;数字滤波器的时钟频率为PCLK/( FLTCKPRS+1)" />
<Bit Name="SHDWSTP" Authority="RW" Bits="6" Description="START控制位的Shadow功能使能控制。START置位不受此位控制清除时受此位控制。当选择Shadow模式时START控制位在周期结束时清除。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式" />
<Bit Name="TINSEL" Authority="RW" Bits="5-4" Description="TIN输入源选择控制位。TIN可以作为计数器计数时钟的使能控制或者作为载波输出模式下的载波。&#xD;&#xA;0h禁止TIN输入&#xD;&#xA;1hBT0_OUT作为TIN的输入&#xD;&#xA;2hBT1_OUT作为TIN的输入&#xD;&#xA;3h保留" />
<Bit Name="CSS" Authority="RW" Bits="3" Description="计数器时钟源选择位。&#xD;&#xA;0hPCLK&#xD;&#xA;1h由SYNCIN3控制&#xD;&#xA;其他:保留" />
<Bit Name="DBGEN" Authority="RW" Bits="2-1" Description="调试使能控制。调试使能时在CPU被调试器挂起时时基计数器的计数时钟同时也被挂起。&#xD;&#xA;0h调试禁止&#xD;&#xA;1h调试使能PWM输出高阻&#xD;&#xA;其他调试使能PWM输出保持" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="时基计数器的时钟使能控制。&#xD;&#xA;0h计数器计数时钟禁止。&#xD;&#xA;1h计数器计数时钟使能。" />
</Register>
<Register Name="RSSR" Authority="RW" Address="0x40059004" Width="32" Description="RESET/START/STOP Register">
<Bit Name="SRR" Authority="RW" Bits="15-12" Description="软件复位控制位。&#xD;&#xA;当对当前控制位写入0x5TIMER模块会被复位。复位后所有寄存器都恢复为RESET状态。" />
<Bit Name="CNTDIR" Authority="RO" Bits="3" Description="当前计数器计数方向状态。&#xD;&#xA;0h当前计数器方向为递增&#xD;&#xA;1h当前计数器方向为递减" />
<Bit Name="START" Authority="RW" Bits="0" Description="计数器启动控制位。&#xD;&#xA;0h当写0停止计数器&#xD;&#xA;1h当写1启动计数器&#xD;&#xA;当对START位进行读取时返回当前计数器工作状态&#xD;&#xA;0h计数器处于IDLE状态&#xD;&#xA;1h计数器正在工作&#xD;&#xA;&#xD;&#xA;当CR[SWSYNEN]控制位为低时START控制位用于控制EPT的启动当EPT启动后再次写入START将被忽略当CR[SWSYNEN]控制位为高时START控制位用于软件触发同步事件每次对START的写入会产生一次外部Sync事件等同于SYNCR中的SYNCIN0触发。" />
</Register>
<Register Name="PSCR" Authority="RW" Address="0x40059008" Width="32" Description="Counter Clock Prescaler Register">
<Bit Name="PSC" Authority="RW" Bits="15-0" Description="时钟分频控制。&#xD;&#xA;TCLK作为时基模块的计时时钟和工作时钟。TCLK的时钟从PCLK分频得到。此寄存器具有Shadow寄存器可通过CR[PSCLD]设置载入的条件。&#xD;&#xA;TCLK的频率FTCLK = FPCLK / (PSC+1)" />
</Register>
<Register Name="CR(WAVE=0)" Authority="RW" Address="0x4005900c" Width="32" Description="General Control Register">
<Bit Name="LDDRST" Authority="RW" Bits="26" Description="CMPD捕捉载入后计数器值计数状态控制位。&#xD;&#xA;0hCMPD触发后计数器值进行重置&#xD;&#xA;1hCMPD触发后计数器值不进行重置" />
<Bit Name="LDCRST" Authority="RW" Bits="25" Description="CMPC捕捉载入后计数器值计数状态控制位。&#xD;&#xA;0hCMPC触发后计数器值进行重置&#xD;&#xA;1hCMPC触发后计数器值不进行重置" />
<Bit Name="LDBRST" Authority="RW" Bits="24" Description="CMPB捕捉载入后计数器值计数状态控制位。&#xD;&#xA;0hCMPB触发后计数器值进行重置&#xD;&#xA;1hCMPB触发后计数器值不进行重置" />
<Bit Name="LDARST" Authority="RW" Bits="23" Description="CMPA捕捉载入后计数器值计数状态控制位。&#xD;&#xA;0hCMPA触发后计数器值进行重置&#xD;&#xA;1hCMPA触发后计数器值不进行重置" />
<Bit Name="STOP_WRAP" Authority="RW" Bits="22-21" Description="Capture模式下捕获事件计数器周期设置值。" />
<Bit Name="CAPMD" Authority="RW" Bits="20" Description="捕捉模式设置。在一次性捕捉模式下当捕捉事件计数器等于STOP_WRAP设置值时后续的捕捉事件将不能触发捕捉。必须通过软件REARM后才能继续触发捕捉。&#xD;&#xA;0h连续捕捉模式&#xD;&#xA;1h一次性捕捉模式" />
<Bit Name="REARM" Authority="RW" Bits="19" Description="重置CAPTURE 捕捉事件计数器控制。&#xD;&#xA;0h无效&#xD;&#xA;1h重置捕捉计数器&#xD;&#xA;重置时捕捉事件计数器被清零自动打开CAPLDEN。捕捉事件计数器周期通过STOP_WRAP进行设置。" />
<Bit Name="WAVE" Authority="RW" Bits="18" Description="EPT工作模式选择。&#xD;&#xA;0h捕捉模式&#xD;&#xA;1h波形发生模式" />
<Bit Name="PSCLD" Authority="RW" Bits="17-16" Description="PSCR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;01b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b不进行载入" />
<Bit Name="CGFLT" Authority="RW" Bits="15-13" Description="门控输入数字滤波控制。此控制定义了滤波器监测的步数只有连续N次监测结果一致时滤波器才输出有效的电平翻转。滤波器的采样时钟频率在通过CKS控制位定义。&#xD;&#xA;000bBypass&#xD;&#xA;001bN = 2&#xD;&#xA;010bN = 3&#xD;&#xA;011bN = 4&#xD;&#xA;100bN = 6&#xD;&#xA;101bN = 8&#xD;&#xA;110bN = 16&#xD;&#xA;111bN = 32" />
<Bit Name="CGSRC" Authority="RW" Bits="12-11" Description="群脉冲模式下,时钟门控的输入源选择。&#xD;&#xA;0hCHAX作为CG的输入源&#xD;&#xA;1hCHBX作为CG的输入源&#xD;&#xA;2hTIN作为CG的输入源&#xD;&#xA;3h保留" />
<Bit Name="FLTIPSCLD" Authority="RW" Bits="10" Description="数字滤波器初始化控制。对该控制写1可以初始化数字滤波器计数器计数器值被初始化为CEDR[FLTCKPRS]中的设置值。&#xD;&#xA;0h无效&#xD;&#xA;1h执行初始化" />
<Bit Name="BURST" Authority="RW" Bits="9" Description="群脉冲模式。&#xD;&#xA;0h禁止群脉冲模式&#xD;&#xA;1h使能群脉冲模式" />
<Bit Name="CAPLDEN" Authority="RW" Bits="8" Description="CMPA和CMPB在捕捉事件触发时载入使能控制。此控制位在禁止对CMP寄存器载入时并不影响捕捉事件CEV的触发。&#xD;&#xA;0h禁止对CMP寄存器的捕获载入&#xD;&#xA;1h使能对CMP寄存器的捕获载入" />
<Bit Name="PRDLD" Authority="RW" Bits="5-4" Description="PRDR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00bPRDR活动寄存器更新发生在周期结束(PEND)&#xD;&#xA;01bPRDR活动寄存器更新发生在外部LOAD触发或SYNC触发时&#xD;&#xA;10bPRDR活动寄存器更新发生在计数器值等于零和外部LOAD触发或SYNC触发时&#xD;&#xA;11b立即更新所有对PRDR操作直接作用于活动寄存器 [1]" />
<Bit Name="IDLEST" Authority="RW" Bits="3" Description="波形输出被停止时GPIO输出控制&#xD;&#xA;0hGPIO高阻输出&#xD;&#xA;1hPWM信号低电平此PWM信号为内部PWMx信号GPIO输出电平取决于是否使能死区控制以及死区控制的配置" />
<Bit Name="SWSYNEN" Authority="RW" Bits="2" Description="软件使能同步触发使能控制RSSR中START控制位。&#xD;&#xA;0h设置SW START控制只用于启动。&#xD;&#xA;1h设置SW START控制用于启动和以产生一次外部触发的方式重新启动。" />
<Bit Name="CNTMD" Authority="RW" Bits="1-0" Description="计数模式设置。&#xD;&#xA;计数模式一般只设置一次并且在计数过程中不做改变。如果计数模式被改变变化将发生在下一个TCLK的边沿并且基于上一个计数器值进行递增或者递减。&#xD;&#xA;00b递增模式&#xD;&#xA;01b递减模式 (该模式不支持输出满幅波形)&#xD;&#xA;10b递增递减模式&#xD;&#xA;11b保留" />
</Register>
<Register Name="CR(WAVE=1)" Authority="RW" Address="0x4005900c" Width="32" Description="">
<Bit Name="WAVE" Authority="RW" Bits="18" Description="EPT工作模式选择。&#xD;&#xA;0h捕捉模式&#xD;&#xA;1h波形发生模式" />
<Bit Name="PSCLD" Authority="RO" Bits="17-16" Description="PSCR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;01b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b不进行载入" />
<Bit Name="CGFLT" Authority="RW" Bits="15-13" Description="门控输入数字滤波控制。此控制定义了滤波器监测的步数只有连续N次监测结果一致时滤波器才输出有效的电平翻转。滤波器的采样时钟频率在通过CKS控制位定义。&#xD;&#xA;000bBypass&#xD;&#xA;001bN = 2&#xD;&#xA;010bN = 3&#xD;&#xA;011bN = 4&#xD;&#xA;100bN = 6&#xD;&#xA;101bN = 8&#xD;&#xA;110bN = 16&#xD;&#xA;111bN = 32" />
<Bit Name="CGSRC" Authority="RW" Bits="12-11" Description="群脉冲模式下,时钟门控的输入源选择。&#xD;&#xA;0hCHAX作为CG的输入源&#xD;&#xA;1hCHBX作为CG的输入源&#xD;&#xA;2hTIN作为CG的输入源&#xD;&#xA;3h保留" />
<Bit Name="FLTIPSCLD" Authority="RW" Bits="10" Description="数字滤波器初始化控制。对该控制写1可以初始化数字滤波器计数器计数器值被初始化为CEDR[FLTCKPRS]中的设置值。&#xD;&#xA;0h无效&#xD;&#xA;1h执行初始化" />
<Bit Name="BURST" Authority="RW" Bits="9" Description="群脉冲模式。&#xD;&#xA;0h禁止群脉冲模式&#xD;&#xA;1h使能群脉冲模式" />
<Bit Name="PHSEN" Authority="RO" Bits="7" Description="PHSR使能控制位当控制位有效时计数器将在启动时被初始化为PHSR中的设置值。&#xD;&#xA;0h禁止通过PHSR初始化&#xD;&#xA;1h使能通过PHSR初始化" />
<Bit Name="OPM" Authority="RO" Bits="6" Description="计数器单次触发工作模式选择。&#xD;&#xA;0h连续计数工作模式&#xD;&#xA;1h单次触发工作模式&#xD;&#xA;其他:保留" />
<Bit Name="PRDLD" Authority="RW" Bits="5-4" Description="PRDR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;00bPRDR活动寄存器更新发生在周期结束(PEND)&#xD;&#xA;01bPRDR活动寄存器更新发生在外部LOAD触发或SYNC触发时&#xD;&#xA;10bPRDR活动寄存器更新发生在计数器值等于零和外部LOAD触发或SYNC触发时&#xD;&#xA;11b立即更新所有对PRDR操作直接作用于活动寄存器" />
<Bit Name="IDLEST" Authority="RO" Bits="3" Description="波形输出被停止时GPIO输出控制&#xD;&#xA;0hGPIO高阻输出&#xD;&#xA;1hPWM信号低电平此PWM信号为内部PWMx信号GPIO输出电平取决于是否使能死区控制以及死区控制的配置" />
<Bit Name="SWSYNEN" Authority="RW" Bits="2" Description="软件使能同步触发使能控制RSSR中START控制位。&#xD;&#xA;0h设置SW START控制只用于启动。&#xD;&#xA;1h设置SW START控制用于启动和以产生一次外部触发的方式重新启动。" />
<Bit Name="CNTMD" Authority="RW" Bits="1-0" Description="计数模式设置。&#xD;&#xA;计数模式一般只设置一次并且在计数过程中不做改变。如果计数模式被改变变化将发生在下一个TCLK的边沿并且基于上一个计数器值进行递增或者递减。&#xD;&#xA;00b递增模式&#xD;&#xA;01b递减模式&#xD;&#xA;10b递增递减模式&#xD;&#xA;11b保留" />
</Register>
<Register Name="SYNCR" Authority="RW" Address="0x40059010" Width="32" Description="Synchronization Control Register">
<Bit Name="AREARM" Authority="RW" Bits="31-30" Description="硬件自动REARM控制位。&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1CNT = ZRO时自动REARM&#xD;&#xA;2CNT = PRD时自动REARM&#xD;&#xA;3CNT = ZRO or CNT = PRD时自动REARM" />
<Bit Name="TRGO1SEL" Authority="RW" Bits="29-27" Description="输入触发通道直通作为TRGSRC1的ExtSync条件的选择。只有当EVTRG寄存器中TRGSRC1控制位选择为ExtSync条件时有效。&#xD;&#xA;0h选择SYNCIN0作为TRGSRC1的ExtSync触发&#xD;&#xA;1h选择SYNCIN1作为TRGSRC1的ExtSync触发&#xD;&#xA;2h选择SYNCIN2作为TRGSRC1的ExtSync触发&#xD;&#xA;3h选择SYNCIN3作为TRGSRC1的ExtSync触发&#xD;&#xA;4h选择SYNCIN4作为TRGSRC1的ExtSync触发&#xD;&#xA;5h选择SYNCIN5作为TRGSRC1的ExtSync触发&#xD;&#xA;其他:保留" />
<Bit Name="TRGO0SEL" Authority="RW" Bits="26-24" Description="输入触发通道直通作为TRGSRC0的ExtSync条件的选择。只有当EVTRG寄存器中TRGSRC0控制位选择为ExtSync条件时有效。&#xD;&#xA;0h选择SYNCIN0作为TRGSRC0的ExtSync触发&#xD;&#xA;1h选择SYNCIN1作为TRGSRC0的ExtSync触发&#xD;&#xA;2h选择SYNCIN2作为TRGSRC0的ExtSync触发&#xD;&#xA;3h选择SYNCIN3作为TRGSRC0的ExtSync触发&#xD;&#xA;4h选择SYNCIN4作为TRGSRC0的ExtSync触发&#xD;&#xA;5h选择SYNCIN5作为TRGSRC0的ExtSync触发&#xD;&#xA;其他:保留" />
<Bit Name="TXREARM0" Authority="RW" Bits="23-22" Description="Tx信号触发SYNCIN0的REARM&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1T1发生触发自动REARM SYNCIN0通道&#xD;&#xA;2T2发生触发自动REARM SYNCIN0通道&#xD;&#xA;3T1或者T2发生触发自动REARM SYNCIN0通道" />
<Bit Name="REARMx" Authority="RW" Bits="21-16" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="OSTMDx" Authority="RW" Bits="13-8" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="SYNCENx" Authority="RW" Bits="5-0" Description="外部同步触发使能控制。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能当前触发输入通道&#xD;&#xA;SYNCIN0外部Sync事件&#xD;&#xA;SYNCIN1Load触发&#xD;&#xA;SYNCIN2Capture触发事件&#xD;&#xA;SYNCIN3CNT增减一拍触发事件&#xD;&#xA;SYNCIN4外部COS事件用于PWM波形输出控制&#xD;&#xA;SYNCIN5外部COS事件用于PWM波形输出控制" />
</Register>
<Register Name="GLDCR" Authority="RW" Address="0x40059014" Width="32" Description="Global Load Control Register">
<Bit Name="GLDCNT" Authority="RW" Bits="12-10" Description="全局载入事件计数器。&#xD;&#xA;计数器值表示当前已发生多少次事件触发。" />
<Bit Name="GLDPRD" Authority="RW" Bits="9-7" Description="全局载入触发周期选择。&#xD;&#xA;可以选择N次触发条件满足后才进行一次全局载入。&#xD;&#xA;000bDisable Counter立即触发&#xD;&#xA;001b第2次条件满足时触发&#xD;&#xA;010b第3次条件满足时触发&#xD;&#xA;011b第4次条件满足时触发&#xD;&#xA;100b第5次条件满足时触发&#xD;&#xA;101b第6次条件满足时触发&#xD;&#xA;110b第7次条件满足时触发&#xD;&#xA;111b第8次条件满足时触发" />
<Bit Name="OSTMD" Authority="RW" Bits="5" Description="One Shot 载入模式使能控制位&#xD;&#xA;0h禁止One Shot模式只要条件满足Active寄存器都会从Shadow寄存器载入&#xD;&#xA;1h使能One Shot模式一旦载入被触发需要再次对GLDCR2[OSREARM]写入1才能允许下一次载入触发。" />
<Bit Name="GLDMD" Authority="RW" Bits="4-1" Description="全局载入触发事件选择。&#xD;&#xA;0hCNT = ZRO&#xD;&#xA;1hCNT = PRD&#xD;&#xA;2hCNT = ZRO or CNT = PRD&#xD;&#xA;3hCNT = ZRO or 外部LOAD触发或SYNC触发&#xD;&#xA;4hCNT = PRD or 外部LOAD触发或SYNC触发&#xD;&#xA;5hCNT = ZRO or CNT = PRD or 外部LOAD触发或SYNC触发&#xD;&#xA;OthersReserved&#xD;&#xA;Fh在GLDCR2[GFRCLD]写入1时 [1]" />
<Bit Name="GLDEN" Authority="RW" Bits="0" Description="全局的Shadow到Active寄存器载入控制。&#xD;&#xA;0使用独立的单个配置在各个寄存器中LDMD控制位分别指派的载入控制&#xD;&#xA;1使用GLDMD中的设置其他设置被屏蔽" />
</Register>
<Register Name="GLDCFG" Authority="RW" Address="0x40059018" Width="32" Description="Global Load Configuration Register">
<Bit Name="EMOSR" Authority="RW" Bits="13" Description="EMOSR寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCSF" Authority="RW" Bits="12" Description="AQCSF寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCRD" Authority="RW" Bits="11" Description="AQCRB寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCRC" Authority="RW" Bits="10" Description="AQCRA寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCRB" Authority="RW" Bits="9" Description="AQCRB寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="AQCRA" Authority="RW" Bits="8" Description="AQCRA寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="DBCR" Authority="RW" Bits="7" Description="DBCR寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="DBDTF" Authority="RW" Bits="6" Description="DBDTF寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="DBDTR" Authority="RW" Bits="5" Description="DBDTR寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="CMPD" Authority="RW" Bits="4" Description="CMPD寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="CMPC" Authority="RW" Bits="3" Description="CMPC寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="CMPB" Authority="RW" Bits="2" Description="CMPB寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="CMPA" Authority="RW" Bits="1" Description="CMPA寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
<Bit Name="PRDR" Authority="RW" Bits="0" Description="PRDR寄存器Shadow到Active寄存器载入控制。&#xD;&#xA;0即使GLDEN=1仍旧使用独立的载入配置&#xD;&#xA;1当GLDEN=1时使用全局载入配置" />
</Register>
<Register Name="GLDCR2" Authority="RW" Address="0x4005901c" Width="32" Description="Global Load Control Register2">
<Bit Name="GFRCLD" Authority="RW" Bits="1" Description="软件产生一次GLD触发。&#xD;&#xA;0写入0无效读取时总是返回0&#xD;&#xA;1软件产生一次GLD触发事件" />
<Bit Name="OSREARM" Authority="RW" Bits="0" Description="重置ONE SHOT模式&#xD;&#xA;0写入0无效读取时总是返回0&#xD;&#xA;1重置ONE SHOT模式。ONE SHOT模式下一次触发后需要重置模式才允许再次触发" />
</Register>
<Register Name="PRDR" Authority="RW" Address="0x40059024" Width="32" Description="Period Register">
<Bit Name="PRDR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;此控制位决定了PWM输出波形的周期值。通过设置CR[PRDLD]可以选择Shadow到Active载入的触发条件。" />
</Register>
<Register Name="PHSR" Authority="RW" Address="0x40059028" Width="32" Description="Phase Control Register">
<Bit Name="PHSDIR" Authority="RW" Bits="31" Description="相位方向控制位。&#xD;&#xA;此控制位只在计数模式为递增递减模式下有效。此控制位配置在同步事件发生时计数器值从PHSR载入后计数器的计数方向。新的配置方向与同步前计数器的计数方向无关。在递增模式或递减模式下此控制位无效。&#xD;&#xA;0h同步后递减&#xD;&#xA;1h同步后递增" />
<Bit Name="PHSR" Authority="RW" Bits="15-0" Description="相位控制寄存器。&#xD;&#xA;此控制位决定了PWM输出波形的相位。当CR[PHSEN] = 0时同步事件不会触发PHSR载入到CNT中当CR[PHSEN] = 1时同步事件发生会触发PHSR载入到CNT中。" />
</Register>
<Register Name="CMPA" Authority="RW" Address="0x4005902c" Width="32" Description="Compare A Register">
<Bit Name="OVWRT" Authority="RW" Bits="31" Description="Over Write Flag 标志位。&#xD;&#xA;表示当前Capture值是否被Over Written。当连续两次针对于当前寄存器的捕获事件发生而两次捕获之间未对当前寄存器进行过读取操作则Over Written标志被置位。读取当前寄存器会自动清除Over Written标志。&#xD;&#xA;此标志位只有在Capture模式下有效。" />
<Bit Name="CMPA" Authority="RW" Bits="15-0" Description="比较值A寄存器。&#xD;&#xA;此寄存器有Shadow寄存器Shadow模式可以通过CMPLDR[SHDWCMPA]进行设置。在Shadow模式下可以通过CMPLDR[LDAMD]选择Shadow到Active载入的触发条件。在写入前可以通过SHDWAFULL控制位检测当前寄存器状态。&#xD;&#xA;&#xD;&#xA;当工作于Capture模式下此寄存器对应CAPLD0事件触发的捕获值。" />
</Register>
<Register Name="CMPB" Authority="RW" Address="0x40059030" Width="32" Description="Compare B Register">
<Bit Name="OVWRT" Authority="RW" Bits="31" Description="Over Write Flag 标志位。&#xD;&#xA;表示当前Capture值是否被Over Written。当连续两次针对于当前寄存器的捕获事件发生而两次捕获之间未对当前寄存器进行过读取操作则Over Written标志被置位。读取当前寄存器会自动清除Over Written标志。&#xD;&#xA;此标志位只有在Capture模式下有效。" />
<Bit Name="CMPB" Authority="RW" Bits="15-0" Description="比较值B寄存器。&#xD;&#xA;此寄存器有Shadow寄存器Shadow模式可以通过CMPLDR[SHDWCMPB]进行设置。在Shadow模式下可以通过CMPLDR[LDBMD]选择Shadow到Active载入的触发条件。在写入前可以通过SHDWBFULL控制位检测当前寄存器状态。&#xD;&#xA;&#xD;&#xA;当工作于Capture模式下此寄存器对应CAPLD1事件触发的捕获值。" />
</Register>
<Register Name="CMPC" Authority="RW" Address="0x40059034" Width="32" Description="Compare C Register">
<Bit Name="OVWRT" Authority="RW" Bits="31" Description="Over Write Flag 标志位。&#xD;&#xA;表示当前Capture值是否被Over Written。当连续两次针对于当前寄存器的捕获事件发生而两次捕获之间未对当前寄存器进行过读取操作则Over Written标志被置位。读取当前寄存器会自动清除Over Written标志。&#xD;&#xA;此标志位只有在Capture模式下有效。" />
<Bit Name="CMPC" Authority="RW" Bits="15-0" Description="比较值C寄存器。&#xD;&#xA;此寄存器有Shadow寄存器Shadow模式可以通过CMPLDR[SHDWCMPC]进行设置。在Shadow模式下可以通过CMPLDR[LDCMD]选择Shadow到Active载入的触发条件。&#xD;&#xA;&#xD;&#xA;当工作于Capture模式下此寄存器对应CAPLD2事件触发的捕获值。" />
</Register>
<Register Name="CMPD" Authority="RW" Address="0x40059038" Width="32" Description="Compare D Register">
<Bit Name="OVWRT" Authority="RW" Bits="31" Description="Over Write Flag 标志位。&#xD;&#xA;表示当前Capture值是否被Over Written。当连续两次针对于当前寄存器的捕获事件发生而两次捕获之间未对当前寄存器进行过读取操作则Over Written标志被置位。读取当前寄存器会自动清除Over Written标志。&#xD;&#xA;此标志位只有在Capture模式下有效。" />
<Bit Name="CMPD" Authority="RW" Bits="15-0" Description="比较值D寄存器。&#xD;&#xA;此寄存器有Shadow寄存器Shadow模式可以通过CMPLDR[SHDWCMPD]进行设置。在Shadow模式下可以通过CMPLDR[LDDMD]选择Shadow到Active载入的触发条件。&#xD;&#xA;&#xD;&#xA;当工作于Capture模式下此寄存器对应CAPLD3事件触发的捕获值。" />
</Register>
<Register Name="CMPLDR" Authority="RW" Address="0x4005903c" Width="32" Description="Compare Data Load Control Register">
<Bit Name="SHDWAFULL" Authority="RW" Bits="21-20" Description="CMPB的Shadow寄存器非空标志位。&#xD;&#xA;当对CMPB进行写操作时该标志位置位。该标志位在Shadow被载入到Active后会自动清除。&#xD;&#xA;0hShadow空&#xD;&#xA;1hShadow非空对当前CMP寄存器写入会覆盖Shadow中未被载入的值" />
<Bit Name="LDDMD" Authority="RW" Bits="15-13" Description="Shadow模式下Active CMPD从Shadow CMPD载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入" />
<Bit Name="LDCMD" Authority="RW" Bits="12-10" Description="Shadow模式下Active CMPC从Shadow CMPC载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入" />
<Bit Name="LDBMD" Authority="RW" Bits="9-7" Description="Shadow模式下Active CMPB从Shadow CMPB载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入" />
<Bit Name="LDAMD" Authority="RW" Bits="6-4" Description="Shadow模式下Active CMPA从Shadow CMPA载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="SHDWCMPD" Authority="RW" Bits="3" Description="CMPD的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式 [1]" />
<Bit Name="SHDWCMPC" Authority="RW" Bits="2" Description="CMPC的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式 [1]" />
<Bit Name="SHDWCMPB" Authority="RW" Bits="1" Description="CMPB的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式 [1]" />
<Bit Name="SHDWCMPA" Authority="RW" Bits="0" Description="CMPA的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式 [1]" />
</Register>
<Register Name="CNT" Authority="RW" Address="0x40059040" Width="32" Description="Counter Register">
<Bit Name="CNT" Authority="RW" Bits="15-0" Description="时基计数器寄存器。&#xD;&#xA;对CNT读取时返回当前计数器值。对CNT写入时将直接更新CNT的计数值。CNT计数器没有Shadow寄存器CPU的写入将直接影响当前计数器值。" />
</Register>
<Register Name="AQLDR" Authority="RW" Address="0x40059044" Width="32" Description="Action Qualifier Load Control Register">
<Bit Name="LDDMD" Authority="RW" Bits="15-13" Description="Shadow模式下Active AQCRD从Shadow载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="LDCMD" Authority="RW" Bits="12-10" Description="Shadow模式下Active AQCRC从Shadow载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="SHDWAQD" Authority="RW" Bits="9" Description="AQCRD寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="SHDWAQC" Authority="RW" Bits="8" Description="AQCRC寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="LDBMD" Authority="RW" Bits="7-5" Description="Shadow模式下Active AQCRB从Shadow载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="LDAMD" Authority="RW" Bits="4-2" Description="Shadow模式下Active AQCRA从Shadow载入控制。&#xD;&#xA;xx1b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;x1xb当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;1xxb外部LOAD触发或SYNC触发时Shadow寄存器载入到Active寄存器中&#xD;&#xA;000b不进行载入&#xD;&#xA;每个控制位分别对应一个触发条件可以同时使能多个触发条件。例如当设置011b时CNT=ZRO或CNT=PRD时都会触发寄存器载入。" />
<Bit Name="SHDWAQB" Authority="RW" Bits="1" Description="AQCRB寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="SHDWAQA" Authority="RW" Bits="0" Description="AQCRA寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
</Register>
<Register Name="AQCRA" Authority="RW" Address="0x40059048" Width="32" Description="Action Qualifier Control Register A">
<Bit Name="CBSEL" Authority="RW" Bits="23-22" Description="CB比较值数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="CASEL" Authority="RW" Bits="21-20" Description="CA比较值的数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="T2D" Authority="RW" Bits="19-18" Description="当T2事件发生且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T2U" Authority="RW" Bits="17-16" Description="当T2事件发生且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1D" Authority="RW" Bits="15-14" Description="当T1事件发生且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1U" Authority="RW" Bits="13-12" Description="当T1事件发生且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBD" Authority="RW" Bits="11-10" Description="当CNT值等于CB且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBU" Authority="RW" Bits="9-8" Description="当CNT值等于CB且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAD" Authority="RW" Bits="7-6" Description="当CNT值等于CA且此时计数方向为递减时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAU" Authority="RW" Bits="5-4" Description="当CNT值等于CA且此时计数方向为递增时在通道A上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="PRD" Authority="RW" Bits="3-2" Description="当CNT值等于PRDR时在通道A上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时当计数器值等于PRDR时计数方向为递减模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="ZRO" Authority="RW" Bits="1-0" Description="当CNT值等于零时在通道A上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时,当计数器值等于零时,计数方向为递增模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
</Register>
<Register Name="AQCRB" Authority="RW" Address="0x4005904c" Width="32" Description="Action Qualifier Control Register B">
<Bit Name="CBSEL" Authority="RW" Bits="23-22" Description="CB比较值数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="CASEL" Authority="RW" Bits="21-20" Description="CA比较值的数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="T2D" Authority="RW" Bits="19-18" Description="当T2事件发生且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T2U" Authority="RW" Bits="17-16" Description="当T2事件发生且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1D" Authority="RW" Bits="15-14" Description="当T1事件发生且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1U" Authority="RW" Bits="13-12" Description="当T1事件发生且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBD" Authority="RW" Bits="11-10" Description="当CNT值等于CB且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBU" Authority="RW" Bits="9-8" Description="当CNT值等于CB且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAD" Authority="RW" Bits="7-6" Description="当CNT值等于CA且此时计数方向为递减时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAU" Authority="RW" Bits="5-4" Description="当CNT值等于CA且此时计数方向为递增时在通道B上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="PRD" Authority="RW" Bits="3-2" Description="当CNT值等于PRDR时在通道B上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时当计数器值等于PRDR时计数方向为递减模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="ZRO" Authority="RW" Bits="1-0" Description="当CNT值等于零时在通道B上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时,当计数器值等于零时,计数方向为递增模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
</Register>
<Register Name="AQCRC" Authority="RW" Address="0x40059050" Width="32" Description="Action Qualifier Control Register C">
<Bit Name="CBSEL" Authority="RW" Bits="23-22" Description="CB比较值数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="CASEL" Authority="RW" Bits="21-20" Description="CA比较值的数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="T2D" Authority="RW" Bits="19-18" Description="当T2事件发生且此时计数方向为递减时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T2U" Authority="RW" Bits="17-16" Description="当T2事件发生且此时计数方向为递增时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1D" Authority="RW" Bits="15-14" Description="当T1事件发生且此时计数方向为递减时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1U" Authority="RW" Bits="13-12" Description="当T1事件发生且此时计数方向为递增时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBD" Authority="RW" Bits="11-10" Description="当CNT值等于CB且此时计数方向为递减时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBU" Authority="RW" Bits="9-8" Description="当CNT值等于CB且此时计数方向为递增时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAD" Authority="RW" Bits="7-6" Description="当CNT值等于CA且此时计数方向为递减时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAU" Authority="RW" Bits="5-4" Description="当CNT值等于CA且此时计数方向为递增时在通道C上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="PRD" Authority="RW" Bits="3-2" Description="当CNT值等于PRDR时在通道C上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时当计数器值等于PRDR时计数方向为递减模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="ZRO" Authority="RW" Bits="1-0" Description="当CNT值等于零时在通道C上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时,当计数器值等于零时,计数方向为递增模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
</Register>
<Register Name="AQCRD" Authority="RW" Address="0x40059050" Width="32" Description="Action Qualifier Control Register C">
<Bit Name="CBSEL" Authority="RW" Bits="23-22" Description="CB比较值数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="CASEL" Authority="RW" Bits="21-20" Description="CA比较值的数据源选择&#xD;&#xA;0hCMPA寄存器作为CA的数据源&#xD;&#xA;1hCMPB寄存器作为CA的数据源&#xD;&#xA;2hCMPC寄存器作为CA的数据源&#xD;&#xA;3hCMPD寄存器作为CA的数据源" />
<Bit Name="T2D" Authority="RW" Bits="19-18" Description="当T2事件发生且此时计数方向为递减时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T2U" Authority="RW" Bits="17-16" Description="当T2事件发生且此时计数方向为递增时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1D" Authority="RW" Bits="15-14" Description="当T1事件发生且此时计数方向为递减时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="T1U" Authority="RW" Bits="13-12" Description="当T1事件发生且此时计数方向为递增时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBD" Authority="RW" Bits="11-10" Description="当CNT值等于CB且此时计数方向为递减时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CBU" Authority="RW" Bits="9-8" Description="当CNT值等于CB且此时计数方向为递增时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAD" Authority="RW" Bits="7-6" Description="当CNT值等于CA且此时计数方向为递减时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="CAU" Authority="RW" Bits="5-4" Description="当CNT值等于CA且此时计数方向为递增时在通道D上做出的波形输出动作定义。&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="PRD" Authority="RW" Bits="3-2" Description="当CNT值等于PRDR时在通道D上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时当计数器值等于PRDR时计数方向为递减模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="ZRO" Authority="RW" Bits="1-0" Description="当CNT值等于零时在通道D上做出的波形输出动作定义。&#xD;&#xA;在递增递减模式时,当计数器值等于零时,计数方向为递增模式&#xD;&#xA;0h不动作过滤该处理事件&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
</Register>
<Register Name="AQTSCR" Authority="RW" Address="0x40059058" Width="32" Description="Action Qualifier T Event Source Selection Register">
<Bit Name="T2SEL" Authority="RW" Bits="7-4" Description="T2事件触发源选择。每个Bit独立控制单独输入源的使能当多个Bit同时有效时被使能的输入源通过逻辑或组成T1事件。&#xD;&#xA;0hSYNCIN5触发&#xD;&#xA;Bit1EP0&#xD;&#xA;Bit2EP1&#xD;&#xA;Bit3EP2&#xD;&#xA;Bit4EP3&#xD;&#xA;Bit5EP4&#xD;&#xA;Bit6EP5&#xD;&#xA;Bit7EP6" />
<Bit Name="T1SEL" Authority="RW" Bits="3-0" Description="T1事件触发源选择。每个Bit独立控制单独输入源的使能当多个Bit同时有效时被使能的输入源通过逻辑或组成T1事件。&#xD;&#xA;Bit0SYNCIN4触发&#xD;&#xA;Bit1EP0&#xD;&#xA;Bit2EP1&#xD;&#xA;Bit3EP2&#xD;&#xA;Bit4EP3&#xD;&#xA;Bit5EP4&#xD;&#xA;Bit6EP5&#xD;&#xA;Bit7EP6" />
</Register>
<Register Name="AQOSF" Authority="RW" Address="0x4005905c" Width="32" Description="Action Qualifier One Shot Force Register">
<Bit Name="RLDCSF" Authority="RW" Bits="17-16" Description="AQCSF寄存器从Shadow载入到Active的控制。&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;00b立即载入" />
<Bit Name="ACTD" Authority="RW" Bits="14-13" Description="当软件强制输出时通道D上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="OSTSFD" Authority="RW" Bits="12" Description="在通道D上产生一次性软件强制输出。&#xD;&#xA;0h对当前位写0无效&#xD;&#xA;1h产生一次性软件强制输出此输出状态保持直到有其他改变通道A输出状态的触发事件发生。" />
<Bit Name="ACTC" Authority="RW" Bits="10-9" Description="当软件强制输出时通道C上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="OSTSFC" Authority="RW" Bits="8" Description="在通道C上产生一次性软件强制输出。&#xD;&#xA;0h对当前位写0无效&#xD;&#xA;1h产生一次性软件强制输出此输出状态保持直到有其他改变通道A输出状态的触发事件发生。" />
<Bit Name="ACTB" Authority="RW" Bits="6-5" Description="当软件强制输出时通道B上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="OSTSFB" Authority="RW" Bits="4" Description="在通道B上产生一次性软件强制输出。&#xD;&#xA;0h对当前位写0无效&#xD;&#xA;1h产生一次性软件强制输出此输出状态保持直到有其他改变通道A输出状态的触发事件发生。" />
<Bit Name="ACTA" Authority="RW" Bits="2-1" Description="当软件强制输出时通道A上做出的波形输出动作定义。&#xD;&#xA;0h保持原来的输出不动作&#xD;&#xA;1h清除输出低电平&#xD;&#xA;2h置位输出高电平&#xD;&#xA;3h反向翻转" />
<Bit Name="OSTSFA" Authority="RW" Bits="0" Description="在通道A上产生一次性软件强制输出。&#xD;&#xA;0h对当前位写0无效&#xD;&#xA;1h产生一次性软件强制输出此输出状态保持直到有其他改变通道A输出状态的触发事件发生。" />
</Register>
<Register Name="AQCSF" Authority="RW" Address="0x40059060" Width="32" Description="Action Qualifier Continuous Force Register">
<Bit Name="CSFD" Authority="RW" Bits="7-6" Description="通过软件对通道D做连续强制赋值。在立即更新模式下赋值将在配置后下一个TCLK输出。在Shadow模式下在Shadow更新到Active后的下一个TCLK后输出。对Shadow更新到Active的控制可以通过AQOSF寄存器中的RLDCSF控制位进行配置。&#xD;&#xA;0h禁止强制赋值&#xD;&#xA;1h强制输出低&#xD;&#xA;2h强制输出高&#xD;&#xA;3h禁止强制赋值" />
<Bit Name="CSFC" Authority="RW" Bits="5-4" Description="通过软件对通道C做连续强制赋值。在立即更新模式下赋值将在配置后下一个TCLK输出。在Shadow模式下在Shadow更新到Active后的下一个TCLK后输出。对Shadow更新到Active的控制可以通过AQOSF寄存器中的RLDCSF控制位进行配置。&#xD;&#xA;0h禁止强制赋值&#xD;&#xA;1h强制输出低&#xD;&#xA;2h强制输出高&#xD;&#xA;3h禁止强制赋值" />
<Bit Name="CSFB" Authority="RW" Bits="3-2" Description="通过软件对通道B做连续强制赋值。在立即更新模式下赋值将在配置后下一个TCLK输出。在Shadow模式下在Shadow更新到Active后的下一个TCLK后输出。对Shadow更新到Active的控制可以通过AQOSF寄存器中的RLDCSF控制位进行配置。&#xD;&#xA;0h禁止强制赋值&#xD;&#xA;1h强制输出低&#xD;&#xA;2h强制输出高&#xD;&#xA;3h禁止强制赋值" />
<Bit Name="CSFA" Authority="RW" Bits="1-0" Description="通过软件对通道A做连续强制赋值。在立即更新模式下赋值将在配置后下一个TCLK输出。在Shadow模式下在Shadow更新到Active后的下一个TCLK后输出。对Shadow更新到Active的控制可以通过AQOSF寄存器中的RLDCSF控制位进行配置。&#xD;&#xA;0h禁止强制赋值&#xD;&#xA;1h强制输出低&#xD;&#xA;2h强制输出高&#xD;&#xA;3h禁止强制赋值" />
</Register>
<Register Name="DBLDR" Authority="RW" Address="0x40059064" Width="32" Description="Dead-Band Load Control Register">
<Bit Name="LDPSCMD" Authority="RW" Bits="11-10" Description="Shadow模式下Active DCKPSC从Shadow载入控制。&#xD;&#xA;00b不进行载入&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中" />
<Bit Name="SHDWPSC" Authority="RW" Bits="9" Description="DCKPSC寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="LDDTFMD" Authority="RW" Bits="8-7" Description="Shadow模式下Active DBDTF从Shadow载入控制。&#xD;&#xA;00b不进行载入&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中" />
<Bit Name="SHDWDTF" Authority="RW" Bits="6" Description="DBDTF寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="LDDTRMD" Authority="RW" Bits="5-4" Description="Shadow模式下Active DBDTR从Shadow载入控制。&#xD;&#xA;00b不进行载入&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中" />
<Bit Name="SHDWDTR" Authority="RW" Bits="3" Description="DBDTR寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="CRLDMODE" Authority="RW" Bits="2-1" Description="Shadow模式下Active DBCR从Shadow载入控制。&#xD;&#xA;00b不进行载入&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中" />
<Bit Name="CRSHDWEN" Authority="RW" Bits="0" Description="DBCR寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
</Register>
<Register Name="DBCR" Authority="RW" Address="0x40059068" Width="32" Description="Dead-Band Control Register">
<Bit Name="CHC_DEDB" Authority="RW" Bits="27" Description="在通道C DBCOUTB上选择死区双沿模式S6&#xD;&#xA;0h不使用死区双沿&#xD;&#xA;1h使用死区双沿" />
<Bit Name="CHB_DEDB" Authority="RW" Bits="26" Description="在通道B DBCOUTB上选择死区双沿模式S6&#xD;&#xA;0h不使用死区双沿&#xD;&#xA;1h使用死区双沿" />
<Bit Name="CHA_DEDB" Authority="RW" Bits="25" Description="在通道A DBCOUTB 上选择死区双沿模式S6&#xD;&#xA;0h不使用死区双沿&#xD;&#xA;1h使用死区双沿" />
<Bit Name="DCKSEL" Authority="RW" Bits="24" Description="半周期时钟使能控制。&#xD;&#xA;0死区控制延时计数器以TCLK频率工作&#xD;&#xA;1死区控制延时计数器以HCLK/(DPSC+1)工作" />
<Bit Name="CHC_OUTSWAP" Authority="RW" Bits="23-22" Description="死区输出交换控制。&#xD;&#xA;0hOUTA=通道A输出OUTB=通道B输出&#xD;&#xA;1hOUTA=通道A输出OUTB=通道A输出&#xD;&#xA;2hOUTB=通道B输出OUTB=通道B输出&#xD;&#xA;3hOUTA=通道B输出OUTB=通道A输出" />
<Bit Name="CHC_INSEL" Authority="RW" Bits="21-20" Description="延时模块输入选择S5、S4开关。在经典死区控制模式下上升沿延时和下降沿延时都选择同一个输入信号进行处理。&#xD;&#xA;0hPWMC作为上升沿和下降沿延时处理的输入信号&#xD;&#xA;1hPWMD作为上升沿延时输入PWMC作为下降沿延时输入&#xD;&#xA;2hPWMC作为上升沿延时输入PWMD作为下降沿延时输入&#xD;&#xA;3hPWMD作为上升沿和下降沿延时处理的输入信号" />
<Bit Name="CHC_POLARITY" Authority="RW" Bits="19-18" Description="输出极性控制S3、S2开关。&#xD;&#xA;0h通道A和通道B延时输出不反向&#xD;&#xA;1h通道A的延时输出反向&#xD;&#xA;2h通道B的延时输出反向&#xD;&#xA;3h通道A和通道B延时输出全部反向" />
<Bit Name="CHC_OUTSEL" Authority="RW" Bits="17-16" Description="死区输出配置S1、S0开关。&#xD;&#xA;0h禁止死区控制PWMC和PWMD直接Bypass到斩波控制模块&#xD;&#xA;1h关闭通道A的上升沿延时使能通道B的下降沿延时&#xD;&#xA;2h使能通道A的上升沿延时关闭通道B的下降沿延时&#xD;&#xA;3h使能通道A的上升沿延时使能通道B的下降沿延时" />
<Bit Name="CHB_OUTSWAP" Authority="RW" Bits="15-14" Description="死区输出交换控制。&#xD;&#xA;0hOUTA=通道A输出OUTB=通道B输出&#xD;&#xA;1hOUTA=通道A输出OUTB=通道A输出&#xD;&#xA;2hOUTB=通道B输出OUTB=通道B输出&#xD;&#xA;3hOUTA=通道B输出OUTB=通道A输出" />
<Bit Name="CHB_INSEL" Authority="RW" Bits="13-12" Description="延时模块输入选择S5、S4开关。&#xD;&#xA;0hPWMB作为上升沿和下降沿延时处理的输入信号&#xD;&#xA;1hPWMC作为上升沿延时输入PWMB作为下降沿延时输入&#xD;&#xA;2hPWMB作为上升沿延时输入PWMC作为下降沿延时输入&#xD;&#xA;3hPWMC作为上升沿和下降沿延时处理的输入信号&#xD;&#xA;在经典死区控制模式下,上升沿延时和下降沿延时始终选择同一个输入信号进行处理。" />
<Bit Name="CHB_POLARITY" Authority="RW" Bits="11-10" Description="输出极性控制S3、S2开关。&#xD;&#xA;0h通道A和通道B延时输出不反向&#xD;&#xA;1h通道A的延时输出反向&#xD;&#xA;2h通道B的延时输出反向&#xD;&#xA;3h通道A和通道B延时输出全部反向" />
<Bit Name="CHB_OUTSEL" Authority="RW" Bits="9-8" Description="死区输出配置S1、S0开关。&#xD;&#xA;0h禁止死区控制PWMB和PWMC直接Bypass到斩波控制模块&#xD;&#xA;1h关闭通道A的上升沿延时使能通道B的下降沿延时&#xD;&#xA;2h使能通道A的上升沿延时关闭通道B的下降沿延时&#xD;&#xA;3h使能通道A的上升沿延时使能通道B的下降沿延时" />
<Bit Name="CHA_OUTSWAP" Authority="RW" Bits="7-6" Description="死区输出交换控制。&#xD;&#xA;0hOUTA=通道A输出OUTB=通道B输出&#xD;&#xA;1hOUTA=通道B输出OUTB=通道B输出&#xD;&#xA;2hOUTA=通道A输出OUTB=通道A输出&#xD;&#xA;3hOUTA=通道B输出OUTB=通道A输出" />
<Bit Name="CHA_INSEL" Authority="RW" Bits="5-4" Description="延时模块输入选择S5、S4开关。在经典死区控制模式下上升沿延时和下降沿延时都选择同一个输入信号进行处理。&#xD;&#xA;0hPWMA作为上升沿和下降沿延时处理的输入信号&#xD;&#xA;1hPWMB作为上升沿延时输入PWMA作为下降沿延时输入&#xD;&#xA;2hPWMA作为上升沿延时输入PWMB作为下降沿延时输入&#xD;&#xA;3hPWMB作为上升沿和下降沿延时处理的输入信号" />
<Bit Name="CHA_POLARITY" Authority="RW" Bits="3-2" Description="输出极性控制S3、S2开关。&#xD;&#xA;0h通道A和通道B延时输出不反向&#xD;&#xA;1h通道A的延时输出反向&#xD;&#xA;2h通道B的延时输出反向&#xD;&#xA;3h通道A和通道B延时输出全部反向" />
<Bit Name="CHA_OUTSEL" Authority="RW" Bits="1-0" Description="死区输出配置S1、S0开关。&#xD;&#xA;0h禁止死区控制PWMA和PWMB直接Bypass到斩波控制模块&#xD;&#xA;1h关闭通道A的上升沿延时使能通道B的下降沿延时&#xD;&#xA;2h使能通道A的上升沿延时关闭通道B的下降沿延时&#xD;&#xA;3h使能通道A的上升沿延时使能通道B的下降沿延时" />
</Register>
<Register Name="DPSCR" Authority="RW" Address="0x4005906c" Width="32" Description="Dead-Band Delay Control Clock Prescaler">
<Bit Name="DPSC" Authority="RW" Bits="15-0" Description="时钟分频控制。&#xD;&#xA;DBCLK作为死区控制延时计数器的时钟可以选择TCLK作为时钟源或者从HCLK分频得到。当DBCR[DCKSEL]选择HCLK的分频时分频系数通过DPSC设置。&#xD;&#xA;DBCLK的频率FDBCLK = FHCLK / (DPSC+1)" />
</Register>
<Register Name="DBDTR" Authority="RW" Address="0x40059070" Width="32" Description="Dead-Band Rising Edge Delay Time Regiser">
<Bit Name="DTR" Authority="RW" Bits="15-0" Description="上升沿延时数值&#xD;&#xA;TRED = DTR x TDBCLK" />
</Register>
<Register Name="DBDTF" Authority="RW" Address="0x40059074" Width="32" Description="Dead-Band Falling Edge Delay Time Regiser">
<Bit Name="DTF" Authority="RW" Bits="15-0" Description="下降沿延时数值&#xD;&#xA;TRED = DTF x TDBCLK" />
</Register>
<Register Name="CPCR" Authority="RW" Address="0x40059078" Width="32" Description="Chop Control Register">
<Bit Name="CHx_CPEN" Authority="RW" Bits="21-16" Description="斩波输出使能控制位。&#xD;&#xA;0b禁止当前通道斩波输出&#xD;&#xA;1b开启当前通道斩波输出" />
<Bit Name="CASEL" Authority="RW" Bits="15-14" Description="载波信号源选择控制位。&#xD;&#xA;0hEPT内部产生载波&#xD;&#xA;1hTIN的输入&#xD;&#xA;其他:保留" />
<Bit Name="CDUTY" Authority="RW" Bits="13-11" Description="载波的占空比设置。&#xD;&#xA;0h禁止载波&#xD;&#xA;1hDuty = 7/8&#xD;&#xA;2hDuty = 6/8&#xD;&#xA;……..&#xD;&#xA;6hDuty = 2/8&#xD;&#xA;7hDuty = 1/8" />
<Bit Name="CDIV" Authority="RW" Bits="10-7" Description="载波频率设置。载波的频率设置基于PCLK的8倍分频进行设置。&#xD;&#xA;Fchop = PCLK / ((CDIV+1) x 8)" />
<Bit Name="OSPWTH" Authority="RW" Bits="6-2" Description="首脉冲宽度设置。首脉冲的宽度可以配置为载波周期的整数倍。当该控制位设为零时所有脉冲宽度均由CDIV和CDUTY配置。&#xD;&#xA;Twidth = Tchop x OSPWTH Tchop为一个载波的周期时间" />
</Register>
<Register Name="EMSRC" Authority="RW" Address="0x4005907c" Width="32" Description="Emergency Condition Input Config Register1">
<Bit Name="EP7_SEL" Authority="RW" Bits="31-28" Description="" />
<Bit Name="EP6_SEL" Authority="RW" Bits="27-24" Description="" />
<Bit Name="EP5_SEL" Authority="RW" Bits="23-20" Description="" />
<Bit Name="EP4_SEL" Authority="RW" Bits="19-16" Description="" />
<Bit Name="EP3_SEL" Authority="RW" Bits="15-12" Description="" />
<Bit Name="EP2_SEL" Authority="RW" Bits="11-8" Description="" />
<Bit Name="EP1_SEL" Authority="RW" Bits="7-4" Description="" />
<Bit Name="EP0_SEL" Authority="RW" Bits="3-0" Description="" />
</Register>
<Register Name="EMSRC2" Authority="RW" Address="0x40059080" Width="32" Description="Emergency Condition Input Config Register2">
<Bit Name="ORL1_EP7" Authority="RW" Bits="23" Description="多路EP的逻辑OR输出作为EPx中的可选一路输入信号(ORL1)。&#xD;&#xA;0h屏蔽当前EP通道作为OR输入&#xD;&#xA;1h使能当前EP通道作为OR输入" />
<Bit Name="ORL1_EP6" Authority="RW" Bits="22" Description="" />
<Bit Name="ORL1_EP5" Authority="RW" Bits="21" Description="" />
<Bit Name="ORL1_EP4" Authority="RW" Bits="20" Description="" />
<Bit Name="ORL1_EP3" Authority="RW" Bits="19" Description="" />
<Bit Name="ORL1_EP2" Authority="RW" Bits="18" Description="" />
<Bit Name="ORL1_EP1" Authority="RW" Bits="17" Description="" />
<Bit Name="ORL1_EP0" Authority="RW" Bits="16" Description="" />
<Bit Name="FLT_PACE1" Authority="RW" Bits="15-12" Description="" />
<Bit Name="FLT_PACE0" Authority="RW" Bits="11-8" Description="EP4、EP5、EP6和EP7的数字去抖滤波检查周期数。&#xD;&#xA;0h1个周期&#xD;&#xA;1h2个周期&#xD;&#xA;2h3个周期&#xD;&#xA;3h4个周期" />
<Bit Name="ORL0_EP7" Authority="RW" Bits="7" Description="多路EP的逻辑OR输出作为EPx中的可选一路输入信号(ORL0)。&#xD;&#xA;0h屏蔽当前EP通道作为OR输入&#xD;&#xA;1h使能当前EP通道作为OR输入" />
<Bit Name="ORL0_EP6" Authority="RW" Bits="6" Description="" />
<Bit Name="ORL0_EP5" Authority="RW" Bits="5" Description="" />
<Bit Name="ORL0_EP4" Authority="RW" Bits="4" Description="" />
<Bit Name="ORL0_EP3" Authority="RW" Bits="3" Description="" />
<Bit Name="ORL0_EP2" Authority="RW" Bits="2" Description="" />
<Bit Name="ORL0_EP1" Authority="RW" Bits="1" Description="" />
<Bit Name="ORL0_EP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="EMPOL" Authority="RW" Address="0x40059084" Width="32" Description="Emergency Condition Input Poloarity Register">
<Bit Name="EBIx_POL(x=0~4)" Authority="RW" Bits="4-0" Description="EBIx的输入有效极性选择控制。&#xD;&#xA;0h高电平有效&#xD;&#xA;1h低电平有效&#xD;&#xA;&#xD;&#xA;当EBIx作为异常处理输入时以电平方式工作。当EBIx作为事件触发源时设置为高电压有效时即上升沿触发设置为低电平有效时即下降沿触发。" />
</Register>
<Register Name="EMECR" Authority="RW" Address="0x40059088" Width="32" Description="Emergency Condition Enable Register">
<Bit Name="EOM_FAULT" Authority="RW" Bits="30" Description="外部晶振错误触发硬锁止控制位。(需要同时使能外部晶振监测功能)&#xD;&#xA;0h禁止当前事件触发硬锁止&#xD;&#xA;1h使能当前事件触发硬锁止" />
<Bit Name="MEM_FAULT" Authority="RW" Bits="29" Description="MEM错误触发硬锁止控制位。需要同时使能SRAM或者Flash校验功能&#xD;&#xA;0h禁止当前事件触发硬锁止&#xD;&#xA;1h使能当前事件触发硬锁止" />
<Bit Name="CPU_FAULT" Authority="RW" Bits="28" Description="CPU错误触发硬锁止控制位。&#xD;&#xA;0h禁止当前事件触发硬锁止&#xD;&#xA;1h使能当前事件触发硬锁止" />
<Bit Name="EMASYNC" Authority="RW" Bits="26" Description="EP端口同步设置控制位。&#xD;&#xA;0h使能同步&#xD;&#xA;1h禁止同步" />
<Bit Name="SLCLRMD" Authority="RW" Bits="25-24" Description="软锁止清除条件设置。当CNT值等于设置值且软锁止不再触发时硬件自动清除软锁止状态和标志位。&#xD;&#xA;00hCNT = ZRO时清除软锁止&#xD;&#xA;01hCNT = PRD时清除软锁止&#xD;&#xA;10hCNT = ZRO或CNT = PRD时清除软锁止&#xD;&#xA;11h不自动清除软锁止必须通过软件清除" />
<Bit Name="OSRLDMD" Authority="RW" Bits="23-22" Description="Shadow模式下Active EMOSR从Shadow载入控制。&#xD;&#xA;00b不进行载入&#xD;&#xA;01b当CNT=ZRO时Shadow寄存器载入到Active寄存器中&#xD;&#xA;10b当CNT=PRD时Shadow寄存器载入到Active寄存器中&#xD;&#xA;11b当CNT=ZRO或者PRD时Shadow寄存器载入到Active寄存器中" />
<Bit Name="OSRSHDW" Authority="RW" Bits="21" Description="EMOSR寄存器的Shadow功能使能控制。&#xD;&#xA;0hImmediate模式&#xD;&#xA;1hShadow模式" />
<Bit Name="EP7_LCKMD" Authority="RW" Bits="15-14" Description="EPx端触发锁止模式控制。&#xD;&#xA;0h禁止当前EPx触发锁止&#xD;&#xA;1h使能当前EPx触发软锁止&#xD;&#xA;2h使能当前EPx触发硬锁止&#xD;&#xA;3h禁止当前EPx触发锁止" />
<Bit Name="EP6_LCKMD" Authority="RW" Bits="13-12" Description="" />
<Bit Name="EP5_LCKMD" Authority="RW" Bits="11-10" Description="" />
<Bit Name="EP4_LCKMD" Authority="RW" Bits="9-8" Description="" />
<Bit Name="EP3_LCKMD" Authority="RW" Bits="7-6" Description="" />
<Bit Name="EP2_LCKMD" Authority="RW" Bits="5-4" Description="" />
<Bit Name="EP1_LCKMD" Authority="RW" Bits="3-2" Description="" />
<Bit Name="EP0_LCKMD" Authority="RW" Bits="1-0" Description="" />
</Register>
<Register Name="EMOSR" Authority="RW" Address="0x4005908c" Width="32" Description="Emergency Condition Output Status Set Register1">
<Bit Name="EM_COCY" Authority="RW" Bits="13-12" Description="当发生EP触发的软锁止或者硬锁止时在CHCY通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
<Bit Name="EM_COBY" Authority="RW" Bits="11-10" Description="当发生EP触发的软锁止或者硬锁止时在CHBY通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
<Bit Name="EM_COAY" Authority="RW" Bits="9-8" Description="当发生EP触发的软锁止或者硬锁止时在CHAY通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
<Bit Name="EM_COD" Authority="RW" Bits="7-6" Description="当发生EP触发的软锁止或者硬锁止时在CHD通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
<Bit Name="EM_COCX" Authority="RW" Bits="5-4" Description="当发生EP触发的软锁止或者硬锁止时在CHCX通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
<Bit Name="EM_COBX" Authority="RW" Bits="3-2" Description="当发生EP触发的软锁止或者硬锁止时在CHBX通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
<Bit Name="EM_COAX" Authority="RW" Bits="1-0" Description="当发生EP触发的软锁止或者硬锁止时在CHAX通道上的输出状态设置。&#xD;&#xA;0h高阻态&#xD;&#xA;1h高电平&#xD;&#xA;2h低电平&#xD;&#xA;3h不做处理" />
</Register>
<Register Name="EMSLSR" Authority="RW" Address="0x40059094" Width="32" Description="Emergency Condition Soft-lock Status Register">
<Bit Name="EP7" Authority="RO" Bits="7" Description="EPx触发的软锁止状态标志。&#xD;&#xA;0h软锁止未触发&#xD;&#xA;1h软锁止已触发" />
<Bit Name="EP6" Authority="RO" Bits="6" Description="" />
<Bit Name="EP5" Authority="RO" Bits="5" Description="" />
<Bit Name="EP4" Authority="RO" Bits="4" Description="" />
<Bit Name="EP3" Authority="RO" Bits="3" Description="" />
<Bit Name="EP2" Authority="RO" Bits="2" Description="" />
<Bit Name="EP1" Authority="RO" Bits="1" Description="" />
<Bit Name="EP0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="EMSLCLR" Authority="RW" Address="0x40059098" Width="32" Description="Emergency Condition Soft-lock Clear Register">
<Bit Name="" Authority="" Bits="31-30" Description="" />
<Bit Name="EP7" Authority="RW" Bits="7" Description="软件清除EPx触发的软锁止状态标志。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="EP6" Authority="RW" Bits="6" Description="" />
<Bit Name="EP5" Authority="RW" Bits="5" Description="" />
<Bit Name="EP4" Authority="RW" Bits="4" Description="" />
<Bit Name="EP3" Authority="RW" Bits="3" Description="" />
<Bit Name="EP2" Authority="RW" Bits="2" Description="" />
<Bit Name="EP1" Authority="RW" Bits="1" Description="" />
<Bit Name="EP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="EMHLSR" Authority="RW" Address="0x4005909c" Width="32" Description="Emergency Condition Hard-lock Status Register">
<Bit Name="EOM_FAULT" Authority="RO" Bits="10" Description="EOM FAULT事件触发的硬锁止状态位。&#xD;&#xA;0h硬锁止未触发&#xD;&#xA;1h硬锁止已触发" />
<Bit Name="MEM_FAULT" Authority="RO" Bits="9" Description="MEM FAULT事件触发的硬锁止状态位。&#xD;&#xA;0h硬锁止未触发&#xD;&#xA;1h硬锁止已触发" />
<Bit Name="CPU_FAULT" Authority="RO" Bits="8" Description="CPU FAULT事件触发的硬锁止状态位。&#xD;&#xA;0h硬锁止未触发&#xD;&#xA;1h硬锁止已触发" />
<Bit Name="EP7" Authority="RO" Bits="7" Description="EPx触发的硬锁止状态标志。&#xD;&#xA;0h硬锁止未触发&#xD;&#xA;1h硬锁止已触发" />
<Bit Name="EP6" Authority="RO" Bits="6" Description="" />
<Bit Name="EP5" Authority="RO" Bits="5" Description="" />
<Bit Name="EP4" Authority="RO" Bits="4" Description="" />
<Bit Name="EP3" Authority="RO" Bits="3" Description="" />
<Bit Name="EP2" Authority="RO" Bits="2" Description="" />
<Bit Name="EP1" Authority="RO" Bits="1" Description="" />
<Bit Name="EP0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="EMHLCLR" Authority="RW" Address="0x400590a0" Width="32" Description="Emergency Condition Hard-lock Clear Register">
<Bit Name="" Authority="" Bits="31-30" Description="" />
<Bit Name="EOM_FAULT" Authority="RW" Bits="10" Description="软件清除EOM FAULT事件触发的硬锁止状态位。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="MEM_FAULT" Authority="RW" Bits="9" Description="软件清除MEM FAULT事件触发的硬锁止状态位。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="CPU_FAULT" Authority="RW" Bits="8" Description="软件清除CPU FAULT事件触发的硬锁止状态位。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="EP7" Authority="RW" Bits="7" Description="软件清除EPx触发的硬锁止状态标志。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="EP6" Authority="RW" Bits="6" Description="" />
<Bit Name="EP5" Authority="RW" Bits="5" Description="" />
<Bit Name="EP4" Authority="RW" Bits="4" Description="" />
<Bit Name="EP3" Authority="RW" Bits="3" Description="" />
<Bit Name="EP2" Authority="RW" Bits="2" Description="" />
<Bit Name="EP1" Authority="RW" Bits="1" Description="" />
<Bit Name="EP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="EMFRCR" Authority="RW" Address="0x400590a4" Width="32" Description="Emergency Condition Software Force Register">
<Bit Name="FRC_EP7" Authority="RW" Bits="7" Description="软件触发EPx事件。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h触发EPx事件置高标志位" />
<Bit Name="FRC_EP6" Authority="RW" Bits="6" Description="" />
<Bit Name="FRC_EP5" Authority="RW" Bits="5" Description="" />
<Bit Name="FRC_EP4" Authority="RW" Bits="4" Description="" />
<Bit Name="FRC_EP3" Authority="RW" Bits="3" Description="" />
<Bit Name="FRC_EP2" Authority="RW" Bits="2" Description="" />
<Bit Name="FRC_EP1" Authority="RW" Bits="1" Description="" />
<Bit Name="FRC_EP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="EMRISR" Authority="RW" Address="0x400590a8" Width="32" Description="Emergency Condition Raw Interrupt Status Register">
<Bit Name="EOM_FAULT" Authority="RO" Bits="10" Description="EOM_FAULT事件触发的异常事件中断原始标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="MEM_FAULT" Authority="RO" Bits="9" Description="MEM_FAULT事件触发的异常事件中断原始标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="CPU_FAULT" Authority="RO" Bits="8" Description="CPU_FAULT事件触发的异常事件中断原始标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="EP7" Authority="RO" Bits="7" Description="EPx事件触发的异常事件中断原始标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="EP6" Authority="RO" Bits="6" Description="" />
<Bit Name="EP5" Authority="RO" Bits="5" Description="" />
<Bit Name="EP4" Authority="RO" Bits="4" Description="" />
<Bit Name="EP3" Authority="RO" Bits="3" Description="" />
<Bit Name="EP2" Authority="RO" Bits="2" Description="" />
<Bit Name="EP1" Authority="RO" Bits="1" Description="" />
<Bit Name="EP0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="EMMISR" Authority="RW" Address="0x400590ac" Width="32" Description="Emergency Condition Masked Interrupt Status Register">
<Bit Name="EOM_FAULT" Authority="RO" Bits="10" Description="EOM_FAULT事件触发的异常事件中断标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="MEM_FAULT" Authority="RO" Bits="9" Description="MEM_FAULT事件触发的异常事件中断标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="CPU_FAULT" Authority="RO" Bits="8" Description="CPU_FAULT事件触发的异常事件中断标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="EP7" Authority="RO" Bits="7" Description="EPx事件触发的异常事件中断标志位。&#xD;&#xA;0h无中断请求发生&#xD;&#xA;1h中断请求发生" />
<Bit Name="EP6" Authority="RO" Bits="6" Description="" />
<Bit Name="EP5" Authority="RO" Bits="5" Description="" />
<Bit Name="EP4" Authority="RO" Bits="4" Description="" />
<Bit Name="EP3" Authority="RO" Bits="3" Description="" />
<Bit Name="EP2" Authority="RO" Bits="2" Description="" />
<Bit Name="EP1" Authority="RO" Bits="1" Description="" />
<Bit Name="EP0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="EMIMCR" Authority="RW" Address="0x400590b0" Width="32" Description="Emergency Condition Interrupt Masking Control Register">
<Bit Name="EOM_FAULT" Authority="RW" Bits="10" Description="EOM FAULT事件触发的异常中断使能控制。&#xD;&#xA;0h禁止对CPU发起中断请求&#xD;&#xA;1h允许对CPU发起中断请求" />
<Bit Name="MEM_FAULT" Authority="RW" Bits="9" Description="MEM FAULT事件触发的异常中断使能控制。&#xD;&#xA;0h禁止对CPU发起中断请求&#xD;&#xA;1h允许对CPU发起中断请求" />
<Bit Name="CPU_FAULT" Authority="RW" Bits="8" Description="CPU FAULT事件触发的异常中断使能控制。&#xD;&#xA;0h禁止对CPU发起中断请求&#xD;&#xA;1h允许对CPU发起中断请求" />
<Bit Name="EP7" Authority="RW" Bits="7" Description="EPx事件触发的异常中断使能控制。&#xD;&#xA;0h禁止对CPU发起中断请求&#xD;&#xA;1h允许对CPU发起中断请求" />
<Bit Name="EP6" Authority="RW" Bits="6" Description="" />
<Bit Name="EP5" Authority="RW" Bits="5" Description="" />
<Bit Name="EP4" Authority="RW" Bits="4" Description="" />
<Bit Name="EP3" Authority="RW" Bits="3" Description="" />
<Bit Name="EP2" Authority="RW" Bits="2" Description="" />
<Bit Name="EP1" Authority="RW" Bits="1" Description="" />
<Bit Name="EP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="EMICR" Authority="RW" Address="0x400590b4" Width="32" Description="Emergency Condition Interrupt Clear Register">
<Bit Name="EOM_FAULT" Authority="RW" Bits="10" Description="软件清除EOM FAULT事件触发的中断标志。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="MEM_FAULT" Authority="RW" Bits="9" Description="软件清除MEM FAULT事件触发的中断标志。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="CPU_FAULT" Authority="RW" Bits="8" Description="软件清除CPU FAULT事件触发的中断标志。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="EP7" Authority="RW" Bits="7" Description="软件清除EPx事件触发的中断标志。&#xD;&#xA;0h对当前控制位写0无效读取时总返回0&#xD;&#xA;1h清除当前标志位" />
<Bit Name="EP6" Authority="RW" Bits="6" Description="" />
<Bit Name="EP5" Authority="RW" Bits="5" Description="" />
<Bit Name="EP4" Authority="RW" Bits="4" Description="" />
<Bit Name="EP3" Authority="RW" Bits="3" Description="" />
<Bit Name="EP2" Authority="RW" Bits="2" Description="" />
<Bit Name="EP1" Authority="RW" Bits="1" Description="" />
<Bit Name="EP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="TRGFTCR" Authority="RW" Address="0x400590b8" Width="32" Description="Digital Compare Filter Control Register">
<Bit Name="CROSSMD" Authority="RW" Bits="7" Description="允许滤波窗跨越窗口对齐点。&#xD;&#xA;缺省条件下当滤波窗在Align条件满足时若任然有效将跨过窗口对齐点一直持续到窗口计数器溢出。当禁止跨周期时在Align条件满足时窗口计数器将被停止。&#xD;&#xA;0h禁止对齐点跨窗口&#xD;&#xA;1h允许对齐点跨窗口" />
<Bit Name="ALIGNMD" Authority="RW" Bits="6-5" Description="窗口对齐模式选择。当对齐模式条件满足时OFFSET将被重置但窗口宽度将根据CORSSMD设置进行调整。&#xD;&#xA;0hCNT=ZRO&#xD;&#xA;1hCNT=PRD&#xD;&#xA;2hCNT=PRD or CNT=ZRO&#xD;&#xA;3hT1事件" />
<Bit Name="BLKINV" Authority="RW" Bits="4" Description="窗口使能反转控制。&#xD;&#xA;0h窗口不反转窗口有效区间禁止滤波输入&#xD;&#xA;1h窗口反转窗口有效区间使能滤波输入" />
<Bit Name="SRC_SEL" Authority="RW" Bits="2-0" Description="滤波模块的输入信号选择。&#xD;&#xA;0h禁止滤波&#xD;&#xA;1h使能SYNCIN0滤波&#xD;&#xA;2h使能SYNCIN1滤波&#xD;&#xA;3h使能SYNCIN2滤波&#xD;&#xA;4h使能SYNCIN3滤波&#xD;&#xA;5h使能SYNCIN4滤波&#xD;&#xA;6h使能SYNCIN5滤波&#xD;&#xA;7h保留" />
</Register>
<Register Name="TRGFTWR" Authority="RW" Address="0x400590bc" Width="32" Description="Digital Compare Filter Window Register">
<Bit Name="WINDOW" Authority="RW" Bits="31-16" Description="滤波窗的宽度设置。&#xD;&#xA;此16bit控制位定义了滤波窗的宽度窗口宽度是基于TCLK的计数值。当OFFSET计数器溢出时WINDOW计数器被重置并开始计数直到溢出。当OFFSET计数器溢出但WINDOW状态已经激活时WINDOW计数器不会重置。在应用时必须注意此条件的设置。" />
<Bit Name="OFFSET" Authority="RW" Bits="15-0" Description="滤波窗的OFFSET设置。&#xD;&#xA;此16bit控制位定义了从窗口参考起始位置开始计数多少个TCLK后开始有效的滤波窗口。参考位置的定义在TRGFTCR[ALIGNMD]控制位中进行选择。OFFSET的Shadow寄存器在ALIGNMD指定的条件满足时载入到Active寄存器中并重新开始计数。" />
</Register>
<Register Name="EVTRG" Authority="RW" Address="0x400590c0" Width="32" Description="Event Generation Control Register">
<Bit Name="CNT3INITFRC" Authority="RW" Bits="27" Description="TRGEV3CNT软件触发更新&#xD;&#xA;0h无效&#xD;&#xA;1hEVCNT3INIT内容更新到EVCNT3中" />
<Bit Name="CNT2INITFRC" Authority="RW" Bits="26" Description="TRGEV2CNT软件触发更新&#xD;&#xA;0h无效&#xD;&#xA;1hEVCNT2INIT内容更新到EVCNT2中" />
<Bit Name="CNT1INITFRC" Authority="RW" Bits="25" Description="TRGEV1CNT软件触发更新&#xD;&#xA;0h无效&#xD;&#xA;1hEVCNT1INIT内容更新到EVCNT1中" />
<Bit Name="CNT0INITFRC" Authority="RW" Bits="24" Description="TRGEV0CNT软件触发更新&#xD;&#xA;0h无效&#xD;&#xA;1hEVCNT0INIT内容更新到EVCNT0中" />
<Bit Name="TRG3OE" Authority="RW" Bits="23" Description="外部触发端口TRGOUT3使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG2OE" Authority="RW" Bits="22" Description="外部触发端口TRGOUT2使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG1OE" Authority="RW" Bits="21" Description="外部触发端口TRGOUT1使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG0OE" Authority="RW" Bits="20" Description="外部触发端口TRGOUT0使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="CNT3INITEN" Authority="RW" Bits="19" Description="TRGEV3CNT寄存器更新模式控制&#xD;&#xA;0h无效&#xD;&#xA;1hTRGEV3CNT在发生LOAD事件触发时或者EV3CNTINITFRC控制位软件写入1EV3CNTINIT的内容更新到EV3CNT中。" />
<Bit Name="CNT2INITEN" Authority="RW" Bits="18" Description="TRGEV2CNT寄存器更新模式控制&#xD;&#xA;0h无效&#xD;&#xA;1hTRGEV2CNT在发生LOAD事件触发时或者EV2CNTINITFRC控制位软件写入1EV2CNTINIT的内容更新到EV2CNT中。" />
<Bit Name="CNT1INITEN" Authority="RW" Bits="17" Description="TRGEV1CNT寄存器更新模式控制&#xD;&#xA;0h无效&#xD;&#xA;1hTRGEV1CNT在发生LOAD事件触发时或者EV1CNTINITFRC控制位软件写入1EV1CNTINIT的内容更新到EV1CNT中。" />
<Bit Name="CNT0INITEN" Authority="RW" Bits="16" Description="TRGEV0CNT寄存器更新模式控制&#xD;&#xA;0h无效&#xD;&#xA;1hTRGEV0CNT在发生LOAD事件触发时或者EV0CNTINITFRC控制位软件写入1EV0CNTINIT的内容更新到EV0CNT中。" />
<Bit Name="TRG3SEL" Authority="RW" Bits="15-12" Description="TRGEV3事件的触发源选择。&#xD;&#xA;0000禁止TRGSRC触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGx事件&#xD;&#xA;0010当 CNT = PRD 产生TRGx事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGx事件&#xD;&#xA;0100当 CNT = CMPA 且计数方向为递增时产生TRGx事件&#xD;&#xA;0101当 CNT = CMPA 且计数方向为递减时产生TRGx事件&#xD;&#xA;0110当 CNT = CMPB 且计数方向为递增时产生TRGx事件&#xD;&#xA;0111当 CNT = CMPB 且计数方向为递减时产生TRGx事件&#xD;&#xA;1000当 CNT = CMPC 且计数方向为递增时产生TRGx事件&#xD;&#xA;1001当 CNT = CMPC 且计数方向为递减时产生TRGx事件&#xD;&#xA;1010当 CNT = CMPD 且计数方向为递增时产生TRGx事件&#xD;&#xA;1011当 CNT = CMPD 且计数方向为递减时产生TRGx事件&#xD;&#xA;1100Period End&#xD;&#xA;1101PE0 event&#xD;&#xA;1110PE1 event&#xD;&#xA;1111PE2 event" />
<Bit Name="TRG2SEL" Authority="RW" Bits="11-8" Description="TRGEV2事件的触发源选择。&#xD;&#xA;0000禁止TRGSRC触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGx事件&#xD;&#xA;0010当 CNT = PRD 产生TRGx事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGx事件&#xD;&#xA;0100当 CNT = CMPA 且计数方向为递增时产生TRGx事件&#xD;&#xA;0101当 CNT = CMPA 且计数方向为递减时产生TRGx事件&#xD;&#xA;0110当 CNT = CMPB 且计数方向为递增时产生TRGx事件&#xD;&#xA;0111当 CNT = CMPB 且计数方向为递减时产生TRGx事件&#xD;&#xA;1000当 CNT = CMPC 且计数方向为递增时产生TRGx事件&#xD;&#xA;1001当 CNT = CMPC 且计数方向为递减时产生TRGx事件&#xD;&#xA;1010当 CNT = CMPD 且计数方向为递增时产生TRGx事件&#xD;&#xA;1011当 CNT = CMPD 且计数方向为递减时产生TRGx事件&#xD;&#xA;1100Period End&#xD;&#xA;1101PE0 event&#xD;&#xA;1110PE1 event&#xD;&#xA;1111PE2 event" />
<Bit Name="TRG1SEL" Authority="RW" Bits="7-4" Description="TRGEV1事件的触发源选择。&#xD;&#xA;0000禁止TRGSRC触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGx事件&#xD;&#xA;0010当 CNT = PRD 产生TRGx事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGx事件&#xD;&#xA;0100当 CNT = CMPA 且计数方向为递增时产生TRGx事件&#xD;&#xA;0101当 CNT = CMPA 且计数方向为递减时产生TRGx事件&#xD;&#xA;0110当 CNT = CMPB 且计数方向为递增时产生TRGx事件&#xD;&#xA;0111当 CNT = CMPB 且计数方向为递减时产生TRGx事件&#xD;&#xA;1000当 CNT = CMPC 且计数方向为递增时产生TRGx事件&#xD;&#xA;1001当 CNT = CMPC 且计数方向为递减时产生TRGx事件&#xD;&#xA;1010当 CNT = CMPD 且计数方向为递增时产生TRGx事件&#xD;&#xA;1011当 CNT = CMPD 且计数方向为递减时产生TRGx事件&#xD;&#xA;1100ExtSync通道&#xD;&#xA;1101PE0 event&#xD;&#xA;1110PE1 event&#xD;&#xA;1111PE2 event" />
<Bit Name="TRG0SEL" Authority="RW" Bits="3-0" Description="TRGEV0事件的触发源选择。&#xD;&#xA;0000禁止TRGSRC触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGx事件&#xD;&#xA;0010当 CNT = PRD 产生TRGx事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGx事件&#xD;&#xA;0100当 CNT = CMPA 且计数方向为递增时产生TRGx事件&#xD;&#xA;0101当 CNT = CMPA 且计数方向为递减时产生TRGx事件&#xD;&#xA;0110当 CNT = CMPB 且计数方向为递增时产生TRGx事件&#xD;&#xA;0111当 CNT = CMPB 且计数方向为递减时产生TRGx事件&#xD;&#xA;1000当 CNT = CMPC 且计数方向为递增时产生TRGx事件&#xD;&#xA;1001当 CNT = CMPC 且计数方向为递减时产生TRGx事件&#xD;&#xA;1010当 CNT = CMPD 且计数方向为递增时产生TRGx事件&#xD;&#xA;1011当 CNT = CMPD 且计数方向为递减时产生TRGx事件&#xD;&#xA;1100ExtSync通道&#xD;&#xA;1101PE0 event&#xD;&#xA;1110PE1 event&#xD;&#xA;1111PE2 event" />
</Register>
<Register Name="EVPS" Authority="RW" Address="0x400590c4" Width="32" Description="Event Counter Prescaler">
<Bit Name="TRGEV3CNT" Authority="RO" Bits="31-28" Description="TRGEV3事件计数器值。&#xD;&#xA;读取时,返回当前事件计数器值。" />
<Bit Name="TRGEV2CNT" Authority="RO" Bits="27-24" Description="TRGEV2事件计数器值。&#xD;&#xA;读取时,返回当前事件计数器值。" />
<Bit Name="TRGEV1CNT" Authority="RO" Bits="23-20" Description="TRGEV1事件计数器值。&#xD;&#xA;读取时,返回当前事件计数器值。" />
<Bit Name="TRGEV0CNT" Authority="RO" Bits="19-16" Description="TRGEV0事件计数器值。&#xD;&#xA;读取时,返回当前事件计数器值。" />
<Bit Name="TRGEV3PRD" Authority="RW" Bits="15-12" Description="TRGEV3事件计数的周期设置。&#xD;&#xA;当TRGEV3事件发生次数满足周期时才产生TRGEV3触发事件" />
<Bit Name="TRGEV2PRD" Authority="RW" Bits="11-8" Description="TRGEV2事件计数的周期设置。&#xD;&#xA;当TRGEV2事件发生次数满足周期时才产生TRGEV2触发事件" />
<Bit Name="TRGEV1PRD" Authority="RW" Bits="7-4" Description="TRGEV1事件计数的周期设置。&#xD;&#xA;当TRGEV1事件发生次数满足周期时才产生TRGEV1触发事件" />
<Bit Name="TRGEV0PRD" Authority="RW" Bits="3-0" Description="TRGEV0事件计数的周期设置。&#xD;&#xA;当TRGEV0事件发生次数满足周期时才产生TRGEV0触发事件" />
</Register>
<Register Name="EVCNTINIT" Authority="RW" Address="0x400590c8" Width="32" Description="Event Counter Initial Value">
<Bit Name="CNT3INIT" Authority="RW" Bits="15-12" Description="TRGEV3CNT计数器的初始化值设置。&#xD;&#xA;当EVTRG[CNT3INITEN]控制位有效时CNT3INIT的值将在触发条件满足时(LOAD事件)或EVTRG[CNT3INITFRC]软件置位时被载入到TRGEV3CNT寄存器中。" />
<Bit Name="CNT2INIT" Authority="RW" Bits="11-8" Description="TRGEV2CNT计数器的初始化值设置。&#xD;&#xA;当EVTRG[CNT2INITEN]控制位有效时CNT2INIT的值将在触发条件满足时(LOAD事件)或EVTRG[CNT2INITFRC]软件置位时被载入到TRGEV2CNT寄存器中。" />
<Bit Name="CNT1INIT" Authority="RW" Bits="7-4" Description="TRGEV1CNT计数器的初始化值设置。&#xD;&#xA;当EVTRG[CNT1INITEN]控制位有效时CNT1INIT的值将在触发条件满足时(LOAD事件)或EVTRG[CNT1INITFRC]软件置位时被载入到TRGEV1CNT寄存器中。" />
<Bit Name="CNT0INIT" Authority="RW" Bits="3-0" Description="TRGEV0CNT计数器的初始化值设置。&#xD;&#xA;当EVTRG[CNT0INITEN]控制位有效时CNT0INIT的值将在触发条件满足时(LOAD事件)或EVTRG[CNT0INITFRC]软件置位时被载入到TRGEV0CNT寄存器中。" />
</Register>
<Register Name="EVSWF" Authority="RW" Address="0x400590cc" Width="32" Description="Event Counter Software Trigger Register">
<Bit Name="EV3SWF" Authority="RW" Bits="3" Description="软件产生一次EV3的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV2SWF" Authority="RW" Bits="2" Description="软件产生一次EV2的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV1SWF" Authority="RW" Bits="1" Description="软件产生一次EV1的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV0SWF" Authority="RW" Bits="0" Description="软件产生一次EV0的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
</Register>
<Register Name="RISR" Authority="RW" Address="0x400590d0" Width="32" Description="Raw Interrupt Status Register">
<Bit Name="PEND" Authority="RO" Bits="16" Description="周期结束中断请求原始标志状态" />
<Bit Name="CDD" Authority="RO" Bits="15" Description="递减阶段CNT = CMPD中断请求原始标志状态" />
<Bit Name="CDU" Authority="RO" Bits="14" Description="递增阶段CNT = CMPD中断请求原始标志状态" />
<Bit Name="CCD" Authority="RO" Bits="13" Description="递减阶段CNT = CMPC中断请求原始标志状态" />
<Bit Name="CCU" Authority="RO" Bits="12" Description="递增阶段CNT = CMPC中断请求原始标志状态" />
<Bit Name="CBD" Authority="RO" Bits="11" Description="递减阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CBU" Authority="RO" Bits="10" Description="递增阶段CNT = CMPB中断请求原始标志状态" />
<Bit Name="CAD" Authority="RO" Bits="9" Description="递减阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAU" Authority="RO" Bits="8" Description="递增阶段CNT = CMPA中断请求原始标志状态" />
<Bit Name="CAP_LD3" Authority="RO" Bits="7" Description="Capture Load to CMPD中断请求原始标志状态" />
<Bit Name="CAP_LD2" Authority="RO" Bits="6" Description="Capture Load to CMPC中断请求原始标志状态" />
<Bit Name="CAP_LD1" Authority="RO" Bits="5" Description="Capture Load to CMPB中断请求原始标志状态" />
<Bit Name="CAP_LD0" Authority="RO" Bits="4" Description="Capture Load to CMPA中断请求原始标志状态" />
<Bit Name="TRGEV3" Authority="RO" Bits="3" Description="TRGEV3中断请求原始标志状态" />
<Bit Name="TRGEV2" Authority="RO" Bits="2" Description="TRGEV2中断请求原始标志状态" />
<Bit Name="TRGEV1" Authority="RO" Bits="1" Description="TRGEV1中断请求原始标志状态" />
<Bit Name="TRGEV0" Authority="RO" Bits="0" Description="TRGEV0中断请求原始标志状态" />
</Register>
<Register Name="MISR" Authority="RW" Address="0x400590d4" Width="32" Description="Masked Interrupt Status Register">
<Bit Name="PEND" Authority="RO" Bits="16" Description="周期结束中断请求标志状态" />
<Bit Name="CDD" Authority="RO" Bits="15" Description="递减阶段CNT = CMPD中断请求标志状态" />
<Bit Name="CDU" Authority="RO" Bits="14" Description="递增阶段CNT = CMPD中断请求标志状态" />
<Bit Name="CCD" Authority="RO" Bits="13" Description="递减阶段CNT = CMPC中断请求标志状态" />
<Bit Name="CCU" Authority="RO" Bits="12" Description="递增阶段CNT = CMPC中断请求标志状态" />
<Bit Name="CBD" Authority="RO" Bits="11" Description="递减阶段CNT = CMPB中断请求标志状态" />
<Bit Name="CBU" Authority="RO" Bits="10" Description="递增阶段CNT = CMPB中断请求标志状态" />
<Bit Name="CAD" Authority="RO" Bits="9" Description="递减阶段CNT = CMPA中断请求标志状态" />
<Bit Name="CAU" Authority="RO" Bits="8" Description="递增阶段CNT = CMPA中断请求标志状态" />
<Bit Name="CAP_LD3" Authority="RO" Bits="7" Description="Capture Load to CMPD中断请求标志状态" />
<Bit Name="CAP_LD2" Authority="RO" Bits="6" Description="Capture Load to CMPC中断请求标志状态" />
<Bit Name="CAP_LD1" Authority="RO" Bits="5" Description="Capture Load to CMPB中断请求标志状态" />
<Bit Name="CAP_LD0" Authority="RO" Bits="4" Description="Capture Load to CMPA中断请求标志状态" />
<Bit Name="TRGEV3" Authority="RO" Bits="3" Description="TRGEV3中断请求标志状态" />
<Bit Name="TRGEV2" Authority="RO" Bits="2" Description="TRGEV2中断请求标志状态" />
<Bit Name="TRGEV1" Authority="RO" Bits="1" Description="TRGEV1中断请求标志状态" />
<Bit Name="TRGEV0" Authority="RO" Bits="0" Description="TRGEV0中断请求标志状态" />
</Register>
<Register Name="IMCR" Authority="RW" Address="0x400590d8" Width="32" Description="Interrupt Masking Control Register">
<Bit Name="PEND" Authority="RW" Bits="16" Description="周期结束中断中断使能控制位。" />
<Bit Name="CDD" Authority="RW" Bits="15" Description="递减阶段CNT = CMPD中断使能控制位。" />
<Bit Name="CDU" Authority="RW" Bits="14" Description="递增阶段CNT = CMPD中断使能控制位。" />
<Bit Name="CCD" Authority="RW" Bits="13" Description="递减阶段CNT = CMPC中断使能控制位。" />
<Bit Name="CCU" Authority="RW" Bits="12" Description="递增阶段CNT = CMPC中断使能控制位。" />
<Bit Name="CBD" Authority="RW" Bits="11" Description="递减阶段CNT = CMPB中断使能控制位。" />
<Bit Name="CBU" Authority="RW" Bits="10" Description="递增阶段CNT = CMPB中断使能控制位。" />
<Bit Name="CAD" Authority="RW" Bits="9" Description="递减阶段CNT = CMPA中断使能控制位。" />
<Bit Name="CAU" Authority="RW" Bits="8" Description="递增阶段CNT = CMPA中断使能控制位。" />
<Bit Name="CAP_LD3" Authority="RW" Bits="7" Description="Capture Load to CMPD中断使能控制位。" />
<Bit Name="CAP_LD2" Authority="RW" Bits="6" Description="Capture Load to CMPC中断使能控制位。" />
<Bit Name="CAP_LD1" Authority="RW" Bits="5" Description="Capture Load to CMPB中断使能控制位。" />
<Bit Name="CAP_LD0" Authority="RW" Bits="4" Description="Capture Load to CMPA中断使能控制位。" />
<Bit Name="TRGEV3" Authority="RW" Bits="3" Description="TRGEV3中断使能控制位。" />
<Bit Name="TRGEV2" Authority="RW" Bits="2" Description="TRGEV2中断使能控制位。" />
<Bit Name="TRGEV1" Authority="RW" Bits="1" Description="TRGEV1中断使能控制位。" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="TRGEV0中断使能控制位。" />
</Register>
<Register Name="ICR" Authority="RW" Address="0x400590dc" Width="32" Description="Interrupt Clear Register">
<Bit Name="PEND" Authority="RO" Bits="16" Description="周期结束中断中断清除。" />
<Bit Name="CDD" Authority="RO" Bits="15" Description="递减阶段CNT = CMPD中断清除。" />
<Bit Name="CDU" Authority="RO" Bits="14" Description="递增阶段CNT = CMPD中断清除。" />
<Bit Name="CCD" Authority="RO" Bits="13" Description="递减阶段CNT = CMPC中断清除。" />
<Bit Name="CCU" Authority="RO" Bits="12" Description="递增阶段CNT = CMPC中断清除。" />
<Bit Name="CBD" Authority="RO" Bits="11" Description="递减阶段CNT = CMPB中断清除。" />
<Bit Name="CBU" Authority="RO" Bits="10" Description="递增阶段CNT = CMPB中断清除。" />
<Bit Name="CAD" Authority="RO" Bits="9" Description="递减阶段CNT = CMPA中断清除。" />
<Bit Name="CAU" Authority="RO" Bits="8" Description="递增阶段CNT = CMPA中断清除。" />
<Bit Name="CAP_LD3" Authority="RO" Bits="7" Description="Capture Load to CMPD中断清除。" />
<Bit Name="CAP_LD2" Authority="RO" Bits="6" Description="Capture Load to CMPC中断清除。" />
<Bit Name="CAP_LD1" Authority="RO" Bits="5" Description="Capture Load to CMPB中断清除。" />
<Bit Name="CAP_LD0" Authority="RO" Bits="4" Description="Capture Load to CMPA中断清除。" />
<Bit Name="TRGEV3" Authority="RO" Bits="3" Description="TRGEV3中断清除。" />
<Bit Name="TRGEV2" Authority="RO" Bits="2" Description="TRGEV2中断清除。" />
<Bit Name="TRGEV1" Authority="RO" Bits="1" Description="TRGEV1中断清除。" />
<Bit Name="TRGEV0" Authority="RO" Bits="0" Description="TRGEV0中断清除。" />
</Register>
<Register Name="PROT" Authority="RW" Address="0x400590e8" Width="32" Description="Protection Register">
<Bit Name="WRKEY" Authority="RW" Bits="31-16" Description="写入保护KEY&#xD;&#xA;当对PROTKEY进行写操作时必须将KEY设置为A55Ah否则写入无效。" />
<Bit Name="PROTKEY" Authority="RW" Bits="15-0" Description="写保护使能控制。&#xD;&#xA;当此寄存器的值不等于C73Ah时具有写保护功能的寄存器(参看寄存器表)将禁止写入操作。只有解锁后,具有写保护功能的寄存器才允许写操作。对于具有写保护寄存器的写操作完成后,写保护寄存器会自动清除(自动保护使能),所以每次对任意具有写保护功能的寄存器写入之前,都必须进行解锁操作。" />
</Register>
</Peripheral>
<Peripheral Name="RTC">
<Register Name="RTC_TIMR" Authority="RW" Address="0x40060000" Width="32" Description="时间控制寄存器">
<Bit Name="PM" Authority="RW" Bits="22" Description="AM或PM标志。&#xD;&#xA;0hAM 或 24小时格式。&#xD;&#xA;1hPM。" />
<Bit Name="HORT" Authority="RW" Bits="21-20" Description="BCD格式中小时单位的十位数配置。" />
<Bit Name="HORU" Authority="RW" Bits="19-16" Description="BCD格式中小时单位的个位数配置。" />
<Bit Name="MINT" Authority="RW" Bits="14-12" Description="BCD格式中分钟单位的十位数配置。" />
<Bit Name="MINU" Authority="RW" Bits="11-8" Description="BCD格式中分钟单位的个位数配置。" />
<Bit Name="SECT" Authority="RW" Bits="6-4" Description="BCD格式中秒单位的十位数配置。" />
<Bit Name="SECU" Authority="RW" Bits="3-0" Description="BCD格式中秒单位的个位数配置。" />
</Register>
<Register Name="RTC_DATR" Authority="RW" Address="0x40060004" Width="32" Description="日期控制寄存器">
<Bit Name="WKD" Authority="RW" Bits="26-24" Description="一周中星期的配置。&#xD;&#xA;0hRSVD。&#xD;&#xA;1h星期一。&#xD;&#xA;2h星期二。&#xD;&#xA;3h星期三。&#xD;&#xA;4h星期四。&#xD;&#xA;5h星期五。&#xD;&#xA;6h星期六。&#xD;&#xA;7h星期日。" />
<Bit Name="YEAT" Authority="RW" Bits="23-20" Description="BCD格式中年单位的十位数配置。" />
<Bit Name="YEAU" Authority="RW" Bits="19-16" Description="BCD格式中年单位的个位数配置。" />
<Bit Name="MONT" Authority="RW" Bits="12" Description="BCD格式中月单位的十位数配置。" />
<Bit Name="MONU" Authority="RW" Bits="11-8" Description="BCD格式中月单位的个位数配置。" />
<Bit Name="DAYT" Authority="RW" Bits="5-4" Description="BCD格式中日单位的十位数配置。" />
<Bit Name="DAYU" Authority="RW" Bits="3-0" Description="BCD格式中日单位的个位数配置。" />
</Register>
<Register Name="RTC_CR" Authority="RW" Address="0x40060008" Width="32" Description="通用控制寄存器">
<Bit Name="TKEYTRG" Authority="RW" Bits="18-17" Description="RTC触发TOUCH扫描控制。&#xD;&#xA;0h禁止触发输出。&#xD;&#xA;1h由CPRD事件进行触发。&#xD;&#xA;2h由RTC_CLK触发。&#xD;&#xA;3h由RTC_CLK的2分频触发。" />
<Bit Name="RBEN" Authority="RW" Bits="16" Description="TIMR和DATR回读控制。只有在回读使能时RTC的状态可以被更新到TIMR和DATR中。关闭回读可以降低功耗。&#xD;&#xA;0h回读禁止。&#xD;&#xA;1h回读使能。" />
<Bit Name="CPRD" Authority="RW" Bits="15-13" Description="周期事件选择。该配置适用RTC_CLK设置为2Hz情况当RTC_CLK不为2Hz时需要用户自己根据比例进行换算。&#xD;&#xA;0h禁止周期事件。&#xD;&#xA;1h每0.5秒发生一次。&#xD;&#xA;2h每秒发生一次。&#xD;&#xA;3h每分钟发生一次在秒为0的时候。&#xD;&#xA;4h每小时发生一次在秒和分钟为0的时候。&#xD;&#xA;5h每天发生一次在秒、分钟和小时为0的时候。&#xD;&#xA;6h每月发生一次每个月的第一天。&#xD;&#xA;其他:保留。" />
<Bit Name="OSEL" Authority="RW" Bits="12-10" Description="RTC_ALM管脚输出信号选择。&#xD;&#xA;0h闹钟A的脉冲输出。&#xD;&#xA;1h闹钟A触发输出高。&#xD;&#xA;2h闹钟A触发输出低。&#xD;&#xA;4h闹钟B的脉冲输出。&#xD;&#xA;5h闹钟B触发输出高。&#xD;&#xA;6h闹钟B触发输出低。&#xD;&#xA;其他:保留。" />
<Bit Name="FMT" Authority="RW" Bits="5" Description="计时模式设置。&#xD;&#xA;0h24小时制。&#xD;&#xA;1h12小时制(AM/PM)。" />
<Bit Name="ALRAE" Authority="RW" Bits="3" Description="闹钟A使能控制。&#xD;&#xA;0h关闭闹钟A。&#xD;&#xA;1h打开闹钟A。" />
<Bit Name="UPD_BSY" Authority="RO" Bits="1" Description="更新状态查询寄存器。当RTC处于Free Running模式下对于CR寄存器的修改需要查询UPD_BSY以确认更新完成。&#xD;&#xA;0h更新完成。&#xD;&#xA;1h更新正在进行。" />
<Bit Name="INIT" Authority="RW" Bits="0" Description="初始化控制位。&#xD;&#xA;0h设置RTC到Free Running模式。在此模式下TIMR和DATR不能修改。&#xD;&#xA;1h设置RTC到初始化模式。该模式下RTC停止工作TIMR和DATR可以通过软件修改。" />
</Register>
<Register Name="RTC_CCR" Authority="RW" Address="0x4006000c" Width="32" Description="时钟控制寄存器">
<Bit Name="CLKEN" Authority="RW" Bits="27" Description="时钟使能控制。&#xD;&#xA;0hRTC_CLK关闭。&#xD;&#xA;1hRTC_CLK打开。" />
<Bit Name="RTCCK_ST" Authority="RW" Bits="26" Description="时钟稳定状态查询。&#xD;&#xA;0hRTC_CLK时钟未稳定。&#xD;&#xA;1hRTC_CLK时钟已稳定。" />
<Bit Name="CLKSRC" Authority="RW" Bits="25-24" Description="RTC时钟源选择。&#xD;&#xA;0hISOSC。&#xD;&#xA;1hIMOSC/4。&#xD;&#xA;2hEMOSC。&#xD;&#xA;3hEMOSC/4。" />
<Bit Name="DBGEN" Authority="RW" Bits="23" Description="RTC在调试挂起时是否继续工作。&#xD;&#xA;0h保持RTC一直工作。&#xD;&#xA;1h调试挂起时RTC自动暂停。" />
<Bit Name="DIVA" Authority="RW" Bits="22-16" Description="异步分频器分频设置。" />
<Bit Name="DIVS" Authority="RW" Bits="14-0" Description="同步分频器分频设置。" />
</Register>
<Register Name="RTC_ALRA" Authority="RW" Address="0x40060010" Width="32" Description="闹钟A设置寄存器">
<Bit Name="DMSK" Authority="RW" Bits="31" Description="屏蔽日的闹钟控制。&#xD;&#xA;0h打开日单位的比较。&#xD;&#xA;1h关闭日单位的比较。" />
<Bit Name="WDSEL" Authority="RW" Bits="30" Description="星期/日闹钟选择控制。&#xD;&#xA;0h根据DAYT/DAYU的设置日期比较闹钟。&#xD;&#xA;1h根据DAYU设置的星期比较闹钟。" />
<Bit Name="DAYT" Authority="RW" Bits="29-28" Description="BCD格式中天的十位数配置。" />
<Bit Name="DAYU" Authority="RW" Bits="27-24" Description="BCD格式中天的个位数配置。" />
<Bit Name="HMSK" Authority="RW" Bits="23" Description="屏蔽小时闹钟控制。&#xD;&#xA;0h打开小时单位的比较。&#xD;&#xA;1h关闭小时单位的比较。" />
<Bit Name="PM" Authority="RW" Bits="22" Description="AM/PM控制。24小时制下该位控制无效。&#xD;&#xA;0hAM。&#xD;&#xA;1hPM。" />
<Bit Name="HORT" Authority="RW" Bits="21-20" Description="BCD格式中小时单位的十位数配置。" />
<Bit Name="HORU" Authority="RW" Bits="19-16" Description="BCD格式中小时单位的个位数配置。" />
<Bit Name="MMSK" Authority="RW" Bits="15" Description="屏蔽分钟闹钟控制。&#xD;&#xA;0h打开分钟单位的比较。&#xD;&#xA;1h关闭分钟单位的比较。" />
<Bit Name="MINT" Authority="RW" Bits="14-12" Description="BCD格式中分钟单位的十位数配置。" />
<Bit Name="MINU" Authority="RW" Bits="11-8" Description="BCD格式中分钟单位的个位数配置。" />
<Bit Name="SMSK" Authority="RW" Bits="7" Description="屏蔽秒闹钟控制。&#xD;&#xA;0h打开秒单位的比较。&#xD;&#xA;1h关闭秒单位的比较。" />
<Bit Name="SECT" Authority="RW" Bits="6-4" Description="BCD格式中秒单位的十位数配置。" />
<Bit Name="SECU" Authority="RW" Bits="3-0" Description="BCD格式中秒单位的个位数配置。" />
</Register>
<Register Name="RTC_SSR" Authority="RW" Address="0x40060018" Width="32" Description="毫秒计数器">
<Bit Name="SSR" Authority="RW" Bits="16-0" Description="毫秒计数器值。返回当前RTC的毫秒单位计数值。&#xD;&#xA;Bit[16:7]为毫秒值。bit[6:0]为微秒值每个Step为8uS。&#xD;&#xA;以上计时均在RTC_CLK为2Hz条件下获得。" />
</Register>
<Register Name="RTC_RISR" Authority="RW" Address="0x40060020" Width="32" Description="中断原始状态标志寄存器">
<Bit Name="TRGEV1" Authority="RO" Bits="4" Description="同步触发事件1的原始中断标志位。" />
<Bit Name="TRGEV0" Authority="RO" Bits="3" Description="同步触发事件0的原始中断标志位。" />
<Bit Name="CPRD" Authority="RO" Bits="2" Description="CPRD的原始中断标志位。" />
<Bit Name="ALRA" Authority="RO" Bits="0" Description="闹钟A的原始中断标志位。" />
</Register>
<Register Name="RTC_IMCR" Authority="RW" Address="0x40060024" Width="32" Description="中断使能控制寄存器">
<Bit Name="TRGEV1" Authority="RW" Bits="4" Description="同步触发事件1的中断使能控制。&#xD;&#xA;0h关闭中断。&#xD;&#xA;1h打开中断。" />
<Bit Name="TRGEV0" Authority="RW" Bits="3" Description="同步触发事件0的中断使能控制。&#xD;&#xA;0h关闭中断。&#xD;&#xA;1h打开中断。" />
<Bit Name="CPRD" Authority="RW" Bits="2" Description="CPRD的中断使能控制。&#xD;&#xA;0h关闭中断。&#xD;&#xA;1h打开中断。" />
<Bit Name="ALRA" Authority="RW" Bits="0" Description="闹钟A的中断使能控制。&#xD;&#xA;0h关闭中断。&#xD;&#xA;1h打开中断。" />
</Register>
<Register Name="RTC_MISR" Authority="RW" Address="0x40060028" Width="32" Description="中断状态标志寄存器">
<Bit Name="TRGEV1" Authority="RO" Bits="4" Description="同步触发事件1的中断标志位。" />
<Bit Name="TRGEV0" Authority="RO" Bits="3" Description="同步触发事件0的中断标志位。" />
<Bit Name="CPRD" Authority="RO" Bits="2" Description="CPRD的中断标志位。" />
<Bit Name="ALRA" Authority="RO" Bits="0" Description="闹钟A的中断标志位。" />
</Register>
<Register Name="RTC_ICR" Authority="RW" Address="0x4006002c" Width="32" Description="中断状态清除寄存器">
<Bit Name="TRGEV1" Authority="RW" Bits="4" Description="清除同步触发事件1的原始中断标志位。" />
<Bit Name="TRGEV0" Authority="RW" Bits="3" Description="清除同步触发事件0的原始中断标志位。" />
<Bit Name="CPRD" Authority="RW" Bits="2" Description="清除CPRD的原始中断标志位。" />
<Bit Name="ALRA" Authority="RW" Bits="0" Description="清除闹钟A的原始中断标志位。" />
</Register>
<Register Name="RTC_KEY" Authority="RW" Address="0x40060030" Width="32" Description="保护寄存器">
<Bit Name="RTCKEY" Authority="RW" Bits="15-0" Description="RTC的保护寄存器。&#xD;&#xA;只有对当前控制位写入0xCA53后才能对具有保护功能的寄存器进行修改。" />
</Register>
<Register Name="RTC_EVTRG" Authority="RW" Address="0x40060034" Width="32" Description="同步事件触发控制寄存器">
<Bit Name="TRG1OE" Authority="RW" Bits="21" Description="外部触发端口TRGOUT1使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG0OE" Authority="RW" Bits="20" Description="外部触发端口TRGOUT0使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRGSEL1" Authority="RW" Bits="7-4" Description="TRGEV1事件的触发源选择。&#xD;&#xA;0h禁止TRGSRC触发输出&#xD;&#xA;1hAlarmA事件产生ESYNC事件&#xD;&#xA;2hAlarmB事件产生ESYNC事件&#xD;&#xA;3hAlarmA或AlarmB事件产生ESYNC事件&#xD;&#xA;4hCPRD事件产生ESYNC事件&#xD;&#xA;其他:保留" />
<Bit Name="TRGSEL0" Authority="RW" Bits="3-0" Description="TRGEV0事件的触发源选择。&#xD;&#xA;0h禁止TRGSRC触发输出&#xD;&#xA;1hAlarmA事件产生ESYNC事件&#xD;&#xA;2hAlarmB事件产生ESYNC事件&#xD;&#xA;3hAlarmA或AlarmB事件产生ESYNC事件&#xD;&#xA;4hCPRD事件产生ESYNC事件&#xD;&#xA;其他:保留" />
</Register>
<Register Name="RTC_EVPS" Authority="RW" Address="0x40060038" Width="32" Description="同步事件计数控制器">
<Bit Name="TRGEV1CNT" Authority="RW" Bits="23-20" Description="TRGEV1事件计数器设置。&#xD;&#xA;读取时,返回当前事件计数器值;&#xD;&#xA;写入时,直接更新事件计数器值。" />
<Bit Name="TRGEV0CNT" Authority="RW" Bits="19-16" Description="TRGEV0事件计数器设置。&#xD;&#xA;读取时,返回当前事件计数器值;&#xD;&#xA;写入时,直接更新事件计数器值。" />
<Bit Name="TRGEV1PRD" Authority="RW" Bits="7-4" Description="TRGEV1事件计数的周期设置。&#xD;&#xA;当TRGEV1事件发生次数满足周期时才产生TRGEV1触发事件" />
<Bit Name="TRGEV0PRD" Authority="RW" Bits="3-0" Description="TRGEV0事件计数的周期设置。&#xD;&#xA;当TRGEV0事件发生次数满足周期时才产生TRGEV0触发事件" />
</Register>
<Register Name="RTC_EVSWF" Authority="RW" Address="0x4006003c" Width="32" Description="同步事件软件触发寄存器">
<Bit Name="EV1SWF" Authority="RW" Bits="1" Description="软件产生一次EV1的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
<Bit Name="EV0SWF" Authority="RW" Bits="0" Description="软件产生一次EV0的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
</Register>
</Peripheral>
<Peripheral Name="LPT">
<Register Name="LPT_CEDR" Authority="RW" Address="0x40061000" Width="32" Description="">
<Bit Name="IDCODE" Authority="RO" Bits="31-16" Description="当前LPT模块的版本信息。" />
<Bit Name="FLTCKPRS" Authority="RO" Bits="15-8" Description="数字滤波器的时钟分频控制。&#xD;&#xA;数字滤波器的时钟频率为PCLK/( FLTCKPRS+1)" />
<Bit Name="SHDWSTP" Authority="RW" Bits="6" Description="START控制位的Shadow功能使能控制。&#xD;&#xA;0hShadow模式&#xD;&#xA;1hImmediate模式" />
<Bit Name="CSS" Authority="RW" Bits="4-2" Description="计数器时钟源选择位。&#xD;&#xA;0hPCLK/4&#xD;&#xA;1hISCLK&#xD;&#xA;2hIMCLK/4&#xD;&#xA;3hEMCLK&#xD;&#xA;4hLPT_IN的上升沿&#xD;&#xA;5hLPT_IN的下降沿&#xD;&#xA;其他:保留" />
<Bit Name="DBGEN" Authority="RW" Bits="1" Description="调试使能控制。调试使能时在CPU被调试器挂起时时基计数器的计数时钟同时也被挂起。&#xD;&#xA;0h调试禁止&#xD;&#xA;1h调试使能" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="时基计数器的时钟使能控制。&#xD;&#xA;0h计数器计数时钟禁止。&#xD;&#xA;1h计数器计数时钟使能。" />
</Register>
<Register Name="LPT_RSSR" Authority="RW" Address="0x40061004" Width="32" Description="">
<Bit Name="SRR" Authority="RW" Bits="15-12" Description="软件复位控制位。&#xD;&#xA;当对当前控制位写入0x5TIMER模块会被复位。复位后所有寄存器都恢复为RESET状态。" />
<Bit Name="START" Authority="RW" Bits="0" Description="计数器启动控制位。&#xD;&#xA;0h当写0停止计数器&#xD;&#xA;1h当写1启动计数器&#xD;&#xA;当对START位进行读取时返回当前计数器工作状态&#xD;&#xA;0h计数器处于IDLE状态&#xD;&#xA;1h计数器正在工作&#xD;&#xA;&#xD;&#xA;当LPT_CR[SWSYNEN]控制位为低时START控制位用于控制LPT的启动当LPT启动后再次写入START将被忽略当LPT_CR[SWSYNEN]控制位为高时START控制位用于软件触发同步事件每次对START的写入会产生一次外部Sync事件等同于SYNCR中的TRGUSR0触发。" />
</Register>
<Register Name="LPT_PSCR" Authority="RW" Address="0x40061008" Width="32" Description="">
<Bit Name="PSC" Authority="RW" Bits="3-0" Description="时钟分频控制。&#xD;&#xA;TCLK作为时基模块的计时时钟和工作时钟。&#xD;&#xA;0x0不分频&#xD;&#xA;0x12分频&#xD;&#xA;0x24分频&#xD;&#xA;0x38分频&#xD;&#xA;0x416分频&#xD;&#xA;0x532分频&#xD;&#xA;0x664分频&#xD;&#xA;0x7128分频&#xD;&#xA;0x8256分频&#xD;&#xA;0x9512分频&#xD;&#xA;0xA1024分频&#xD;&#xA;0xB2048分频&#xD;&#xA;0xC4096分频&#xD;&#xA;其他:保留" />
</Register>
<Register Name="LPT_CR" Authority="RW" Address="0x4006100c" Width="32" Description="">
<Bit Name="CMPLD" Authority="RW" Bits="17" Description="CMP寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;0h立即更新所有对CMP操作直接作用于活动寄存器 [2]&#xD;&#xA;1hCMP活动寄存器更新发生在周期结束时" />
<Bit Name="PSCLD" Authority="RW" Bits="16" Description="PSCR寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;0hPSCR活动寄存器更新发生在启动或者外部触发时&#xD;&#xA;1hPSCR活动寄存器更新发生在周期结束启动或者外部触发时" />
<Bit Name="FLTDEB" Authority="RW" Bits="15-13" Description="数字滤波去抖控制。此控制定义了滤波器监测的步数只有连续N次监测结果一致时滤波器才输出有效的电平翻转。滤波器的采样时钟频率在通过CKS控制位定义。&#xD;&#xA;000bBypass&#xD;&#xA;001bN = 2&#xD;&#xA;010bN = 3&#xD;&#xA;011bN = 4&#xD;&#xA;100bN = 6&#xD;&#xA;101bN = 8&#xD;&#xA;110bN = 16&#xD;&#xA;111bN = 32" />
<Bit Name="FLTIPSCLD" Authority="RW" Bits="10" Description="数字滤波器初始化控制。对该控制写1可以初始化数字滤波器计数器计数器值被初始化为CEDR[FLTCKPRS]中的设置值。&#xD;&#xA;0h无效&#xD;&#xA;1h执行初始化" />
<Bit Name="OPM" Authority="RW" Bits="6" Description="计数器单次触发工作模式选择。&#xD;&#xA;0h连续计数工作模式&#xD;&#xA;1h单次触发工作模式&#xD;&#xA;其他:保留" />
<Bit Name="POL" Authority="RW" Bits="5" Description="波形输出极性控制。&#xD;&#xA;0h当CNT的值小于CMP时输出高电平&#xD;&#xA;1h当CNT的值小于CMP时输出低电平" />
<Bit Name="PRDLD" Authority="RW" Bits="4" Description="PRDR活动寄存器载入控制。活动寄存器在配置条件满足时从影子寄存器载入更新值。&#xD;&#xA;0h立即更新所有对PRDR操作直接作用于活动寄存器 [1]&#xD;&#xA;1hPRDR活动寄存器更新发生在周期结束时" />
<Bit Name="IDLEST" Authority="RW" Bits="3" Description="波形输出被停止时,输出端口的缺省状态。&#xD;&#xA;0h高阻输出&#xD;&#xA;1h低电平输出" />
<Bit Name="SWSYNEN" Authority="RW" Bits="2" Description="软件使能同步触发使能控制RSSR中START控制位。&#xD;&#xA;0h设置SW START控制只用于启动。&#xD;&#xA;1h设置SW START控制用于启动和以产生一次外部触发的方式重新启动。" />
</Register>
<Register Name="LPT_SYNCR" Authority="RW" Address="0x40061010" Width="32" Description="">
<Bit Name="AREARM" Authority="RW" Bits="30" Description="硬件自动REARM控制位。&#xD;&#xA;0禁止硬件自动REARM&#xD;&#xA;1周期结束时自动REARM" />
<Bit Name="REARMx" Authority="RW" Bits="16" Description="在一次性同步触发模式下,软件重置当前通道状态控制位。&#xD;&#xA;当读取时,返回当前通道状态&#xD;&#xA;0h允许触发&#xD;&#xA;1h已经检测到触发不允许后续触发&#xD;&#xA;当写入时,&#xD;&#xA;0h无效&#xD;&#xA;1h清除当前通道状态并允许新的触发" />
<Bit Name="OSTMDx" Authority="RW" Bits="8" Description="一次性同步触发模式选择。&#xD;&#xA;0h连续触发模式&#xD;&#xA;1h一次性触发模式&#xD;&#xA;当该输入通道被设置为一次性触发模式后在一次触发事件被检测到后该通道将不允许后续的触发事件通过直到被软件重置REARM后才允许新的触发事件通过。" />
<Bit Name="SYNCEN0" Authority="RW" Bits="0" Description="外部同步触发使能控制。&#xD;&#xA;0禁止当前触发输入通道&#xD;&#xA;1使能当前触发输入通道&#xD;&#xA;LPT_SYNCIN0外部Sync事件 (来自ETCB模块)" />
</Register>
<Register Name="LPT_PRDR" Authority="RW" Address="0x40061014" Width="32" Description="">
<Bit Name="PRDR" Authority="RW" Bits="15-0" Description="时基控制周期寄存器。&#xD;&#xA;此控制位决定了PWM输出波形的周期值。通过设置LPT_CR[PRDLD]可以选择Shadow到Active载入的触发条件。" />
</Register>
<Register Name="LPT_CMP" Authority="RW" Address="0x40061018" Width="32" Description="">
<Bit Name="CMP" Authority="RW" Bits="15-0" Description="比较值寄存器。&#xD;&#xA;此寄存器有Shadow寄存器只有在周期结束时才会对活动寄存器进行更新。" />
</Register>
<Register Name="LPT_CNT" Authority="RW" Address="0x4006101c" Width="32" Description="">
<Bit Name="CNT" Authority="RW" Bits="15-0" Description="时基计数器寄存器。&#xD;&#xA;对CNT读取时返回当前计数器值。对CNT写入时将直接更新CNT的计数值。CNT计数器没有Shadow寄存器CPU的写入将直接影响当前计数器值。" />
</Register>
<Register Name="LPT_TRGFCR" Authority="RW" Address="0x40061020" Width="32" Description="">
<Bit Name="CROSSMD" Authority="RW" Bits="7" Description="允许滤波窗跨越多个TB的周期。&#xD;&#xA;缺省条件下,当滤波窗在周期结束时若任然有效,将跨过周期点,一直持续到窗口计数器溢出。当禁止跨周期时,在周期结束时,窗口计数器将被停止。&#xD;&#xA;0h禁止跨周期&#xD;&#xA;1h允许跨周期" />
<Bit Name="BLKINV" Authority="RW" Bits="4" Description="窗口使能反转控制。&#xD;&#xA;0h窗口不反转&#xD;&#xA;1h窗口反转" />
<Bit Name="SRC_SEL" Authority="RW" Bits="0" Description="滤波模块的输入信号选择。&#xD;&#xA;0h禁止滤波&#xD;&#xA;1h使能LPT_SYNCIN滤波" />
</Register>
<Register Name="LPT_TRGFWR" Authority="RW" Address="0x40061024" Width="32" Description="">
<Bit Name="WINDOW" Authority="RW" Bits="31-16" Description="滤波窗的宽度设置。&#xD;&#xA;此16bit控制位定义了滤波窗的宽度窗口宽度是基于TCLK的计数值。当OFFSET计数器溢出时WINDOW计数器被重置并开始计数直到溢出。当OFFSET计数器溢出但WINDOW状态已经激活时WINDOW计数器不会重置。在应用时必须注意此条件的设置。" />
<Bit Name="OFFSET" Authority="RW" Bits="15-0" Description="滤波窗的OFFSET设置。&#xD;&#xA;此16bit控制位定义了从周期起始位置开始计数多少个TCLK后开始有效的滤波窗口。OFFSET的Shadow寄存器在周期起始时载入到Active寄存器中并重新开始计数。" />
</Register>
<Register Name="LPT_EVTRG" Authority="RW" Address="0x40061028" Width="32" Description="">
<Bit Name="TRG0OE" Authority="RW" Bits="20" Description="外部触发端口TRGOUT0使能&#xD;&#xA;0h禁止触发输出&#xD;&#xA;1h允许触发输出" />
<Bit Name="TRG0SEL" Authority="RW" Bits="3-0" Description="TRGEV0事件的触发源选择。&#xD;&#xA;0000禁止TRGOUT触发输出&#xD;&#xA;0001当 CNT = ZRO 产生TRGEV0事件&#xD;&#xA;0010当 CNT = PRD 产生TRGEV0事件&#xD;&#xA;0011当 CNT = ZRO or CNT = PRD 产生TRGEV0事件&#xD;&#xA;0100当 CNT = CMP时产生TRGEV0事件&#xD;&#xA;其他:保留" />
</Register>
<Register Name="LPT_EVPS" Authority="RW" Address="0x4006102c" Width="32" Description="">
<Bit Name="TRGEV0CNT" Authority="RW" Bits="19-16" Description="TRGEV0事件计数器设置。&#xD;&#xA;读取时,返回当前事件计数器值;&#xD;&#xA;写入时,直接更新事件计数器值。" />
<Bit Name="TRGEV0PRD" Authority="RW" Bits="3-0" Description="TRGEV0事件计数的周期设置。&#xD;&#xA;当TRGEV0事件发生次数满足周期时才产生TRGEV0触发事件" />
</Register>
<Register Name="LPT_EVSWF" Authority="RW" Address="0x40061030" Width="32" Description="">
<Bit Name="EV0SWF" Authority="RW" Bits="0" Description="软件产生一次EV0的触发&#xD;&#xA;0h写入0无效&#xD;&#xA;1h软件产生一次触发" />
</Register>
<Register Name="LPT_RISR" Authority="RW" Address="0x40061034" Width="32" Description="">
<Bit Name="PEND" Authority="RO" Bits="2" Description="PEND中断请求原始标志状态" />
<Bit Name="MATCH" Authority="RO" Bits="1" Description="MATCH中断请求原始标志状态" />
<Bit Name="TRGEV0" Authority="RO" Bits="0" Description="TRGEV0中断请求原始标志状态" />
</Register>
<Register Name="LPT_MISR" Authority="RW" Address="0x40061038" Width="32" Description="">
<Bit Name="PEND" Authority="RO" Bits="2" Description="PEND中断请求标志状态" />
<Bit Name="MATCH" Authority="RO" Bits="1" Description="MATCH中断请求标志状态" />
<Bit Name="TRGEV0" Authority="RO" Bits="0" Description="TRGEV0中断请求标志状态" />
</Register>
<Register Name="LPT_IMCR" Authority="RW" Address="0x4006103c" Width="32" Description="">
<Bit Name="PEND" Authority="RW" Bits="2" Description="PEND中断使能控制位" />
<Bit Name="MATCH" Authority="RW" Bits="1" Description="MATCH中断使能控制位" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="TRGEV0中断使能控制位" />
</Register>
<Register Name="LPT_ICR" Authority="RW" Address="0x40061040" Width="32" Description="">
<Bit Name="PEND" Authority="RW" Bits="2" Description="清除PEND原始中断状态位" />
<Bit Name="MATCH" Authority="RW" Bits="1" Description="清除MATCH原始中断状态位" />
<Bit Name="TRGEV0" Authority="RW" Bits="0" Description="清除TRGEV0原始中断状态位" />
</Register>
</Peripheral>
<Peripheral Name="WWDT">
<Register Name="WWDT_CR" Authority="RW" Address="0x40062000" Width="32" Description="Control Register">
<Bit Name="WDTEN" Authority="RW" Bits="8" Description="看门狗使能控制位。&#xD;&#xA;0h禁止看门狗&#xD;&#xA;1h使能看门狗&#xD;&#xA;该使能控制位一旦使能后,不能通过软件关闭。需要复位后才能恢复初始禁止状态。" />
<Bit Name="CNT" Authority="RW" Bits="7-0" Description="计数器刷新值。&#xD;&#xA;写入时将当前计数器设置为CNT的值。&#xD;&#xA;读取时,返回当前计数器值。" />
</Register>
<Register Name="WWDT_CFGR" Authority="RW" Address="0x40062004" Width="32" Description="Configuration Register">
<Bit Name="DBGEN" Authority="RW" Bits="10" Description="调试模式控制位。&#xD;&#xA;0h禁止调试模式&#xD;&#xA;1h使能调试模式" />
<Bit Name="PSC" Authority="RW" Bits="9-8" Description="计数器时钟分频控制位。分频控制是基于PCLK/4096后的分频。&#xD;&#xA;0hPCLK/4096&#xD;&#xA;1hPCLK/4096/2&#xD;&#xA;2hPCLK/4096/4&#xD;&#xA;3hPCLK/4096/8" />
<Bit Name="WND" Authority="RW" Bits="7-0" Description="窗口预设值。&#xD;&#xA;当CNT的当前计数值大于窗口设置时任何对CNT的刷新操作都会触发复位事件窗口预设值寄存器没有缓冲设置后立即生效。" />
</Register>
<Register Name="WWDT_RISR" Authority="RW" Address="0x40062008" Width="32" Description="Raw Interrupt Status Register">
<Bit Name="EVI" Authority="RO" Bits="0" Description="EVI中断请求原始标志状态" />
</Register>
<Register Name="WWDT_MISR" Authority="RW" Address="0x4006200c" Width="32" Description="Masked Interrupt Status Register">
<Bit Name="EVI" Authority="RO" Bits="0" Description="EVI中断请求标志状态" />
</Register>
<Register Name="WWDT_IMCR" Authority="RW" Address="0x40062010" Width="32" Description="Interrupt Masking Control Register">
<Bit Name="EVI" Authority="RW" Bits="0" Description="EVI中断使能控制位" />
</Register>
<Register Name="WWDT_ICR" Authority="RW" Address="0x40062014" Width="32" Description="Interrupt Pending Clear Register">
<Bit Name="EVI" Authority="RW" Bits="0" Description="" />
</Register>
</Peripheral>
<Peripheral Name="UART0">
<Register Name="UART_DATA" Authority="RW" Address="0x40080000" Width="32" Description="数据寄存器">
<Bit Name="DATA" Authority="RW" Bits="7-0" Description="发送或接收到的数据&#xD;&#xA;读 = 接收到的数据&#xD;&#xA;写 = 发送的数据" />
</Register>
<Register Name="UART_SR" Authority="RW" Address="0x40080004" Width="32" Description="状态寄存器">
<Bit Name="RFF" Authority="RO" Bits="8" Description="接收FIFO是否已满状态位&#xD;&#xA;0 = 接收FIFO未满&#xD;&#xA;1 = 接收FIFO已满" />
<Bit Name="RNE" Authority="RO" Bits="7" Description="接收FIFO是否为空状态位&#xD;&#xA;0 = 接收FIFO为空&#xD;&#xA;1 = 接收FIFO非空" />
<Bit Name="TNF" Authority="RO" Bits="6" Description="发送FIFO是否已满状态位&#xD;&#xA;0 = 发送FIFO已满&#xD;&#xA;1 = 发送FIFO未满" />
<Bit Name="TFE" Authority="RO" Bits="5" Description="发送FIFO是否为空状态位&#xD;&#xA;0 = 发送FIFO非空&#xD;&#xA;1 = 发送FIFO为空" />
<Bit Name="PARITY_SR" Authority="RW" Bits="4" Description="PARITY 错误状态位&#xD;&#xA;0 = 校验没有错误&#xD;&#xA;1 = 校验出错&#xD;&#xA;1 = 清除校验错误状态位(写)" />
<Bit Name="RX_OVER" Authority="RW" Bits="3" Description="RX缓冲区溢出状态&#xD;&#xA;0 = RX缓冲区没有溢出&#xD;&#xA;1 = RX缓冲区溢出(读取)&#xD;&#xA;1 =清除RX缓冲区溢出标志(写)" />
<Bit Name="TX_OVER" Authority="RW" Bits="2" Description="TX缓冲区溢出状态&#xD;&#xA;0 = TX缓冲区没有溢出&#xD;&#xA;1 = TX缓冲区溢出(读取)&#xD;&#xA;1 = 清除TX缓冲区溢出标志(写)" />
<Bit Name="RX_FULL" Authority="RO" Bits="1" Description="RX缓冲区状态&#xD;&#xA;0 = RX缓冲区没有满(未收到数据或数据已被读取)&#xD;&#xA;1 = RX缓冲区已满(收到数据,并且未被读取)" />
<Bit Name="TX_FULL" Authority="RO" Bits="0" Description="TX缓冲区状态&#xD;&#xA;0 = TX缓冲区没有满(可以发送数据)&#xD;&#xA;1 = TX缓冲区已满(正在发送数据)" />
</Register>
<Register Name="UART_CTRL" Authority="RW" Address="0x40080008" Width="32" Description="控制寄存器">
<Bit Name="DBGEN" Authority="RW" Bits="31" Description="调试使能&#xD;&#xA;0= 调试禁止&#xD;&#xA;1= 调试使能进入调试模式后UART不工作" />
<Bit Name="INT_TX_DONE_EN" Authority="RW" Bits="19" Description="发送完成中断使能/禁止&#xD;&#xA;0= 禁止发送完成中断&#xD;&#xA;1= 使能发送完成中断" />
<Bit Name="INT_OVER" Authority="RW" Bits="18" Description="FIFO使能下的RX溢出中断使能/禁止&#xD;&#xA;0= 禁止RX溢出中断&#xD;&#xA;1= 使能RX溢出中断" />
<Bit Name="RXIFLSEL" Authority="RW" Bits="16-14" Description="接收FIFO中断触发点选择位&#xD;&#xA;001 接收FIFO占用&gt;=1/8&#xD;&#xA;010 接收FIFO占用&gt;=1/4&#xD;&#xA;100 接收FIFO占用&gt;=1/2&#xD;&#xA;Others=保留" />
<Bit Name="INT_FIFO" Authority="RW" Bits="13-12" Description="[13]FIFO使能下的RX中断使能/禁止&#xD;&#xA;0= 禁止RX中断&#xD;&#xA;1= 使能RX中断" />
<Bit Name="FIFO_EN" Authority="RW" Bits="11" Description="FIFO模块有效接收和发送模式下都需要经过相应的FIFO模块&#xD;&#xA;0= 禁用FIFO&#xD;&#xA;1= 使能FIFO" />
<Bit Name="PARITY" Authority="RW" Bits="10-8" Description="校验位类型&#xD;&#xA;0XX无校验位&#xD;&#xA;100偶校验&#xD;&#xA;101奇校验&#xD;&#xA;1100校验校验位一直为0(Space)&#xD;&#xA;1111校验校验位一直为1(Mark)" />
<Bit Name="INT_PARITY" Authority="RW" Bits="7" Description="PARITY中断使能/禁止&#xD;&#xA;0 = 禁止PARITY中断&#xD;&#xA;1 = 使能PARITY中断" />
<Bit Name="TEST" Authority="RW" Bits="6" Description="测试模式&#xD;&#xA;此为请保持为0" />
<Bit Name="INT_OVER_RX" Authority="RW" Bits="5" Description="RX溢出中断使能/禁止&#xD;&#xA;0 = 禁止RX溢出中断&#xD;&#xA;1 = 使能RX溢出中断" />
<Bit Name="INT_OVER_TX" Authority="RW" Bits="4" Description="TX溢出中断使能/禁止&#xD;&#xA;0 = 禁止TX溢出中断&#xD;&#xA;1 = 使能TX溢出中断" />
<Bit Name="INT_RX" Authority="RW" Bits="3" Description="RX 中断使能/禁止&#xD;&#xA;0 = 禁止RX中断&#xD;&#xA;1 = 使能RX中断" />
<Bit Name="INT_TX" Authority="RW" Bits="2" Description="TX 中断使能/禁止&#xD;&#xA;0 = 禁止TX中断&#xD;&#xA;1 = 使能TX中断" />
<Bit Name="RX" Authority="RW" Bits="1" Description="RX 使能/禁止&#xD;&#xA;0 = 禁止RX&#xD;&#xA;1 = 使能RX" />
<Bit Name="TX" Authority="RW" Bits="0" Description="TX 使能/禁止&#xD;&#xA;0 = 禁止TX&#xD;&#xA;1 = 使能TX" />
</Register>
<Register Name="UART_ISR" Authority="RW" Address="0x4008000c" Width="32" Description="中断状态寄存器">
<Bit Name="TX_DONE_INT" Authority="RO" Bits="19" Description="发送完成中断&#xD;&#xA;0= 发送完成中断没发生&#xD;&#xA;1= 发送完成中断发生(读取)&#xD;&#xA;1= 清除发送完成中断(写)" />
<Bit Name="RORMIS" Authority="RO" Bits="7" Description="接收FIFO溢出中断&#xD;&#xA;0= 溢出中断没发生&#xD;&#xA;1= 溢出中断发生(读取)&#xD;&#xA;1= 清除溢出中断(写)" />
<Bit Name="RXMIS" Authority="RO" Bits="6" Description="接收FIFO中断&#xD;&#xA;0= RX中断没发生&#xD;&#xA;1= RX中断发生(读取)" />
<Bit Name="TXMIS" Authority="RO" Bits="5" Description="发送FIFO中断&#xD;&#xA;0= TX中断没发生&#xD;&#xA;1= TX中断发生(读取)" />
<Bit Name="PARITY_ERR" Authority="RW" Bits="4" Description="PARITY错误中断&#xD;&#xA;0= PARITY错误中断没发生&#xD;&#xA;1= PARITY错误中断发生(读取)&#xD;&#xA;1= 清除PARITY中断(写)" />
<Bit Name="RX_OVER_INT" Authority="RW" Bits="3" Description="RX溢出中断&#xD;&#xA;0 = RX溢出中断没发生&#xD;&#xA;1 = RX溢出中断发生(读取)&#xD;&#xA;1 = 清除RX溢出中断(写)" />
<Bit Name="TX_OVER_INT" Authority="RW" Bits="2" Description="TX溢出中断&#xD;&#xA;0 = TX溢出中断没发生&#xD;&#xA;1 = TX溢出中断发生(读取)&#xD;&#xA;1 = 清除TX溢出中断(写)" />
<Bit Name="RX_INT" Authority="RW" Bits="1" Description="RX中断&#xD;&#xA;0 = RX中断没发生&#xD;&#xA;1 = RX中断发生(读取)&#xD;&#xA;1 = 清除RX中断(写)" />
<Bit Name="TX_INT" Authority="RW" Bits="0" Description="TX中断&#xD;&#xA;0 = TX中断没发生&#xD;&#xA;1 = TX中断发生(读取)&#xD;&#xA;1 = 清除TX中断(写)" />
</Register>
<Register Name="UART_BRDIV" Authority="RW" Address="0x40080010" Width="32" Description="波特率分频寄存器">
<Bit Name="DIV" Authority="RW" Bits="19-0" Description="波特率分频&#xD;&#xA;最小值为16" />
</Register>
</Peripheral>
<Peripheral Name="UART1">
<Register Name="UART_DATA" Authority="RW" Address="0x40081000" Width="32" Description="数据寄存器">
<Bit Name="DATA" Authority="RW" Bits="7-0" Description="发送或接收到的数据&#xD;&#xA;读 = 接收到的数据&#xD;&#xA;写 = 发送的数据" />
</Register>
<Register Name="UART_SR" Authority="RW" Address="0x40081004" Width="32" Description="状态寄存器">
<Bit Name="RFF" Authority="RO" Bits="8" Description="接收FIFO是否已满状态位&#xD;&#xA;0 = 接收FIFO未满&#xD;&#xA;1 = 接收FIFO已满" />
<Bit Name="RNE" Authority="RO" Bits="7" Description="接收FIFO是否为空状态位&#xD;&#xA;0 = 接收FIFO为空&#xD;&#xA;1 = 接收FIFO非空" />
<Bit Name="TNF" Authority="RO" Bits="6" Description="发送FIFO是否已满状态位&#xD;&#xA;0 = 发送FIFO已满&#xD;&#xA;1 = 发送FIFO未满" />
<Bit Name="TFE" Authority="RO" Bits="5" Description="发送FIFO是否为空状态位&#xD;&#xA;0 = 发送FIFO非空&#xD;&#xA;1 = 发送FIFO为空" />
<Bit Name="PARITY_SR" Authority="RW" Bits="4" Description="PARITY 错误状态位&#xD;&#xA;0 = 校验没有错误&#xD;&#xA;1 = 校验出错&#xD;&#xA;1 = 清除校验错误状态位(写)" />
<Bit Name="RX_OVER" Authority="RW" Bits="3" Description="RX缓冲区溢出状态&#xD;&#xA;0 = RX缓冲区没有溢出&#xD;&#xA;1 = RX缓冲区溢出(读取)&#xD;&#xA;1 =清除RX缓冲区溢出标志(写)" />
<Bit Name="TX_OVER" Authority="RW" Bits="2" Description="TX缓冲区溢出状态&#xD;&#xA;0 = TX缓冲区没有溢出&#xD;&#xA;1 = TX缓冲区溢出(读取)&#xD;&#xA;1 = 清除TX缓冲区溢出标志(写)" />
<Bit Name="RX_FULL" Authority="RO" Bits="1" Description="RX缓冲区状态&#xD;&#xA;0 = RX缓冲区没有满(未收到数据或数据已被读取)&#xD;&#xA;1 = RX缓冲区已满(收到数据,并且未被读取)" />
<Bit Name="TX_FULL" Authority="RO" Bits="0" Description="TX缓冲区状态&#xD;&#xA;0 = TX缓冲区没有满(可以发送数据)&#xD;&#xA;1 = TX缓冲区已满(正在发送数据)" />
</Register>
<Register Name="UART_CTRL" Authority="RW" Address="0x40081008" Width="32" Description="控制寄存器">
<Bit Name="DBGEN" Authority="RW" Bits="31" Description="调试使能&#xD;&#xA;0= 调试禁止&#xD;&#xA;1= 调试使能进入调试模式后UART不工作" />
<Bit Name="INT_TX_DONE_EN" Authority="RW" Bits="19" Description="发送完成中断使能/禁止&#xD;&#xA;0= 禁止发送完成中断&#xD;&#xA;1= 使能发送完成中断" />
<Bit Name="INT_OVER" Authority="RW" Bits="18" Description="FIFO使能下的RX溢出中断使能/禁止&#xD;&#xA;0= 禁止RX溢出中断&#xD;&#xA;1= 使能RX溢出中断" />
<Bit Name="RXIFLSEL" Authority="RW" Bits="16-14" Description="接收FIFO中断触发点选择位&#xD;&#xA;001 接收FIFO占用&gt;=1/8&#xD;&#xA;010 接收FIFO占用&gt;=1/4&#xD;&#xA;100 接收FIFO占用&gt;=1/2&#xD;&#xA;Others=保留" />
<Bit Name="INT_FIFO" Authority="RW" Bits="13-12" Description="[13]FIFO使能下的RX中断使能/禁止&#xD;&#xA;0= 禁止RX中断&#xD;&#xA;1= 使能RX中断" />
<Bit Name="FIFO_EN" Authority="RW" Bits="11" Description="FIFO模块有效接收和发送模式下都需要经过相应的FIFO模块&#xD;&#xA;0= 禁用FIFO&#xD;&#xA;1= 使能FIFO" />
<Bit Name="PARITY" Authority="RW" Bits="10-8" Description="校验位类型&#xD;&#xA;0XX无校验位&#xD;&#xA;100偶校验&#xD;&#xA;101奇校验&#xD;&#xA;1100校验校验位一直为0(Space)&#xD;&#xA;1111校验校验位一直为1(Mark)" />
<Bit Name="INT_PARITY" Authority="RW" Bits="7" Description="PARITY中断使能/禁止&#xD;&#xA;0 = 禁止PARITY中断&#xD;&#xA;1 = 使能PARITY中断" />
<Bit Name="TEST" Authority="RW" Bits="6" Description="测试模式&#xD;&#xA;此为请保持为0" />
<Bit Name="INT_OVER_RX" Authority="RW" Bits="5" Description="RX溢出中断使能/禁止&#xD;&#xA;0 = 禁止RX溢出中断&#xD;&#xA;1 = 使能RX溢出中断" />
<Bit Name="INT_OVER_TX" Authority="RW" Bits="4" Description="TX溢出中断使能/禁止&#xD;&#xA;0 = 禁止TX溢出中断&#xD;&#xA;1 = 使能TX溢出中断" />
<Bit Name="INT_RX" Authority="RW" Bits="3" Description="RX 中断使能/禁止&#xD;&#xA;0 = 禁止RX中断&#xD;&#xA;1 = 使能RX中断" />
<Bit Name="INT_TX" Authority="RW" Bits="2" Description="TX 中断使能/禁止&#xD;&#xA;0 = 禁止TX中断&#xD;&#xA;1 = 使能TX中断" />
<Bit Name="RX" Authority="RW" Bits="1" Description="RX 使能/禁止&#xD;&#xA;0 = 禁止RX&#xD;&#xA;1 = 使能RX" />
<Bit Name="TX" Authority="RW" Bits="0" Description="TX 使能/禁止&#xD;&#xA;0 = 禁止TX&#xD;&#xA;1 = 使能TX" />
</Register>
<Register Name="UART_ISR" Authority="RW" Address="0x4008100c" Width="32" Description="中断状态寄存器">
<Bit Name="TX_DONE_INT" Authority="RO" Bits="19" Description="发送完成中断&#xD;&#xA;0= 发送完成中断没发生&#xD;&#xA;1= 发送完成中断发生(读取)&#xD;&#xA;1= 清除发送完成中断(写)" />
<Bit Name="RORMIS" Authority="RO" Bits="7" Description="接收FIFO溢出中断&#xD;&#xA;0= 溢出中断没发生&#xD;&#xA;1= 溢出中断发生(读取)&#xD;&#xA;1= 清除溢出中断(写)" />
<Bit Name="RXMIS" Authority="RO" Bits="6" Description="接收FIFO中断&#xD;&#xA;0= RX中断没发生&#xD;&#xA;1= RX中断发生(读取)" />
<Bit Name="TXMIS" Authority="RO" Bits="5" Description="发送FIFO中断&#xD;&#xA;0= TX中断没发生&#xD;&#xA;1= TX中断发生(读取)" />
<Bit Name="PARITY_ERR" Authority="RW" Bits="4" Description="PARITY错误中断&#xD;&#xA;0= PARITY错误中断没发生&#xD;&#xA;1= PARITY错误中断发生(读取)&#xD;&#xA;1= 清除PARITY中断(写)" />
<Bit Name="RX_OVER_INT" Authority="RW" Bits="3" Description="RX溢出中断&#xD;&#xA;0 = RX溢出中断没发生&#xD;&#xA;1 = RX溢出中断发生(读取)&#xD;&#xA;1 = 清除RX溢出中断(写)" />
<Bit Name="TX_OVER_INT" Authority="RW" Bits="2" Description="TX溢出中断&#xD;&#xA;0 = TX溢出中断没发生&#xD;&#xA;1 = TX溢出中断发生(读取)&#xD;&#xA;1 = 清除TX溢出中断(写)" />
<Bit Name="RX_INT" Authority="RW" Bits="1" Description="RX中断&#xD;&#xA;0 = RX中断没发生&#xD;&#xA;1 = RX中断发生(读取)&#xD;&#xA;1 = 清除RX中断(写)" />
<Bit Name="TX_INT" Authority="RW" Bits="0" Description="TX中断&#xD;&#xA;0 = TX中断没发生&#xD;&#xA;1 = TX中断发生(读取)&#xD;&#xA;1 = 清除TX中断(写)" />
</Register>
<Register Name="UART_BRDIV" Authority="RW" Address="0x40081010" Width="32" Description="波特率分频寄存器">
<Bit Name="DIV" Authority="RW" Bits="19-0" Description="波特率分频&#xD;&#xA;最小值为16" />
</Register>
</Peripheral>
<Peripheral Name="UART2">
<Register Name="UART_DATA" Authority="RW" Address="0x40082000" Width="32" Description="数据寄存器">
<Bit Name="DATA" Authority="RW" Bits="7-0" Description="发送或接收到的数据&#xD;&#xA;读 = 接收到的数据&#xD;&#xA;写 = 发送的数据" />
</Register>
<Register Name="UART_SR" Authority="RW" Address="0x40082004" Width="32" Description="状态寄存器">
<Bit Name="RFF" Authority="RO" Bits="8" Description="接收FIFO是否已满状态位&#xD;&#xA;0 = 接收FIFO未满&#xD;&#xA;1 = 接收FIFO已满" />
<Bit Name="RNE" Authority="RO" Bits="7" Description="接收FIFO是否为空状态位&#xD;&#xA;0 = 接收FIFO为空&#xD;&#xA;1 = 接收FIFO非空" />
<Bit Name="TNF" Authority="RO" Bits="6" Description="发送FIFO是否已满状态位&#xD;&#xA;0 = 发送FIFO已满&#xD;&#xA;1 = 发送FIFO未满" />
<Bit Name="TFE" Authority="RO" Bits="5" Description="发送FIFO是否为空状态位&#xD;&#xA;0 = 发送FIFO非空&#xD;&#xA;1 = 发送FIFO为空" />
<Bit Name="PARITY_SR" Authority="RW" Bits="4" Description="PARITY 错误状态位&#xD;&#xA;0 = 校验没有错误&#xD;&#xA;1 = 校验出错&#xD;&#xA;1 = 清除校验错误状态位(写)" />
<Bit Name="RX_OVER" Authority="RW" Bits="3" Description="RX缓冲区溢出状态&#xD;&#xA;0 = RX缓冲区没有溢出&#xD;&#xA;1 = RX缓冲区溢出(读取)&#xD;&#xA;1 =清除RX缓冲区溢出标志(写)" />
<Bit Name="TX_OVER" Authority="RW" Bits="2" Description="TX缓冲区溢出状态&#xD;&#xA;0 = TX缓冲区没有溢出&#xD;&#xA;1 = TX缓冲区溢出(读取)&#xD;&#xA;1 = 清除TX缓冲区溢出标志(写)" />
<Bit Name="RX_FULL" Authority="RO" Bits="1" Description="RX缓冲区状态&#xD;&#xA;0 = RX缓冲区没有满(未收到数据或数据已被读取)&#xD;&#xA;1 = RX缓冲区已满(收到数据,并且未被读取)" />
<Bit Name="TX_FULL" Authority="RO" Bits="0" Description="TX缓冲区状态&#xD;&#xA;0 = TX缓冲区没有满(可以发送数据)&#xD;&#xA;1 = TX缓冲区已满(正在发送数据)" />
</Register>
<Register Name="UART_CTRL" Authority="RW" Address="0x40082008" Width="32" Description="控制寄存器">
<Bit Name="DBGEN" Authority="RW" Bits="31" Description="调试使能&#xD;&#xA;0= 调试禁止&#xD;&#xA;1= 调试使能进入调试模式后UART不工作" />
<Bit Name="INT_TX_DONE_EN" Authority="RW" Bits="19" Description="发送完成中断使能/禁止&#xD;&#xA;0= 禁止发送完成中断&#xD;&#xA;1= 使能发送完成中断" />
<Bit Name="INT_OVER" Authority="RW" Bits="18" Description="FIFO使能下的RX溢出中断使能/禁止&#xD;&#xA;0= 禁止RX溢出中断&#xD;&#xA;1= 使能RX溢出中断" />
<Bit Name="RXIFLSEL" Authority="RW" Bits="16-14" Description="接收FIFO中断触发点选择位&#xD;&#xA;001 接收FIFO占用&gt;=1/8&#xD;&#xA;010 接收FIFO占用&gt;=1/4&#xD;&#xA;100 接收FIFO占用&gt;=1/2&#xD;&#xA;Others=保留" />
<Bit Name="INT_FIFO" Authority="RW" Bits="13-12" Description="[13]FIFO使能下的RX中断使能/禁止&#xD;&#xA;0= 禁止RX中断&#xD;&#xA;1= 使能RX中断" />
<Bit Name="FIFO_EN" Authority="RW" Bits="11" Description="FIFO模块有效接收和发送模式下都需要经过相应的FIFO模块&#xD;&#xA;0= 禁用FIFO&#xD;&#xA;1= 使能FIFO" />
<Bit Name="PARITY" Authority="RW" Bits="10-8" Description="校验位类型&#xD;&#xA;0XX无校验位&#xD;&#xA;100偶校验&#xD;&#xA;101奇校验&#xD;&#xA;1100校验校验位一直为0(Space)&#xD;&#xA;1111校验校验位一直为1(Mark)" />
<Bit Name="INT_PARITY" Authority="RW" Bits="7" Description="PARITY中断使能/禁止&#xD;&#xA;0 = 禁止PARITY中断&#xD;&#xA;1 = 使能PARITY中断" />
<Bit Name="TEST" Authority="RW" Bits="6" Description="测试模式&#xD;&#xA;此为请保持为0" />
<Bit Name="INT_OVER_RX" Authority="RW" Bits="5" Description="RX溢出中断使能/禁止&#xD;&#xA;0 = 禁止RX溢出中断&#xD;&#xA;1 = 使能RX溢出中断" />
<Bit Name="INT_OVER_TX" Authority="RW" Bits="4" Description="TX溢出中断使能/禁止&#xD;&#xA;0 = 禁止TX溢出中断&#xD;&#xA;1 = 使能TX溢出中断" />
<Bit Name="INT_RX" Authority="RW" Bits="3" Description="RX 中断使能/禁止&#xD;&#xA;0 = 禁止RX中断&#xD;&#xA;1 = 使能RX中断" />
<Bit Name="INT_TX" Authority="RW" Bits="2" Description="TX 中断使能/禁止&#xD;&#xA;0 = 禁止TX中断&#xD;&#xA;1 = 使能TX中断" />
<Bit Name="RX" Authority="RW" Bits="1" Description="RX 使能/禁止&#xD;&#xA;0 = 禁止RX&#xD;&#xA;1 = 使能RX" />
<Bit Name="TX" Authority="RW" Bits="0" Description="TX 使能/禁止&#xD;&#xA;0 = 禁止TX&#xD;&#xA;1 = 使能TX" />
</Register>
<Register Name="UART_ISR" Authority="RW" Address="0x4008200c" Width="32" Description="中断状态寄存器">
<Bit Name="TX_DONE_INT" Authority="RO" Bits="19" Description="发送完成中断&#xD;&#xA;0= 发送完成中断没发生&#xD;&#xA;1= 发送完成中断发生(读取)&#xD;&#xA;1= 清除发送完成中断(写)" />
<Bit Name="RORMIS" Authority="RO" Bits="7" Description="接收FIFO溢出中断&#xD;&#xA;0= 溢出中断没发生&#xD;&#xA;1= 溢出中断发生(读取)&#xD;&#xA;1= 清除溢出中断(写)" />
<Bit Name="RXMIS" Authority="RO" Bits="6" Description="接收FIFO中断&#xD;&#xA;0= RX中断没发生&#xD;&#xA;1= RX中断发生(读取)" />
<Bit Name="TXMIS" Authority="RO" Bits="5" Description="发送FIFO中断&#xD;&#xA;0= TX中断没发生&#xD;&#xA;1= TX中断发生(读取)" />
<Bit Name="PARITY_ERR" Authority="RW" Bits="4" Description="PARITY错误中断&#xD;&#xA;0= PARITY错误中断没发生&#xD;&#xA;1= PARITY错误中断发生(读取)&#xD;&#xA;1= 清除PARITY中断(写)" />
<Bit Name="RX_OVER_INT" Authority="RW" Bits="3" Description="RX溢出中断&#xD;&#xA;0 = RX溢出中断没发生&#xD;&#xA;1 = RX溢出中断发生(读取)&#xD;&#xA;1 = 清除RX溢出中断(写)" />
<Bit Name="TX_OVER_INT" Authority="RW" Bits="2" Description="TX溢出中断&#xD;&#xA;0 = TX溢出中断没发生&#xD;&#xA;1 = TX溢出中断发生(读取)&#xD;&#xA;1 = 清除TX溢出中断(写)" />
<Bit Name="RX_INT" Authority="RW" Bits="1" Description="RX中断&#xD;&#xA;0 = RX中断没发生&#xD;&#xA;1 = RX中断发生(读取)&#xD;&#xA;1 = 清除RX中断(写)" />
<Bit Name="TX_INT" Authority="RW" Bits="0" Description="TX中断&#xD;&#xA;0 = TX中断没发生&#xD;&#xA;1 = TX中断发生(读取)&#xD;&#xA;1 = 清除TX中断(写)" />
</Register>
<Register Name="UART_BRDIV" Authority="RW" Address="0x40082010" Width="32" Description="波特率分频寄存器">
<Bit Name="DIV" Authority="RW" Bits="19-0" Description="波特率分频&#xD;&#xA;最小值为16" />
</Register>
</Peripheral>
<Peripheral Name="SPI">
<Register Name="SSP_CR0" Authority="RW" Address="0x40090000" Width="32" Description="SSP控制寄存器0">
<Bit Name="SCR" Authority="RW" Bits="15-8" Description="串行时钟分频位&#xD;&#xA;SCR用来产生发送和接收的比特率 &#xD;&#xA;比特率 = FPCLK/ (CPSDVR  (1 + SCR))&#xD;&#xA;CPSDVSR为2到254之间的偶数在SSPCPSR寄存器设置SCR为0到255之间任意值。" />
<Bit Name="SPH" Authority="RW" Bits="7" Description="SSPCLKOUT相位&#xD;&#xA;0 = 数据在第一个时钟沿捕捉&#xD;&#xA;1 = 数据在第二个时钟沿捕捉" />
<Bit Name="SPO" Authority="RW" Bits="6" Description="SSPCLK极性选择&#xD;&#xA;0 = 没有数据传送时SSPCLK管脚的稳定状态为低电平&#xD;&#xA;1 = 没有数据传送时SSPCLK管脚的稳定状态为高电平" />
<Bit Name="FRF" Authority="RW" Bits="5-4" Description="帧格式选择位&#xD;&#xA;Motorola SPI格式必须设置为00" />
<Bit Name="DSS" Authority="RW" Bits="3-0" Description="数据大小选择位&#xD;&#xA;00000010 = 保留&#xD;&#xA;0011 = 4位数据&#xD;&#xA;0100 = 5位数据&#xD;&#xA;0101 = 6位数据&#xD;&#xA;0110 = 7位数据&#xD;&#xA;0111 = 8位数据&#xD;&#xA;1000 = 9位数据&#xD;&#xA;1001 = 10位数据&#xD;&#xA;1010 = 11位数据&#xD;&#xA;1011 = 12位数据&#xD;&#xA;1100 = 13位数据&#xD;&#xA;1101 = 14位数据&#xD;&#xA;1110 = 15位数据&#xD;&#xA;1111 = 16位数据" />
</Register>
<Register Name="SSP_CR1" Authority="RW" Address="0x40090004" Width="32" Description="SSP控制寄存器1">
<Bit Name="LPTXOE" Authority="RW" Bits="8" Description="主机单线模式下,数据发送使能控制&#xD;&#xA;0 = 禁止数据发送&#xD;&#xA;1 = 使能数据发送" />
<Bit Name="LPMD" Authority="RW" Bits="7" Description="0 = SPI普通模式&#xD;&#xA;1 = 主机单线模式" />
<Bit Name="RXIFLSEL" Authority="RW" Bits="6-4" Description="接收FIFO中断触发点选择位&#xD;&#xA;001 接收FIFO占用&gt;= 1/8 &#xD;&#xA;010 接收FIFO占用&gt;= 1/4 &#xD;&#xA;100 接收FIFO占用&gt;= 1/2&#xD;&#xA;Others = 保留" />
<Bit Name="SOD" Authority="RW" Bits="3" Description="从机模式输出禁止位&#xD;&#xA;该位只有在从机模式(MS=1)下有效。在多从机系统里SSP主机可以向系统里的所有从机广播但是必须保证只有一个从机能够输出数据。在这样的系统里多从机的RXD必须短接在一起所以当SSP从机不应该输出数据驱动SSPTXD的时候SOD位必须置1。 &#xD;&#xA;0 = SSP在从机模式可以驱动SSPTXD输出&#xD;&#xA;1 = SSP在从机模式不驱动SSPTXD输出" />
<Bit Name="MS" Authority="RW" Bits="2" Description="主机或者从机模式&#xD;&#xA;0 = 配置为主机&#xD;&#xA;1 = 配置为从机" />
<Bit Name="SSE" Authority="RW" Bits="1" Description="SSP使能位&#xD;&#xA;0 = SSP禁止&#xD;&#xA;1 = SSP使能" />
<Bit Name="LBM" Authority="RW" Bits="0" Description="回送模式位&#xD;&#xA;0 = 正常串行输出操作&#xD;&#xA;1 = 发送移位寄存器的输出内部短接到接收串行移位寄存器" />
</Register>
<Register Name="SSP_DR" Authority="RW" Address="0x40090008" Width="32" Description="SSP接收FIFO数据寄存器 (读该寄存器时)SSP发送FIFO数据寄存器 (写该寄存器时)">
<Bit Name="DATA" Authority="RW" Bits="15-0" Description="" />
</Register>
<Register Name="SSP_SR" Authority="RW" Address="0x4009000c" Width="32" Description="SSP状态寄存器">
<Bit Name="BSY" Authority="RO" Bits="4" Description="SSP工作状态标志位&#xD;&#xA;0 = SSP空闲&#xD;&#xA;1 = SSP正在发送并且/或者正在接收或者发送FIFO非空" />
<Bit Name="RFF" Authority="RO" Bits="3" Description="接收FIFO是否已满状态位&#xD;&#xA;0 = 接收FIFO未满&#xD;&#xA;1 = 接收FIFO已满" />
<Bit Name="RNF" Authority="RO" Bits="2" Description="接收FIFO是否为空状态位&#xD;&#xA;0 = 接收FIFO为空&#xD;&#xA;1 = 接收FIFO非空" />
<Bit Name="TNF" Authority="RO" Bits="1" Description="发送FIFO是否已满状态位&#xD;&#xA;0 = 发送FIFO已满&#xD;&#xA;1 = 发送FIFO未满" />
<Bit Name="TFE" Authority="RO" Bits="0" Description="发送FIFO是否为空状态位&#xD;&#xA;0 = 发送FIFO非空&#xD;&#xA;1 = 发送FIFO空" />
</Register>
<Register Name="SSP_CPSR" Authority="RW" Address="0x40090010" Width="32" Description="SSP时钟分频寄存器">
<Bit Name="CPSDVSR" Authority="RW" Bits="7-0" Description="" />
</Register>
<Register Name="SSP_IMSCR" Authority="RW" Address="0x40090014" Width="32" Description="SSP中断使能/禁止寄存器">
<Bit Name="TXIM" Authority="RW" Bits="3" Description="发送FIFO中断 &#xD;&#xA;0 = 禁止发送FIFO中断&#xD;&#xA;1 = 使能发送FIFO中断" />
<Bit Name="RXIM" Authority="RW" Bits="2" Description="接收FIFO中断 &#xD;&#xA;0 = 禁止接收FIFO中断 (1/2, 1/4, or 1/8可选) &#xD;&#xA;1 = 使能接收FIFO中断 (1/2, 1/4, or 1/8可选)" />
<Bit Name="RTIM" Authority="RW" Bits="1" Description="接收超时中断 &#xD;&#xA;0 = 禁止RxFIFO超时中断&#xD;&#xA;1 = 使能RxFIFO超时中断" />
<Bit Name="RORIM" Authority="RW" Bits="0" Description="接收溢出中断&#xD;&#xA;0 = 禁止RxFIFO溢出中断&#xD;&#xA;1 = 使能RxFIFO溢出中断" />
</Register>
<Register Name="SSP_RISR" Authority="RW" Address="0x40090018" Width="32" Description="SSP中断原始状态寄存器">
<Bit Name="TXRIS" Authority="RO" Bits="3" Description="发送FIFO中断原始状态&#xD;&#xA;SSPTXINTR中断的原始状态不管该中断使能与否" />
<Bit Name="RXRIS" Authority="RO" Bits="2" Description="接收FIFO中断原始状态&#xD;&#xA;SSPRXINTR中断的原始状态不管该中断使能与否" />
<Bit Name="RTRIS" Authority="RO" Bits="1" Description="接收超时中断原始状态&#xD;&#xA;SSPRTINTR中断的原始状态不管该中断使能与否" />
<Bit Name="RORRIS" Authority="RO" Bits="0" Description="接收中断原始状态&#xD;&#xA;SSPRORINTR中断的原始状态不管该中断使能与否" />
</Register>
<Register Name="SSP_MISR" Authority="RW" Address="0x4009001c" Width="32" Description="SSP中断状态寄存器">
<Bit Name="TXMIS" Authority="RO" Bits="3" Description="发送FIFO中断原始状态&#xD;&#xA;SSPTXINTR中断的原始状态该中断使能后才能读到否则一直为0" />
<Bit Name="RXMIS" Authority="RO" Bits="2" Description="接收FIFO中断原始状态&#xD;&#xA;SSPRXINTR中断的原始状态该中断使能后才能读到否则一直为0" />
<Bit Name="RTMIS" Authority="RO" Bits="1" Description="接收超时中断原始状态&#xD;&#xA;SSPRTINTR中断的原始状态该中断使能后才能读到否则一直为0" />
<Bit Name="ROMIS" Authority="RO" Bits="0" Description="接收中断原始状态&#xD;&#xA;SSPRORINTR中断的原始状态该中断使能后才能读到否则一直为0" />
</Register>
<Register Name="SSP_ICR" Authority="RW" Address="0x40090020" Width="32" Description="SSP中断清除寄存器">
<Bit Name="RORIC" Authority="RW" Bits="1" Description="接收超时中断清除&#xD;&#xA;0 = 无效&#xD;&#xA;1 = 清除SSPRTINTR中断" />
<Bit Name="RTIC" Authority="RW" Bits="0" Description="接收溢出中断清除&#xD;&#xA;0 = 无效&#xD;&#xA;1 = 清除SSPRORINTR中断" />
</Register>
</Peripheral>
<Peripheral Name="I2C">
<Register Name="I2C_CR" Authority="RW" Address="0x400a0000" Width="32" Description="控制寄存器">
<Bit Name="BUS_CLR_EN" Authority="RW" Bits="11" Description="总线清除功能控制(只有在主机模式下有效)&#xD;&#xA;0: 禁用&#xD;&#xA;1: 使能&#xD;&#xA;从机模式下该功能不工作。" />
<Bit Name="RXFULL_HLD" Authority="RW" Bits="9" Description="当接收FIFO溢出时的总线控制&#xD;&#xA;0: 不占用总线&#xD;&#xA;1: 占用总线 (hold bus)" />
<Bit Name="TX_EMPTY_CON" Authority="RW" Bits="8" Description="TX_EMPTY (I2C_RISR)状态控制&#xD;&#xA;0: 当发送缓冲的指针小于或则等于I2C_TX_FLSEL寄存器设置的阈值时TX_EMPTY位置1&#xD;&#xA;1: 当发送缓冲的指针小于或则等于I2C_TX_FLSEL寄存器设置的阈值并且最近一个地址或者数据的传输完成时TX_EMPTY位置1" />
<Bit Name="STOP_DET_CON" Authority="RW" Bits="7" Description="STOP_DET中断控制 (只在从机模式下有效):&#xD;&#xA;0: 不管被寻址成功与否都产生STOP_DET中断&#xD;&#xA;1: 只有被成功寻址到才产生STOP_DET&#xD;&#xA;注意在general call寻址模式下如果STOP_DET_CON=1即使该从机设备产生了ACK去响应general call地址该设备也不会产生STOP_DET中断。&#xD;&#xA;只有当传输地址跟从机地址(SADDR)匹配的时候才会产生STOP_DET中断。" />
<Bit Name="SLAVEn" Authority="RW" Bits="6" Description="从机模式控制位&#xD;&#xA;0 = 使能从机模式 1 = 禁用从机模式&#xD;&#xA;注意如果此位写了0那么第0位MASTER也必须写0。" />
<Bit Name="RESTART_EN" Authority="RW" Bits="5" Description="重复起始位控制&#xD;&#xA;0: 禁止&#xD;&#xA;1: 使能&#xD;&#xA;控制主机模式下是否发送重复起始位,有些老的从机设备不支持重复起始位。" />
<Bit Name="MASTER_10BIT" Authority="RW" Bits="4" Description="主机模式寻址控制&#xD;&#xA;0: 7位寻址&#xD;&#xA;1: 10位寻址" />
<Bit Name="SLAVE_10BIT" Authority="RW" Bits="3" Description="从机模式寻址控制&#xD;&#xA;0: 7位寻址&#xD;&#xA;1: 10位寻址" />
<Bit Name="SPEED" Authority="RW" Bits="2-1" Description="I2C工作速度&#xD;&#xA;0x0: 无效&#xD;&#xA;0x1: 标准模式 (0 到 100 Kb/s)&#xD;&#xA;0x2: 高速模式 (&lt;=400 Kb/s) 或超高速模式 (&lt;=1000 Kb/s)&#xD;&#xA;0x3: 无效" />
<Bit Name="MASTER" Authority="RW" Bits="0" Description="主机模式控制位&#xD;&#xA;0: 禁用主机模式&#xD;&#xA;1: 使能主机模式&#xD;&#xA;注意如果此位写了1那么第6位SLAVEn也必须写1." />
</Register>
<Register Name="I2C_TADDR" Authority="RW" Address="0x400a0004" Width="32" Description="目标地址寄存器">
<Bit Name="SPECIAL" Authority="RW" Bits="11-10" Description="I2C地址的特殊命令控制表示I2C的操作类型普通地址general call或者起始字节。&#xD;&#xA;0x0: 普通I2C_TADDR地址&#xD;&#xA;0x1: 普通I2C_TADDR地址&#xD;&#xA;0x2: General Call地址 在发送General Call后只有写操作有效任何尝试读的操作都会导致RISR寄存器中的第6位(TX_ABRT)位变1。I2C会一直保持在General Call模式直到SPECIAL位被配置为普通地址。&#xD;&#xA;0x3: 起始字节 (START BYTE)" />
<Bit Name="TADDR" Authority="RW" Bits="9-0" Description="主机模式下传输的目标地址。&#xD;&#xA;当发送general call的时候该位无效。&#xD;&#xA;产生起始字节时CPU只需要对该位写一次。" />
</Register>
<Register Name="I2C_SADDR" Authority="RW" Address="0x400a0008" Width="32" Description="从机地址寄存器">
<Bit Name="SADDR" Authority="RW" Bits="9-0" Description="当I2C工作为从机时 SADDR为从机地址。7位寻址模式下只有I2C_SADDR[6:0]有效。&#xD;&#xA;该寄存器只有在I2C接口被禁用(I2C_ENABLE[0]=0)的时候可写。&#xD;&#xA;&#xD;&#xA;注意从机地址不能配置成保留地址0x00 to 0x07, 或者 0x78 到 0x7f. 如果I2C_SADDR或者I2C_TADDR被配置成以上保留地址那么I2C有可能工作异常。" />
</Register>
<Register Name="I2C_DATA_CMD" Authority="RW" Address="0x400a0010" Width="32" Description="数据和命令寄存器">
<Bit Name="RESTART" Authority="RW" Bits="10" Description="重复起始位(RESTART)控制。&#xD;&#xA;0: 如果I2C_CR.RESTART_EN为1并且传输的方向发生改变那么I2C会发送一个重复起始位如果I2C_CR.RESTART_EN为0那么I2C会发送停止位并且跟着再重新发送一个起始位。&#xD;&#xA;1: 如果I2C_CR.RESTART_EN为1不管传输方向是否发生改变I2C都会在数据发送或者接收前(根据CMD位的值)发送一个重复起始位如果I2C_CR.RESTART_EN为0那么I2C会发送停止位并且跟着再重新发送一个起始位。" />
<Bit Name="STOP" Authority="RW" Bits="9" Description="停止位(STOP)控制。&#xD;&#xA;0: 不管发送FIFO是否为空都不发送停止位。如果发送FIFO非空那么主机根据CMD位的值继续当前的发送或者接收传输。如果发送FIFO为空那么主机将SCL拉低占用总线直到发送FIFO中有新的命令。&#xD;&#xA;1: 不管发送FIFO是否为空都在当前字节传输完成后发送停止位。如果发送FIFO非空那么主机会立即发送起始位申请总线仲裁来尝试重新开始一个新的传输。" />
<Bit Name="CMD" Authority="RW" Bits="8" Description="读写控制。&#xD;&#xA;1: 读&#xD;&#xA;0: 写&#xD;&#xA;&#xD;&#xA;在I2C工作在从机模式下该位不能控制传输的方向。在工作在主机模式时该位用来控制传输方向。&#xD;&#xA;当一个命令被写入发送FIFO时该位被用来区分读和写。在从机接收模式下该位为无效操作位因为不需要对该位进行操作。在从机发送模式下0表示I2C_DATA_CMD中的数据需要被发送。" />
<Bit Name="DATA" Authority="RW" Bits="7-0" Description="I2C总线发送或者收到的数据。&#xD;&#xA;&#xD;&#xA;在I2C进行读操作的时候如果写这个寄存器那么写操作将无效如果读这个寄存器那么返回的是I2C接口从总线上收到的数据。" />
</Register>
<Register Name="I2C_SS_SCLH" Authority="RW" Address="0x400a0014" Width="32" Description="标准模式SCL高电平长度计数寄存器">
<Bit Name="SCL_HCNT" Authority="RW" Bits="15-0" Description="该寄存器设置标准速度模式下SCL时钟高电平的周期长度计数值。为了保证IO时序的正确性该寄存器必须在任何I2C总线传输开始之前设置。&#xD;&#xA;该寄存器必须在I2C接口被禁用(I2C_ENABLE[0]=0)时进行配置。&#xD;&#xA;可配置的最小值为6硬件上禁止写任何比6小的数如果尝试写比6小的数结果就是寄存器的值为6。 &#xD;&#xA;&#xD;&#xA;注意该寄存器的值不能超过65525因为该I2C模块使用了一个16位的计数器来检测I2C总线的空闲状态当这个计数器的值达到SCL_HCNT+10的时候标记为空闲。" />
</Register>
<Register Name="I2C_SS_SCLL" Authority="RW" Address="0x400a0018" Width="32" Description="标准模式SCL低电平长度计数寄存器">
<Bit Name="SCL_LCNT" Authority="RW" Bits="15-0" Description="该寄存器设置标准速度模式下SCL时钟低电平的周期长度计数值。为了保证IO时序的正确性该寄存器必须在任何I2C总线传输开始之前设置。&#xD;&#xA;该寄存器必须在I2C接口被禁用(I2C_ENABLE[0]=0)时进行配置。&#xD;&#xA;可配置的最小值为8硬件上禁止写任何比8小的数如果尝试写比8小的数结果就是寄存器的值为8。 " />
</Register>
<Register Name="I2C_FS_SCLH" Authority="RW" Address="0x400a001c" Width="32" Description="高速模式SCL高电平长度计数寄存器">
<Bit Name="SCL_HCNT" Authority="RW" Bits="15-0" Description="该寄存器设置高速模式下SCL时钟高电平的周期长度计数值。为了保证IO时序的正确性该寄存器必须在任何I2C总线传输开始之前设置。&#xD;&#xA;该寄存器必须在I2C接口被禁用(I2C_ENABLE[0]=0)时进行配置。&#xD;&#xA;可配置的最小值为6硬件上禁止写任何比6小的数如果尝试写比6小的数结果就是寄存器的值为6。 " />
</Register>
<Register Name="I2C_FS_SCLL" Authority="RW" Address="0x400a0020" Width="32" Description="高速模式SCL低电平长度计数寄存器">
<Bit Name="SCL_LCNT" Authority="RW" Bits="15-0" Description="该寄存器设置高速或者超高速模式下SCL时钟低电平的周期长度计数值。为了保证IO时序的正确性该寄存器必须在任何I2C总线传输开始之前设置。&#xD;&#xA;该寄存器必须在I2C接口被禁用(I2C_ENABLE[0]=0)时进行配置。&#xD;&#xA;可配置的最小值为8硬件上禁止写任何比8小的数如果尝试写比8小的数结果就是寄存器的值为8。 " />
</Register>
<Register Name="I2C_RX_FLSEL" Authority="RW" Address="0x400a002c" Width="32" Description="接收FIFO阈值寄存器">
<Bit Name="RX_FLSEL" Authority="RW" Bits="7-0" Description="接收FIFO阈值。&#xD;&#xA;&#xD;&#xA;FIFO中数据的数量超过或者等于该阈值时将触发RX_FULL中断(I2C_RISR的第2位)。该阈值不能超过FIFO深度(8)如果设置的值超过了FIFO深度那么实际写入的值为FIFO的深度值。&#xD;&#xA;该寄存器的值0表示有1个数据7表示阈值为8个数据。" />
</Register>
<Register Name="I2C_TX_FLSEL" Authority="RW" Address="0x400a0030" Width="32" Description="发送FIFO阈值寄存器">
<Bit Name="TX_FLSEL" Authority="RW" Bits="7-0" Description="发送FIFO阈值。&#xD;&#xA;&#xD;&#xA;FIFO中数据的数量少于或者等于该阈值时将触发TX_EMPTY中断(I2C_RISR的第4位)。该阈值不能超过FIFO深度(8)如果设置的值超过了FIFO深度那么实际写入的值为FIFO的深度值。&#xD;&#xA;该寄存器的值0表示0个数据7表示阈值为8个数据。" />
</Register>
<Register Name="I2C_RX_FL" Authority="RW" Address="0x400a0034" Width="32" Description="接收FIFO状态寄存器">
<Bit Name="RX_FL" Authority="RO" Bits="3-0" Description="接收FIFO中有效数据的个数。 " />
</Register>
<Register Name="I2C_TX_FL" Authority="RW" Address="0x400a0038" Width="32" Description="发送FIFO状态寄存器">
<Bit Name="TX_FL" Authority="RO" Bits="3-0" Description="发送FIFO中有效数据的个数。 " />
</Register>
<Register Name="I2C_ENABLE" Authority="RW" Address="0x400a003c" Width="32" Description="使能寄存器">
<Bit Name="RECOVER_EN" Authority="RW" Bits="3" Description="SDA被拉低锁死后的恢复功能控制&#xD;&#xA;0: 禁用&#xD;&#xA;1: 使能&#xD;&#xA;&#xD;&#xA;如果TX_ABRT中断(I2C_ABRT[17])显示SDA被拉低锁死那么该位可以控制使能SDA的恢复机制(发送最多9个SCL时钟和停止位尝试释放SDA),然后该位自动清零。" />
<Bit Name="ABORT" Authority="RW" Bits="1" Description="中止I2C传输。&#xD;&#xA;0: 中止操作没有发生或则中止操作已完成&#xD;&#xA;1: 中止操作正在进行&#xD;&#xA;&#xD;&#xA;在主机模式下软件可以将该位置1用来中止I2C传输。只有在I2C使能状态下(ENABLE=1)才可以对该位置1否则任何写操作都无效。发起中止操作后I2C会在当前传输完成后产生一个停止位并且清空发送FIFO然后在中止操作后产生TX_ABRT中断。ABORT位会在中止操作后自动清零。" />
<Bit Name="ENABLE" Authority="RW" Bits="0" Description="使能I2C模块&#xD;&#xA;0禁用&#xD;&#xA;1使能&#xD;&#xA;&#xD;&#xA;当I2C被禁用会发生下面的事件&#xD;&#xA;- 发送FIFO和接收FIFO被清空&#xD;&#xA;- 状态标志位仍然保持有效状态直到I2C进入空闲状态&#xD;&#xA;如果模块正在发送状态那么它会在当前传输完成后停止并且删除发送缓冲中的内容。如果模块正在接收那么I2C会在当前字节接收完成后停止并且不发送应答位。" />
</Register>
<Register Name="I2C_STATUS" Authority="RW" Address="0x400a0040" Width="32" Description="状态寄存器">
<Bit Name="ENABLE" Authority="RO" Bits="15-12" Description="同I2C_ENABLE" />
<Bit Name="RECOVER_FAIL" Authority="RO" Bits="11" Description="SDA拉低锁死的恢复状态&#xD;&#xA;0: 恢复没有失败&#xD;&#xA;1: 恢复失败&#xD;&#xA;&#xD;&#xA;该位表示SDA拉低锁死后的恢复机制是否成功。" />
<Bit Name="SLV_BUSY" Authority="RO" Bits="6" Description="从机模式的状态机工作状态 &#xD;&#xA;0: 从机模式状态机处于空闲状态I2C的从机部分不在工作&#xD;&#xA;1: 从机模式状态机处于工作状态I2C的从机部分正在工作" />
<Bit Name="MST_BUSY" Authority="RO" Bits="5" Description="主机模式的状态机工作状态 &#xD;&#xA;0: 主机模式状态机处于空闲状态I2C的主机部分不在工作&#xD;&#xA;1: 主机模式状态机处于工作状态I2C的主机部分正在工作&#xD;&#xA;注意I2C_STATUS[0] 也就是工作状态位 是MST_BUSY和SLV_BUSY位的或逻辑结果。" />
<Bit Name="RFF" Authority="RO" Bits="4" Description="接收FIFO已满 &#xD;&#xA;0: 接收FIFO未满&#xD;&#xA;1: 接收FIFO已满&#xD;&#xA;&#xD;&#xA;当接收FIFO已满时置1当FIFO含有至少1个或者多个空位时会被清0。" />
<Bit Name="RFNE" Authority="RO" Bits="3" Description="接收FIFO非空&#xD;&#xA;0: 接收FIFO为空&#xD;&#xA;1: 接收FIFO非空&#xD;&#xA;&#xD;&#xA;当接收FIFO含有至少1个或者多个数据时置1当FIFO为空时会被清0。" />
<Bit Name="TFE" Authority="RO" Bits="2" Description="发送FIFO为空 &#xD;&#xA;0: 发送FIFO非空&#xD;&#xA;1: 发送FIFO为空&#xD;&#xA;&#xD;&#xA;当发送FIFO完全为空时置1当FIFO含有至少1个或者多个数据时会被清0。该位不会产生中断。" />
<Bit Name="TFNF" Authority="RO" Bits="1" Description="发送FIFO未满 &#xD;&#xA;0: 发送FIFO已满&#xD;&#xA;1: 发送FIFO未满&#xD;&#xA;&#xD;&#xA;当发送FIFO含有至少1个或者多个数据时置1当FIFO为满时会被清0。" />
<Bit Name="BUSY" Authority="RO" Bits="0" Description="I2C工作状态&#xD;&#xA;0: 空闲&#xD;&#xA;1: 工作中" />
</Register>
<Register Name="I2C_SDA_TSETUP" Authority="RW" Address="0x400a0048" Width="32" Description="SDA Setup时间寄存器">
<Bit Name="SDA_TSETUP" Authority="RW" Bits="7-0" Description="Setup时间的长度使用下面公式计算&#xD;&#xA;&#xD;&#xA;[(SDA_TSETUP - 1) * (PCLK周期)]&#xD;&#xA;&#xD;&#xA;如果需要的延时是1000nsPCLK频率是10MHz那么建议设置SDA_TSETUP的值为11.&#xD;&#xA;SDA_TSETUP的最小值为2." />
</Register>
<Register Name="I2C_SDA_THOLD" Authority="RW" Address="0x400a004c" Width="32" Description="SDA Hold 时间寄存器">
<Bit Name="SDA_RX_THOLD" Authority="RW" Bits="23-16" Description="当I2C作为接收端时设置SDA的hold时间单位为PCLK的周期。" />
<Bit Name="SDA_TX_THOLD" Authority="RW" Bits="15-0" Description="当I2C作为发送端时设置SDA的hold时间单位为PCLK的周期。&#xD;&#xA;&#xD;&#xA;SDA_TX_THOLD的值必须大于最小的hold时间&#xD;&#xA;- 主机模式下1个时钟周期&#xD;&#xA;- 从机模式下7个时钟周期" />
</Register>
<Register Name="I2C_SPKLEN" Authority="RW" Address="0x400a0050" Width="32" Description="毛刺干扰滤波控制寄存器">
<Bit Name="SPKLEN" Authority="RW" Bits="7-0" Description="该寄存器设置毛刺干扰过滤逻辑可以过滤的SCL和SDA上最长的毛刺信号长度以PCLK周期为单位。&#xD;&#xA;该寄存器必须在I2C总线传输开始之前设置以保证稳定的传输。&#xD;&#xA;该寄存器只有在I2C接口被禁止(I2C_ENABLE[0]=0)的时候可以设置否则写操作无效。可以设置的最小值为1硬件禁止写比1小的值写0仍然为1。" />
</Register>
<Register Name="I2C_MISR" Authority="RW" Address="0x400a0058" Width="32" Description="中断状态寄存器">
<Bit Name="SCL_S_LOW" Authority="RO" Bits="14" Description="" />
<Bit Name="RESTART_DET" Authority="RO" Bits="12" Description="" />
<Bit Name="GEN_CALL" Authority="RO" Bits="11" Description="" />
<Bit Name="START_DET" Authority="RO" Bits="10" Description="" />
<Bit Name="STOP_DET" Authority="RO" Bits="9" Description="" />
<Bit Name="BUSY" Authority="RO" Bits="8" Description="" />
<Bit Name="RX_DONE" Authority="RO" Bits="7" Description="" />
<Bit Name="TX_ABRT" Authority="RO" Bits="6" Description="" />
<Bit Name="RD_REQ" Authority="RO" Bits="5" Description="" />
<Bit Name="TX_EMPTY" Authority="RO" Bits="4" Description="" />
<Bit Name="TX_OVER" Authority="RO" Bits="3" Description="" />
<Bit Name="RX_FULL" Authority="RO" Bits="2" Description="" />
<Bit Name="RX_OVER" Authority="RO" Bits="1" Description="" />
<Bit Name="RX_UNDER" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="I2C_IMCR" Authority="RW" Address="0x400a005c" Width="32" Description="中断使能寄存器">
<Bit Name="SCL_S_LOW" Authority="RW" Bits="14" Description="" />
<Bit Name="RESTART_DET" Authority="RW" Bits="12" Description="" />
<Bit Name="GEN_CALL" Authority="RW" Bits="11" Description="" />
<Bit Name="START_DET" Authority="RW" Bits="10" Description="" />
<Bit Name="STOP_DET" Authority="RW" Bits="9" Description="" />
<Bit Name="BUSY" Authority="RW" Bits="8" Description="" />
<Bit Name="RX_DONE" Authority="RW" Bits="7" Description="" />
<Bit Name="TX_ABRT" Authority="RW" Bits="6" Description="" />
<Bit Name="RD_REQ" Authority="RW" Bits="5" Description="" />
<Bit Name="TX_EMPTY" Authority="RW" Bits="4" Description="" />
<Bit Name="TX_OVER" Authority="RW" Bits="3" Description="" />
<Bit Name="RX_FULL" Authority="RW" Bits="2" Description="" />
<Bit Name="RX_OVER" Authority="RW" Bits="1" Description="" />
<Bit Name="RX_UNDER" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="I2C_RISR" Authority="RW" Address="0x400a0060" Width="32" Description="原始中断状态寄存器">
<Bit Name="SCL_S_LOW" Authority="RO" Bits="14" Description="" />
<Bit Name="RESTART_DET" Authority="RO" Bits="12" Description="" />
<Bit Name="GEN_CALL" Authority="RO" Bits="11" Description="" />
<Bit Name="START_DET" Authority="RO" Bits="10" Description="" />
<Bit Name="STOP_DET" Authority="RO" Bits="9" Description="" />
<Bit Name="BUSY" Authority="RO" Bits="8" Description="" />
<Bit Name="RX_DONE" Authority="RO" Bits="7" Description="" />
<Bit Name="TX_ABRT" Authority="RO" Bits="6" Description="" />
<Bit Name="RD_REQ" Authority="RO" Bits="5" Description="" />
<Bit Name="TX_EMPTY" Authority="RO" Bits="4" Description="" />
<Bit Name="TX_OVER" Authority="RO" Bits="3" Description="" />
<Bit Name="RX_FULL" Authority="RO" Bits="2" Description="" />
<Bit Name="RX_OVER" Authority="RO" Bits="1" Description="" />
<Bit Name="RX_UNDER" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="I2C_ICR" Authority="RW" Address="0x400a0064" Width="32" Description="中断清除寄存器">
<Bit Name="SCL_S_LOW" Authority="RW" Bits="14" Description="" />
<Bit Name="RESTART_DET" Authority="RW" Bits="12" Description="" />
<Bit Name="GEN_CALL" Authority="RW" Bits="11" Description="" />
<Bit Name="START_DET" Authority="RW" Bits="10" Description="" />
<Bit Name="STOP_DET" Authority="RW" Bits="9" Description="" />
<Bit Name="BUSY" Authority="RW" Bits="8" Description="" />
<Bit Name="RX_DONE" Authority="RW" Bits="7" Description="" />
<Bit Name="TX_ABRT" Authority="RW" Bits="6" Description="" />
<Bit Name="RD_REQ" Authority="RW" Bits="5" Description="" />
<Bit Name="TX_EMPTY" Authority="RW" Bits="4" Description="" />
<Bit Name="TX_OVER" Authority="RW" Bits="3" Description="" />
<Bit Name="RX_FULL" Authority="RW" Bits="2" Description="" />
<Bit Name="RX_OVER" Authority="RW" Bits="1" Description="" />
<Bit Name="RX_UNDER" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="I2C_SCL_TOUT" Authority="RW" Address="0x400a006c" Width="32" Description="SCL锁死超时控制寄存器">
<Bit Name="SCL_TOUT" Authority="RW" Bits="31-0" Description="" />
</Register>
<Register Name="I2C_SDA_TOUT" Authority="RW" Address="0x400a0070" Width="32" Description="SDA锁死超时控制寄存器">
<Bit Name="SDA_TOUT" Authority="RW" Bits="31-0" Description="" />
</Register>
<Register Name="I2C_TX_ABRT" Authority="RW" Address="0x400a0074" Width="32" Description="发送中止状态寄存器">
<Bit Name="SDA_S_LOW" Authority="RO" Bits="17" Description="只在主机模式有效。主机检测到SDA被锁死在低电平超过I2C_SDA_TOUT个PCLK周期。" />
<Bit Name="USER_ABRT" Authority="RO" Bits="16" Description="只在主机模式有效。主机检测到发送中止(IC_ENABLE[1])." />
<Bit Name="SLVRD_INTX" Authority="RO" Bits="15" Description="1: 当处理器(从机模式)响应了一个给远程主机发送数据的请求时用户对I2C_DATA_CMD寄存器的第8位CMD写1。" />
<Bit Name="SLV_ARBLOST" Authority="RO" Bits="14" Description="1: 从机在发送数据到远端主机时丢失了总线。I2C_TX_ABRT[12]会被同时置1。" />
<Bit Name="SLVFLUSH_TX" Authority="RO" Bits="13" Description="1: 从机收到了一个读命令并且发送FIFO中有数据所以从机产生了一个TX_ABRT中断去清除发送FIFO中的旧数据。" />
<Bit Name="ARB_LOST" Authority="RO" Bits="12" Description="1: 主机丢失了仲裁或者在I2C_TX_ABRT[14]置1的情况下从机发送端丢失了仲裁" />
<Bit Name="MASTER_DIS" Authority="RO" Bits="11" Description="1: 用户在主机模式没有使能的情况下尝试主机操作" />
<Bit Name="10B_RD_NRSTRT" Authority="RO" Bits="10" Description="1: 重复起始位被禁止(RESTART_EN (I2C_CR[5]) = 0)并且主机在10位寻址模式发送了一个读命令。" />
<Bit Name="SBYTE_NRSTRT" Authority="RO" Bits="9" Description="1: 重复起始位被禁止(RESTART_EN (I2C_CR[5]) = 0)并且用户正在尝试发送一个起始字节。&#xD;&#xA;&#xD;&#xA;如果要清除第9位SBYTE_NRSTRT的触发源必须固定重复起始位必须使能(I2C_CR[5]=1)SPECIAL位不能为0x3 (I2C_TADDR[11:10])。一旦触发源固定,该位就可以跟清除其它位的方法一样进行清除,否则该位在清除后又会被置起。" />
<Bit Name="SBYTE_ACK" Authority="RO" Bits="7" Description="1: 主机发送了一个起始字节并且这个起始字节被应答了(错误行为)" />
<Bit Name="GCALL_READ" Authority="RO" Bits="5" Description="1: I2C在主机模式发送了一个general call但是用户的程序在general call后从总线上读数据 (I2C_DATA_CMD[9]被设置为1)" />
<Bit Name="GCALL_NACK" Authority="RO" Bits="4" Description="1: I2C在主机模式发送了一个general call并且总线上没有从机应答该general call" />
<Bit Name="TXDATA_NACK" Authority="RO" Bits="3" Description="1: 该位只在主机模式下有效。主机收到了地址的应答,但是当它发送数据到该地址时,却没有收到任何从机的应答。" />
<Bit Name="10ADDR2_NACK" Authority="RO" Bits="2" Description="1: 主机工作在10位寻址模式并且没有任何从机应答主机发送的10位地址的第二个字节" />
<Bit Name="10ADDR1_NACK" Authority="RO" Bits="1" Description="1: 主机工作在10位寻址模式并且没有任何从机应答主机发送的10位地址的第一个字节" />
<Bit Name="7ADDR_NACK" Authority="RO" Bits="0" Description="1: 主机工作在7位寻址模式并且没有任何从机应答主机发送的地址" />
</Register>
<Register Name="I2C_GCALL" Authority="RW" Address="0x400a0078" Width="32" Description="General Call控制寄存器">
<Bit Name="ACK_GCALL" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="I2C_NACK" Authority="RW" Address="0x400a007c" Width="32" Description="从机NACK控制寄存器">
<Bit Name="NACK" Authority="RW" Bits="0" Description="NACK的产生控制 &#xD;&#xA;1: 在数据字节收到后产生NACK&#xD;&#xA;0: 按正常情况产生NACK/ACK&#xD;&#xA;&#xD;&#xA;该位只有在I2C工作在从机接收端时有效。如果该位为1I2C在收到一个数据字节后只会产生一个NACK此后的数据传输会被中止并且收到的数据不会被存入接收缓冲区内。如果该位为0I2C按照正常的情况产生NACK/ACK。" />
</Register>
</Peripheral>
<Peripheral Name="SIO">
<Register Name="SIO_CR" Authority="RW" Address="0x400b0000" Width="32" Description="控制寄存器">
<Bit Name="TCKPRS" Authority="RW" Bits="31-16" Description="发送时钟分频系数。&#xD;&#xA;发送分频时钟TXCLK的频率FTXCLK = FPCLK / (TCKPRS +1)" />
<Bit Name="MODE" Authority="RW" Bits="8" Description="SIO发送与接收控制。&#xD;&#xA;0h发送模式。&#xD;&#xA;1h接收模式。" />
<Bit Name="DEBCKS" Authority="RW" Bits="7-4" Description="接收去抖滤波时钟分频系数。&#xD;&#xA;去抖滤波分频时钟DBCLK的频率FDBCLK = FPCLK / (DEBCKS +1)" />
<Bit Name="DEBDEP" Authority="RW" Bits="3-1" Description="接收去抖滤波检查周期数。&#xD;&#xA;0h1个周期&#xD;&#xA;1h2个周期&#xD;&#xA;2h3个周期&#xD;&#xA;3h4个周期&#xD;&#xA;4h5个周期&#xD;&#xA;5h6个周期&#xD;&#xA;6h7个周期&#xD;&#xA;7h8个周期" />
<Bit Name="CLKEN" Authority="RW" Bits="0" Description="SIO时钟使能控制。&#xD;&#xA;0h工作时钟禁止。&#xD;&#xA;1h工作时钟使能。" />
</Register>
<Register Name="SIO_TXCR0" Authority="RW" Address="0x400b0004" Width="32" Description="发送控制寄存器0">
<Bit Name="TXCNT" Authority="RW" Bits="15-8" Description="发送模式时,发送序列的长度控制。&#xD;&#xA;当发送开始时发送计数器在完成一个对象的发送后自动增加1。当发送到TXCNT+1个对象完成后结束当前发送。" />
<Bit Name="TXBUFLEN" Authority="RW" Bits="7-4" Description="发送数据BUFFER长度。&#xD;&#xA;当发送开始时发送计数器在完成一个对象的发送后自动增加1。当发送到TXBUFLEN +1个对象完成后若发送BIT数仍小于TXCNT+1则重新载入SIO_TXBUF并发送。" />
<Bit Name="TDIR" Authority="RW" Bits="2" Description="发送数据方向。&#xD;&#xA;0h将SIO_TXBUF数据按LSB到MSB方式移出。&#xD;&#xA;1h将SIO_TXBUF数据按MSB到LSB方式移出。" />
<Bit Name="IDLEST" Authority="RW" Bits="1-0" Description="空闲时输出状态选择。&#xD;&#xA;0h高阻态。&#xD;&#xA;1h高电平输出。&#xD;&#xA;2h低电平输出。&#xD;&#xA;3h高阻态。" />
</Register>
<Register Name="SIO_TXCR1" Authority="RW" Address="0x400b0008" Width="32" Description="发送控制寄存器1">
<Bit Name="LSQ" Authority="RW" Bits="31-24" Description="DL对象的序列定义&#xD;&#xA;发送LSQ序列时,按LSQ[0]到LSQ[7]的顺序依次移位发送, 发送序列长度由SIO_TXCR1[13:11] (LENOBL)决定。" />
<Bit Name="HSQ" Authority="RW" Bits="23-16" Description="DH对象的序列定义&#xD;&#xA;发送HSQ序列时,按HSQ[0]到HSQ[7]的顺序依次移位发送, 发送序列长度由SIO_TXCR1[10:8] (LENOBH)决定。" />
<Bit Name="LENOBL" Authority="RW" Bits="13-11" Description="DL对象序列长度选择&#xD;&#xA;0h1bit。&#xD;&#xA;1h2bit。&#xD;&#xA;2h3bit。&#xD;&#xA;……&#xD;&#xA;7h8bit。" />
<Bit Name="LENOBH" Authority="RW" Bits="10-8" Description="DH对象序列长度选择&#xD;&#xA;0h1bit。&#xD;&#xA;1h2bit。&#xD;&#xA;2h3bit。&#xD;&#xA;……&#xD;&#xA;7h8bit。" />
<Bit Name="D1DUR" Authority="RW" Bits="7-5" Description="D1状态的时间长度&#xD;&#xA;(D1DUR+1) x Ttxshft" />
<Bit Name="D0DUR" Authority="RW" Bits="4-2" Description="D0状态的时间长度&#xD;&#xA;(D0DUR+1) x Ttxshft" />
</Register>
<Register Name="SIO_TXBUF" Authority="RW" Address="0x400b000c" Width="32" Description="发送数据缓存寄存器">
<Bit Name="DATA15" Authority="RW" Bits="31-30" Description="" />
<Bit Name="DATA14" Authority="RW" Bits="29-28" Description="" />
<Bit Name="DATA13" Authority="RW" Bits="27-26" Description="" />
<Bit Name="DATA12" Authority="RW" Bits="25-24" Description="" />
<Bit Name="DATA11" Authority="RW" Bits="23-22" Description="" />
<Bit Name="DATA10" Authority="RW" Bits="21-20" Description="" />
<Bit Name="DATA9" Authority="RW" Bits="19-18" Description="" />
<Bit Name="DATA8" Authority="RW" Bits="17-16" Description="" />
<Bit Name="DATA7" Authority="RW" Bits="15-14" Description="" />
<Bit Name="DATA6" Authority="RW" Bits="13-12" Description="" />
<Bit Name="DATA5" Authority="RW" Bits="11-10" Description="" />
<Bit Name="DATA4" Authority="RW" Bits="9-8" Description="" />
<Bit Name="DATA3" Authority="RW" Bits="7-6" Description="" />
<Bit Name="DATA2" Authority="RW" Bits="5-4" Description="" />
<Bit Name="DATA1" Authority="RW" Bits="3-2" Description="" />
<Bit Name="DATA0" Authority="RW" Bits="1-0" Description="" />
</Register>
<Register Name="SIO_RXCR0" Authority="RW" Address="0x400b0010" Width="32" Description="接收控制寄存器0">
<Bit Name="RMODE" Authority="RW" Bits="31-30" Description="采样模式&#xD;&#xA;0h: 在当前bit采样结束后, 检测到SIO端口有沿跳变, 才开始采样下一个数据&#xD;&#xA;1h: 在当前bit采样结束后, 无论SIO端口是否有沿跳变均立即开始采样下一个数据&#xD;&#xA;其他: 无效模式" />
<Bit Name="RDIR" Authority="RW" Bits="29" Description="接收数据方向。&#xD;&#xA;0h: 接收到的数据即发送端的数据是从MSB到LSB移出。依次从第0位开始移入RXBUF。&#xD;&#xA;1h: 接收到的数据即发送端的数据是从LSB到MSB移出。依次从第31位开始移入RXBUF" />
<Bit Name="ALIGNEN" Authority="RW" Bits="28" Description="采样对准使能&#xD;&#xA;0h: 不使能采样对准.&#xD;&#xA;1h: 使能采样对准, 在采样触发沿对准采样结果" />
<Bit Name="HITHR" Authority="RW" Bits="20-16" Description="接收原始数据抽取高的判断阈值&#xD;&#xA;当SIO_RXCR0[15:10] EXTRACT为20H时在接收到的原始数据的1的个数大于HITHR时, 采样提取为1否则抽取为 0。" />
<Bit Name="EXTRACT" Authority="RW" Bits="15-10" Description="采样提取策略设置。&#xD;&#xA;0h接收到的原始数据的第0位作为提取值。&#xD;&#xA;1h接收到的原始数据的第1位作为提取值。&#xD;&#xA;2h接收到的原始数据的第3位作为提取值。&#xD;&#xA;……&#xD;&#xA;1Dh接收到的原始数据的第29位作为提取值。&#xD;&#xA;1Eh接收到的原始数据的第30位作为提取值。&#xD;&#xA;1Fh接收到的原始数据的第31位作为提取值。&#xD;&#xA;20h接收到的原始数据的1的个数大于SIO_RXCR2[20:16] (HITHR)时提取为H否则提取为L&#xD;&#xA;其他:保留" />
<Bit Name="SPLCNT" Authority="RW" Bits="8-4" Description="采样的长度即一个BIT数据由SPLCNT+1个采样决定。" />
<Bit Name="TRGMODE" Authority="RW" Bits="3" Description="采样触发模式选择。&#xD;&#xA;0h选择去抖后采样信号。&#xD;&#xA;1h选择30ns滤波后的采样信号。" />
<Bit Name="BSTSEL" Authority="RW" Bits="1-0" Description="采样触发边沿。&#xD;&#xA;0h上升沿触发。&#xD;&#xA;1h下降沿触发。&#xD;&#xA;2h上升、下降沿均触发。&#xD;&#xA;3h上升沿触发。" />
</Register>
<Register Name="SIO_RXCR1" Authority="RW" Address="0x400b0014" Width="32" Description="接收控制寄存器1">
<Bit Name="RCKPRS" Authority="RW" Bits="31-16" Description="" />
<Bit Name="BUFCNT" Authority="RW" Bits="12-8" Description="" />
<Bit Name="RXCNT" Authority="RW" Bits="7-0" Description="" />
</Register>
<Register Name="SIO_RXCR2" Authority="RW" Address="0x400b0018" Width="32" Description="接收控制寄存器2">
<Bit Name="TOCNT" Authority="RW" Bits="23-16" Description="采样超时长度在采样触发后TOCNT+1个周期内未检测到采样触发边沿则复位接收模块。" />
<Bit Name="TORSTEN" Authority="RW" Bits="15" Description="采样超时复位。&#xD;&#xA;0h禁止采样超时复位。&#xD;&#xA;1h使能采样超时复位。" />
<Bit Name="BREAKCNT" Authority="RW" Bits="7-3" Description="复位检测周期数。&#xD;&#xA;使能复位检测在BREAKCNT+1个采样长度内接收到数据都为BREAKLVL则复位接收模块并产生BREAK中断。" />
<Bit Name="BREAKLVL" Authority="RW" Bits="1" Description="复位检测电平。&#xD;&#xA;0h低电平。&#xD;&#xA;1h高电平" />
<Bit Name="BREAKEN" Authority="RW" Bits="0" Description="复位检测使能控制。&#xD;&#xA;0h禁止复位检测。&#xD;&#xA;1h使能复位检测在BREAKCNT+1个采样长度内接收到数据都为BREAKLVL则复位接收模块并产生BREAK中断。" />
</Register>
<Register Name="SIO_RXBUF" Authority="RW" Address="0x400b001c" Width="32" Description="接收数据缓存寄存器">
<Bit Name="RXBUF" Authority="RO" Bits="31-0" Description="" />
</Register>
<Register Name="SIO_RISR" Authority="RW" Address="0x400b0020" Width="32" Description="原始中断状态寄存器">
<Bit Name="TIMEOUT" Authority="RO" Bits="5" Description="TIMEOUT中断请求原始标志状态" />
<Bit Name="BREAK" Authority="RO" Bits="4" Description="BREAK中断请求原始标志状态" />
<Bit Name="RXBUFFULL" Authority="RO" Bits="3" Description="RXBUFFULL中断请求原始标志状态" />
<Bit Name="TXBUFEMPT" Authority="RO" Bits="2" Description="TXBUFEMPT中断请求原始标志状态" />
<Bit Name="RXDNE" Authority="RO" Bits="1" Description="RXDNE中断请求原始标志状态" />
<Bit Name="TXDNE" Authority="RO" Bits="0" Description="TXDNE中断请求原始标志状态" />
</Register>
<Register Name="SIO_MISR" Authority="RW" Address="0x400b0024" Width="32" Description="中断状态寄存器">
<Bit Name="TIMEOUT" Authority="RO" Bits="5" Description="TIMEOUT中断请求标志状态" />
<Bit Name="BREAK" Authority="RO" Bits="4" Description="BREAK中断请求标志状态" />
<Bit Name="RXBUFFULL" Authority="RO" Bits="3" Description="RXBUFFULL中断请求标志状态" />
<Bit Name="TXBUFEMPT" Authority="RO" Bits="2" Description="TXBUFEMPT中断请求标志状态" />
<Bit Name="RXDNE" Authority="RO" Bits="1" Description="RXDNE中断请求标志状态" />
<Bit Name="TXDNE" Authority="RO" Bits="0" Description="TXDNE中断请求标志状态" />
</Register>
<Register Name="SIO_IMCR" Authority="RW" Address="0x400b0028" Width="32" Description="中断使能控制寄存器">
<Bit Name="TIMEOUT" Authority="RW" Bits="5" Description="TIMEOUT中断使能控制位" />
<Bit Name="BREAK" Authority="RW" Bits="4" Description="BREAK中断使能控制位" />
<Bit Name="RXBUFFULL" Authority="RW" Bits="3" Description="RXBUFFULL中断使能控制位" />
<Bit Name="TXBUFEMPT" Authority="RW" Bits="2" Description="TXBUFEMPT中断使能控制位" />
<Bit Name="RXDNE" Authority="RW" Bits="1" Description="RXDNE中断使能控制位" />
<Bit Name="TXDNE" Authority="RW" Bits="0" Description="TXDNE中断使能控制位" />
</Register>
<Register Name="SIO_ICR" Authority="RW" Address="0x400b002c" Width="32" Description="中断清除寄存器">
<Bit Name="TIMEOUT" Authority="RW" Bits="5" Description="清除TIMEOUT中断请求原始标志状态" />
<Bit Name="BREAK" Authority="RW" Bits="4" Description="清除BREAK中断请求原始标志状态" />
<Bit Name="RXBUFFULL" Authority="RW" Bits="3" Description="清除RXBUFFULL中断请求原始标志状态" />
<Bit Name="TXBUFEMPT" Authority="RW" Bits="2" Description="清除TXBUFEMPT中断请求原始标志状态" />
<Bit Name="RXDNE" Authority="RW" Bits="1" Description="清除RXDNE中断请求原始标志状态" />
<Bit Name="TXDNE" Authority="RW" Bits="0" Description="清除TXDNE中断请求原始标志状态" />
</Register>
</Peripheral>
<Peripheral Name="CRC">
<Register Name="CRC_CEDR" Authority="RW" Address="0x50000004" Width="32" Description="时钟使能/禁止寄存器">
<Bit Name="CKEN" Authority="RW" Bits="0" Description="CRC 引擎使能0 : 禁止1 : 使能" />
</Register>
<Register Name="CRC_SRR" Authority="RW" Address="0x50000008" Width="32" Description="软件复位寄存器">
<Bit Name="SWRST" Authority="RW" Bits="31" Description="软件复位写1会复位该模块" />
</Register>
<Register Name="CRC_CR" Authority="RW" Address="0x5000000c" Width="32" Description="控制寄存器">
<Bit Name="POLY" Authority="RW" Bits="5-4" Description="多项式控制 0x: CRC-CCITT 10: CRC-16 11: CRC-32" />
<Bit Name="REFOUT" Authority="RW" Bits="3" Description="CRC输出数据的按位反转控制0: 无反转1: 使能反转" />
<Bit Name="REFIN" Authority="RW" Bits="2" Description="CRC输入数据的按位反转控制0: 无反转1: 使能反转" />
<Bit Name="XOROUT" Authority="RW" Bits="1" Description="CRC输出数据的异或控制0: 无异或1: 使能异或" />
<Bit Name="XORIN" Authority="RW" Bits="0" Description="CRC输入数据的异或控制0: 无异或1: 使能异或" />
</Register>
<Register Name="CRC_SEED" Authority="RW" Address="0x50000010" Width="32" Description="种子值寄存器">
<Bit Name="SEED" Authority="RW" Bits="31-0" Description="对该寄存器的写操作会将该种子值载入CRC_DATAOUT寄存器中作为预置值(初值)。&#xD;&#xA;SEED值必须在每次CRC计算前都操作一次。" />
</Register>
<Register Name="CRC_DATAIN" Authority="RW" Address="0x50000014" Width="32" Description="输入数据寄存器">
<Bit Name="DATAIN" Authority="RW" Bits="31-0" Description="用来计算CRC的输入数据。&#xD;&#xA;支持字节,半字,全字三种格式。" />
</Register>
<Register Name="CRC_DATAOUT" Authority="RW" Address="0x50000018" Width="32" Description="输出数据寄存器">
<Bit Name="DATAOUT" Authority="RO" Bits="31-0" Description="该寄存器保存CRC计算结果。" />
</Register>
</Peripheral>
<Peripheral Name="GPIOA">
<Register Name="GPIO_CONLR" Authority="RW" Address="0x60000000" Width="32" Description="低位控制寄存器">
<Bit Name="P7" Authority="RW" Bits="31-28" Description="IO管脚7的模式配置" />
<Bit Name="P6" Authority="RW" Bits="27-24" Description="IO管脚6的模式配置" />
<Bit Name="P5" Authority="RW" Bits="23-20" Description="IO管脚5的模式配置" />
<Bit Name="P4" Authority="RW" Bits="19-16" Description="IO管脚4的模式配置" />
<Bit Name="P3" Authority="RW" Bits="15-12" Description="IO管脚3的模式配置" />
<Bit Name="P2" Authority="RW" Bits="11-8" Description="IO管脚2的模式配置" />
<Bit Name="P1" Authority="RW" Bits="7-4" Description="IO管脚1的模式配置" />
<Bit Name="P0" Authority="RW" Bits="3-0" Description="IO管脚0的模式配置" />
</Register>
<Register Name="GPIO_CONHR" Authority="RW" Address="0x60000004" Width="32" Description="高位控制寄存器">
<Bit Name="P15" Authority="RW" Bits="31-28" Description="IO管脚15的模式配置" />
<Bit Name="P14" Authority="RW" Bits="27-24" Description="IO管脚14的模式配置" />
<Bit Name="P13" Authority="RW" Bits="23-20" Description="IO管脚13的模式配置" />
<Bit Name="P12" Authority="RW" Bits="19-16" Description="IO管脚12的模式配置" />
<Bit Name="P11" Authority="RW" Bits="15-12" Description="IO管脚11的模式配置" />
<Bit Name="P10" Authority="RW" Bits="11-8" Description="IO管脚10的模式配置" />
<Bit Name="P9" Authority="RW" Bits="7-4" Description="IO管脚9的模式配置" />
<Bit Name="P8" Authority="RW" Bits="3-0" Description="IO管脚8的模式配置" />
</Register>
<Register Name="GPIO_WODR" Authority="RW" Address="0x60000008" Width="32" Description="输出数据寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_SODR" Authority="RW" Address="0x6000000c" Width="32" Description="输出置位寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="" Bits="0" Description="" />
</Register>
<Register Name="GPIO_CODR" Authority="RW" Address="0x60000010" Width="32" Description="输出清除寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_ODSR" Authority="RW" Address="0x60000014" Width="32" Description="输出状态寄存器">
<Bit Name="P15" Authority="RO" Bits="15" Description="" />
<Bit Name="P14" Authority="RO" Bits="14" Description="" />
<Bit Name="P13" Authority="RO" Bits="13" Description="" />
<Bit Name="P12" Authority="RO" Bits="12" Description="" />
<Bit Name="P11" Authority="RO" Bits="11" Description="" />
<Bit Name="P10" Authority="RO" Bits="10" Description="" />
<Bit Name="P9" Authority="RO" Bits="9" Description="" />
<Bit Name="P8" Authority="RO" Bits="8" Description="" />
<Bit Name="P7" Authority="RO" Bits="7" Description="" />
<Bit Name="P6" Authority="RO" Bits="6" Description="" />
<Bit Name="P5" Authority="RO" Bits="5" Description="" />
<Bit Name="P4" Authority="RO" Bits="4" Description="" />
<Bit Name="P3" Authority="RO" Bits="3" Description="" />
<Bit Name="P2" Authority="RO" Bits="2" Description="" />
<Bit Name="P1" Authority="RO" Bits="1" Description="" />
<Bit Name="P0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="GPIO_PSDR" Authority="RW" Address="0x60000018" Width="32" Description="管脚状态寄存器">
<Bit Name="P15" Authority="RO" Bits="15" Description="" />
<Bit Name="P14" Authority="RO" Bits="14" Description="" />
<Bit Name="P13" Authority="RO" Bits="13" Description="" />
<Bit Name="P12" Authority="RO" Bits="12" Description="" />
<Bit Name="P11" Authority="RO" Bits="11" Description="" />
<Bit Name="P10" Authority="RO" Bits="10" Description="" />
<Bit Name="P9" Authority="RO" Bits="9" Description="" />
<Bit Name="P8" Authority="RO" Bits="8" Description="" />
<Bit Name="P7" Authority="RO" Bits="7" Description="" />
<Bit Name="P6" Authority="RO" Bits="6" Description="" />
<Bit Name="P5" Authority="RO" Bits="5" Description="" />
<Bit Name="P4" Authority="RO" Bits="4" Description="" />
<Bit Name="P3" Authority="RO" Bits="3" Description="" />
<Bit Name="P2" Authority="RO" Bits="2" Description="" />
<Bit Name="P1" Authority="RO" Bits="1" Description="" />
<Bit Name="P0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="GPIO_FLTEN" Authority="RW" Address="0x6000001c" Width="32" Description="输入信号滤波器使能控制寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_PUDR" Authority="RW" Address="0x60000020" Width="32" Description="上拉/下拉配置寄存器">
<Bit Name="P15" Authority="RW" Bits="31-30" Description="上拉/下拉IO 管脚15" />
<Bit Name="P14" Authority="RW" Bits="29-28" Description="上拉/下拉IO 管脚14" />
<Bit Name="P13" Authority="RW" Bits="27-26" Description="上拉/下拉IO 管脚13" />
<Bit Name="P12" Authority="RW" Bits="25-24" Description="上拉/下拉IO 管脚12" />
<Bit Name="P11" Authority="RW" Bits="23-22" Description="上拉/下拉IO 管脚11" />
<Bit Name="P10" Authority="RW" Bits="21-20" Description="上拉/下拉IO 管脚10" />
<Bit Name="P9" Authority="RW" Bits="19-18" Description="上拉/下拉IO 管脚9" />
<Bit Name="P8" Authority="RW" Bits="17-16" Description="上拉/下拉IO 管脚8" />
<Bit Name="P7" Authority="RW" Bits="15-14" Description="上拉/下拉IO 管脚7" />
<Bit Name="P6" Authority="RW" Bits="13-12" Description="上拉/下拉IO 管脚6" />
<Bit Name="P5" Authority="RW" Bits="11-10" Description="上拉/下拉IO 管脚5" />
<Bit Name="P4" Authority="RW" Bits="9-8" Description="上拉/下拉IO 管脚4" />
<Bit Name="P3" Authority="RW" Bits="7-6" Description="上拉/下拉IO 管脚3" />
<Bit Name="P2" Authority="RW" Bits="5-4" Description="上拉/下拉IO 管脚2" />
<Bit Name="P1" Authority="RW" Bits="3-2" Description="上拉/下拉IO 管脚1" />
<Bit Name="P0" Authority="RW" Bits="1-0" Description="上拉/下拉IO 管脚0" />
</Register>
<Register Name="GPIO_DSCR" Authority="RW" Address="0x60000024" Width="32" Description="驱动强度配置寄存器">
<Bit Name="P15" Authority="RW" Bits="31-30" Description="" />
<Bit Name="P14" Authority="RW" Bits="29-28" Description="" />
<Bit Name="P13" Authority="RW" Bits="27-26" Description="" />
<Bit Name="P12" Authority="RW" Bits="25-24" Description="" />
<Bit Name="P11" Authority="RW" Bits="23-22" Description="" />
<Bit Name="P10" Authority="RW" Bits="21-20" Description="" />
<Bit Name="P9" Authority="RW" Bits="19-18" Description="" />
<Bit Name="P8" Authority="RW" Bits="17-16" Description="" />
<Bit Name="P7" Authority="RW" Bits="15-14" Description="" />
<Bit Name="P6" Authority="RW" Bits="13-12" Description="" />
<Bit Name="P5" Authority="RW" Bits="11-10" Description="" />
<Bit Name="P4" Authority="RW" Bits="9-8" Description="" />
<Bit Name="P3" Authority="RW" Bits="7-6" Description="" />
<Bit Name="P2" Authority="RW" Bits="5-4" Description="" />
<Bit Name="P1" Authority="RW" Bits="3-2" Description="" />
<Bit Name="P0" Authority="RW" Bits="1-0" Description="" />
</Register>
<Register Name="GPIO_OMCR" Authority="RW" Address="0x60000028" Width="32" Description="输出模式配置寄存器">
<Bit Name="CCM15" Authority="RW" Bits="31" Description="" />
<Bit Name="CCM14" Authority="RW" Bits="30" Description="" />
<Bit Name="CCM13" Authority="RW" Bits="29" Description="" />
<Bit Name="CCM12" Authority="RW" Bits="28" Description="" />
<Bit Name="CCM11" Authority="RW" Bits="27" Description="" />
<Bit Name="CCM10" Authority="RW" Bits="26" Description="" />
<Bit Name="CCM9" Authority="RW" Bits="25" Description="" />
<Bit Name="CCM8" Authority="RW" Bits="24" Description="" />
<Bit Name="CCM7" Authority="RW" Bits="23" Description="" />
<Bit Name="CCM6" Authority="RW" Bits="22" Description="" />
<Bit Name="CCM5" Authority="RW" Bits="21" Description="" />
<Bit Name="CCM4" Authority="RW" Bits="20" Description="" />
<Bit Name="CCM3" Authority="RW" Bits="19" Description="" />
<Bit Name="CCM2" Authority="RW" Bits="18" Description="" />
<Bit Name="CCM1" Authority="RW" Bits="17" Description="" />
<Bit Name="CCM0" Authority="RW" Bits="16" Description="" />
<Bit Name="ODP15" Authority="RW" Bits="15" Description="" />
<Bit Name="ODP14" Authority="RW" Bits="14" Description="" />
<Bit Name="ODP13" Authority="RW" Bits="13" Description="" />
<Bit Name="ODP12" Authority="RW" Bits="12" Description="" />
<Bit Name="ODP11" Authority="RW" Bits="11" Description="" />
<Bit Name="ODP10" Authority="RW" Bits="10" Description="" />
<Bit Name="ODP9" Authority="RW" Bits="9" Description="" />
<Bit Name="ODP8" Authority="RW" Bits="8" Description="" />
<Bit Name="ODP7" Authority="RW" Bits="7" Description="" />
<Bit Name="ODP6" Authority="RW" Bits="6" Description="" />
<Bit Name="ODP5" Authority="RW" Bits="5" Description="" />
<Bit Name="ODP4" Authority="RW" Bits="4" Description="" />
<Bit Name="ODP3" Authority="RW" Bits="3" Description="" />
<Bit Name="ODP2" Authority="RW" Bits="2" Description="" />
<Bit Name="ODP1" Authority="RW" Bits="1" Description="" />
<Bit Name="ODP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_IECR" Authority="RW" Address="0x6000002c" Width="32" Description="外部中断使能寄存器">
<Bit Name="IEN15" Authority="RW" Bits="15" Description="" />
<Bit Name="IEN14" Authority="RW" Bits="14" Description="" />
<Bit Name="IEN13" Authority="RW" Bits="13" Description="" />
<Bit Name="IEN12" Authority="RW" Bits="12" Description="" />
<Bit Name="IEN11" Authority="RW" Bits="11" Description="" />
<Bit Name="IEN10" Authority="RW" Bits="10" Description="" />
<Bit Name="IEN9" Authority="RW" Bits="9" Description="" />
<Bit Name="IEN8" Authority="RW" Bits="8" Description="" />
<Bit Name="IEN7" Authority="RW" Bits="7" Description="" />
<Bit Name="IEN6" Authority="RW" Bits="6" Description="" />
<Bit Name="IEN5" Authority="RW" Bits="5" Description="" />
<Bit Name="IEN4" Authority="RW" Bits="4" Description="" />
<Bit Name="IEN3" Authority="RW" Bits="3" Description="" />
<Bit Name="IEN2" Authority="RW" Bits="2" Description="" />
<Bit Name="IEN1" Authority="RW" Bits="1" Description="" />
<Bit Name="IEN0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_IEER" Authority="RW" Address="0x60000030" Width="32" Description="外部中断使能设置寄存器">
<Bit Name="IEE15" Authority="RW" Bits="15" Description="" />
<Bit Name="IEE14" Authority="RW" Bits="14" Description="" />
<Bit Name="IEE13" Authority="RW" Bits="13" Description="" />
<Bit Name="IEE12" Authority="RW" Bits="12" Description="" />
<Bit Name="IEE11" Authority="RW" Bits="11" Description="" />
<Bit Name="IEE10" Authority="RW" Bits="10" Description="" />
<Bit Name="IEE9" Authority="RW" Bits="9" Description="" />
<Bit Name="IEE8" Authority="RW" Bits="8" Description="" />
<Bit Name="IEE7" Authority="RW" Bits="7" Description="" />
<Bit Name="IEE6" Authority="RW" Bits="6" Description="" />
<Bit Name="IEE5" Authority="RW" Bits="5" Description="" />
<Bit Name="IEE4" Authority="RW" Bits="4" Description="" />
<Bit Name="IEE3" Authority="RW" Bits="3" Description="" />
<Bit Name="IEE2" Authority="RW" Bits="2" Description="" />
<Bit Name="IEE1" Authority="RW" Bits="1" Description="" />
<Bit Name="IEE0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_IEDR" Authority="RW" Address="0x60000034" Width="32" Description="外部中断使能清除寄存器">
<Bit Name="IED15" Authority="RW" Bits="15" Description="" />
<Bit Name="IED14" Authority="RW" Bits="14" Description="" />
<Bit Name="IED13" Authority="RW" Bits="13" Description="" />
<Bit Name="IED12" Authority="RW" Bits="12" Description="" />
<Bit Name="IED11" Authority="RW" Bits="11" Description="" />
<Bit Name="IED10" Authority="RW" Bits="10" Description="" />
<Bit Name="IED9" Authority="RW" Bits="9" Description="" />
<Bit Name="IED8" Authority="RW" Bits="8" Description="" />
<Bit Name="IED7" Authority="RW" Bits="7" Description="" />
<Bit Name="IED6" Authority="RW" Bits="6" Description="" />
<Bit Name="IED5" Authority="RW" Bits="5" Description="" />
<Bit Name="IED4" Authority="RW" Bits="4" Description="" />
<Bit Name="IED3" Authority="RW" Bits="3" Description="" />
<Bit Name="IED2" Authority="RW" Bits="2" Description="" />
<Bit Name="IED1" Authority="RW" Bits="1" Description="" />
<Bit Name="IED0" Authority="RW" Bits="0" Description="" />
</Register>
</Peripheral>
<Peripheral Name="GPIOB">
<Register Name="GPIO_CONLR" Authority="RW" Address="0x60002000" Width="32" Description="低位控制寄存器">
<Bit Name="P7" Authority="RW" Bits="31-28" Description="IO管脚7的模式配置" />
<Bit Name="P6" Authority="RW" Bits="27-24" Description="IO管脚6的模式配置" />
<Bit Name="P5" Authority="RW" Bits="23-20" Description="IO管脚5的模式配置" />
<Bit Name="P4" Authority="RW" Bits="19-16" Description="IO管脚4的模式配置" />
<Bit Name="P3" Authority="RW" Bits="15-12" Description="IO管脚3的模式配置" />
<Bit Name="P2" Authority="RW" Bits="11-8" Description="IO管脚2的模式配置" />
<Bit Name="P1" Authority="RW" Bits="7-4" Description="IO管脚1的模式配置" />
<Bit Name="P0" Authority="RW" Bits="3-0" Description="IO管脚0的模式配置" />
</Register>
<Register Name="GPIO_CONHR" Authority="RW" Address="0x60002004" Width="32" Description="高位控制寄存器">
<Bit Name="P15" Authority="RW" Bits="31-28" Description="IO管脚15的模式配置" />
<Bit Name="P14" Authority="RW" Bits="27-24" Description="IO管脚14的模式配置" />
<Bit Name="P13" Authority="RW" Bits="23-20" Description="IO管脚13的模式配置" />
<Bit Name="P12" Authority="RW" Bits="19-16" Description="IO管脚12的模式配置" />
<Bit Name="P11" Authority="RW" Bits="15-12" Description="IO管脚11的模式配置" />
<Bit Name="P10" Authority="RW" Bits="11-8" Description="IO管脚10的模式配置" />
<Bit Name="P9" Authority="RW" Bits="7-4" Description="IO管脚9的模式配置" />
<Bit Name="P8" Authority="RW" Bits="3-0" Description="IO管脚8的模式配置" />
</Register>
<Register Name="GPIO_WODR" Authority="RW" Address="0x60002008" Width="32" Description="输出数据寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_SODR" Authority="RW" Address="0x6000200c" Width="32" Description="输出置位寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="" Bits="0" Description="" />
</Register>
<Register Name="GPIO_CODR" Authority="RW" Address="0x60002010" Width="32" Description="输出清除寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_ODSR" Authority="RW" Address="0x60002014" Width="32" Description="输出状态寄存器">
<Bit Name="P15" Authority="RO" Bits="15" Description="" />
<Bit Name="P14" Authority="RO" Bits="14" Description="" />
<Bit Name="P13" Authority="RO" Bits="13" Description="" />
<Bit Name="P12" Authority="RO" Bits="12" Description="" />
<Bit Name="P11" Authority="RO" Bits="11" Description="" />
<Bit Name="P10" Authority="RO" Bits="10" Description="" />
<Bit Name="P9" Authority="RO" Bits="9" Description="" />
<Bit Name="P8" Authority="RO" Bits="8" Description="" />
<Bit Name="P7" Authority="RO" Bits="7" Description="" />
<Bit Name="P6" Authority="RO" Bits="6" Description="" />
<Bit Name="P5" Authority="RO" Bits="5" Description="" />
<Bit Name="P4" Authority="RO" Bits="4" Description="" />
<Bit Name="P3" Authority="RO" Bits="3" Description="" />
<Bit Name="P2" Authority="RO" Bits="2" Description="" />
<Bit Name="P1" Authority="RO" Bits="1" Description="" />
<Bit Name="P0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="GPIO_PSDR" Authority="RW" Address="0x60002018" Width="32" Description="管脚状态寄存器">
<Bit Name="P15" Authority="RO" Bits="15" Description="" />
<Bit Name="P14" Authority="RO" Bits="14" Description="" />
<Bit Name="P13" Authority="RO" Bits="13" Description="" />
<Bit Name="P12" Authority="RO" Bits="12" Description="" />
<Bit Name="P11" Authority="RO" Bits="11" Description="" />
<Bit Name="P10" Authority="RO" Bits="10" Description="" />
<Bit Name="P9" Authority="RO" Bits="9" Description="" />
<Bit Name="P8" Authority="RO" Bits="8" Description="" />
<Bit Name="P7" Authority="RO" Bits="7" Description="" />
<Bit Name="P6" Authority="RO" Bits="6" Description="" />
<Bit Name="P5" Authority="RO" Bits="5" Description="" />
<Bit Name="P4" Authority="RO" Bits="4" Description="" />
<Bit Name="P3" Authority="RO" Bits="3" Description="" />
<Bit Name="P2" Authority="RO" Bits="2" Description="" />
<Bit Name="P1" Authority="RO" Bits="1" Description="" />
<Bit Name="P0" Authority="RO" Bits="0" Description="" />
</Register>
<Register Name="GPIO_FLTEN" Authority="RW" Address="0x6000201c" Width="32" Description="输入信号滤波器使能控制寄存器">
<Bit Name="P15" Authority="RW" Bits="15" Description="" />
<Bit Name="P14" Authority="RW" Bits="14" Description="" />
<Bit Name="P13" Authority="RW" Bits="13" Description="" />
<Bit Name="P12" Authority="RW" Bits="12" Description="" />
<Bit Name="P11" Authority="RW" Bits="11" Description="" />
<Bit Name="P10" Authority="RW" Bits="10" Description="" />
<Bit Name="P9" Authority="RW" Bits="9" Description="" />
<Bit Name="P8" Authority="RW" Bits="8" Description="" />
<Bit Name="P7" Authority="RW" Bits="7" Description="" />
<Bit Name="P6" Authority="RW" Bits="6" Description="" />
<Bit Name="P5" Authority="RW" Bits="5" Description="" />
<Bit Name="P4" Authority="RW" Bits="4" Description="" />
<Bit Name="P3" Authority="RW" Bits="3" Description="" />
<Bit Name="P2" Authority="RW" Bits="2" Description="" />
<Bit Name="P1" Authority="RW" Bits="1" Description="" />
<Bit Name="P0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_PUDR" Authority="RW" Address="0x60002020" Width="32" Description="上拉/下拉配置寄存器">
<Bit Name="P15" Authority="RW" Bits="31-30" Description="上拉/下拉IO 管脚15" />
<Bit Name="P14" Authority="RW" Bits="29-28" Description="上拉/下拉IO 管脚14" />
<Bit Name="P13" Authority="RW" Bits="27-26" Description="上拉/下拉IO 管脚13" />
<Bit Name="P12" Authority="RW" Bits="25-24" Description="上拉/下拉IO 管脚12" />
<Bit Name="P11" Authority="RW" Bits="23-22" Description="上拉/下拉IO 管脚11" />
<Bit Name="P10" Authority="RW" Bits="21-20" Description="上拉/下拉IO 管脚10" />
<Bit Name="P9" Authority="RW" Bits="19-18" Description="上拉/下拉IO 管脚9" />
<Bit Name="P8" Authority="RW" Bits="17-16" Description="上拉/下拉IO 管脚8" />
<Bit Name="P7" Authority="RW" Bits="15-14" Description="上拉/下拉IO 管脚7" />
<Bit Name="P6" Authority="RW" Bits="13-12" Description="上拉/下拉IO 管脚6" />
<Bit Name="P5" Authority="RW" Bits="11-10" Description="上拉/下拉IO 管脚5" />
<Bit Name="P4" Authority="RW" Bits="9-8" Description="上拉/下拉IO 管脚4" />
<Bit Name="P3" Authority="RW" Bits="7-6" Description="上拉/下拉IO 管脚3" />
<Bit Name="P2" Authority="RW" Bits="5-4" Description="上拉/下拉IO 管脚2" />
<Bit Name="P1" Authority="RW" Bits="3-2" Description="上拉/下拉IO 管脚1" />
<Bit Name="P0" Authority="RW" Bits="1-0" Description="上拉/下拉IO 管脚0" />
</Register>
<Register Name="GPIO_DSCR" Authority="RW" Address="0x60002024" Width="32" Description="驱动强度配置寄存器">
<Bit Name="P15" Authority="RW" Bits="31-30" Description="" />
<Bit Name="P14" Authority="RW" Bits="29-28" Description="" />
<Bit Name="P13" Authority="RW" Bits="27-26" Description="" />
<Bit Name="P12" Authority="RW" Bits="25-24" Description="" />
<Bit Name="P11" Authority="RW" Bits="23-22" Description="" />
<Bit Name="P10" Authority="RW" Bits="21-20" Description="" />
<Bit Name="P9" Authority="RW" Bits="19-18" Description="" />
<Bit Name="P8" Authority="RW" Bits="17-16" Description="" />
<Bit Name="P7" Authority="RW" Bits="15-14" Description="" />
<Bit Name="P6" Authority="RW" Bits="13-12" Description="" />
<Bit Name="P5" Authority="RW" Bits="11-10" Description="" />
<Bit Name="P4" Authority="RW" Bits="9-8" Description="" />
<Bit Name="P3" Authority="RW" Bits="7-6" Description="" />
<Bit Name="P2" Authority="RW" Bits="5-4" Description="" />
<Bit Name="P1" Authority="RW" Bits="3-2" Description="" />
<Bit Name="P0" Authority="RW" Bits="1-0" Description="" />
</Register>
<Register Name="GPIO_OMCR" Authority="RW" Address="0x60002028" Width="32" Description="输出模式配置寄存器">
<Bit Name="CCM15" Authority="RW" Bits="31" Description="" />
<Bit Name="CCM14" Authority="RW" Bits="30" Description="" />
<Bit Name="CCM13" Authority="RW" Bits="29" Description="" />
<Bit Name="CCM12" Authority="RW" Bits="28" Description="" />
<Bit Name="CCM11" Authority="RW" Bits="27" Description="" />
<Bit Name="CCM10" Authority="RW" Bits="26" Description="" />
<Bit Name="CCM9" Authority="RW" Bits="25" Description="" />
<Bit Name="CCM8" Authority="RW" Bits="24" Description="" />
<Bit Name="CCM7" Authority="RW" Bits="23" Description="" />
<Bit Name="CCM6" Authority="RW" Bits="22" Description="" />
<Bit Name="CCM5" Authority="RW" Bits="21" Description="" />
<Bit Name="CCM4" Authority="RW" Bits="20" Description="" />
<Bit Name="CCM3" Authority="RW" Bits="19" Description="" />
<Bit Name="CCM2" Authority="RW" Bits="18" Description="" />
<Bit Name="CCM1" Authority="RW" Bits="17" Description="" />
<Bit Name="CCM0" Authority="RW" Bits="16" Description="" />
<Bit Name="ODP15" Authority="RW" Bits="15" Description="" />
<Bit Name="ODP14" Authority="RW" Bits="14" Description="" />
<Bit Name="ODP13" Authority="RW" Bits="13" Description="" />
<Bit Name="ODP12" Authority="RW" Bits="12" Description="" />
<Bit Name="ODP11" Authority="RW" Bits="11" Description="" />
<Bit Name="ODP10" Authority="RW" Bits="10" Description="" />
<Bit Name="ODP9" Authority="RW" Bits="9" Description="" />
<Bit Name="ODP8" Authority="RW" Bits="8" Description="" />
<Bit Name="ODP7" Authority="RW" Bits="7" Description="" />
<Bit Name="ODP6" Authority="RW" Bits="6" Description="" />
<Bit Name="ODP5" Authority="RW" Bits="5" Description="" />
<Bit Name="ODP4" Authority="RW" Bits="4" Description="" />
<Bit Name="ODP3" Authority="RW" Bits="3" Description="" />
<Bit Name="ODP2" Authority="RW" Bits="2" Description="" />
<Bit Name="ODP1" Authority="RW" Bits="1" Description="" />
<Bit Name="ODP0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_IECR" Authority="RW" Address="0x6000202c" Width="32" Description="外部中断使能寄存器">
<Bit Name="IEN15" Authority="RW" Bits="15" Description="" />
<Bit Name="IEN14" Authority="RW" Bits="14" Description="" />
<Bit Name="IEN13" Authority="RW" Bits="13" Description="" />
<Bit Name="IEN12" Authority="RW" Bits="12" Description="" />
<Bit Name="IEN11" Authority="RW" Bits="11" Description="" />
<Bit Name="IEN10" Authority="RW" Bits="10" Description="" />
<Bit Name="IEN9" Authority="RW" Bits="9" Description="" />
<Bit Name="IEN8" Authority="RW" Bits="8" Description="" />
<Bit Name="IEN7" Authority="RW" Bits="7" Description="" />
<Bit Name="IEN6" Authority="RW" Bits="6" Description="" />
<Bit Name="IEN5" Authority="RW" Bits="5" Description="" />
<Bit Name="IEN4" Authority="RW" Bits="4" Description="" />
<Bit Name="IEN3" Authority="RW" Bits="3" Description="" />
<Bit Name="IEN2" Authority="RW" Bits="2" Description="" />
<Bit Name="IEN1" Authority="RW" Bits="1" Description="" />
<Bit Name="IEN0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_IEER" Authority="RW" Address="0x60002030" Width="32" Description="外部中断使能设置寄存器">
<Bit Name="IEE15" Authority="RW" Bits="15" Description="" />
<Bit Name="IEE14" Authority="RW" Bits="14" Description="" />
<Bit Name="IEE13" Authority="RW" Bits="13" Description="" />
<Bit Name="IEE12" Authority="RW" Bits="12" Description="" />
<Bit Name="IEE11" Authority="RW" Bits="11" Description="" />
<Bit Name="IEE10" Authority="RW" Bits="10" Description="" />
<Bit Name="IEE9" Authority="RW" Bits="9" Description="" />
<Bit Name="IEE8" Authority="RW" Bits="8" Description="" />
<Bit Name="IEE7" Authority="RW" Bits="7" Description="" />
<Bit Name="IEE6" Authority="RW" Bits="6" Description="" />
<Bit Name="IEE5" Authority="RW" Bits="5" Description="" />
<Bit Name="IEE4" Authority="RW" Bits="4" Description="" />
<Bit Name="IEE3" Authority="RW" Bits="3" Description="" />
<Bit Name="IEE2" Authority="RW" Bits="2" Description="" />
<Bit Name="IEE1" Authority="RW" Bits="1" Description="" />
<Bit Name="IEE0" Authority="RW" Bits="0" Description="" />
</Register>
<Register Name="GPIO_IEDR" Authority="RW" Address="0x60002034" Width="32" Description="外部中断使能清除寄存器">
<Bit Name="IED15" Authority="RW" Bits="15" Description="" />
<Bit Name="IED14" Authority="RW" Bits="14" Description="" />
<Bit Name="IED13" Authority="RW" Bits="13" Description="" />
<Bit Name="IED12" Authority="RW" Bits="12" Description="" />
<Bit Name="IED11" Authority="RW" Bits="11" Description="" />
<Bit Name="IED10" Authority="RW" Bits="10" Description="" />
<Bit Name="IED9" Authority="RW" Bits="9" Description="" />
<Bit Name="IED8" Authority="RW" Bits="8" Description="" />
<Bit Name="IED7" Authority="RW" Bits="7" Description="" />
<Bit Name="IED6" Authority="RW" Bits="6" Description="" />
<Bit Name="IED5" Authority="RW" Bits="5" Description="" />
<Bit Name="IED4" Authority="RW" Bits="4" Description="" />
<Bit Name="IED3" Authority="RW" Bits="3" Description="" />
<Bit Name="IED2" Authority="RW" Bits="2" Description="" />
<Bit Name="IED1" Authority="RW" Bits="1" Description="" />
<Bit Name="IED0" Authority="RW" Bits="0" Description="" />
</Register>
</Peripheral>
<Peripheral Name="GPIO_IGRP">
<Register Name="GPIO_IGRPL" Authority="RW" Address="0x6000f000" Width="32" Description="外部中断组配置寄存器">
<Bit Name="GRP7" Authority="RW" Bits="30-28" Description="选择外部中断组7" />
<Bit Name="GRP6" Authority="RW" Bits="26-24" Description="选择外部中断组6" />
<Bit Name="GRP5" Authority="RW" Bits="22-20" Description="选择外部中断组5" />
<Bit Name="GRP4" Authority="RW" Bits="18-16" Description="选择外部中断组4" />
<Bit Name="GRP3" Authority="RW" Bits="14-12" Description="选择外部中断组3" />
<Bit Name="GRP2" Authority="RW" Bits="10-8" Description="选择外部中断组2" />
<Bit Name="GRP1" Authority="RW" Bits="6-4" Description="选择外部中断组1" />
<Bit Name="GRP0" Authority="RW" Bits="2-0" Description="选择外部中断组0" />
</Register>
<Register Name="GPIO_IGRPH" Authority="RW" Address="0x6000f004" Width="32" Description="外部中断组配置寄存器">
<Bit Name="GRP15" Authority="RW" Bits="30-28" Description="选择外部中断组15" />
<Bit Name="GRP14" Authority="RW" Bits="26-24" Description="选择外部中断组14" />
<Bit Name="GRP13" Authority="RW" Bits="22-20" Description="选择外部中断组13" />
<Bit Name="GRP12" Authority="RW" Bits="18-16" Description="选择外部中断组12" />
<Bit Name="GRP11" Authority="RW" Bits="14-12" Description="选择外部中断组11" />
<Bit Name="GRP10" Authority="RW" Bits="10-8" Description="选择外部中断组10" />
<Bit Name="GRP9" Authority="RW" Bits="6-4" Description="选择外部中断组9" />
<Bit Name="GRP8" Authority="RW" Bits="2-0" Description="选择外部中断组8" />
</Register>
<Register Name="GPIO_IGREX" Authority="RW" Address="0x6000f008" Width="32" Description="外部中断组扩展配置寄存器">
<Bit Name="GRP19" Authority="RW" Bits="15-12" Description="选择外部中断组19&#xD;&#xA;配置同GPR18控制位" />
<Bit Name="GRP18" Authority="RW" Bits="11-8" Description="选择外部中断组18&#xD;&#xA;0hGPIOB0.0 被选中&#xD;&#xA;1hGPIOB0.1 被选中&#xD;&#xA;2hGPIOB0.2 被选中&#xD;&#xA;3hGPIOB0.3 被选中&#xD;&#xA;其他:保留" />
<Bit Name="GRP17" Authority="RW" Bits="7-4" Description="选择外部中断组17&#xD;&#xA;配置同GPR16控制位" />
<Bit Name="GRP16" Authority="RW" Bits="3-0" Description="选择外部中断组16&#xD;&#xA;0hGPIOA0.0 被选中&#xD;&#xA;1hGPIOA0.1 被选中&#xD;&#xA;2hGPIOA0.2 被选中&#xD;&#xA;3hGPIOA0.3 被选中&#xD;&#xA;4hGPIOA0.4 被选中&#xD;&#xA;5hGPIOA0.5 被选中&#xD;&#xA;6hGPIOA0.6 被选中&#xD;&#xA;7hGPIOA0.7 被选中&#xD;&#xA;其他GPIOA0.0 被选中" />
</Register>
<Register Name="GPIO_CLKEN" Authority="RW" Address="0x6000f00c" Width="32" Description="GPIO组时钟使能控制寄存器">
<Bit Name="CLK_B0" Authority="RW" Bits="2" Description="" />
<Bit Name="CLK_A1" Authority="RW" Bits="1" Description="" />
<Bit Name="CLK_A0" Authority="RW" Bits="0" Description="" />
</Register>
</Peripheral>
<Peripheral Name="HWDIV">
<Register Name="HWD_DIVIDEND" Authority="RW" Address="0x70000000" Width="32" Description="被除数寄存器">
<Bit Name="DIVIDEND" Authority="RW" Bits="31-0" Description="被除数寄存器" />
</Register>
<Register Name="HWD_DIVISOR" Authority="RW" Address="0x70000004" Width="32" Description="除数寄存器">
<Bit Name="DIVISOR" Authority="RW" Bits="31-0" Description="除数寄存器" />
</Register>
<Register Name="HWD_QUOTIENT" Authority="RW" Address="0x70000008" Width="32" Description="商寄存器">
<Bit Name="QUOTIENT" Authority="RO" Bits="31-0" Description="商寄存器" />
</Register>
<Register Name="HWD_REMAINDER" Authority="RW" Address="0x7000000c" Width="32" Description="余数寄存器">
<Bit Name="REMAINDER" Authority="RO" Bits="31-0" Description="余数寄存器" />
</Register>
<Register Name="HWD_CR" Authority="RW" Address="0x70000010" Width="32" Description="控制寄存器">
<Bit Name="UNSIGN" Authority="RW" Bits="0" Description="运算符号位控制寄存器 &#xD;&#xA;0h有符号除法运算 &#xD;&#xA;1h无符号除法运算 " />
</Register>
</Peripheral>
<Peripheral Name="INTERRUPT">
<Register Name="VIC_ISER" Authority="RW" Address="0xe000e100" Width="32" Description="Interrupt Set Enable Register">
<Bit Name="SETENA0~31" Authority="RW" Bits="31-0" Description="中断向量号使能&#xD;&#xA;读操作:&#xD;&#xA;0 对应中断未使能&#xD;&#xA;1 对应中断已使能&#xD;&#xA;写操作:&#xD;&#xA;0 无效&#xD;&#xA;1 使能对应中断" />
</Register>
<Register Name="VIC_IWER" Authority="RW" Address="0xe000e140" Width="32" Description="Interrupt Wakeup Enable Register">
<Bit Name="SETENA0~31" Authority="RW" Bits="31-0" Description="设置中断低功耗唤醒功能&#xD;&#xA;读操作:&#xD;&#xA;0 对应中断的低功耗唤醒未使能&#xD;&#xA;1 对应中断的低功耗唤醒已使能&#xD;&#xA;写操作:&#xD;&#xA;0 无效&#xD;&#xA;1 使能对应中断的低功耗唤醒功能" />
</Register>
<Register Name="VIC_ICER" Authority="RW" Address="0xe000e180" Width="32" Description="Interrupt Clear Enable Register">
<Bit Name="CLRENA0~31" Authority="RW" Bits="31-0" Description="清除中断使能&#xD;&#xA;读操作:&#xD;&#xA;0 对应中断未使能&#xD;&#xA;1 对应中断已使能&#xD;&#xA;写操作:&#xD;&#xA;0 无效&#xD;&#xA;1 清除对应中断的使能" />
</Register>
<Register Name="VIC_IWDR" Authority="RW" Address="0xe000e1c0" Width="32" Description="Interrupt Wakeup Disable Register">
<Bit Name="CLRENA0~31" Authority="RW" Bits="31-0" Description="清除中断低功耗唤醒功能&#xD;&#xA;读操作:&#xD;&#xA;0 对应中断的低功耗唤醒未使能&#xD;&#xA;1 对应中断的低功耗唤醒已使能&#xD;&#xA;写操作:&#xD;&#xA;0 无效&#xD;&#xA;1 清除对应中断的低功耗唤醒功能" />
</Register>
<Register Name="VIC_ISPR" Authority="RW" Address="0xe000e200" Width="32" Description="Interrupt Set Pending Register">
<Bit Name="SETPEND0~31" Authority="RW" Bits="31-0" Description="更改中断的等待状态&#xD;&#xA;读操作:&#xD;&#xA;0 对应中断未处于等待状态&#xD;&#xA;1 对应中断已处于等待状态&#xD;&#xA;写操作:&#xD;&#xA;0 无效&#xD;&#xA;1 改变对应中断为等待状态" />
</Register>
<Register Name="VIC_ICPR" Authority="RW" Address="0xe000e280" Width="32" Description="Interrupt Clear Pending Register">
<Bit Name="CLRPEND0~31" Authority="RW" Bits="31-0" Description="清除中断的等待状态&#xD;&#xA;读操作:&#xD;&#xA;0 对应中断未处于等待状态&#xD;&#xA;1 对应中断已处于等待状态&#xD;&#xA;写操作:&#xD;&#xA;0 无效&#xD;&#xA;1 清除对应中断的等待状态" />
</Register>
<Register Name="VIC_IABR" Authority="RW" Address="0xe000e300" Width="32" Description="Interrupt Active Status Register">
<Bit Name="ACTIVE0~31" Authority="RW" Bits="31-0" Description="指示对应的中断源是否已经被CPU响应但还没有处理完成。&#xD;&#xA;读操作:&#xD;&#xA;0 没有被CPU响应&#xD;&#xA;1 已经被CPU响应但还没有处理完&#xD;&#xA;写操作:&#xD;&#xA;0 清除当前Active状态&#xD;&#xA;1 不允许软件写1可能导致不可预期的错误" />
</Register>
<Register Name="VIC_IPR0" Authority="RW" Address="0xe000e400" Width="32" Description="Interrupt Priority Register 0">
<Bit Name="PRI_3" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_3 中断号3的优先级设置&#xD;&#xA;" />
<Bit Name="PRI_2" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_2 中断号2的优先级设置" />
<Bit Name="PRI_1" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_1 中断号1的优先级设置" />
<Bit Name="PRI_0" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_0 中断号0的优先级设置" />
</Register>
<Register Name="VIC_IPR1" Authority="RW" Address="0xe000e404" Width="32" Description="Interrupt Priority Register 1">
<Bit Name="PRI_7" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_7 中断号7的优先级设置&#xD;&#xA;" />
<Bit Name="PRI_6" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_6 中断号6的优先级设置" />
<Bit Name="PRI_5" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_5 中断号5的优先级设置" />
<Bit Name="PRI_4" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_4 中断号4的优先级设置" />
</Register>
<Register Name="VIC_IPR2" Authority="RW" Address="0xe000e408" Width="32" Description="Interrupt Priority Register 2">
<Bit Name="PRI_11" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_11 中断号11的优先级设置&#xD;&#xA;" />
<Bit Name="PRI_10" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_10 中断号10的优先级设置" />
<Bit Name="PRI_9" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_9 中断号9的优先级设置" />
<Bit Name="PRI_8" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_8 中断号8的优先级设置" />
</Register>
<Register Name="VIC_IPR3" Authority="RW" Address="0xe000e40c" Width="32" Description="Interrupt Priority Register 3">
<Bit Name="PRI_15" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_15 中断号15的优先级设置" />
<Bit Name="PRI_14" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_14 中断号14的优先级设置&#xD;&#xA;" />
<Bit Name="PRI_13" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_13 中断号13的优先级设置" />
<Bit Name="PRI_12" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_12 中断号12的优先级设置" />
</Register>
<Register Name="VIC_IPR4" Authority="RW" Address="0xe000e410" Width="32" Description="Interrupt Priority Register 4">
<Bit Name="PRI_19" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_19 中断号19的优先级设置&#xD;&#xA;" />
<Bit Name="PRI_18" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_18 中断号18的优先级设置" />
<Bit Name="PRI_17" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_17 中断号17的优先级设置" />
<Bit Name="PRI_16" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_16 中断号16的优先级设置" />
</Register>
<Register Name="VIC_IPR5" Authority="RW" Address="0xe000e414" Width="32" Description="Interrupt Priority Register 5">
<Bit Name="PRI_23" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_23 中断号23的优先级设置" />
<Bit Name="PRI_22" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_22 中断号22的优先级设置" />
<Bit Name="PRI_21" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_21 中断号21的优先级设置" />
<Bit Name="PRI_20" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_20 中断号20的优先级设置" />
</Register>
<Register Name="VIC_IPR6" Authority="RW" Address="0xe000e418" Width="32" Description="Interrupt Priority Register 6">
<Bit Name="PRI_27" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_27 中断号27的优先级设置" />
<Bit Name="PRI_26" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_26 中断号26的优先级设置" />
<Bit Name="PRI_25" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_25 中断号25的优先级设置" />
<Bit Name="PRI_24" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_24 中断号24的优先级设置" />
</Register>
<Register Name="VIC_IPR7" Authority="RW" Address="0xe000e41c" Width="32" Description="Interrupt Priority Register 7">
<Bit Name="PRI_31" Authority="RW" Bits="31-30" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_31 中断号31的优先级设置" />
<Bit Name="PRI_30" Authority="RW" Bits="23-22" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_30 中断号30的优先级设置" />
<Bit Name="PRI_29" Authority="RW" Bits="15-14" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_29 中断号29的优先级设置" />
<Bit Name="PRI_28" Authority="RW" Bits="7-6" Description="设置对应中断号的优先级,数值越小,优先级越高&#xD;&#xA;PRI_28 中断号28的优先级设置" />
</Register>
<Register Name="VIC_ISR" Authority="RW" Address="0xe000ec00" Width="32" Description="Interrupt Status Register">
<Bit Name="VECPENDING" Authority="RW" Bits="20-12" Description="指示当前等待的最高优先级中断向量号" />
<Bit Name="VECACTIVE" Authority="RW" Bits="8-0" Description="指示当前CPU正在处理的中断向量号" />
</Register>
<Register Name="VIC_IPTR" Authority="RW" Address="0xe000ec04" Width="32" Description="Interrupt Priority Threshold Register">
<Bit Name="THDEN" Authority="RW" Bits="31" Description="中断优先级阈值有效位&#xD;&#xA;0 中断抢占不需要高于优先级阈值&#xD;&#xA;1 中断抢占需要优先级高于阈值" />
<Bit Name="VECTHD" Authority="RW" Bits="16-8" Description="优先级阈值对应的中断向量号。当VIC发现CPU从VECTHD所设置的中断服务程序退出时会硬件清除中断优先级阈值有效位THDEN" />
<Bit Name="PRITHD" Authority="RW" Bits="7-0" Description="中断抢占的优先级阈值设置&#xD;&#xA;仅最高两位[7:6]有效,剩下[5:0]保留。" />
</Register>
</Peripheral>
<Peripheral Name="CORET">
<Register Name="CORET_CSR" Authority="RW" Address="0xe000e010" Width="32" Description="控制寄存器">
<Bit Name="COUNTFLAG" Authority="RO" Bits="16" Description="表示在上一次读此寄存器后计数器是否计数到 0&#xD;&#xA;0 : 计数器还没有计数到0&#xD;&#xA;1 : 计数器已经计数到0&#xD;&#xA;在计数器的值由1变到0时COUNTFLAG会被置位。&#xD;&#xA;读CSR寄存器以及任何写CVR寄存器会使COUNTFLAG 清零。" />
<Bit Name="CLKSOURCE" Authority="RW" Bits="2" Description="系统定时器时钟(STCLK)的时钟源选择:&#xD;&#xA;0 : 时钟源为(CORECLK/8)&#xD;&#xA;1 : 时钟源为CORECLK" />
<Bit Name="TICKINT" Authority="RW" Bits="1" Description="中断使能:&#xD;&#xA;0 : 禁止计数到0的中断&#xD;&#xA;1 : 使能计数到0的中断&#xD;&#xA;写CVR寄存器会使计数器清零但不会导致系统计时器的中断状态位发生改变。" />
<Bit Name="ENABLE" Authority="RW" Bits="0" Description="定时器的使能控制:&#xD;&#xA;0 : 禁止定时器&#xD;&#xA;1 : 使能定时器" />
</Register>
<Register Name="CORET_RVR" Authority="RW" Address="0xe000e014" Width="32" Description="回填值寄存器">
<Bit Name="RELOAD" Authority="RW" Bits="23-0" Description="在计数器计数到0时RELOAD值会被赋给CORET_CVR寄存器。&#xD;&#xA;向CORET_RVR寄存器写0会使计数器在下一次循环时停止工作此后计数器的值将一直保持为0。当使用外部参考&#xD;&#xA;时钟使能计数器后,必须等到计数器正常计数开始后(即&#xD;&#xA;CORET_CVR 变为非0值时),才可以将 CORET_RVR 置为0以让计数器在下一次循环时停止工作否则计数器无法开始第一次计数。" />
</Register>
<Register Name="CORET_CVR" Authority="RW" Address="0xe000e018" Width="32" Description="当前值寄存器">
<Bit Name="CURRENT" Authority="RW" Bits="23-0" Description="计数器的当前值。&#xD;&#xA;&#xD;&#xA;写CORET_CVR寄存器会同时使此寄存器和COUNTFLAG&#xD;&#xA;状态位清零并且会导致下一个时钟周期开始时系统计时器取出寄存器CORET_RVR里的值并赋给CORET_CVR。&#xD;&#xA;注意写CORET_CVR不会导致系统计时器的中断状态位发生改变。&#xD;&#xA;读 CORET_CVR 会返回访问寄存器时计数器的值。" />
</Register>
</Peripheral>
</config>
</com.csky.cds.peripheral>