#use rs232

Started by sirtiffguy October 2, 2004

Hi,

I am trying to create a full hardware handshaking rs232 port with
cts and rts (dsr, dtr) lines... does the rs232 module include these
lines as extra lines like the enable function? Also, how do I find
out what all the parameters I am allowed to pass to the rs232
function? ie stream and enable?

I didn't know the rs232 function included extra parameters until i
looked at the rs485 example included with ccs pic c.

Thanks





The parameters are detailed in the CCS C Compiler manual. It is
available online for free, so Read The Fine Manual.

I'm not an expert here, but I don't think the PIC USART supports
CTS/RTS/DSR/DTR, so you will have to implement that in software.

BRW

--- In , "sirtiffguy" <sirtiff@h...> wrote:
>
> Hi,
>
> I am trying to create a full hardware handshaking rs232 port with
> cts and rts (dsr, dtr) lines... does the rs232 module include these
> lines as extra lines like the enable function? Also, how do I find
> out what all the parameters I am allowed to pass to the rs232
> function? ie stream and enable?
>
> I didn't know the rs232 function included extra parameters until i
> looked at the rs485 example included with ccs pic c.
>
> Thanks