<< Previous | Next >>

DMAprintRegs

void DMAprintRegs( int chan, int masters );

Description

This is a debugging function only. This prints the values of the hardware registers for the specified channel. If masters is true, then it also prints the values of the master DMA control registers.

Note that the Source and Destination Address registers are write only and read as zero.

Parameters

chan
Channel number to print

masters
A bool to determine whether or not to print out the master registers shared between all channels

Library

DMA.LIB

See Also

DMAprintBufDesc


Dynamic C Functions << Previous | Next >> rabbit.com