Private
Public Access
2
0

uart: barebones uart module added.

* Only defined call is the init. Will then expose the uart from
* the multiplexors.

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-07-10 00:55:50 +01:00
parent 86af05f803
commit 23304fb6c4
7 changed files with 167 additions and 1 deletions

View File

@@ -77,3 +77,10 @@ mraa_mmap_pin_t* mraa_setup_mmap_gpio(int pin);
* @return out direction to setup. 1 for output 0 for input
*/
mraa_result_t mraa_swap_complex_gpio(int pin, int out);
/** Setup uart muxes to exposes the pins physically.
*
* @param index of the uart in the board definition to expose physically
* @return mraa_result_t of operation
*/
mraa_result_t mraa_setup_uart(int index);