|
MC68HC11KW1 Datasheet, PDF (139/238 Pages) Motorola, Inc – High-density complementary metal oxide semiconductor HCMOS) microcontroller unit | |||
|
◁ |
OR â Overrun error ï¬ag
1 (set) â Overrun detected.
0 (clear) â No overrun.
OR is set if a new character is received before a previously received character is read from SCDR.
Clear the OR ï¬ag by reading SCSR1 with OR set and then reading SCDR.
NF â Noise error ï¬ag
1 (set) â Noise detected.
0 (clear) â Unanimous decision.
NF is set if the majority sample logic detects anything other than a unanimous decision. Clear NF
by reading SCSR1 with NF set and then reading SCDR.
FE â Framing error
1 (set) â Zero detected.
0 (clear) â Stop bit detected.
FE is set when a zero is detected where a stop bit was expected. Clear the FE ï¬ag by reading
7
SCSR1 with FE set and then reading SCDR.
PF â Parity error ï¬ag
1 (set) â Incorrect parity detected.
0 (clear) â Parity correct.
PF is set if received data has incorrect parity. Clear PF by reading SCSR1 with PE set and then
reading SCDR.
7.6.5 SCSR2 â SCI status register 2
SCI status 2 (SCSR2)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0075 0
0
0
0
0
0
0 RAF 0000 0000
In the SCSR2 only bit 0 is used, to indicate receiver active. The other seven bits always read zero.
Bits [7:1] â Not implemented; always read zero
RAF â Receiver active ï¬ag (read only)
1 (set) â A character is being received.
0 (clear) â A character is not being received.
MC68HC11KW1
SERIAL COMMUNICATIONS INTERFACE
7-11
|
▷ |