MC68HC908KX2 MOTOROLA [Motorola, Inc], MC68HC908KX2 Datasheet - Page 210

no-image

MC68HC908KX2

Manufacturer Part Number
MC68HC908KX2
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Serial Communications Interface Module (SCI)
14.8.5 SCI Status Register 2
Technical Data
210
Address:
SCI status register 2 (SCS2) contains flags to signal these conditions:
BKF — Break Flag Bit
RPF — Reception-in-Progress Flag Bit
Reset:
Read:
Write:
This clearable, read-only bit is set when the SCI detects a break
character on the RxD pin. In SCS1, the FE and SCRF bits are also
set. In 9-bit character transmissions, the R8 bit in SCC3 is cleared.
BKF does not generate a CPU interrupt request. Clear BKF by
reading SCS2 with BKF set and then reading the SCDR. Once
cleared, BKF can become set again only after logic 1s again appear
on the RxD pin followed by another break character. Reset clears the
BKF bit.
This read-only bit is set when the receiver detects a logic 0 during the
RT1 time period of the start bit search. RPF does not generate an
interrupt request. RPF is reset after the receiver detects false start bits
(usually from noise or a baud rate mismatch), or when the receiver
detects an idle character. Polling RPF before disabling the SCI
module or entering stop mode can show whether a reception is in
progress.
Serial Communications Interface Module (SCI)
1 = Break character detected
0 = No break character detected
1 = Reception in progress
0 = No reception in progress
Break character detected
Incoming data
$0017
Bit 7
0
0
Figure 14-14. SCI Status Register 2 (SCS2)
= Unimplemented
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 — Rev. 1.0
6
0
0
5
0
0
4
0
0
3
0
0
2
0
0
BKF
1
0
MOTOROLA
Bit 0
RPF
0

Related parts for MC68HC908KX2