Basic example header for ADAR300X project.
More...
Basic example header for ADAR300X project.
- Author
- Stefan Popa (stefa.nosp@m.n.po.nosp@m.pa@an.nosp@m.alog.nosp@m..com)
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ 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.
-
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.
Demonstrates a full IO-Link communication cycle without an IO-Link stack:
- STARTUP - establish communication, read device identity from DPP
- PREOPERATE - read ISDU parameters (vendor name, serial number, etc.)
- OPERATE - exchange cyclic process data
- Returns
- 0 on success, negative error code otherwise.
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.