Advance Information
UM-TM57PA20&40_E
8 Bit Microcontroller
23
tenx technology, inc.
Preliminary
Rev 1.3, 2009/10/19
MEMORY MAP
F-Plane
Name
Address R/W Rst
Description
INDF
00.7~0 R/W -
Not a physical register, addressing INDF actually point to the register
whose address is contained in the FSR register
TIMER0
01.7~0 R/W 0
Timer0 content
PC
02.7~0 R/W 0
Programming Counter [7~0]
RAMBANK
03.5 R/W
0
RAM Bank Selection
TO
03.4 R
0
WDT time out flag, clear by ‘SLEEP’, ’CLRWDT’ instruction
PD
03.3 R
0
Sleep mode flag, clear by ‘CLRWDT’ instruction
ZFLAG
03.2 R/W
0
Zero Flag
DCFLAG
03.1 R/W
0
Decimal Carry Flag
CFLAG
03.0 R/W
0
Carry Flag
FSR
04.6~0 R/W -
File Select Register, indirect address mode pointer
PA[7]
05.7 R
-
PA7 pin state
R -
Port A pin or “data register” state
PAD[6:0]
05.6~0
W 7F
Port A output data register
R -
Port B pin or “data register” state
PBD[1:0]
06.1~0
W 3
Port B output data register
R -
Port D pin or “data register” state
PDD[7:0]
07.7~0
W FF
Port D output data register
R -
Timer1 interrupt event pending flag, set by H/W while Timer1 overflow
TM1I
09.5
W 0
write 1: clear this flag; write 1: no action
R -
Timer0 interrupt event pending flag, set by H/W while Timer0 overflow
TM0I
09.4
W 0
write 0: clear this flag; write 1: no action
R -
WKT interrupt event pending flag, set by H/W while WKT time out
WKTI
09.3
W 0
write 0: clear this flag; write 1: no action
R -
INT2 pin (PA7) interrupt event pending flag, set by H/W at INT2 pin’s
falling edge
XINT2
09.2
W 0
write 0: clear this flag; write 1: no action
R -
INT1 pin (PA1) interrupt event pending flag, set by H/W at INT1 pin’s
falling edge
XINT1
09.1
W 0
write 0: clear this flag; write 1: no action
R -
INT0 pin (PA6) interrupt event pending flag, set by H/W at INT0 pin’s
falling or rising edge
XINT0
09.0
W 0
write 0: clear this flag; write 1: no action
TIMER1
0a.7~0 R/W 0
Timer1 content
0c.7~0 R/W 0
PWM0 duty 8-bit MSB
PWM0DUTY
0d.7~6 R/W 0
PWM0 duty 2-bit LSB
0e.7~0 R/W 0
PWM1 duty 8-bit MSB
PWM1DUTY
0f.7~6 R/W 0
PWM1 duty 2-bit LSB
10.7~0 R -
ADC conversion result ADCQ[11:4]
ADCDQ
11.7~4 R -
ADC conversion result ADCQ[3:0]
R -
H/W clear this bit after ADC end of conversion
ADCSTART
11.3
W 0
S/W set this bit to start ADC conversion