Module driver:dummy-uport - Dummy userport driver

Dummy userport driver. This provides a dummy userport interface, to be used primarily for testing applications and other drivers which work on top of this. The options given to the driver specify what sorts of port to create, of the form:

  • ao:3:90:90 (three analogue output ports with values between 0 and 89 inclusive).
  • dio:5 (five digital input/output ports).
  • po:1 (one PWM output port).

All analogue ports must have the same value range. General form of the option is: (a|d|p)[i][o]:NN[:IN-MAX:OUT-MAX]. To start up the driver from the system console:

dctl start dummy-uport options

Requires:

Used:

Provides: interface:userport

Index

Declarations