EasyManuals Logo

Holtek HT66F0175 User Manual

Default Icon
207 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #66 background imageLoading...
Page #66 background image
Rev. 1.50 66 August 28, 2017 Rev. 1.50 67 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
I/O Port Control Registers
EachPorthasitsowncontrolregister,knownasPAC~PDC,whichcontrolstheinput/output
configuration.Withthiscontrolregister,eachI/Opinwithorwithoutpull-highresistorscanbe
reconfigureddynamicallyundersoftwarecontrol.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.
I/O Port Source Current Control
ThesedevicessupportdifferentsourcecurrentdrivingcapabilityforeachI/Oport.Withthe
correspondingselectionregister,SLEDC0andSLEDC1,eachI/Oportcansupportfourlevelsofthe
sourcecurrentdrivingcapability.UsersshouldrefertotheD.C.characteristicssectiontoselectthe
desiredsourcecurrentfordifferentapplications.
Register
Name
Bit
7 6 5 4 3 2 1 0
SLEDC0 PBPS3 PBPS2 PBPS1 PBPS0 PAPS3 PAPS2 PAPS1 PAPS0
SLEDC1
(HT66F0175)
PCPS3 PCPS2 PCPS1 PCPS0
SLEDC1
(HT66F0185)
PDPS1 PDPS0 PCPS3 PCPS2 PCPS1 PCPS0
I/O Port Source Current Control Registers List
SLEDC0 Register
Bit 7 6 5 4 3 2 1 0
Name PBPS3 PBPS2 PBPS1 PBPS0 PAPS3 PAPS2 PAPS1 PAPS0
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 1 0 1 0 1 0 1
Bit7~6 PBPS3~PBPS2:PB6~PB4sourcecurrentselection
00:sourcecurrent=Level0(min.)
01:sourcecurrent=Level1
10:sourcecurrent=Level2
11:sourcecurrent=Level3(max.)
Bit5~4 PBPS1~PBPS0:PB3~PB0sourcecurrentselection
00:sourcecurrent=Level0(min.)
01:sourcecurrent=Level1
10:sourcecurrent=Level2
11:sourcecurrent=Level3(max.)
Bit3~2 PAPS3~PAPS2:PA7~PA4sourcecurrentselection
00:sourcecurrent=Level0(min.)
01:sourcecurrent=Level1
10:sourcecurrent=Level2
11:sourcecurrent=Level3(max.)
Bit1~0 PAPS1~PAPS0:PA3~PA0sourcecurrentselection
00:sourcecurrent=Level0(min.)
01:sourcecurrent=Level1
10:sourcecurrent=Level2
11:sourcecurrent=Level3(max.)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Holtek HT66F0175 and is the answer not in the manual?

Holtek HT66F0175 Specifications

General IconGeneral
BrandHoltek
ModelHT66F0175
CategoryStorage
LanguageEnglish