HT56R66 Holtek Semiconductor Inc., HT56R66 Datasheet - Page 4

no-image

HT56R66

Manufacturer Part Number
HT56R66
Description
Tinypower Tm A/d Type With Lcd 8-bit Otp Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Pin Description
The following table depicts the pins common to all devices.
Rev. 1.10
PA0/BZ
PA1/BZ
PA2
PA3/PFD
PA4/TMR2
PA5/TMR3
PA6~PA7
PB0/AN0~
PB7/AN7
PD0/PWM0~
PD3/PWM3
PD4/INT0
PD5/INT1
PD6/TMR0
PD7/TMR1
OSC1
OSC2
OSC3
OSC4
VREF
RES
VDD
VSS
AVDD
AVSS
Pin Name
I/O
I/O
I/O
I/O
O
O
I
I
I
I
Configuration
Crystal or
RC or EC
32768Hz
Option
BZ/BZ
PFD
Bidirectional 8-bit input/output port. Each individual bit on this port can be
configured as a wake-up input using the PAWU register. Software instruc-
tions determine if the pin is a CMOS output or Schmitt trigger input. A
pull-high resistor can be connected to each pin using the PAPU register. Pins
PA0, PA1, PA3, PA4 and PA5 are shared with BZ, BZ, PFD, TMR2 and
TMR3 respectively, the function of which is chosen via configuration option.
Pins PA0~PA3 can also be setup as open drain pins using the MISC register.
Bidirectional 8-bit input/output port. Software instructions determine if the pin
is a CMOS output or Schmitt trigger input. A pull-high resistor can be con-
nected to each pin using the PBPU register. PB is pin-shared with the A/D in-
put pins. The A/D inputs are selected via software instructions. Once selected
as an A/D input, the I/O function and pull-high resistor selections are disabled
automatically.
Bidirectional 8-bit input/output port. Software instructions determine if the pin
is a CMOS output or Schmitt trigger input. A pull-high resistor can be con-
nected to each pin using the PDPU register. The PWM outputs,
PWM0~PWM3, are pin shared with pins PD0~PD3, the function of which is
chosen using the PWM registers. Pins PD4~PD7 are pin-shared with INT0,
INT1, TMR0 and TMR1 respectively.
OSC1, OSC2 are connected to an external RC network or external crystal,
determined by configuration option, for the internal system clock. If the RC
system clock option is selected, pin OSC2 can be used to measure the sys-
tem clock at 1/4 frequency. EC is external clock mode, we can connect exter-
nal clock to OSC1 directly.
OSC3 and OSC4 are connected to a 32768Hz crystal oscillator to form a real
time clock for f
ration option.
A/D reference voltage input pin
Schmitt Trigger reset input. Active low
Positive power supply
Negative power supply, ground
Analog positive power supply
Analog negative power supply, ground
SUB
4
or f
SL
. This 32768Hz crystal is disabled/enabled by configu-
Description
HT56R66/HT56R666
September 8, 2009

Related parts for HT56R66