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

Implementation of terminal command control FW modes for ADIN1320. More...

#include <errno.h>
#include "adin1320.h"
#include "common_data.h"
#include "mdio_spi.h"
#include "no_os_delay.h"
#include "no_os_gpio.h"
#include "no_os_print_log.h"
#include "no_os_util.h"
Include dependency graph for cmd_mode.c:

Classes

struct  cmd_gpio
 

Functions

int device_init (struct adin1320_desc **dev_0, struct adin1320_desc **dev_8, bool dev_init[2])
 
int fw_mode_sgmii_path_test (struct cmd_gpio *cmd_gpio, struct adin1320_desc *dev_0, struct adin1320_desc *dev_8)
 
int fw_mode_mdi_path_test (struct cmd_gpio *cmd_gpio, struct adin1320_desc *dev_0, struct adin1320_desc *dev_8)
 

Detailed Description

Implementation of terminal command control FW modes for ADIN1320.

Author
Johnson Ralph Perez (Johns.nosp@m.onra.nosp@m.lph.P.nosp@m.erez.nosp@m.@anal.nosp@m.og.c.nosp@m.om)

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ device_init()

int device_init ( struct adin1320_desc ** dev_0,
struct adin1320_desc ** dev_8,
bool dev_init[2] )

◆ fw_mode_mdi_path_test()

int fw_mode_mdi_path_test ( struct cmd_gpio * cmd_gpio,
struct adin1320_desc * dev_0,
struct adin1320_desc * dev_8 )

◆ fw_mode_sgmii_path_test()

int fw_mode_sgmii_path_test ( struct cmd_gpio * cmd_gpio,
struct adin1320_desc * dev_0,
struct adin1320_desc * dev_8 )