U2121A/U2123A Programmable Power-Up States - Agilent Technologies U2100A Series User Manual

Digital io, 32-terminal
Hide thumbs Also See for U2100A Series:
Table of Contents

Advertisement

2
Features and Functions
again. The subsequent command enables the digital input bit 1, channel 1
interrupt. The last command turns on the master Edge Detection Enable bit to
allow the Edge Detection Interrupt Flag to be updated to (bit 0) of Status Byte
if Interrupt Flag for the corresponding enable input bit is 1. This interrupt
could generate service request if bit- 0 of the Service Request Enable Register
is set to 1. (*SRE 1)
SCPI Commands
CONF:DIG:IPED:BYTE 2,(@0001)
CONF:DIG:IFL:BYTE 2,(@0001)
CONF:DIG:IEN:BYTE 2, (@0001)
CONF:DIG:ENAB:BIT 1, 2, (@0001) // Enable master interrupt of input
*SRE 1

U2121A/U2123A Programmable Power-Up States

The programmable power- up state is an important function that allows the
user to pre- configure the state of all the output lines of the device to a desired
state upon power up. This will place the application system to a known state
when the USB device is powered up and configured.
Agilent Diagnostic application tools or specific SCPI commands can be used to
program the power- up states. If the value is not altered by the user, the
power- up data will remain static once it is programmed. The power- up state
will be stored in non- volatile memory in order to retain the data even after
the device is powered down or unplugged from USB port.
The power-up state will only be updated when the device is configured by the USB Host (PC).
N O T E
24
Descriptions
// Configure positive edge detection for
// bit 1, channel 1
// Clear interrupt flag of bit 1
// input channel 1
// Enable interrupt of bit 1
// input channel 1
// channels
// Enable edge detection service request
Agilent U2100A Series Digital IO, 32-Terminal User's Guide

Advertisement

Table of Contents
loading

Table of Contents