6.0.0-rc4Source

Nt GPIO C++ Classes

Classes for reading and driving general-purpose I/O lines.

Using the Module

target_link_libraries(app PRIVATE Nt::Gpio)

Nt GPIO reads switches and drives LEDs, enables and resets through the GPIO lines of the board, on Linux and on Zephyr. Qt has no such module; the class follows the conventions of the other Nt classes so that it fits into an Nt or Qt program.

See Using Nt GPIO for a walk through, and examples/gpio/ptt.cpp for a complete program.

Classes

QGpioLineThe QGpioLine class reads or drives one general-purpose I/O line.