ML63611 User’s Manual
Chapter 12 Serial Port (SIO)
12 – 11
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
(8) Serial port status register (SSTAT)
SSTAT is a 4-bit special function register (SFR) used to indicate the status of serial port send/receive.
SSTAT is initialized to “0” at system reset.
SSTAT is a read-only register, and the content is reset every time it is read.
bit 3: BFULL (send Buffer FULL flag)
This bit is enabled in both UART and synchronous modes, and is set to “1” when send data is set
to STBUFL/H in the send mode, and reset to “0” when the send data is transferred to the send
register.
When BFULL is set to “1” and send data is set (written) to STBUFL/H, the previous data set to
those registers is overwritten and lost. Always set data only after verifying that the BFULL flag
is “0”.
bit 2: PERR (Parity ERRor flag)
This bit is enabled in both UART and synchronous modes, and is set to “1” when the parity for
the received data does not match the parity bit attached to the data.
bit 1: OERR (Overrun ERRor flag)
This bit is enabled in both UART and synchronous modes, and is set to “1” when data reception is
completed and the data received the previous time has still not been transferred to the CPU. In this
case, the new data cannot be transferred to SRBUFL/H.
bit 0: FERR (Framing ERRor flag)
This is only enabled in the UART mode and is set to “1” in the following instances.
(1) when a “1” is detected in start bit sampling
(2) when a “0” is detected in stop bit sampling
In either case a receive interrupt request signal (SRINT) is generated.
BFULL
PERR
OERR
FERR
Send buffer status flag
0 : Send buffer empty (initial value)
1 : Send buffer full
Parity error flag
0 : No parity error (initial value)
1 : Parity error
Overrun flag
0 : No overrun error (initial value)
1 : Overrun error
Framing error
0 : No framing error (initial value)
1 : Framing error
SSTAT (0ADH)
(R)
bit 3
bit 2
bit 1
bit 0
Summary of Contents for ML63611
Page 9: ...Chapter 1 Overview...
Page 33: ...Chapter 2 CPU and Memory Spaces...
Page 42: ...Chapter 3 CPU Control Functions...
Page 49: ...Chapter 4 Interrupt INT...
Page 62: ...Chapter 5 Clock Generator Circuit OSC...
Page 71: ...Chapter 6 Time Base Counter TBC...
Page 75: ...Chapter 7 Timers TIMER...
Page 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Page 103: ...Chapter 9 Watchdog Timer WDT...
Page 108: ...Chapter 10 Ports INPUT I O PORT...
Page 140: ...Chapter 11 Melody Driver MELODY...
Page 152: ...Chapter 12 Serial Port SIO...
Page 179: ...Chapter 13 LCD Driver LCD...
Page 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Page 204: ...Chapter 15 Power Supply Circuit POWER...
Page 215: ...Chapter 16 A D Converter ADC...
Page 238: ...Appendixes...