Comm-port status and control register – Sundance SMT335E User Manual

Page 16

Advertising
background image

Version 1.5

Page 16 of 53

SMT335E SMT375E User Manual

Comm-port Status and Control Register

CP0_STAT 0x03040000 CP3_STAT 0x031C0000

CP1_STAT 0x030C0000

CP4_STAT 0x03240000

CP2_STAT 0x03140000 CP5_STAT 0x032C0000

31–28

27 26 25 24 23–20 19–16 15–12 11-8

IFF IFE OFF OFE

IFL

OFL

R,0

R,1

R,0 R,1

R,0000

R,1111

7 6 5

4

3 2 1

0

ICPRDY OCPRDY CLRCP IFBM OFBM CLRIF CLROF DIR

R,0 R,1 W,0

RW,0

RW,0

W,0

W,0

R,0

Field

Description (flags are active when 1)

0 Reading

DIR

1 Writing

CLROF

Write 1 to clear outgoing FIFO

CLRIF

Write 1 to clear incoming FIFO

0 Single-word

operation

OFBM

Output FIFO Burst Mode

1 8-word burst mode operation

0 Single-word

operation

IFBM

Input FIFO Burst Mode

1 8-word burst mode operation

CLRCP

Reset comm-port: Both FIFOs are cleared and the comm-port interface
is set back to its default direction. Use with caution (see below).

OFL

Output FIFO Level: Number of words (0–15) which can be written

OCPRDY Comm-port interface buffer OCPRDY=’1’ if empty
IFL

Incoming FIFO level: Number of words (0–15) available to be read

ICPRDY

Comm-port interface buffer; ICPRDY=’0’ if empty

OFE

Outgoing FIFO Empty Flag (space is available for writing 16 words)

OFF

Outgoing FIFO Full Flag

IFE

Incoming FIFO Empty Flag

IFF

Incoming FIFO Full Flag (16 words are available to be read)

Advertising
This manual is related to the following products: