Private
Public Access
2
0

android-things: Possibly working gpio

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-12-28 13:46:01 +00:00
committed by Noel Eck
parent 533517a864
commit 60ca81a3e1
6 changed files with 271 additions and 182 deletions

View File

@@ -314,7 +314,11 @@ typedef struct {
*/
typedef struct {
/*@{*/
#if defined(PERIPHERALMAN)
char *name; /**< Peripheral manager's pin name */
#else
char name[MRAA_PIN_NAME_SIZE]; /**< Pin's real world name */
#endif
mraa_pincapabilities_t capabilities; /**< Pin Capabiliites */
mraa_pin_t gpio; /**< GPIO structure */
mraa_pin_t pwm; /**< PWM structure */

View File

@@ -30,8 +30,9 @@ extern "C" {
#include "mraa_internal.h"
mraa_platform_t
mraa_peripheralman_platform();
mraa_platform_t mraa_peripheralman_platform();
void pman_mraa_deinit();
#ifdef __cplusplus
}