md: move defines/register defs into separate header for SWIG
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
#include <mraa/gpio.h>
|
||||
|
||||
#include "uln200xa_defs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -58,14 +60,6 @@ extern "C" {
|
||||
|
||||
} *uln200xa_context;
|
||||
|
||||
/**
|
||||
* Enum to specify the direction of a motor
|
||||
*/
|
||||
typedef enum {
|
||||
ULN200XA_DIR_CW = 0x01,
|
||||
ULN200XA_DIR_CCW = 0x02
|
||||
} ULN200XA_DIRECTION_T;
|
||||
|
||||
/**
|
||||
* ULN200XA constructor
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user