Thanks for your answers, I think both of them will be usefull !

2005/6/9, Craig Hughes <craig@gumstix.com>:
Jerome,

just configure the RTS line to operate in GPIO mode instead of as
actually being driven by the UART, and then you can control it just
like any other GPIO.  You can even do this from a shell script:

echo GPIO out > /proc/gpio/GPIO51

and then

echo set > /proc/gpio/GPIO51

or

echo clear > /proc/gpio/GPIO51

C

On Jun 9, 2005, at 12:07 AM, Jérôme Multrier wrote:

> Hello !
> I currently need to use ttyS3 without flow control and will use the
> patch given on the wiki, but I also need to enable or disable RTS
> because it's used to activate a chip that uses much power.
>
> Is there a good way to toggle RTS with C code ?
>
> Best regards,
> Jerome

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Jerome