Click or drag to resize

libsimpleioGPIO_chip_info Method

Get GPIO chip information.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public static void GPIO_chip_info(
	int chip,
	StringBuilder name,
	int namesize,
	StringBuilder label,
	int labelsize,
	out int lines,
	out int error
)

Parameters

chip  Int32
GPIO chip number.
name  StringBuilder
GPIO chip name.
namesize  Int32
Maximum size of name.
label  StringBuilder
GPIO chip label.
labelsize  Int32
Maximum size of label.
lines  Int32
Number of GPIO lines.
error  Int32
Error code. Zero upon success or an errno value upon failure.
See Also