1 /** @file gio.h
2 *   @brief GIO Driver Definition File
3 *   @date 29.May.2013
4 *   @version 03.05.02
5 *
6 */
7 
8 /* (c) Texas Instruments 2009-2013, All rights reserved. */
9 
10 #ifndef __GIO_H__
11 #define __GIO_H__
12 
13 #include "reg_gio.h"
14 
15 
16 /**
17  *  @defgroup GIO GIO
18  *  @brief General-Purpose Input/Output Module.
19  *
20  *  The GIO module provides the family of devices with input/output (I/O) capability.
21  *  The I/O pins are bidirectional and bit-programmable.
22  *  The GIO module also supports external interrupt capability.
23  *
24  *	Related Files
25  *   - reg_gio.h
26  *   - gio.h
27  *   - gio.c
28  *  @addtogroup GIO
29  *  @{
30  */
31 
32 /* GIO Interface Functions */
33 void gioInit(void);
34 void gioSetDirection(gioPORT_t *port, uint32 dir);
35 void gioSetBit(gioPORT_t *port, uint32 bit, uint32 value);
36 void gioSetPort(gioPORT_t *port, uint32 value);
37 uint32 gioGetBit(gioPORT_t *port, uint32 bit);
38 uint32 gioGetPort(gioPORT_t *port);
39 void gioToggleBit(gioPORT_t *port, uint32 bit);
40 void gioEnableNotification(gioPORT_t *port, uint32 bit);
41 void gioDisableNotification(gioPORT_t *port, uint32 bit);
42 void gioNotification(gioPORT_t *port, sint32 bit);
43 
44 /**@}*/
45 #endif
46