Electronic Components Datasheet Search
  English  ▼

X  

HT49RA1 Datasheet(PDF) 16 Page - Holtek Semiconductor Inc

Part # HT49RA1
Description  Remote Type 8-Bit MCU with LCD
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT49RA1 Datasheet(HTML) 16 Page - Holtek Semiconductor Inc

Back Button HT49RA1 Datasheet HTML 12Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 13Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 14Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 15Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 16Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 17Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 18Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 19Page - Holtek Semiconductor Inc HT49RA1 Datasheet HTML 20Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 58 page
background image
HT49RA1/HT49CA1
Rev. 1.00
16
May 7, 2008
Timer/Event Counter 0/1 Registers
-
TMR0, TMR0C, TMR1H, TMR1L, TMR1C
All devices possess a single internal 8-bit count-up
timer. An associated register known as TMR0 is the lo-
cation where the timer
¢s 8-bit value is located. This reg-
ister can also be preloaded with fixed data to allow
different time intervals to be setup. An associated con-
trol register, known as TMR0C, contains the setup infor-
mation for this timer, which determines in what mode the
timer is to be used as well as containing the timer on/off
control function.
All devices possess a single internal 16-bit count-up
timer. An associated register known as TMR1H, TMR1L
is the location where the timer
¢s 16-bit value is located.
This register can also be preloaded with fixed data to al-
low different time intervals to be setup. An associated
control register, known as TMR1C, contains the setup
information for this timer, which determines in what
mode the timer is to be used as well as containing the
timer on/off control function.
Input/Output Ports and Control Registers
Within the area of Special Function Registers, the I/O
registers and their associated control registers play a
prominent role. All I/O ports have a designated register
correspondingly labeled as PA, PB, PC and PD. These
labeled I/O registers are mapped to specific addresses
within the Data Memory as shown in the Data Memory
table, which are used to transfer the appropriate output
or input data on that port. One flexible feature of these
registers is the ability to directly program single bits us-
ing the
²SET [m].i² and ²CLR [m].i² instructions. The PC
port also has a control register known as PCC, and has
the ability to change its I/O pin from output to input and
vice versa by manipulating the bit in the register.
Input/Output Ports
Holtek microcontrollers offer considerable flexibility on
their I/O ports. Although Port B remains fixed as an input
only port, all pins on Port A, Port C and Port D, have the
ability to function as either input or output.
The device provides 13 bidirectional input/output lines
and 8 input lines. The I/O Ports are known as Port A,
Port C and Port D and the input Port is known as Port B.
These ports are mapped to the Data Memory with spe-
cific addresses as shown in the Special Purpose Data
Memory table. The Port A and Port D I/O ports can be
used for both input and output operations, however, it
must be noted that unlike Port C, they do not have port
control registers. Setting up an PA or PD port pin as an
input is achieved by first setting its output high which ef-
fectively places its NMOS output transistor in a high im-
pedance state allowing the pin to be now used as an
input.
For input operation, these ports are non-latching, which
means the inputs must be ready at the T2 rising edge of
instruction
²MOV A,[m]², where m denotes the port ad-
dress. For output operation, all the data is latched and
remains unchanged until the output latch is rewritten.
Pull-high Resistors
Many product applications require pull-high resistors for
their switch inputs usually requiring the use of an exter-
nal resistor. To eliminate the need for these external re-
sistors, all pins on Port A, Port B and Port D have a
permanently connected pull high resistor. The pull high
resistor on Port C is chosen via a configuration option.
These pull-high resistors are implemented using a weak
PMOS transistor.
Port B Wake-up
The device has a HALT instruction enabling the
microcontroller to enter a Power Down Mode and pre-
serve power, a feature that is important for battery and
other low-power applications. Various methods exist to
wake-up the microcontroller, one of which is to change
the logic condition on one of the Port B pins from high to
low. After a
²HALT² instruction forces the microcontroller
into entering a HALT condition, the processor will re-
main idle or in a low-power state until the logic condition
of the selected wake-up pin on Port B changes from high
to low. This function is especially suitable for applica-
tions that can be woken up via external switches. Note
that each pin on Port B can be selected individually to
have this wake-up feature.
Q
C K
S
Q
W r i t e
C h i p R e s e t
R e a d I / O
P A 0 ~ P A 7
P D 0 ~ P D 3
V D D
W e a k
P u l l - u p
D a t a B u s
D
PA, PD Input/Output Ports
D a t a B u s
R e a d I / O
W e a k
P u l l - u p
P B 0 ~ P B 7
V D D
W a k e - u p O p t i o n
S y s t e m W a k e - u p
I N T 0 f o r P B 0
I N T 1 f o r P B 1
T M R / T M R 0 f o r P B 2
T M R 1 f o r P B 3
PB Input Port



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com