AN2502 Freescale Semiconductor / Motorola, AN2502 Datasheet - Page 6

no-image

AN2502

Manufacturer Part Number
AN2502
Description
Using Two Channels of the HC08 TIM to Achieve a Full-Duplex Software SCI
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2502/D
6
rSCSR1
Using Two Channels of the HC08 TIM to Achieve a Full-Duplex Software SCI
Read:
Read:
Write:
Write:
SCRF — SCI Receiver Full Bit
RPF — Receive in Progress Flag
SCTE — SCI Transmitter Empty
TPF — Transmit in Progress Flag
ORE — Overrun Error Flag
FE — Framing Error Flag
PE — Parity Error Flag
PTYTX:STBTX — Transmitting Flags
PTYRX:STBRX — Receiving Flags
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Data available on rSCRDRH:rSCRDRL
0 = Data not available on rSCRDRH:rSCRDRHL
1 = Reception in progress
0 = Reception not in progress
1 = rSCTDRH:rSCTDRL empty
0 = rSCTDRH:rSCTDRL not empty
1 = Transmission in progress
0 = Transmission not in progress
1 = Overrun error
0 = No overrun error
1 = Framing error
0 = No framing error
1 = Parity error
0 = No parity error
00 = Transmitting data bits
1X = Transmitting parity bit
01 = Transmitting stop bits
00 = Receiving data bits
10 = Receiving parity bit
Bit 7
Bit 7
Figure 8. SCI Status Register 1 (rSCSR1)
Figure 9. SCI Status Register 2 (rSCSR2)
Go to: www.freescale.com
= Unimplemented or Reserved
= Unimplemented or Reserved
SCRF
6
6
PTYTX
RPF
5
5
STBTX
SCTE
4
4
PTYRX
TPF
3
3
STBRX
ORE
2
2
TPTY
FE
1
1
MOTOROLA
RPTY
Bit 0
Bit 0
PE

Related parts for AN2502