English
Language : 

HT66FB30_12 Datasheet, PDF (6/26 Pages) Holtek Semiconductor Inc – Enhanced A/D Flash Type 8-Bit MCU
HT66FB30/HT66FB40/HT66FB50/HT66FB60
Pin Description
With the exception of the power pins, all pins on these devices can be referenced by their Port name, e.g. PA.0, PA.1
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, Serial Port pins, etc. The function of each pin is listed in the following tables, how-
ever the details behind how each pin is configured is contained in individual MCU and SPI to USB chip datasheet. The
important point to note here is that some I/O lines are not bonded to the external pins. Users should take special care of
these I/O port lines. Refer to the Hardware Considerations section for more details.
HT66FB30
Pin Name
Function
PA0~PA7 Port A
PB0~PB5 Port B
PC2~PC3 Port C
AN0~AN7 A/D converter input
VREF
A/D converter reference input
C0-, C1-
Comparator 0, 1 input
C0+, C1+ Comparator 0, 1 input
C0X, C1X Comparator 0, 1 output
TCK0, TCK1 TM0, TM1 input
TP0_0
TM0 I/O
TP1A
TM1 I/O
INT0, INT1 External interrupt 0, 1
PINT
Peripheral Interrupt ***
PCK
Peripheral Clock Output ***
SDI
SPI data input ***
SDO
SPI data output ***
SCS
SPI slave select ***
SCK
SCL
SDA
SPI serial clock ***
I2C clock
I2C data
OSC1
HXT/ERC pin
OSC2
HXT pin
XT1
LXT pin
XT2
LXT pin
RES
Reset input
VDD
MCU power supply *
AVDD
A/D converter power supply *
VSS
MCU ground **
AVSS
A/D converter ground **
UDP
USB D+ pin
UDN
USB D- pin
OP
PAWU
PAPU
PBPU
PCPU
ACERL
ADCR1
CP0C
CP1C
¾
TMPC0
TMPC0
¾
PRM0
PRM0
PRM0
PRM0
PRM0
PRM0
PRM0
PRM0
CO
CO
CO
CO
CO
¾
¾
¾
¾
¾
¾
I/T
ST
ST
ST
AN
AN
AN
AN
¾
ST
ST
ST
ST
ST
¾
ST
¾
ST
ST
ST
ST
HXT
¾
LXT
¾
ST
PWR
PWR
PWR
PWR
ST
ST
O/T Pin-Shared Mapping
CMOS ¾
CMOS ¾
CMOS ¾
¾ PA0~PA7
¾ PB5
¾ PA3, PC3
¾ PA2, PC2
CMOS PA0, PA5
¾ PA2, PA4
CMOS PA0
CMOS PA1
¾ PA3, PA4
¾ PC3 or PC4
CMOS PC2 or PC5
¾ PA6 or PC0
CMOS PA5 or PC1
CMOS PB5 or PC6
CMOS PA7 or PC7
NMOS PA7
NMOS PA6
¾ PB1
HXT PB2
¾ PB3
LXT PB4
¾ PB0
¾¾
¾¾
¾¾
¾¾
CMOS ¾
CMOS ¾
Rev. 1.30
6
December 12, 2012