<< Previous | Next >> | |
|
void serXflowcontrolOn( void ); /* where X is A-F */
Description
- Turns on hardware flow control for channel X. This enables two digital lines that handle flow control, CTS (clear to send) and RTS (ready to send). CTS is an input that will be pulled active low by the other system when it is ready to receive data. The RTS signal is an output that the system uses to indicate that it is ready to receive data; it is driven low when data can be received. A call to
serXopen()
must be made before calling this function.
- This function is non-reentrant.
- The functions
serEflowcontrolOn()
andserFflowcontrolOn()
may be used with the Rabbit 3000 and Rabbit 4000.
- If pins for the flow control lines are not explicitly defined, defaults will be used and compiler warnings will be issued. The locations of the flow control lines are specified using a set of 5 macros.
SERX_RTS_PORT
- Data register for the parallel port that the RTS line is on. e.g. PCDR
SERA_RTS_SHADOW
- Shadow register for the RTS line's parallel port. e.g. PCDRShadow
SERA_RTS_BIT
- The bit number for the RTS line
SERA_CTS_PORT
- Data register for the parallel port that the CTS line is on
SERA_CTS_BIT
- The bit number for the CTS line
Library
- RS232.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |