6 sci data register, 7 sci baud rate register, Sci data register – Freescale Semiconductor MC68HC908MR32 User Manual

Page 177: Sci baud rate register

Advertising
background image

I/O Registers

MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1

Freescale Semiconductor

177

RPF —Reception-in-Progress Flag

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.

1 = Reception in progress
0 = No reception in progress

13.7.6 SCI Data Register

The SCI data register (SCDR) is the buffer between the internal data bus and the receive and transmit
shift registers. Reset has no effect on data in the SCI data register.

R7/T7:R0/T0 — Receive/Transmit Data Bits

Reading address $003D accesses the read-only received data bits, R7:R0. Writing to address $003D
writes the data to be transmitted, T7:T0. Reset has no effect on the SCI data register.

13.7.7 SCI Baud Rate Register

The baud rate register (SCBR) selects the baud rate for both the receiver and the transmitter.

SCP1 and SCP0 — SCI Baud Rate Prescaler Bits

These read/write bits select the baud rate prescaler divisor as shown in

Table 13-5

. Reset clears SCP1

and SCP0.

Address:

$003D

Bit 7

6

5

4

3

2

1

Bit 0

Read:

R7

R6

R5

R4

R3

R2

R1

R0

Write:

T7

T6

T5

T4

T3

T2

T1

T0

Reset:

Unaffected by reset

Figure 13-14. SCI Data Register (SCDR)

Address:

$003E

Bit 7

6

5

4

3

2

1

Bit 0

Read:

0

0

SCP1

SCP0

0

SCR2

SCR1

SCR0

Write:

R

R

R

Reset:

0

0

0

0

0

0

0

0

R

= Reserved

Figure 13-15. SCI Baud Rate Register (SCBR)

Table 13-5. SCI Baud Rate Prescaling

SCP1:SCP0

Prescaler Divisor (PD)

00

1

01

3

10

4

11

13

Advertising
This manual is related to the following products: