GPIOSIM(4) Device Drivers Manual GPIOSIM(4)

gpiosim
General Purpose Input/Output Simulator

pseudo-device gpiosim

The gpiosim pseudo-device simulates a 64-bit wide gpio(4) device. The state of the simulated device can be manipulated through the sysctl(8) interface. For this purpose, access the "hw.gpiosim<N>.value" sysctl(8) variable, where "<N>" denotes the number of the gpiosim instance.

gpio(4), sysctl(8)

The gpiosim driver was written by Marc Balmer <marc@msys.ch>.
May 20, 2013 NetBSD 9.4