Implementation of AD9680 Driver.
More...
#include <stdlib.h>
#include <stdio.h>
#include "ad9680.h"
#include "no_os_error.h"
#include "no_os_print_log.h"
#include "no_os_alloc.h"
Implementation of AD9680 Driver.
- Author
- DBogdan (drago.nosp@m.s.bo.nosp@m.gdan@.nosp@m.anal.nosp@m.og.co.nosp@m.m)
Copyright 2014-2016(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ ad9680_jesd_enable_link()
| int ad9680_jesd_enable_link |
( |
struct ad9680_dev * | dev, |
|
|
uint8_t | en ) |
◆ ad9680_remove()
Free the resources allocated by ad9680_setup().
- Parameters
-
| dev | - The device structure. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ ad9680_setup()
◆ ad9680_setup_jesd_fsm()
◆ ad9680_spi_read()
| int32_t ad9680_spi_read |
( |
struct ad9680_dev * | dev, |
|
|
uint16_t | reg_addr, |
|
|
uint8_t * | reg_data ) |
◆ ad9680_spi_write()
| int32_t ad9680_spi_write |
( |
struct ad9680_dev * | dev, |
|
|
uint16_t | reg_addr, |
|
|
uint8_t | reg_data ) |
◆ ad9680_test()
| int32_t ad9680_test |
( |
struct ad9680_dev * | dev, |
|
|
uint32_t | test_mode ) |