Datasheet

54
5.3 Special Treatment of <ESC> in the Software UART
The software UART treats a received ESC character in two different ways:
The software UART receives the ESC character and stores it at address 210h. The condition,
therefore, is that bit 0 in memory location 200h is reset.
The software UART receives the ESC and returns back to the Hyperterminal. The condition is
that bit 0 in memory location 200h be set.
End of ROM-Monitor
Interrupt Service Routine
Contents of
Memory Location
3DEh is AA55h for
MSP430X32x
(or 5DEh is AA55h
for MSP430X33x)
yes no
no
yes
no
yes
Bit 0 in Memory
Location 200h Set ?
Received Character
is <ESC>
Normal Return Out of
INT_RXTX
Interrupt
Service
The Return From Interrupt
is By-Passed
Into ROM-
Monitor
Figure 52. Special Treatment of ESC
BIC #01h,&200h ; reset bit 0, because no special treatment of <ESC> is
; wanted
BIS #01h,&200h ; reset bit 0, because special treatment of <ESC> is
; wanted
NOTE: Memory Location 200h
Only bit 0 in memory location 200h may be modified. A modification of the higher bits may result
in an unpredictable behavior of the terminal program.