Electronic Components Datasheet Search |
|
HT46R068B Datasheet(PDF) 30 Page - Holtek Semiconductor Inc |
|
HT46R068B Datasheet(HTML) 30 Page - Holtek Semiconductor Inc |
30 / 135 page Rev. 1.50 30 �e���a�� 05� �015 Rev. 1.50 31 �e���a�� 05� �015 HT46R068B/HT46R069B Enhanced A/D 8-Bit OTP MCU HT46R068B/HT46R069B Enhanced A/D 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-orderbitbutnotacarryoutofthe highest-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. |
Similar Part No. - HT46R068B_15 |
|
Similar Description - HT46R068B_15 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link Exchange | Manufacturer List 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 |