Sun Microsystems S16A manual Analog Input Module Internal Registers, DAC Output Control Register

Page 35

S16A User’s Guide

Registers

Bit

S16A_

Description

 

 

 

 

 

 

0

OUT0_ENABLE

Enables I/O channel 0 output

 

 

 

1

OUT0_20BIT

When set, configures I/O channel 0 as 20-bit digital-to-analog; when clear,

 

 

the channel is in 16-bit mode.

 

 

 

4

OUT1_ENABLE

Enables I/O channel 1 output

 

 

 

5

OUT1_20BIT

When set, configures I/O channel 1 as 20-bit digital-to-analog; when clear,

 

 

the channel is in 16-bit mode.

 

 

 

 

 

Table 11. DAC Output Control Register

Analog Input Module Internal Registers

The Analog Input Module contains 11 internal registers, described in the following sections, that control the analog input and other settings. These registers are accessed using the two UART registers described in the section Analog Input Module UART Registers beginning on page 34.

Name

 

Description

 

 

 

 

 

 

Input Clock Prescale 0 In

 

Provides a divisor from the base 192 KHz clock for input channel 0.

 

 

 

Input Clock Prescale 1 In

 

Provides a divisor from the base 192 KHz clock for input channel 1.

 

 

 

Input Configuration 0 In

 

Controls the input source and the gain for input channel 0.

 

 

 

Input Configuration 1 In

 

Controls the input source and the gain for input channel 1.

 

 

 

Trim Output Offset 0

 

Controls the output voltage offset adjustment for output channel 0.

 

 

 

Trim Output Offset 1

 

Controls the output voltage offset adjustment for output channel 1.

 

 

 

Trim Input Gain 0

 

Controls the input gain adjustment for input channel 0.

 

 

 

Trim Input Offset 0

 

Controls the input level offset adjustment for input channel 0.

 

 

 

Trim Input Gain 1

 

Controls the input gain adjustment for input channel 1.

 

 

 

Trim Input Offset 1

 

Controls the input level offset adjustment for input channel 1.

 

 

 

Temperature

 

Two-byte register containing a 12-bit temperature reading for calibrating the

 

 

S16A for different operating temperatures.

 

 

 

 

Table 12. Analog Input Module Internal Registers

EDT, Inc. October, 1996

31

Image 35
Contents S16A EDT, Inc. October Contents Tables Overview Using SunOS Version InstallationInstalling the Hardware Installing the SoftwareS16A 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 Arguments S16abufferaddressesS16A-specific Library Routines SyntaxS16achecknextbuffer 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 RegistersDIO Data Register Direct I/O RegistersDAC Output Control Register DIO Direction RegisterAnalog Input Module Internal Registers Analog Input Module Internal RegistersDAC Output Control Register Name DescriptionInput Clock Prescale Registers Input Configuration RegistersTrim Registers Trim Output Offset Registers Trim RegistersInput Gain High Byte Values Trim Register UseTrim Input Gain Registers Temperature RegisterAnalog Input Module Uart Registers Analog Input Module Control ProtocolRead from a Clock Prescale Register Write to an Input Configuration RegisterRead from an Input Configuration Register Write to a Clock Prescale RegisterWrite to a Trim Register Uart Command/Status RegisterRead the Temperature Register Uart Command/Status RegisterUart Data Register Xilinx Programming RegistersSpecifications References Contacting EDT 15-16 IndexConfiguration ROM