National Instruments Corporation GPIB-1014P User Manual page 122

Table of Contents

Advertisement

Sample Programs
68000
---------------------------------------------------------------------------------------------------------------------------------------------
INIT: movb #IEPON,AUXMR
movb #0,IMR1.L
movb #0,IMR2.L
tstb
ISR1.L
tstb
ISR2.L
movb #MODE1+TRM,ADMR.L | Set address mode, Talker/Listener inactive, and proper
movb #MA+SEL0,ADR.L
movb #DT1+DL1+SEL1,ADR.L | Disable secondary address recognition
movb #ICR+8,AUXMR.L
rts
GPIB-1014P User Manual
|
Code
|
|
|Initialize and Enable TLC Functions
|
| Disable TLC interrupts
|
|
| Clear status bits by reading registers
|
|
| T/R signal mode
|
| Set GPIB address (mode 1 primary only), with
| Talker/Listener enabled
|
|
| Set clock divider for 8MHz, low speed
|
|
Comments
C-6
© National Instruments Corporation
Appendix C

Advertisement

Table of Contents
loading

Table of Contents