From 82d3615f6c88839571c6626f12c50f982032acc5 Mon Sep 17 00:00:00 2001 From: Thomas Ingleby Date: Fri, 2 May 2014 14:45:24 +0100 Subject: [PATCH] pinmap: Added spi and i2c to board definition. Signed-off-by: Thomas Ingleby --- api/maa.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/maa.h b/api/maa.h index 7a5d1be..6d6f2cc 100644 --- a/api/maa.h +++ b/api/maa.h @@ -107,6 +107,10 @@ typedef struct { unsigned int gpio_count; /**< GPIO Count */ unsigned int aio_count; /**< Analog In Count */ unsigned int pwm_count; /**< PWM Count */ + unsigned int i2c_bus_count; /**< Usable i2c Count */ + unsigned int i2c_bus[8]; /**< Array of i2c */ + unsigned int spi_bus_count; /**< Usable spi Count */ + double spi_bus[8]; /**< Array of spi */ maa_pininfo_t* pins; /**< Pointer to pin array */ /*@}*/ } maa_board_t; -- 2.7.4