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

Implementation of AD9172 Driver. More...

#include "no_os_print_log.h"
#include "no_os_delay.h"
#include "no_os_alloc.h"
#include "no_os_clk.h"
#include <inttypes.h>
#include "jesd204.h"
#include <stdlib.h>
#include <string.h>
#include "ad9172.h"
#include <errno.h>
#include <stdio.h>
Include dependency graph for ad9172.c:

Classes

struct  ad9172_jesd204_link
 
struct  ad9172_jesd204_priv
 

Functions

int32_t ad9172_init (ad9172_dev **device, ad9172_init_param *init_param)
 
int32_t ad9172_remove (ad9172_dev *device)
 

Detailed Description

Implementation of AD9172 Driver.

Author
Cristian Pop (crist.nosp@m.ian..nosp@m.pop@a.nosp@m.nalo.nosp@m.g.com)

Copyright 2018(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ ad9172_init()

int32_t ad9172_init ( ad9172_dev ** device,
ad9172_init_param * init_param )

Initialize the device.

Parameters
device- The device structure.
init_param- The structure that contains the device initial parameters.
Returns
0 in case of success, negative error code otherwise.

◆ ad9172_remove()

int32_t ad9172_remove ( ad9172_dev * device)

Remove the device - release resources.

Parameters
device- The device structure.
Returns
0 in case of success, negative error code otherwise.