#include <sys/ioctl.h>
#include <stdlib.h>
Go to the source code of this file.
◆ DO_PPI_READ
| #define DO_PPI_READ |
( |
|
fd, |
|
|
|
reg, |
|
|
|
valp |
|
) |
| |
Value:
(reg) ==
PPIDATA? PPRDATA: ((reg) ==
PPICTRL? PPRCONTROL: PPRSTATUS), \
valp)
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
@ PPIDATA
Definition ppi.h:28
@ PPICTRL
Definition ppi.h:29
◆ DO_PPI_WRITE
| #define DO_PPI_WRITE |
( |
|
fd, |
|
|
|
reg, |
|
|
|
valp |
|
) |
| |
Value:
(reg) ==
PPIDATA? PPWDATA: ((reg) ==
PPICTRL? PPWCONTROL: PPWSTATUS), \
valp)
◆ OBSOLETE__IOW
| #define OBSOLETE__IOW _IOW |
◆ ppi_claim
Value: if (ioctl(fd, PPCLAIM)) { \
avrdude_message(
MSG_INFO,
"%s: can't claim device \"%s\": %s\n\n", \
close(fd); \
return; \
}
#define MSG_INFO
Definition avrdude.h:51
char * progname
Definition main.c:61
◆ ppi_release
| #define ppi_release |
( |
|
fd | ) |
|
Value: if (ioctl(fd, PPRELEASE)) { \
avrdude_message(
MSG_INFO,
"%s: can't release device: %s\n\n", \
}