libsimpleio Methods |
The libsimpleio type exposes the following members.
Name | Description | |
---|---|---|
ADC_close | Close a Linux IIO A/D converter input device. | |
ADC_get_name | Get the subsystem name for the specified Linux IIO A/D converter device. | |
ADC_open | Open a Linux IIO A/D converter input device. | |
ADC_read | Read a Linux IIO A/D converter input device. | |
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.
Remarks 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_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_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. |