If you need urgent consulting help click here

API Reference

You can reference library Doxygen documentation here in the same way as you do for the drivers:

group example-library-api

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

Functions

int example_object_init(struct example_object *self)

Initializes example object.

Parameters
  • self[in] reference to object

Return values
  • -EINVAL – invalid arguments

  • 0 – success

Returns

error status

struct example_object
#include <example.h>

Example object