libsimpleio Class |
public static class libsimpleio
The libsimpleio type exposes the following members.
| Name | Description | |
|---|---|---|
| ADC_close | Close a Linux IIO A/D converter input. | |
| ADC_get_name | Get the subsystem name for the specified Linux IIO A/D converter device. | |
| ADC_get_reference | Get the reference voltage for the specified Linux IIO A/D converter device. | |
| ADC_get_scale | Get the scale factor for the specified Linux IIO A/D converter input. | |
| ADC_open | Open a Linux IIO A/D converter input. | |
| ADC_read | Read a Linux IIO A/D converter input. | |
| DAC_close | Close a Linux IIO D/A converter output device. | |
| DAC_get_name | Get the subsystem name for the specified Linux IIO D/A converter device. | |
| DAC_open | Open a Linux IIO D/A converter output device. | |
| DAC_write | Write to a Linux IIO D/A converter output device. | |
| EVENT_close | Close an epoll event dispatcher. | |
| EVENT_modify_fd | Modify a file registration. | |
| EVENT_open | Open an epoll event dispatcher. | |
| EVENT_register_fd | Register a file descriptor with an epoll event dispatcher. | |
| EVENT_unregister_fd | Unregister a file from an epoll dispatcher. | |
| EVENT_wait | Wait for events from an epoll dispatcher. | |
| GPIO_chip_info | Get GPIO chip information. | |
| GPIO_close | Close a Linux GPIO pin device. | |
| GPIO_configure | Configure a Linux GPIO pin. | |
| GPIO_line_close | Close a single GPIO line. | |
| GPIO_line_event | Read an edge trigger event from single GPIO line. | |
| GPIO_line_info | Get GPIO line information. | |
| GPIO_line_open | Open a single GPIO line. | |
| GPIO_line_read | Read the state of a single GPIO line. | |
| GPIO_line_write | Write the state of a single GPIO line. | |
| GPIO_open | Open a Linux GPIO pin device. | |
| GPIO_read | Read a Linux GPIO pin. | |
| GPIO_write | Write a Linux GPIO pin. | |
| HIDRAW_close | Close a Linux raw HID. | |
| HIDRAW_get_info | Get Linux raw HID bus type, vendor ID, and product ID. | |
| HIDRAW_get_name | Get Linux raw HID name string. | |
| HIDRAW_open1 | Open a Linux raw HID device by device node name. | |
| HIDRAW_open2 | Open a Linux raw HID device by vendor ID and product ID. | |
| HIDRAW_open3 | Open a Linux raw HID device by vendor ID and product ID and serial number. | |
| HIDRAW_receive | Get a 64-byte report from a Linux HID. | |
| HIDRAW_send | Send a 64-byte report to a Linux HID. | |
| I2C_close | Close a Linux I2C bus controller device. | |
| I2C_open | Open a Linux I2C bus controller device. | |
| I2C_transaction | Send bytes to and/or receive bytes from an I2C slave device. | |
| IPV4_ntoa | Convert an IPv4 address to a dotted notation string (e.g. 1.2.3.4). | |
| IPV4_resolve | Resolve a domain name to an IPv4 host address. | |
| LINUX_closelog | Close the connection to the syslog service. | |
| LINUX_command | Execute a shell command string. | |
| LINUX_detach | Detach the process and run it in the background. | |
| LINUX_drop_privileges |
Drop process privileges to those of the specified user.
Only a process running at superuser privilege is allowed
to drop privileges. | |
| LINUX_errno | Fetch the value of errno. | |
| LINUX_openlog | Open a connection to the syslog service. | |
| LINUX_poll | Wait for an event on one or more files. | |
| LINUX_poll_input | Wait for a POLLIN input event on a single file descriptor. | |
| LINUX_strerror | Retrieve the error message for a particular errno error code. | |
| LINUX_syslog | Send a message to the syslog service. | |
| LINUX_usleep | Sleep for the specified number of microseconds. | |
| PWM_close | Close a Linux PWM output device. | |
| PWM_configure | Configure a Linux PWM output device. | |
| PWM_open | Open a Linux PWM output device. | |
| PWM_write | Set a Linux PWM output device duty cycle. | |
| SERIAL_close | Close a Linux serial port device. | |
| SERIAL_flush | Flush Linux serial port buffer(s)/queue(s). | |
| SERIAL_open | Open a Linux serial port device. | |
| SERIAL_receive | Receive data from a Linux serial port device. | |
| SERIAL_send | Send data to a Linux serial port device. | |
| SPI_close | Close a Linux SPI device. | |
| SPI_open | Open a Linux SPI device. | |
| SPI_transaction | Send bytes to and/or receive bytes from a Linux SPI device. | |
| STREAM_decode_frame | Decode a frame. | |
| STREAM_encode_frame | Encode a frame. | |
| STREAM_receive_frame | Receive an encoded frame. | |
| STREAM_send_frame | Send an encoded frame. | |
| TCP4_accept | Start TCP server and wait for a single connection. | |
| TCP4_close | Close a TCP connection. | |
| TCP4_connect | Connect to a TCP server. | |
| TCP4_receive | Receive bytes from TCP peer. | |
| TCP4_send | Send bytes to TCP peer. | |
| TCP4_server | Start a TCP server and fork for each connection. | |
| UDP4_close | Close a UDP socket. | |
| UDP4_open | Open a UDP socket. | |
| UDP4_receive | Receive a UDP datagram. | |
| UDP4_send | Send a UDP datagram. | |
| WATCHDOG_close | Close a Linux watchdog timer device. | |
| WATCHDOG_get_timeout | Query a Linux watchdog timer device. | |
| WATCHDOG_kick | Reset the watchdog timer. | |
| WATCHDOG_open | Open a Linux watchdog timer device. | |
| WATCHDOG_set_timeout | Change the watchdog timer period. |
| Name | Description | |
|---|---|---|
| FLUSH_BOTH | Flush input and output buffers. | |
| FLUSH_INPUT | Flush input buffers. | |
| FLUSH_OUTPUT | Flush output buffers. | |
| 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. |