libsimpleioGPIO_line_open Method |
Open a single GPIO line.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void GPIO_line_open(
int chip,
int line,
int flags,
int events,
int state,
out int fd,
out int error
)
Parameters
- chip Int32
- GPIO chip number.
- line Int32
- GPIO line number.
- flags Int32
- GPIO line configuration flags.
- events Int32
- GPIO line event flags.
- state Int32
- Initial GPIO output state.
- fd Int32
- Linux file descriptor.
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also