Menu

config

hooks (5)
Majenko Technologies

Format: void config(struct device * dev, char * key, char * value)

The config value stored in value should be stored in the configuration item name within the context of the device dev. If the configuration item is invalid the results are undefined. It may be silenty ignored, or it may be handled as a critical error causing a program halt.

The context for the device is stored in dev->ctx. You should define your own context structure to use. See [create] for more information.


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.