beautypg.com

Maxq610 user’s guide – Maxim Integrated MAXQ610 User Manual

Page 92

background image

5-20

MAXQ610 User’s Guide

REGISTER

DESCRIPTION

SMD0 (09h, 03h)

Serial Port Mode Register 0

Initialization:

This register is cleared to 00h on all forms of reset .

Read/Write Access:

Unrestricted read/write .

SMD0.0 (FEDE0)

Framing Error-Detection Enable. This bit selects the function of SM0 (SCON0 .7):

FEDE = 0: SCON0 .7 functions as SM0 for serial port mode selection .
FEDE = 1: SCON0 .7 is converted to the framing error (FE) flag .

SMD0.1 (SMOD0)

Serial Port 0 Baud-Rate Select. The SMOD selects the final baud rate for the asynchro-

nous mode:
SMOD = 1: 16 times the baud clock for mode 1 and 3,
32 times the system clock for mode 2 .
SMOD = 0: 64 times the baud clock for mode 1 and 3,
64 times the system clock for mode 2 .

SMD0.2 (ESI0)

Enable Serial Port 0 Interrupt. Setting this bit to 1 enables interrupt requests generated by

the RI or TI flags in SCON0 . Clearing this bit to 0 disables the serial port interrupt .

SMD0.7 to SMD0.3

Reserved . Reads return 0 .

PR1 (0Ah, 03h)

Phase Register 1

Initialization:

The phase register is cleared to 0000h on all forms of reset .

Read/Write Access:

Unrestricted read/write .

PR1.15 to PR1.0

Phase Register 1 Bits 15:0. This register is used to load and read the 16-bit value in the

phase register that determines the baud rate for the serial port 1 .

SMD1 (0Bh, 03h)

Serial Port Mode Register 1

Initialization:

This register is cleared to 00h on all forms of reset .

Read/Write Access:

Unrestricted read/write .

SMD1.0 (FEDE1)

Framing Error-Detection Enable. This bit selects the function of SM0 (SCON1 .7):

FEDE = 0: SCON1 .7 functions as SM0 for serial port mode selection .
FEDE = 1: SCON1 .7 is converted to the framing error (FE) flag .

SMD1.1 (SMOD1)

Serial Port 1 Baud-Rate Select . The SMOD selects the final baud rate for the asynchronous

mode:
SMOD = 1: 16 times the baud clock for mode 1 and 3, 32 times the system clock for mode 2 .
SMOD = 0: 64 times the baud clock for mode 1 and 3, 64 times the system clock for mode 2 .

SMD1.2 (ESI1)

Enable Serial Port 1 Interrupt. Setting this bit to 1 enables interrupt requests generated by

the RI or TI flags in SCON1 . Clearing this bit to 0 disables the serial port interrupt .

SMD1.7 to SMD1.3

Reserved, read returns 0.