If you need urgent consulting help click here

API Reference

If you want to include api reference in your documentation, use the doxygengroup tag to do so:

group example-driver-api

Copyright 2022 Martin Schröder Consulting: https://swedishembedded.com/go Training: https://swedishembedded.com/tag/training

Functions

int example_driver_function(const struct device *dev)

Example driver public function.

Parameters
  • dev[in] reference to device

Return values
  • -EINVAL – invalid arguments

  • 0 – success

Returns

error status