8 #ifndef _SYSIO_DOUTPUT_H_ 9 #define _SYSIO_DOUTPUT_H_ 10 #include <sysio/gpio.h> 37 typedef struct xDout {
47 typedef struct xDoutPort xDoutPort;
59 xDoutPort * xDoutOpen (
const xDout * pins,
unsigned size);
67 int iDoutClose (xDoutPort * port);
75 int iDoutPortSize (xDoutPort * port);
87 int iDoutClear (
unsigned output, xDoutPort * port);
99 int iDoutSet (
unsigned output, xDoutPort * port);
108 int iDoutToggle (
unsigned output, xDoutPort * port);
120 int iDoutRead (
unsigned output, xDoutPort * port);
131 int iDoutClearAll (xDoutPort * port);
142 int iDoutSetAll (xDoutPort * port);
150 int iDoutToggleAll (xDoutPort * port);
163 int iDoutReadAll (xDoutPort * port);
172 #endif // __DOXYGEN__