AN2502 Freescale Semiconductor / Motorola, AN2502 Datasheet - Page 39

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
BITLO
BIT1HI
BIT1LO
;4800 baud
;BITHI
;BITLO
;BIT1HI
;BIT1LO
;2400 baud
;BITHI
;BITLO
;BIT1HI
;BIT1LO
;1200 baud
;BITHI
;BITLO
;BIT1HI
;BIT1LO
; MISC Flags
TPIN
RPIN
; Bit positions on the SCI Control Register (rSCCR)
TIEN
RIEN
SB
M
TEN
REN
PEN
PTY
; Bit positions on the SCI Status Register 1 (rSCSR1)
SCRF
RPF
SCTE
TPF
ORE
FE
PE
; Bit positions on the SCI Status Register 2 (rSCSR2)
PTYTX
STBTX
PTYRX
STBRX
TPTY
RPTY
MOTOROLA
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
EQU
Using Two Channels of the HC08 TIM to Achieve a Full-Duplex Software SCI
$00
$01
$2E
5
4
7
6
5
4
3
2
1
0
6
5
4
3
2
1
0
5
4
3
2
1
0
$02
$00
$02
$7B
$04
$00
$05
$14
$08
$00
$0A
$47
Freescale Semiconductor, Inc.
For More Information On This Product,
; TX PIN PORT D
; RX PIN PORT D
; Tx empty interrupt enable bit
; Rx full interrupt enable bit
; Stop Bit Selection
; Character Length Selection
; Transmit Enable
; Receive Enable
; Parity Enable
; Parity Bit
; Receive Data Register Full
; Receive in progress
; Transmit Data Register Empty
; Transmit in progress
; Overrun Error
; Framing Error
; Parity Error
; Sending PTY
; sending STB
; Receiving PTY
; Receiving STB
; Temporal Tx Parity bit
; Temporal Rx Parity bit
Go to: www.freescale.com
AN2502/D
Software
39

Related parts for AN2502