Electronic Components Datasheet Search
  English  ▼

X  

HT56R656 Datasheet(PDF) 39 Page - Holtek Semiconductor Inc

Part # HT56R656
Description  TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
PDF  145 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT56R656 Datasheet(HTML) 39 Page - Holtek Semiconductor Inc

Back Button HT56R656 Datasheet HTML 35Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 36Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 37Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 38Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 39Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 40Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 41Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 42Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 43Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 145 page
background image
Rev. 1.30
38
�a��� �� �013
Rev. 1.30
39
�a��� �� �013
HT56R62/HT56R65
HT56R642/HT56R644/HT56R654/HT56R656
TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
HT56R62/HT56R65
HT56R642/HT56R644/HT56R654/HT56R656
TinyPowerTM A/D Type with LCD 8-Bit OTP MCU
I/O Port Control Registers
EachI/OporthasitsowncontrolregisterknownasPAC,PBCandPDC,tocontroltheinput/output
configuration.Withthiscontrolregister,eachCMOSoutputorinputwithorwithoutpull-high
resistorstructurescanbereconfigureddynamicallyundersoftwarecontrol.EachpinoftheI/O
portsisdirectlymappedtoabitinitsassociatedportcontrolregister.FortheI/Opintofunctionas
aninput,thecorrespondingbitofthecontrolregistermustbewrittenasa″1″.Thiswillthenallow
thelogicstateoftheinputpintobedirectlyreadbyinstructions.Whenthecorrespondingbitofthe
controlregisteriswrittenasa″0″,theI/OpinwillbesetupasaCMOSoutput.Ifthepiniscurrently
setupasanoutput,instructionscanstillbeusedtoreadtheoutputregister.However,itshouldbe
notedthattheprogramwillinfactonlyreadthestatusoftheoutputdatalatchandnottheactual
logicstatusoftheoutputpin.
Pin-shared Functions
Theflexibilityofthemicrocontrollerrangeisgreatlyenhancedbytheuseofpinsthathavemore
thanonefunction.Limitednumbersofpinscanforceseriousdesignconstraintsondesignersbutby
supplyingpinswithmulti-functions,manyofthesedifficultiescanbeovercome.Forsomepins,the
chosenfunctionofthemulti-functionI/Opinsissetbyconfigurationoptionswhileforothersthe
functionissetbyapplicationprogramcontrol.
• ExternalInterruptInputs
TheexternalinterruptpinsINT0,INT1arepin-sharedwiththeI/OpinsPD4,PD5.For
applicationsnotrequiringanexternalinterruptinput,thepin-sharedexternalinterruptpincan
beusedasanormalI/Opin,howevertodothis,theexternalinterruptenablebitsintheINTC0
registermustbedisabled.
• ExternalTimerClockInput
TheexternaltimerpinsTMR0,TMR1andTMR2arepin-sharedwithI/Opins.Toconfigure
themtooperateastimerinputs,thecorrespondingcontrolbitsinthetimercontrolregistermust
becorrectlysetandthepinmustalsobesetupasaninput.NotethattheoriginalI/Ofunctionwill
remainevenifthepinissetuptobeusedasanexternaltimerinput.
• PFDOutput
ThedevicecontainsaPFDfunctionwhosesingleoutputispin-sharedwithI/OpinPA3.The
outputfunctionofthispinischosenviaaconfigurationoptionandremainsfixedafterthedevice
isprogrammed.Notethatthecorrespondingbitoftheportcontrolregister,PAC.3,mustsetupthe
pinasanoutputtoenablethePFDoutput.IfthePACportcontrolregisterhassetupthepinasan
input,thenthepinwillfunctionasanormallogicinputwiththeusualpull-highselection,evenif
thePFDconfigurationoptionhasbeenselected.
• PWMOutputs
ThedevicecontainsseveralPWMoutputssharedwithpinsPD0~PD3.ThePWMoutput
functionsarechosenviaregisters.Notethatthecorrespondingbitoftheportcontrolregister,
PDC,mustsetupthepinasanoutputtoenablethePWMoutput.IfthePDCportcontrolregister
hassetupthepinasaninput,thenthepinwillfunctionasanormallogicinputwiththeusual
pull-highselection,evenifthePWMregistershaveenabledthePWMfunction.
• A/DInputs
Thedevicecontainsamulti-channelA/Dconverterinputs.Alloftheseanaloginputsare
pin-sharedwithI/OpinsonPortB.IfthesepinsaretobeusedasA/Dinputsandnotasnormal
I/OpinsthenthecorrespondingbitsintheA/DConverterControlRegister,ADCR,mustbe
properlyset.TherearenoconfigurationoptionsassociatedwiththeA/Dfunction.IfusedasI/O
pins,thenfullpull-highresistorregisterremain,howeverifusedasA/Dinputsthenanypull-high
resistorselectionsassociatedwiththesepinswillbeautomaticallydisconnected.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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