Home
Holtek
Microcontrollers
HT48R70A-1
Holtek HT48R70A-1 User Manual
4
of 1
of 1 rating
174 pages
Give review
Manual
Specs
To Next Page
To Next Page
Loading...
HT48R10A-1,
HT48R30A-1,
HT48R50A-1,
HT48R70A-1,
HT48RU80
I/O
Type
MCU
Handbook
Third
Edition
June
2006
Copyright
Ó
2006
by
HOL
TEK
SEMICONDUCT
OR
INC.
All
rights
reserved.
Printed
in
T
aiwan.
No
part
of
this
publication
may
be
reproduced,
stored
in
a
retrieval
system,
or
transmitted
in
any
form
by
any
means,
electronic,
mechanical
photo
-
copying,
recording
or
otherwise
without
the
prior
written
permission
of
HOL
TEK
SEMICONDUCTOR
INC.
2
Table of Contents
default chapter
2
Table of Contents
2
Part I Microcontroller Profile
10
Chapter 1 Hardware Structure
12
Introduction
12
Features
13
Technology Features
13
Kernel Features
13
Peripheral Features
14
Selection Table
14
Block Diagram
15
Pin Assignment
16
Pin Description
17
Absolute Maximum Ratings
23
D.C. Characteristics
23
Characteristics
24
System Architecture
25
Clocking and Pipelining
25
Program Counter
26
Stack
28
Arithmetic and Logic Unit - ALU
29
Program Memory
29
Organization
29
Special Vectors
30
Managing Multiple Banks
31
Look-Up Table
33
Data Memory
37
Organization
37
General Purpose Data Memory
37
Special Purpose Data Memory
39
Special Function Registers
40
Indirect Addressing Registers - IAR, IAR0, IAR1
40
Memory Pointers - MP, MP0, MP1
40
Bank Pointer - BP
41
Accumulator - ACC
42
Program Counter Low Register - PCL
42
Look-Up Table Registers - TBLP, TBHP, TBLH
42
Watchdog Timer Register - WDTS
42
Status Register - STATUS
43
Interrupt Control Registers - INTC, INTC0, INTC1
44
Timer/Event Counter Registers
44
Input/Output Ports and Control Registers
44
UART Registers - USR, UCR1, UCR2, TXR/RXR, BRG
45
Input/Output Ports
45
Pull-High Resistors
45
Port a Wake-Up
45
I/O Port Control Registers
46
Pin-Shared Functions
46
Programming Considerations
49
Timer/Event Counters
50
Configuring the Timer/Event Counter Input Clock Source
50
Timer Registers - TMR, TMR0, TMR0L/TMR0H, TMR1L/TMR1H, TMR2
52
Timer Control Registers - TMRC, TMR0C, TMR1C, TMR2C
53
Configuring the Timer Mode
56
Configuring the Event Counter Mode
56
Configuring the Pulse Width Measurement Mode
57
Programmable Frequency Divider (PFD) and Buzzer Application
58
Prescaler
59
I/O Interfacing
59
Programming Considerations
59
Timer Program Example
59
Interrupts
61
Interrupt Registers
61
Interrupt Priority
65
External Interrupt
65
Timer/Event Counter Interrupt
66
UART Interrupt
66
Programming Considerations
67
Reset and Initialization
67
Reset
67
Universal Asynchronous Receiver/Transmitter - UART
75
UART Features
75
UART External Pin Interfacing
75
UART Data Transfer Scheme
76
UART Status and Control Registers
76
Baud Rate Generator
82
Setting up and Controlling the UART
84
UART Transmitter
85
UART Receiver
87
Managing Receiver Errors
89
UART Interrupt Scheme
90
Address Detect Mode
91
UART Operation in Power down Mode
91
UART Sample Program
92
Oscillator
92
System Clock Configurations
92
System Crystal/Ceramic Oscillator
92
System RC Oscillator
93
Internal System RC Oscillator
93
RTC Oscillator
94
Watchdog Timer Oscillator
95
Power down Mode and Wake-Up
95
Power down Mode
95
Entering the Power down Mode
95
Standby Current Considerations
95
Wake-Up
96
Watchdog Timer
97
Configuration Options
98
Application Circuits
99
Part II Programming Language
100
Chapter 2 Instruction Set Introduction
102
Instruction Set
102
Instruction Timing
102
Moving and Transferring Data
103
Arithmetic Operations
103
Logical and Rotate Operations
103
Branches and Control Transfer
103
Bit Operations
104
Other Operations
104
Instruction Set Summary
104
Convention
104
Chapter 3 Instruction Definition
108
Chapter 4 Assembly Language and Cross Assembler
120
Notational Conventions
120
Statement Syntax
121
Name
121
Operation
121
Operand
121
Comment
122
Assembly Directives
122
Conditional Assembly Directives
122
File Control Directives
123
Program Directives
124
Data Definition Directives
127
Macro Directives
129
Assembly Instructions
131
Name
131
Mnemonic
131
Operand, Operator and Expression
131
Miscellaneous
133
Forward References
133
Local Labels
133
Reserved Assembly Language Words
134
Cross Assembler Options
135
Assembly Listing File Format
135
Source Program Listing
135
Summary of Assembly
136
Miscellaneous
136
Part III Development Tools
138
Chapter 5 MCU Programming Tools
140
HT-IDE Development Environment
140
Holtek In-Circuit Emulator - HT-ICE
141
HT-ICE Interface Card
141
OTP Programmer
142
OTP Adapter Card
142
System Configuration
142
HT-ICE Interface Card Settings
143
Installation
144
System Requirement
144
Hardware Installation
144
Software Installation
144
Chapter 6 Quick Start
150
Step 1 - Create a New Project
150
Step 2 - Add Source Program Files to the Project
150
Step 3 - Build the Project
150
Step 4 - Programming the OTP Device
150
Step 5 - Transmit Code to Holtek
151
4
Based on 1 rating
Ask a question
Give review
Questions and Answers:
Need help?
Do you have a question about the Holtek HT48R70A-1 and is the answer not in the manual?
Ask a question
Holtek HT48R70A-1 Specifications
General
Architecture
8-bit
Max CPU Speed
8 MHz
Operating Temperature
-40°C to +85°C
Timers
1 x 8-bit
Communication Interfaces
UART, I2C
Related product manuals
Holtek HT48R30A-1
174 pages
Holtek HT48R50A-1
174 pages
Holtek BS82B12A-3
168 pages