HT46R01/HT46R02/HT46R03
Pin Description
Configuration
Options
Pin Name
I/O
Description
Bidirectional single line I/O. The pin can be setup as a wake-up input using the
wake-up register. Software instructions determine if the pin is a CMOS output
or a Schmitt trigger input. A pull-high resistor can be connected using the
pull-high register. PA0 is pin-shared with the AN0 input pin. The A/D input
function is selected via software instructions. If selected as an A/D input, the
I/O function and pull-high resistor functions are disabled automatically.
PA0/AN0
I/O
¾
Bidirectional single line I/O. The pin can be setup as a wake-up input using the
wake-up register. Software instructions determine if the pin is a CMOS output
or a Schmitt trigger input. A pull-high resistor can be connected using the
pull-high register. PA1 is pin-shared with the PFD output and the AN1 input
pin. The A/D input function is selected via software instructions. If selected as
an A/D input, the I/O function, PFD output and pull-high resistor functions are
disabled automatically. If the A/D function is not selected the PFD output or
I/O function selection is chosen via a bit in the CRTL0 register.
PA1/PFD/AN1
I/O
¾
Bidirectional single line I/O. The pin can be setup as a wake-up input using the
wake-up register. Software instructions determine if the pin is a CMOS output
or a Schmitt trigger input. A pull-high resistor can be connected using the
pull-high register. PA2 is pin-shared with the TMR0 input and the AN2 input
pin. The A/D input function is selected via software instructions. If selected as
an A/D input, the I/O function, timer input and pull-high resistor functions are
disabled automatically.
PA2/TMR0/AN2 I/O
¾
¾
¾
Bidirectional single line I/O. The pin can be setup as a wake-up input using the
wake-up register. Software instructions determine if the pin is a CMOS output
or a Schmitt trigger input. A pull-high resistor can be connected using the
pull-high register. PA3 is pin-shared with the INT input and the AN3 input pin.
The A/D input function is selected via software instructions. If selected as an
A/D input, the I/O function, external interrupt input and pull-high resistor func-
tions are disabled automatically.
PA3/INT/AN3
I/O
Bidirectional single line I/O. The pin can be setup as a wake-up input using the
wake-up register. Software instructions determine if the pin is a CMOS output
or a Schmitt trigger input. A pull-high resistor can be connected using the
pull-high register. On the HT46R01 devices, PA4 is pin-shared with the PWM
output pin, while on the HT46R02 and HT46R03 devices, the pin is shared
with both the TMR1 input and the PWM output pin. The PWM output or I/O
function selection is chosen via a bit in CTRL0 register.
PA4/TMR1/PWM I/O
Bidirectional 2-line I/O. The pins can be setup as wake-up inputs using the
wake-up register. Software instructions determine if the pins are CMOS out-
puts or Schmitt trigger inputs. Pull-high resistors can be connected using the
pull-high register. Configuration options determine if the pins are to be used
as oscillator pins or I/O pins. Configuration options also determine which oscil-
lator mode is selected. The four oscillator modes are:
PA6/OSC1
I/O
RC, Crystal,
RTC or I/O
1. Internal RC OSC: both pins configured as I/Os
PA5/OSC2
2. External crystal OSC: both pins configured as OSC1/OSC2
3. Internal RC + RTC OSC: both pins configured as OSC2, OSC1.
4. External RC OSC+PA5: PA6 configured as OSC1 pin, PA5 configured as
I/O
If the internal RC OSC is selected, the frequency will be fixed at either 4MHz,
8MHz or 12MHz, dependent upon which device is chosen.
Active low Schmitt trigger reset input or PA7 input. A configuration option de-
termines which function is selected.
PA7/RES
I
PA7 or RES
VDD
VSS
Positive power supply
¾
¾
¾
¾
Negative power supply, ground
Note: 1. Each pin on PAexcept PA7 can be programmed through a configuration option to have a wake-up function.
2. Each pin on PA except PA7 can be selected to have a pull-high resistor.
Rev. 1.00
3
September 21, 2007