no-OS
Macros | Functions
ad917x_reg.c File Reference

Contains AD917x APIs for SPI Register configuration and control. More...

#include "AD917x.h"
#include "ad917x_reg.h"
#include "api_errors.h"
#include <stddef.h>
Include dependency graph for ad917x_reg.c:

Macros

#define IN_OUT_BUFF_SZ   3
 

Functions

int32_t ad917x_register_write (ad917x_handle_t *h, const uint16_t address, const uint8_t data)
 Perform SPI register write access to AD917X Device. More...
 
int32_t ad917x_register_read (ad917x_handle_t *h, const uint16_t address, uint8_t *data)
 Perform SPI register read access to AD917X Device. More...
 
int32_t ad917x_register_read_block (ad917x_handle_t *h, const uint16_t address, uint8_t *data, uint32_t count)
 
int32_t ad917x_register_write_tbl (ad917x_handle_t *h, struct adi_reg_data *tbl, uint32_t count)
 

Detailed Description

Contains AD917x APIs for SPI Register configuration and control.

Release 1.1.X

Copyright(c) 2017 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Macro Definition Documentation

◆ IN_OUT_BUFF_SZ

#define IN_OUT_BUFF_SZ   3

Function Documentation

◆ ad917x_register_read_block()

int32_t ad917x_register_read_block ( ad917x_handle_t h,
const uint16_t  address,
uint8_t *  data,
uint32_t  count 
)
Here is the caller graph for this function:

◆ ad917x_register_write_tbl()

int32_t ad917x_register_write_tbl ( ad917x_handle_t h,
struct adi_reg_data tbl,
uint32_t  count 
)
Here is the caller graph for this function: