This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ioctl support ?
- To: Vipin Mehta <vipinm at mindtree dot com>
- Subject: Re: [ECOS] ioctl support ?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 18 Jun 2001 15:10:58 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3B2DC1FE.9020402@mindtree.com>
Vipin Mehta wrote:
>
> do we have provision for ioctl calls in eCos. The particular problem I
> was looking at was UART flow control. In Linux I could use ioctls to
> change the status of CTS-RTS pins. How do I do that in eCos ?
Yes, but use cyg_io_get_config() and cyg_io_set_config() instead.
CVS eCos has support for hardware (and software) flow control done
automatically which may be what you're after anyway.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/