beautypg.com

Global status register – Sundance SMT335E User Manual

Page 19

background image

Version 1.5

Page 19 of 53

SMT335E SMT375E User Manual

Global Status Register

STAT 0x033C0000

31–30 29–28 27–26 25–24 23–22 21–20 19–18 17–16

CP0

STAT_INT

CP1

STAT_INT

CP2

STAT_INT

CP3

STAT_INT

CP4

STAT_INT

CP5

STAT_INT

SDBA

STAT_INT

SDBB

STAT_INT

R,10 R,10 R,10 R,10 R,10 R,10 R,10 R,10

15–14

13–12

11–10 9–8 7–6 5–4 3–2 1–0

CP0

STAT

CP1

STAT

CP2

STAT

CP3

STAT

CP4

STAT

CP5

STAT

SDBA

STAT

SDBB

STAT

R,10 R,10 R,10 R,10 R,10 R,10 R,10 R,10

Field

Description (flags active when 1)

CPx STAT(0)

Data available in input FIFO: not(Incoming FIFO Empty Flag)

CPx STAT(1)

Space available in output FIFO: not(Outgoing FIFO Full Flag)

CPx STAT_INT(0)

Input interrupt condition asserted

CPx STAT_INT(1)

Output interrupt condition asserted

The status reflected by STAT_INT depends on the flag settings for the SDBs and the

comm-port burst mode flags, IFBM and OFBM (see comm-port status and control
register).

The Global Status Register is used by the standard boot loader to detect the comm-

port to be used for initial program loading, and is used by interrupt service routines to
detect which link has interrupted in an application using several links simultaneously.


This manual is related to the following products: