National Instruments 320030-01 Printer Accessories User Manual


 
Chapter 4 Register Descriptions
© National Instruments Corporation 4-49 GPIB-1014 User Manual
Transfer Count Registers
The Memory Transfer Counter Register (MTCR) and the Base Transfer Counter Register
(BTCR) are 16-bit registers. The MTCR is used to specify how many operands will be
transferred. (An operand can be either a byte (8 bits) or a word (16 bits)). This register is loaded
prior to starting the channel and will be decremented with each operand transfer. When the
contents of this register are zero and the operation is unchained (or the chain is exhausted), the
channel has reached terminal count and the COC bit of the CSR is set. In continue mode of
operation, the BTCR holds the size of the next block to be transferred which is then transferred
into the MTCR when the last block is finished. In array chaining mode of operation, the BTCR
holds the number of memory blocks to be transferred. Linked chaining mode of operation does
not use the BTCR.