<< Previous | Next >>

serXdmaOff

int serXdmaOff( void ); /* where X is A-F */

Description

Stops DMA transfers and unallocates the channels. Restarts the serial interrupt capability.

NOTE Alternatively you can use another form of this function that has been generalized for all serial ports. Instead of substituting for "X" in the function name, the function prototype is: serXdmaOff(int port), where "port" is one of the macros SER_PORT_A through SER_PORT_F.

Return Value

0: Success
DMA Error codes: Error

Library

RS232.LIB

See Also

serXdmaOn


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