Sun Microsystems S16A manual Xilinx Programming Registers, Uart Data Register

Page 41

S16A User’s Guide

Registers

UART Data Register

The UART Data register is and 8-bit register at address 0400C4x. This register provides the byte stream for communicating with the analog input module. Write to this register (when the UART CSR indicates that it is ready for a write) to send a byte to the Analog Input Module. Read this register to receive status bytes from the Analog Input Module when the UART CSR indicates that a received byte is available.

Xilinx Programming Registers

The Xilinx programming registers are 3 8-bit registers at addresses 0x20000, 0x20004, and 0x20008. The Xilinx chip is a programmable integrated circuit used to implement the S16A interface or to test the board.

NOTE: Any registers defined to control the interface reside in the Xilinx IC. In order to access those registers, the S16A board requires that the Xilinx be loaded with a program that defines them. If the Xilinx is not loaded, or loaded with an incorrect program, those registers are inaccessible.

The Xilinx IC is programmed when the S16A driver is loaded. User applications should not access the Xilinx registers.

EDT, Inc. October, 1996

37

Image 41
Contents S16A EDT, Inc. October Contents Tables Overview Installing the Hardware InstallationInstalling the Software Using SunOS VersionS16A User’s Guide Installation Building the Sample Programs Using System V Release 4 Solaris 2.4 or LaterReadme Included FilesElements of S16A Applications Input and OutputGeneral DMA Library Routines DMA Library RoutinesRoutine Description S16A-specific Library Routines S16abufferaddressesSyntax ArgumentsS16achecknextbuffer S16acancelS16acancelcurrent S16aclose Arguments S16aconfigureringbuffersS16agetdaccontrolreg S16adoneS16agetdiodirectionreg S16agetdiodataregS16aopen S16agetoutputbitsS16aserialread S16areadS16aserialwrite S16aserialstrS16asetdaccontrolreg S16asetdefaultsS16asetdiodirectionreg S16asetdiodataregS16astartbuffers S16asetoutputbitsS16awaitforbuffer S16astopbuffersS16awrite S16awaitfornextbufferError Codes and Conditions Error ConditionsFoiparityerror Electrical Interface Hardware InterfaceS16A Interface Signals Interface SignalsSignal S16A I/O Description Connector Pinout Connector PinoutPin Signal Registers S16A ROM SBus AddressesNext DMA Address Registers DMA RegistersCurrent DMA Address Registers Control and Next Count Registers Current Count RegistersDAC Output Control Register Direct I/O RegistersDIO Direction Register DIO Data RegisterDAC Output Control Register Analog Input Module Internal RegistersName Description Analog Input Module Internal RegistersInput Clock Prescale Registers Input Configuration RegistersInput Gain High Byte Values Trim RegistersTrim Register Use Trim Registers Trim Output Offset RegistersAnalog Input Module Uart Registers Temperature RegisterAnalog Input Module Control Protocol Trim Input Gain RegistersRead from an Input Configuration Register Write to an Input Configuration RegisterWrite to a Clock Prescale Register Read from a Clock Prescale RegisterRead the Temperature Register Uart Command/Status RegisterUart Command/Status Register Write to a Trim RegisterUart Data Register Xilinx Programming RegistersSpecifications References Contacting EDT 15-16 IndexConfiguration ROM