Electronic Components Datasheet Search
  English  ▼

X  

HT45R38 Datasheet(PDF) 9 Page - Holtek Semiconductor Inc

Part # HT45R38
Description  C/R to F Type 8-Bit OTP MCU
PDF  49 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45R38 Datasheet(HTML) 9 Page - Holtek Semiconductor Inc

Back Button HT45R38 Datasheet HTML 5Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 6Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 7Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 8Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 9Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 10Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 11Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 12Page - Holtek Semiconductor Inc HT45R38 Datasheet HTML 13Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 49 page
background image
HT45R38
Rev. 1.00
9
December 13, 2006
therefore occur. In other words, using the table read
instruction in the main routine and also in the ISR
should be avoided. However, if the table read instruc-
tion has to be used in both the main routine and in the
ISR, the interrupt should be disabled prior to the table
read instruction execution. The interrupt should not be
re-enabled until the TBLH has been backed up. All ta-
ble related instructions require two cycles to complete
the operation. These areas may function as normal
program memory depending upon the requirements.
Stack Register
- STACK
This is a special part of the memory which is used to save
the contents of the program counter only. The stack is
organised into 6-levels and is neither part of the data nor
part of the program space, and is neither readable nor
writable. The activated level is indexed by the stack
pointer (SP) and is neither readable nor writeable. At a
subroutine call or interrupt acknowledgment, the con-
tents of the program counter are pushed onto the stack.
At the end of a subroutine or an interrupt routine, signaled
by a return instruction, RET or RETI, the program counter
is restored to its previous value from the stack. After a de-
vice reset, the SP will point to the top of the stack.
If the stack is full and a non-masked interrupt takes
place, the interrupt request flag will be recorded but the
acknowledgment will be inhibited. When the stack
pointer is decremented, by RET or RETI, the interrupt
will be serviced. This feature prevents stack overflow al-
lowing the programmer to use the structure more easily.
In a similar case, if the stack is full and a
²CALL² is sub-
sequently executed, stack overflow occurs and the first
entry will be lost as only the most recent 6 return ad-
dresses are stored.
Data Memory
- RAM
The data memory has a capacity of 230
´8 bits. The data
memory is divided into two functional groups: special
function registers and general purpose data memory
(192
´8). Most are read/write, but some are read only.
The special function registers include the Indirect ad-
dressing registers (00H, 02H), Timer/Event Counter 0
(TMR;0DH), Timer/Event Counter 0 control register
(TMR0C;0EH), Timer/Event Counter 1 (TMR1;10H),
Timer/Event Counter 1 control register (TMR1C;11H),
Program counter lower-order byte register (PCL;06H),
Memory pointer registers (MP0;01H, MP1;03H), Accu-
mulator (ACC;05H), Table pointer (TBLP;07H), Table
higher-order byte register (TBLH;08H), Watchdog Timer
option setting register (WDTS;09H), Status register
(STATUS;0AH), Interrupt control register 0 (INTC0;
0BH), Interrupt control register 1 (INTC1;1EH), Analog
switch control register (ASCR;1CH), PWM data register
(PWM0;1AH, PWM1;1BH), the Timer/Event Counter A
higher-order byte register (TMRAH;20H), the
Timer/Event Counter A lower-order byte register
(TMRAL;21H), the RC oscillation converter control reg-
ister (RCOCCR;22H), the Timer/Event Counter B
higher-order byte register (TMRBH;23H), the
Timer/Event Counter B lower-order byte register
(TMRBL;24H), and the RC oscillator control register
(RCOCR;25H), the A/D result lower-order byte register
(ADRL;28H), the A/D result higher-order byte register
(ADRH;29H), the A/D control register (ADCR;2AH), the
S p e c i a l P u r p o s e
D a t a M e m o r y
0 0 H
0 1 H
0 2 H
0 3 H
0 4 H
0 5 H
0 6 H
0 7 H
0 8 H
0 9 H
0 A H
0 B H
0 C H
0 D H
0 E H
0 F H
1 0 H
1 1 H
1 2 H
1 3 H
1 4 H
1 5 H
1 6 H
1 7 H
1 8 H
1 9 H
1 A H
1 B H
1 C H
1 D H
1 E H
1 F H
2 0 H
2 1 H
2 2 H
2 3 H
2 4 H
2 5 H
2 6 H
: U n u s e d ,
r e a d a s " 0 0 "
G e n e r a l P u r p o s e D a t a M e m o r y
( 1 9 2 B y t e s )
2 C H
4 0 H
F F H
3 F H
I n d i r e c t A d d r e s s i n g R e g i s t e r 0
M P 0
I n d i r e c t A d d r e s s i n g R e g i s t e r 1
M P 1
A C C
P C L
T B L P
T B L H
W D T S
S T A T U S
I N T C 0
T M R 0
T M R 0 C
T M R 1
T M R 1 C
P A
P A C
P B
P B C
P C
P C C
P E
P E C
P W M 0
P W M 1
A S C R
I N T C 1
T M R A H
T M R A L
R C O C C R
T M R B H
T M R B L
R C O C R
O P A C
A D R L
A D R H
A D C R
A C S R
2 7 H
2 8 H
2 9 H
2 A H
2 B H
RAM Mapping



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


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