HT45F4N/HT45FH4N
Power Bank Flash MCU
Pin Descriptions
Withꢀtheꢀexceptionꢀofꢀtheꢀpowerꢀpinsꢀandꢀsomeꢀrelevantꢀtransformerꢀcontrolꢀpins,ꢀallꢀpinsꢀonꢀtheseꢀ
devicesꢀcanꢀbeꢀreferencedꢀbyꢀtheirꢀPortꢀname,ꢀe.g.ꢀPA0,ꢀPA1ꢀetc,ꢀwhichꢀreferꢀtoꢀtheꢀdigitalꢀI/Oꢀ
functionꢀofꢀtheꢀpins.ꢀHoweverꢀtheseꢀPortꢀpinsꢀareꢀalsoꢀsharedꢀwithꢀotherꢀfunctionꢀsuchꢀasꢀtheꢀAnalogꢀ
toꢀDigitalꢀConverter,ꢀTimerꢀModuleꢀpinsꢀetc.ꢀTheꢀfunctionꢀofꢀeachꢀpinꢀisꢀlistedꢀinꢀtheꢀfollowingꢀtable,ꢀ
howeverꢀtheꢀdetailsꢀbehindꢀhowꢀeachꢀpinꢀisꢀconfiguredꢀisꢀcontainedꢀinꢀotherꢀsectionsꢀofꢀtheꢀdatasheet.
HT45F4N
Pin Name
Function
PA0
OPT
I/T
ST
ST
AN
O/T
Description
PAPU
PAWU
Geneꢂal puꢂpose I/O. Registeꢂ enaꢁled pull-up and
wake-up.
CMOS
PA0/TP3_1/AN0
TP3_1
AN0
TMPC1
CMOS TM3 I/O
ADCR0
ACERL
—
ADC input
PAPU
PAWU
Geneꢂal puꢂpose I/O. Registeꢂ enaꢁled pull-up and
wake-up.
PA1
DAPWR
AN1
ST
AN
AN
AN
ST
CMOS
—
—
D/A Conveꢂteꢂ poweꢂ input
PA1/DAPWR/AN1/
VREF
ADCR0
ACERL
—
ADC input
VREF
PAꢅ
ADCR1
—
A/D Conveꢂteꢂ ꢂefeꢂen�e voltage input
PAPU
PAWU
Geneꢂal puꢂpose I/O. Registeꢂ enaꢁled pull-up and
wake-up.
CMOS
INTEG
INTC1
INT0
TCKꢅ
ANꢅ
ST
ST
AN
—
—
—
Exteꢂnal inteꢂꢂupt 0
TMꢅ �lo�k input
ADC input
PAꢅ/[INT0]/TCKꢅ/
ANꢅ
—
ACERL
ADCR0
PAPU
PAWU
Geneꢂal puꢂpose I/O. Registeꢂ enaꢁled pull-up and
wake-up.
PA3
ST
ST
CMOS
INTEG
INTC1
PA3/[INT1]/TCK1/
SCOMꢅ
INT1
—
—
Exteꢂnal inteꢂꢂupt 1
TM1 �lo�k input
TCK1
—
ST
—
SCOMꢅ SCOMC
SCOM Softwaꢂe �ontꢂolled LCD COM
PAPU
PAꢃ
Geneꢂal puꢂpose I/O. Registeꢂ enaꢁled pull-up and
wake-up.
ST
CMOS
PAWU
INTEG
INTꢅ
ST
ST
—
—
Exteꢂnal inteꢂꢂupt ꢅ
INTC1
PAꢃ/[INTꢅ]/TP0_1/
[OUT1H]/SCOM1
TP0_1
TMPC0
CMOS TM0 I/O
PRM
TMPC1
OUT1H
CMOS Coꢀpleꢀentaꢂy PWM1 output
SCOM Softwaꢂe �ontꢂolled LCD COM
SCOM1 SCOMC
—
PAPU
PA5
Geneꢂal puꢂpose I/O. Registeꢂ enaꢁled pull-up and
wake-up.
ST
CMOS
PAWU
INTEG
INT0
PA5/INT0/TCK0/
SCOM3
ST
—
—
Exteꢂnal inteꢂꢂupt 0
TM0 �lo�k input
INTC1
TCK0
—
ST
—
SCOM3 SCOMC
SCOM Softwaꢂe �ontꢂolled LCD COM
Rev. 1.30
11
De�eꢀꢁeꢂ 1ꢃꢄ ꢅ01ꢆ