=== =时钟20:6=== === ==
应先初始化状态寄存器
tx1714 EQU 7FFH
PA EQU 05H
PB EQU 0...
- 资源大小:1.16 kB
- 上传时间:2021-06-30
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
SCM
asm
资 源 简 介
=== =时钟20:6=== === ==
应先初始化状态寄存器
tx1714 EQU 7FFH
PA EQU 05H
PB EQU 06H
PC EQU 07H
PD EQU 20H
IAR EQU 00H 间接寻址寄存器
TMR0 EQU 01H 定时器
STATUS EQU 03H 状态寄存器
BSR EQU 04H bank选择寄存器
PORTA EQU 05H I/0端口寄存器
PORTB EQU 06H I/0端口寄存器
PORTC EQU 07H I/0端口寄存器
PORTD EQU 20H I/0端口寄存器
PULL EQU 21H PULL-High上拉寄存器
WAKEUP EQU 22H 唤醒控制寄存器--被用来设定watchdog允许和禁止
IRQM EQU 23H 中断屏蔽寄存器
IRQF EQU 24H 中断标志寄存器
WDTSEL EQU 25H
-=== === = clock 20 : 6 === === === == should first register initialization state tx1714 EQU 7FFH EQU PA PB EQU 05H 06H 07H PC EQU PD EQU 20H IAR E QU 00H indirectly addressable registers TMR0 EQU 01H timer STATUS EQU Mr send state BSR EQU-deposit bank in the 04H choice Register PORTA EQU 05H I/O ports Register P ORTB EQU 06H I/O ports Register PORTC EQU 07H I/O ports Register POR TD EQU 20H I/O ports Register PULL EQU 21H PULL-High pull Register WAKEUP EQU 22H awaken control registers-- were used to set watchdog allowed and prohi