no-OS
Loading...
Searching...
No Matches
basic_example.h File Reference

Header for the basic example. More...

Functions

int basic_example_main ()
 basic example main execution.
 

Detailed Description

Header for the basic example.

Author
Ciprian Regus (cipri.nosp@m.an.r.nosp@m.egus@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2023(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ basic_example_main()

int basic_example_main ( )

basic example main execution.

Returns
ret - Result of the example execution. If working correctly, will execute print the sample data.

basic example main execution.

Returns
ret - Result of the example execution. If working correctly, will execute continuously function basic_app_run and will not return.

basic example main execution.

Returns
ret - Result of the example execution.

basic example main execution.

Initialises the UART peripheral, prints a banner, then loops forever printing a counter message once per second.

Returns
0 on success, negative error code on failure.