XVME-200/290 Manual
December, 1987
16) Vectored interrupts are supported.
17) When zero is detected, the counter will generate a VMEbus interrupt, reload
the counter, and continue counting.
18)
Hl, H2, H3, and timer interrupts are enabled.
CODE:
M0VEA.L #PI/T2BASE,AO
M0VE.B #O,TCR( AO)
M0VE.B #$FF,PCDR(AO)
M0VE.B #$l B,PCDDR(AO)
M0VE.B #$4F,PGCR(AO)
M0VE.B #$06,PACR(AO)
M0VE.B #$32,PBCR(AO)
M0VE.B #$18,PSRR(AO)
MOVE.B #$FF,PADDR(AO)
M0VE.B #$FF,PBDDR(AO)
.
3
.
9
;
.
9
;
;
;
.
3
.
9
;
;
;
;
;
;
;
;
;
.
9
.
9
;
.
9
M0VE.B #PVCTR,PIVR(AO) ; Set up port IACK vector
ORI.B
#$30,PGCR(A0)
;
.
3
M0VE.B
#$A6,TCR(AO)
;
.
:
;
;
.
9
H34 & H12 interrupts enabled
Timer setup
PC3/TOUT = TOUT function
PC7/TIACK = TIACK function
Counter reloads on zero detect
PC2/TIN = TIN function
Timer disabled
A0 = base address of PI/T #l
Disable timer
Initialize Port C functions
Port A & B transceivers = output
PC3/TOUT = high
PC4 = high (timer interrupts disabled)
PC7,6,5,2 = inputs
Port mode = 1
H34,H12 interrupts disabled
Handshake pins = active high
Initialize Port A
Submode Xl
H2 = edge sensitive input
Hl & H2 interrupts enabled
Initialize Port B
Submode X l
= port handshake function
H4 interrupts disabled
H3 interrupts enabled
PC4 = Port C function
PCS/PIRQ = PIRQ function
PC6/PIACK = PIACK function
Port A = output
Port B = output
3-13
Summary of Contents for XVME 200
Page 1: ......
Page 2: ......
Page 3: ......
Page 4: ......
Page 7: ......
Page 8: ......
Page 14: ......
Page 15: ......
Page 16: ......
Page 23: ......
Page 31: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......