AN2502 Freescale Semiconductor / Motorola, AN2502 Datasheet - Page 5

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
Enhanced Mode
Registers
MOTOROLA
rSCCR
Using Two Channels of the HC08 TIM to Achieve a Full-Duplex Software SCI
In enhanced mode, eleven RAM variables are declared. One is the
configuration register (rSCCR), two are the status registers (rSCSR1 and
rSCSR2), and the other eight are data registers for transmission and reception.
Read:
Write:
TIEN — Transmission Completed Subroutine Enable Bit
RIEN — Reception Completed Subroutine Enable Bit
SB — Stop Bit Selection
M — Character Length Selection Bit
TEN — Transmit Enable Bit
REN — Receive Enable Bit
PEN — Parity Enable Bit
PTY — Parity Bit
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = Subroutine enabled for end of transmission
0 = Subroutine disabled for end of transmission
1 = Subroutine enabled for end of reception
0 = Subroutine disabled for end of reception
1 = Two stop bits
0 = One stop bits
1 = Nine data bits
0 = Eight data bits
1 = Transmit enabled
0 = Transmit disabled
1 = Receive enabled
0 = Receive disabled
1 = Parity bit enabled
0 = Parity bit disabled
1 = Odd parity
0 = Even parity
Figure 7. SCI Configuration Register (rSCCR)
TIEN
Bit 7
Go to: www.freescale.com
RIEN
6
SB
5
M
4
TEN
3
REN
2
PEN
1
AN2502/D
Bit 0
PTY
Modes
5

Related parts for AN2502