文件名称:PIEZO
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 马**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
16C54睡眠例程
WRITTEN BY NIGEL GARDNER
COPYRIGHT BLUEBIRD ELECTRONICS - 01 380 725110
DATE 3/7/95
ITERATION 1.0
FILE SAVED AS PIEZO.ASM
FOR PIC16C5x
CLOCK any
portb equ 6
#define RC portb,0 rc time constant for testing first time
power up
org 00
****** initialize ******
init clrf portb
movlw 0fh portb lower 4 bits as inputs
tris portb
btfss RC test for first pass
sleep yes first time
main program continues here on after
a wakeup from sleep as opposed
to the first time through.
***** reset vector ******
org 1ffh for 16c54/55
goto init start programme here !
end
- WRITTEN BY NIGEL GARDNER
COPYRIGHT BLUEBIRD ELECTRONICS- 01 380 725110
DATE 3/7/95
ITERATION 1.0
FILE SAVED AS PIEZO.ASM
FOR PIC16C5x
CLOCK any
portb equ 6
#define RC portb,0 rc time constant for testing first time
power up
org 00
****** initialize******
init clrf portb
movlw 0fh portb lower 4 bits as inputs
tris portb
btfss RC test for first pass
sleep yes first time
main program continues here on after
a wakeup from sleep as opposed
to the first time through.
***** reset vector ******
org 1ffh for 16c54/55
goto init start programme here !
end
WRITTEN BY NIGEL GARDNER
COPYRIGHT BLUEBIRD ELECTRONICS - 01 380 725110
DATE 3/7/95
ITERATION 1.0
FILE SAVED AS PIEZO.ASM
FOR PIC16C5x
CLOCK any
portb equ 6
#define RC portb,0 rc time constant for testing first time
power up
org 00
****** initialize ******
init clrf portb
movlw 0fh portb lower 4 bits as inputs
tris portb
btfss RC test for first pass
sleep yes first time
main program continues here on after
a wakeup from sleep as opposed
to the first time through.
***** reset vector ******
org 1ffh for 16c54/55
goto init start programme here !
end
- WRITTEN BY NIGEL GARDNER
COPYRIGHT BLUEBIRD ELECTRONICS- 01 380 725110
DATE 3/7/95
ITERATION 1.0
FILE SAVED AS PIEZO.ASM
FOR PIC16C5x
CLOCK any
portb equ 6
#define RC portb,0 rc time constant for testing first time
power up
org 00
****** initialize******
init clrf portb
movlw 0fh portb lower 4 bits as inputs
tris portb
btfss RC test for first pass
sleep yes first time
main program continues here on after
a wakeup from sleep as opposed
to the first time through.
***** reset vector ******
org 1ffh for 16c54/55
goto init start programme here !
end
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PIEZO.ASM