HT46R46/C46/R47/C47/R48A/C48A/R49
Rev. 1.41
18
December 30, 2008
·
PWM Outputs
All devices contain one or two PWM outputs pin
shared with pins PD0 and PD1. The PWM output
functions are chosen via configuration options and re-
main fixed after the device is programmed. Note that
the corresponding bit or bits of the port control regis-
ter, PDC, must setup the pin as an output to enable
the PWM output. If the PDC port control register has
setup the pin as an input, then the pin will function as a
normal logic input with the usual pull-high option, even
if the PWM configuration option has been selected.
·
A/D Inputs
Each device has four A/D converter inputs. All of
these analog inputs are pin-shared with I/O pins on
Port B. If these pins are to be used as A/D inputs and
not as normal I/O pins then the corresponding bits in
the A/D Converter Control Register, ADCR, must be
properly set. There are no configuration options asso-
ciated with the A/D function. If used as I/O pins, then
full pull-high resistor configuration options remain,
however if used as A/D inputs then any pull-high resis-
tor options associated with these pins will be automat-
ically disconnected.
V
D D
M
U
X
W a k e - u p O p t i o n
S y s t e m W a k e - u p
R e a d D a t a R e g i s t e r
C o n t r o l B i t
P u l l - H i g h
O p t i o n
D a t a B u s
W r i t e C o n t r o l R e g i s t e r
C h i p R e s e t
R e a d C o n t r o l R e g i s t e r
W r i t e D a t a R e g i s t e r
D a t a B i t
I / O P i n
W e a k
P u l l - u p
D
Q
C K
S
Q
D
Q
C K
S
Q
P A o n l y
Non-pin-shared Function Input/Output Ports
V
D D
M
U
X
R e a d D a t a R e g i s t e r
C o n t r o l B i t
P u l l - H i g h
O p t i o n
D a t a B u s
W r i t e C o n t r o l R e g i s t e r
C h i p R e s e t
R e a d C o n t r o l R e g i s t e r
W r i t e D a t a R e g i s t e r
D a t a B i t
I N T f o r P A 5 o n l y
T M R f o r P A 4 o n l y
P A 4 / T M R
P A 5 / I N T
W a k e - u p O p t i o n
S y s t e m W a k e - u p
W e a k
P u l l - u p
D
Q
C K
S
Q
D
Q
C K
S
Q
PA4/PA5 Input/Output Ports