Menu

setOutput

functions (4)
Majenko Technologies

Format: void setOutput(struct device * dev, char * name, unsigned long long value);

Parameters:

  • dev : The device structure for this instance of the device.
  • name : The internal name of the IO pin or bus.
  • value : The value to set the output to.

Set an output pin or bus to a specific value. This function looks up the list of busses this output is connected to and sets the value on that bus to the output value. In setting the value on the busses it consequently calls any listening functions for devices connected to those busses.


Related

Wiki: utility functions

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.