Private
Public Access
2
0

pwm: move pwm setup to module

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-11-06 17:32:31 +00:00
parent e39268899c
commit 5d7c85c7a1
3 changed files with 41 additions and 48 deletions

View File

@@ -45,14 +45,6 @@ extern mraa_board_t* plat;
*/
mraa_result_t mraa_setup_mux_mapped(mraa_pin_t meta);
/**
* Will check input is valid for pwm and will also setup required multiplexers.
* IF the pin also does gpio (strong chance), DO NOTHING, REV D quirk
* @param pin the pin as read from the board surface.
* @return the pwm pin_info_t of that IO pin
*/
mraa_pin_t* mraa_setup_pwm(int pin);
/**
* Setup gpio mux to go straight to SoC, galileo.
*