Thank you Collin,
This is what I did:
I knew that TLCINT is an ored interrupts from ISR1 where I'm using RXEND.
Prepare Chip for RX Data from GPIB by:
CFG=0x28
CNT1=0xFF
CNT0=0xF0
CMDR=0x04
when INT occurs, TLCINT , I do :
nBytes= CNT0
nBytes= nBytes-0xF0
Read nBytes from FIFOB
then perform again the above blue statements.
--------
When I reply, I do:
CFG=0x08
N= 2's comp of Num bytes reply
CMDR=0x10
CNT1= 0XFF
CNT0=N
Write Num to FIFOB.
CMDR = 0x04
When STOP Interrupt occurs, I write the above blue statements.
I'm looking for a way to stop interrupt while reply not yet dispatched over GPIB from FIFOB.
Because any coming Interrupt would make me read FIFOB, which is the dispatched data, i.e data I have put in FIFOB.