no-OS
Loading...
Searching...
No Matches
frame_rx_tx_example.c File Reference

Frame receive and transmit example header for the ADIN1110 project. More...

#include <string.h>
#include "common_data.h"
#include "no_os_delay.h"
#include "no_os_print_log.h"
#include "adin1110.h"
Include dependency graph for frame_rx_tx_example.c:

Functions

int example_main ()
 Frame receive an transmit example main execution.
 

Variables

uint8_t eth_frame []
 
uint8_t eth_rx_buff [ADIN1110_BUFF_LEN]
 

Detailed Description

Frame receive and transmit example header for the ADIN1110 project.

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

◆ example_main()

int example_main ( void )

Frame receive an transmit example main execution.

Basic example main execution.

Basic example main executiont.

Returns
ret - Result of the example execution. If working correctly, will execute continuously the while(1) loop and will not return.

IIO descriptor and initialization parameter.

IIO app.

Declaring iio_devices structure

Initializing IIO app init param.

Initializing IIO app.

Running the IIO app (use iio_info or osc in terminal).

Set the threshold voltage to 5V

The comparator output will be available on the GPO_A pin

Set the DAC output on channel C to 5V

Measure input current on channel D

GPIO Pin Interrupt Controller

Variable Documentation

◆ eth_frame

uint8_t eth_frame[]

◆ eth_rx_buff

uint8_t eth_rx_buff[ADIN1110_BUFF_LEN]