数据搜索系统,热门电子元器件搜索 |
|
HT48R068B 数据表(PDF) 29 Page - Holtek Semiconductor Inc |
|
HT48R068B 数据表(HTML) 29 Page - Holtek Semiconductor Inc |
29 / 118 page Rev. 1.30 �8 �e���a�� 0�� �01� Rev. 1.30 �9 �e���a�� 0�� �01� HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU Input/Output Ports and Control Registers WithintheareaofSpecialFunctionRegisters,theportPA,PB,etcdataI/Oregistersandtheir associatedcontrolregisterPAC,PBC,etcplayaprominentrole.Theseregistersaremappedto specificaddresseswithintheDataMemoryasshownintheDataMemorytable.ThedataI/O registers,areusedtotransfertheappropriateoutputorinputdataontheport.Thecontrolregisters specifieswhichpinsoftheportaresetasinputsandwhicharesetasoutputs.Tosetupapinasan input,thecorrespondingbitofthecontrolregistermustbesethigh,foranoutputitmustbesetlow. Duringprograminitialisation,itisimportanttofirstsetupthecontrolregisterstospecifywhich pinsareoutputsandwhichareinputsbeforereadingdatafromorwritingdatatotheI/Oports.One flexiblefeatureoftheseregistersistheabilitytodirectlyprogramsinglebitsusingthe"SET[m].i" and"CLR[m].i"instructions.TheabilitytochangeI/Opinsfromoutputtoinputandviceversaby manipulatingspecificbitsoftheI/Ocontrolregistersduringnormalprogramoperationisauseful featureofthesedevices. STATUS Register Bit 7 6 5 4 3 2 1 0 Name — — TO PD� OV Z AC C R/W — — R R R/W R/W R/W R/W POR — — 0 0 X X X X "X" �nknown Bit7,6 Unimplemented,readas"0" Bit5 TO:WatchdogTime-Outflag 0:Afterpoweruporexecutingthe"CLRWDT"or"HALT"instruction 1:Awatchdogtime-outoccured. Bit4 PDF:Powerdownflag 0:Afterpoweruporexecutingthe"CLRWDT"instruction 1:Byexecutingthe"HALT"instruction Bit3 OV:Overflowflag 0:nooverflow 1:anoperationresultsinacarryintothehighest-orderbitbutnotacarryoutof thehighest-orderbitorviceversa. Bit2 Z:Zeroflag 0:Theresultofanarithmeticorlogicaloperationisnotzero 1:Theresultofanarithmeticorlogicaloperationisnotzero Bit1 AC:Auxiliaryflag 0:noauxiliarycarry 1:anoperationresultsinacarryoutofthelownibblesinaddition,ornoborrow fromthehighnibbleintothelownibbleinsubtraction Bit0 C:Carryflag 0:nocarry-out 1:anoperationresultsinacarryduringanadditionoperationorifaborrowdoes nottakeplaceduringasubtractionoperation Cisalsoaffectedbyarotatethroughcarryinstruction. |
类似零件编号 - HT48R068B_15 |
|
类似说明 - HT48R068B_15 |
|
|
链接网址 |
隐私政策 |
ALLDATASHEETCN.COM |
ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |