📄 240xavector.h
字号:
; File Name: 240xAvectors.h
.sect "vectors" ; 定义主向量断
Rsvect b _c_into ;1 复位矢量
Int1 b GIsr1 ; 中断优先级1
Int2 b GIsr2 ; 中断优先级2
Int3 b GIsr3 ; 中断优先级3
Int4 b GIsr4 ; 中断优先级4
Int5 b GIsr5 ; 中断优先级5
Int6 b GIsr6 ; 中断优先级6
Reserved b Phantom ; 保留
SwInt8 b Phantom ; 软件中断
SwInt9 b Phantom ; 软件中断
SwInt10 b Phantom ; 软件中断
SwInt11 b Phantom ; 软件中断
SwInt12 b Phantom ; 软件中断
SwInt13 b Phantom ; 软件中断
SwInt14 b Phantom ; 软件中断
SwInt15 b Phantom ; 软件中断
SwInt16 b Phantom ; 软件中断
Trap b Phantom ; Trap矢量
Nmi b Nmi ;3 不可屏蔽中断
Emv_trap b Phantom ;2 仿真Trap
SwInt20 b Phantom ; 软件中断
SwInt21 b Phantom ; 软件中断
SwInt22 b Phantom ; 软件中断
SwInt23 b Phantom ; 软件中断
SwInt24 b Phantom ; 软件中断
SwInt25 b Phantom ; 软件中断
SwInt26 b Phantom ; 软件中断
SwInt27 b Phantom ; 软件中断
SwInt28 b Phantom ; 软件中断
SwInt29 b Phantom ; 软件中断
SwInt30 b Phantom ; 软件中断
SwInt31 b Phantom ; 软件中断
.word 0000h ; 安全密码存放在40~43h中
.word 0000h
.sect ".pvecs"; 定义子向量断
Pvect b PvIsr ; 假中断地址向量0000h
XInt1 b XInt1Isr ;7、48 外部逻辑中断地址向量0001h
b Phantom ; 保留中断地址向量0002h
b Phantom ; 保留中断地址向量0003h
AdcInt b AdcIsr ;6、47 ADC中断地址向量0004h
SpiInt b SpiIsr ;9、42 SPI中断地址向量0005h
RxInt b RxIsr ;10、43 SCI接收中断地址向量0006h
TxInt b TxIsr ;11、44 SCI发送中断地址向量0007h
b Phantom ; 保留中断地址向量0008h
b Phantom ; 保留中断地址向量0009h
b Phantom ; 保留中断地址向量000ah
b Phantom ; 保留中断地址向量000bh
b Phantom ; 保留中断地址向量000ch
b Phantom ; 保留中断地址向量000dh
b Phantom ; 保留中断地址向量000eh
b Phantom ; 保留中断地址向量000fh
b Phantom ; 保留中断地址向量0010h
XInt2 b XInt2Isr ;8、49 外部逻辑中断地址向量0011h
b Phantom ; 保留中断地址向量0012h
b Phantom ; 保留中断地址向量0013h
b Phantom ; 保留中断地址向量0014h
b Phantom ; 保留中断地址向量0015h
b Phantom ; 保留中断地址向量0016h
b Phantom ; 保留中断地址向量0017h
b Phantom ; 保留中断地址向量0018h
PdpIntB b PdpintBIsr ;5 功率驱动保护B中断地址向量0019h 仅在06和07中
b Phantom ; 保留中断地址向量001ah
b Phantom ; 保留中断地址向量001bh
b Phantom ; 保留中断地址向量001ch
b Phantom ; 保留中断地址向量001dh
b Phantom ; 保留中断地址向量001eh
b Phantom ; 保留中断地址向量001fh
PdpIntA b PdpintAIsr ;4 功率驱动保护A中断地址向量0020h
Cmp1Int b Phantom ;14 比较匹配1中断地址向量0021h
Cmp2Int b Phantom ;15 比较匹配2中断地址向量0022h
Cmp3Int b Phantom ;16 比较匹配3中断地址向量0023h
Cmp4Int b Phantom ;21 比较匹配4中断地址向量0024h 仅在06和07中
Cmp5Int b Phantom ;22 比较匹配5中断地址向量0025h 仅在06和07中
Cmp6Int b Phantom ;23 比较匹配6中断地址向量0026h 仅在06和07中
T1PInt b Phantom ;17 通用定时器1周期中断地址向量0027h
T1CInt b Phantom ;18 通用定时器1比较中断地址向量0028h
T1UFInt b Phantom ;19 通用定时器1下溢中断地址向量0029h
T1DFInt b Phantom ;20 通用定时器1上溢中断地址向量002ah
T2PInt b Phantom ;28 通用定时器2周期中断地址向量002bh
T2CInt b Phantom ;29 通用定时器2比较中断地址向量002ch
T2UFInt b Phantom ;30 通用定时器2下溢中断地址向量002dh
T2DFInt b Phantom ;31 通用定时器2上溢中断地址向量002eh
T3PInt b Phantom ;24 通用定时器3周期中断地址向量002fh 仅在06和07中
T3CInt b Phantom ;25 通用定时器3比较中断地址向量0030h 仅在06和07中
T3UFInt b Phantom ;26 通用定时器3下溢中断地址向量0031h 仅在06和07中
T3DFInt b Phantom ;27 通用定时器3上溢中断地址向量0032h 仅在06和07中
Cap1Int b Phantom ;36 捕获单元1中断地址向量0033h
Cap2Int b Phantom ;37 捕获单元2中断地址向量0034h
Cap3Int b Phantom ;38 捕获单元3中断地址向量0035h
Cap4Int b Phantom ;39 捕获单元4中断地址向量0036h 仅在06和07中
Cap5Int b Phantom ;40 捕获单元5中断地址向量0037h 仅在06和07中
Cap6Int b Phantom ;41 捕获单元6中断地址向量0038h 仅在06和07中
T4PInt b Phantom ;32 通用定时器4周期中断地址向量0039h 仅在06和07中
T4CInt b Phantom ;33 通用定时器4比较中断地址向量003ah 仅在06和07中
T4UFInt b Phantom ;34 通用定时器4下溢中断地址向量003bh 仅在06和07中
T4DFInt b Phantom ;35 通用定时器4上溢中断地址向量003ch 仅在06和07中
b Phantom ; 保留中断地址向量003dh
b Phantom ; 保留中断地址向量003eh
b Phantom ; 保留中断地址向量003fh
CanMbInt b Phantom ;12、45 CAN邮箱中断地址向量0040h
CanErInt b Phantom ;13、46 CAN错误中断地址向量0041h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -