This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: ecos hardware flow control for just one serial port
- From: Ilija Stanislevik <ilijas at siva dot com dot mk>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 24 Jun 2014 15:16:10 +0200
- Subject: Re: ecos hardware flow control for just one serial port
- Authentication-results: sourceware.org; auth=none
- References: <53A7E6E3 dot 7030109 at unicore dot co dot ua>
On 06/23/2014 10:35 AM, Oleg Uzenkov wrote:
Dear All,
I have a custom board with STM32F4 which has multiple serial ports. Is
there a way in eCos to enable Hardware Flow Control for just one
serial port? Or, if enabled, Hardware Flow Control applies to all
serial port drivers?
Thanks in advance,
Oleg
Enabling CYGPKG_IO_SERIAL_FLOW_CONTROL and
CYGOPT_IO_SERIAL_FLOW_CONTROL_HW only gives you a possibility to use
hardware flow control. Then you can use cyg_io_set_config() to activate
flow control on particular serial port.
Ilija
--
Ilija Stanislevik
SIvA doo
ul. Mladinska 43 lok. 6
p.f. 53
MK-2400 Strumica
Macedonia
www.siva.mk <http://www.siva.mk>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss