欢迎访问ic37.com |
会员登录 免费注册
发布采购

BS83A04A-3 参数 Datasheet PDF下载

BS83A04A-3图片预览
型号: BS83A04A-3
PDF下载: 下载PDF文件 查看货源
内容描述: 触摸按键的8位闪存微控制器 [Touch Key 8-bit Flash MCU]
分类和应用: 闪存微控制器
文件页数/大小: 72 页 / 3982 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号BS83A04A-3的Datasheet PDF文件第34页浏览型号BS83A04A-3的Datasheet PDF文件第35页浏览型号BS83A04A-3的Datasheet PDF文件第36页浏览型号BS83A04A-3的Datasheet PDF文件第37页浏览型号BS83A04A-3的Datasheet PDF文件第39页浏览型号BS83A04A-3的Datasheet PDF文件第40页浏览型号BS83A04A-3的Datasheet PDF文件第41页浏览型号BS83A04A-3的Datasheet PDF文件第42页  
BS83A04A-3/BS83A04A-4  
8-bit Touch Key Flash MCU  
Port A Wake-up  
TheꢀHALTinstructionꢀforcesꢀtheꢀmicrocontrollerꢀintoꢀtheꢀSLEEPꢀorꢀIDLEꢀModeꢀwhichꢀpreservesꢀ  
power,aꢀfeatureꢀthatꢀisꢀimportantꢀforꢀbatteryꢀandꢀotherꢀlow-powerꢀapplications.ꢀVariousꢀmethodsꢀ  
existꢀtoꢀwake-upꢀtheꢀmicrocontroller,ꢀoneꢀofꢀwhichꢀisꢀtoꢀchangeꢀtheꢀlogicꢀconditionꢀonꢀoneꢀofꢀtheꢀPortꢀ  
Apinsꢀfromꢀhighꢀtoꢀlow.ꢀThisꢀfunctionꢀisꢀespeciallyꢀsuitableꢀforꢀapplicationsꢀthatꢀcanꢀbeꢀwokenꢀupꢀ  
viaꢀexternalꢀswitches.ꢀEachꢀpinꢀonꢀPortꢀAꢀcanꢀbeꢀselectedꢀindividuallyꢀtoꢀhaveꢀthisꢀwake-upꢀfeatureꢀ  
usingꢀtheꢀPAWUꢀregister.  
PAWU Register  
Bit  
7
D7  
R/W  
0
6
D6  
R/W  
0
5
D5  
R/W  
0
4
D4  
R/W  
0
3
Dꢇ  
R/W  
0
2
Dꢄ  
R/W  
0
1
D1  
R/W  
0
0
D0  
R/W  
0
Name  
R/W  
POR  
Bitꢀ7~0ꢀ  
PAWU:ꢀPAꢀwake-upꢀfunctionꢀcontrol  
ꢀ 0:ꢀdisable  
ꢀ 1:ꢀenable  
I/O Port Control Registers  
TheꢀI/OꢀportꢀhasꢀitsꢀownꢀcontrolꢀregisterꢀknownꢀasꢀPAC,ꢀtoꢀcontrolꢀtheꢀinput/outputꢀconfiguration.ꢀ  
Withthisꢀcontrolꢀregister,ꢀeachꢀCMOSꢀoutputꢀorꢀinputꢀcanꢀbeꢀreconfiguredꢀdynamicallyꢀunderꢀ  
softwareꢀcontrol.ꢀEachꢀpinꢀofꢀtheꢀI/Oꢀportꢀisꢀdirectlyꢀmappedꢀtoꢀaꢀbitꢀinꢀitsꢀassociatedꢀportꢀcontrolꢀ  
register.ꢀForꢀtheꢀI/Oꢀpinꢀtoꢀfunctionꢀasꢀanꢀinput,ꢀtheꢀcorrespondingꢀbitꢀofꢀtheꢀcontrolꢀregisterꢀmustꢀ  
beꢀwrittenꢀasꢀaꢀ"1".ꢀThisꢀwillꢀthenꢀallowꢀtheꢀlogicꢀstateꢀofꢀtheꢀinputꢀpinꢀtoꢀbeꢀdirectlyꢀreadꢀbyꢀ  
instructions.ꢀWhenꢀtheꢀcorrespondingꢀbitꢀofꢀtheꢀcontrolꢀregisterꢀisꢀwrittenꢀasꢀaꢀ"0",ꢀtheꢀI/Oꢀpinꢀwillꢀ  
beꢀsetupꢀasꢀaꢀCMOSꢀoutput.ꢀIfꢀtheꢀpinꢀisꢀcurrentlyꢀsetupꢀasꢀanꢀoutput,ꢀinstructionsꢀcanꢀstillꢀbeꢀusedꢀ  
toꢀreadꢀtheꢀoutputꢀregister.ꢀHowever,ꢀitꢀshouldꢀbeꢀnotedꢀthatꢀtheꢀprogramꢀwillꢀinꢀfactꢀonlyꢀreadꢀtheꢀ  
statusꢀofꢀtheꢀoutputꢀdataꢀlatchꢀandꢀnotꢀtheꢀactualꢀlogicꢀstatusꢀofꢀtheꢀoutputꢀpin.  
PAC Register  
Bit  
7
D7  
R/W  
1
6
D6  
R/W  
1
5
D5  
R/W  
1
4
D4  
R/W  
1
3
Dꢇ  
R/W  
1
2
Dꢄ  
R/W  
1
1
D1  
R/W  
1
0
D0  
R/W  
1
Name  
R/W  
POR  
Bitꢀ7~0ꢀ  
PAC:ꢀI/OꢀPortꢀbitꢀ7ꢀ~ꢀbitꢀ0ꢀInput/OutputꢀControl  
ꢀ 0:ꢀoutput  
ꢀ 1:ꢀinput  
Rev. 1.00  
ꢇꢅ  
�eꢀꢁꢂaꢁꢃ ꢄꢅꢆ ꢄ01ꢇ