National Instruments Corporation GPIB-1014P User Manual page 124

Table of Contents

Advertisement

Sample Programs
68000
Code
-----------------------------------------------------------------------------------------------------------------------------------------------
REN:
tstb
sre.L
beq
REN1
movb #SREN,AUXMR.L
bra
REN2
REN1: movb #CREN,AUXMR.L
REN2: rts
GPIB-1014P User Manual
|
| * * * * * * * * * * * * * * * * * * * *
| * REMOTE ENABLE - REN*
| * * * * * * * * * * * * * * * * * * * *
|
| Summary:
|
- Set or clear GPIB Remote Enable signal
|
| Assumptions on entry:
|
- User specified sre is non-zero if REN is to be
|
asserted and is zero if REN is to be unasserted
|
- GPIB-1014P is System Controller and Active
|
Controller
|
| Actions:
|
- Check sre flag.
|
if non-zero (true) send REN else send clear REN
|
| Status on return:
|
- REN is asserted or unasserted
|
|
Comments
|
| Turn on the REN signal if sre is non-zero
|
|
|
|
| Else, turn off REN if sre is zero
|
|
|
C-8
Appendix C
*
*
© National Instruments Corporation

Advertisement

Table of Contents
loading

Table of Contents