libsimpleio Fields |
The libsimpleio type exposes the following members.
Name | Description | |
---|---|---|
GPIO_DIRECTION_INPUT | Input data direction. | |
GPIO_DIRECTION_OUTPUT | Out data direction. | |
GPIO_DRIVER_OPENDRAIN | Open drain (sink only) output driver. | |
GPIO_DRIVER_OPENSOURCE | Open source (source only) output driver | |
GPIO_DRIVER_PUSHPULL | Push-pull (source and sink) output driver. | |
GPIO_EDGE_BOTH | Interrupt on both edges. | |
GPIO_EDGE_FALLING | Interrupt on falling edge. | |
GPIO_EDGE_NONE | Interrupts are disabled. | |
GPIO_EDGE_RISING | Interrupt on rising edge. | |
GPIO_EVENT_REQUEST_BOTH | Enable GPIO input interrupt on both edges. | |
GPIO_EVENT_REQUEST_FALLING | Enable GPIO input interrupt on falling edge. | |
GPIO_EVENT_REQUEST_NONE | Disable GPIO input interrupt. | |
GPIO_EVENT_REQUEST_RISING | Enable GPIO input interrupt on rising edge. | |
GPIO_LINE_INFO_ACTIVE_LOW | GPIO line is configured as active low (inverted). | |
GPIO_LINE_INFO_KERNEL | GPIO line is being used by the kernel. | |
GPIO_LINE_INFO_OPEN_DRAIN | GPIO line is configured as open drain (current sink only). | |
GPIO_LINE_INFO_OPEN_SOURCE | GPIO line is configured as open source (current source only). | |
GPIO_LINE_INFO_OUTPUT | GPIO line is configured as an output. | |
GPIO_LINE_REQUEST_ACTIVE_HIGH | Select GPIO line polarity active high (normal). | |
GPIO_LINE_REQUEST_ACTIVE_LOW | Select GPIO line polarity active low (inverted). | |
GPIO_LINE_REQUEST_INPUT | Select GPIO line direction input. | |
GPIO_LINE_REQUEST_OPEN_DRAIN | Select GPIO line driver open drain (current sink only). | |
GPIO_LINE_REQUEST_OPEN_SOURCE | Select GPIO line driver open source (current source only). | |
GPIO_LINE_REQUEST_OUTPUT | Select GPIO line direction output. | |
GPIO_LINE_REQUEST_PUSH_PULL | Select GPIO line driver push-pull (current source and sink). | |
GPIO_POLARITY_ACTIVEHIGH | Active high (normal) polarity. | |
GPIO_POLARITY_ACTIVELOW | Active low (inverted) polarity. | |
INADDR_ANY | IPv4 address for binding to all network interfaces. | |
INADDR_BROADCAST | IPv4 broadcast address. | |
INADDR_LOOPBACK | IPv4 address for binding to the loopback interface (aka localhost). | |
LOG_ALERT | Action must be taken immediately. | |
LOG_AUTH | Security/authorization messages. | |
LOG_AUTHPRIV | Securit/authorization messages. | |
LOG_CONS | Write directly to the system console if there is an error while sending to the system logger. | |
LOG_CRIT | Critical condition. | |
LOG_CRON | cron daemon messages. | |
LOG_DAEMON | System daemons. | |
LOG_DEBUG | Debug message. | |
LOG_EMERG | System is unusable. | |
LOG_ERR | Error condition. | |
LOG_FTP | FTP daemon messages. | |
LOG_INFO | Informational message. | |
LOG_KERN | Kernel messages. | |
LOG_LOCAL0 | Reserved for local use. | |
LOG_LOCAL1 | Reserved for local use. | |
LOG_LOCAL2 | Reserved for local use. | |
LOG_LOCAL3 | Reserved for local use. | |
LOG_LOCAL4 | Reserved for local use. | |
LOG_LOCAL5 | Reserved for local use. | |
LOG_LOCAL6 | Reserved for local use. | |
LOG_LOCAL7 | Reserved for local use. | |
LOG_LPR | Line printer subsystem | |
LOG_MAIL | Mail system. | |
LOG_NDELAY | Open the connection immediately. Do not wait until syslog() is called for the first time. | |
LOG_NEWS | Network news subsystem | |
LOG_NOTICE | Normal but significant condition. | |
LOG_NOWAIT | Don't wait for child processes that may have been created while logging the message. (Not applicable to glibc.) | |
LOG_ODELAY | Do not open the connection immediately. Wait until syslog() is called for the first time. | |
LOG_PERROR | Also log the message to stderr. | |
LOG_PID | Include the caller's PID (process ID) with each message. | |
LOG_PROGNAME | Use the program name for the identity string. | |
LOG_SYSLOG | Messages generated internally by syslogd | |
LOG_USER | Random user-level messages. | |
LOG_UUCP | UUCP subsystem | |
LOG_WARNING | Warning condition. | |
MSG_DONTROUTE | Don't use a gateway to send out the packet, send to hosts only on directly connected networks. | |
MSG_DONTWAIT | Enables nonblocking operation; if the operation would block, EAGAIN or EWOULDBLOCK is returned. | |
MSG_MORE | The caller has more data to send. This flag informs the kernel to package all of the data sent in calls with this flag set into a single datagram which is transmitted only when a call is performed that does not specify this flag. | |
POLLERR | An error occurred. | |
POLLHUP | Peer closed connection. | |
POLLIN | There is data to read. | |
POLLNVAL | File descriptor is invalid. | |
POLLOUT | Writing is now possible. | |
POLLPRI | There is urgent data to read. | |
PWM_POLARITY_ACTIVEHIGH | Configure the PWM output as active high (normal). | |
PWM_POLARITY_ACTIVELOW | Configure the PWM output as active low (inverted). | |
SERIAL_PARITY_EVEN | Request even parity checking. | |
SERIAL_PARITY_NONE | Disable parity checking. | |
SERIAL_PARITY_ODD | Request odd parity checking. | |
SPI_AUTO_CS | Use hardware slave select. |