Private
Public Access
2
0

Add support for UART hardware flow control

This allows assigning platform pins to the CTS/RTS lines.
If provided, these will be muxed as UART when flow control is enabled.

Signed-off-by: Nicola Lunghi <nicola.lunghi@emutex.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Nicola Lunghi
2017-04-05 14:10:39 +01:00
committed by Brendan Le Foll
parent 6185f0ac92
commit 45127e04b9
2 changed files with 26 additions and 0 deletions

View File

@@ -372,6 +372,8 @@ typedef struct {
unsigned int index; /**< ID as exposed in the system */
int rx; /**< uart rx */
int tx; /**< uart tx */
int cts; /**< uart cts */
int rts; /**< uart rts */
char* device_path; /**< To store "/dev/ttyS1" for example */
/*@}*/
} mraa_uart_dev_t;