|
uint8_t | ad3552r_reg_len (uint8_t addr) |
|
int32_t | ad3552r_single_transfer (struct ad3552r_desc *desc, struct ad3552_transfer_data *data) |
|
int32_t | ad3552r_transfer (struct ad3552r_desc *desc, struct ad3552_transfer_data *data) |
|
int32_t | ad3552r_write_reg (struct ad3552r_desc *desc, uint8_t addr, uint16_t val) |
|
int32_t | ad3552r_read_reg (struct ad3552r_desc *desc, uint8_t addr, uint16_t *val) |
|
int32_t | ad3552r_get_dev_value (struct ad3552r_desc *desc, enum ad3552r_dev_attributes attr, uint16_t *val) |
|
int32_t | ad3552r_set_dev_value (struct ad3552r_desc *desc, enum ad3552r_dev_attributes attr, uint16_t val) |
|
uint8_t | ad3552r_get_code_reg_addr (uint8_t ch, uint8_t is_dac, uint8_t is_fast) |
|
int32_t | ad3552r_simulatneous_update_enable (struct ad3552r_desc *desc) |
|
int32_t | ad3552r_get_ch_value (struct ad3552r_desc *desc, enum ad3552r_ch_attributes attr, uint8_t ch, uint16_t *val) |
|
int32_t | ad3552r_set_ch_value (struct ad3552r_desc *desc, enum ad3552r_ch_attributes attr, uint8_t ch, uint16_t val) |
|
int32_t | ad3552r_get_scale (struct ad3552r_desc *desc, uint8_t ch, int32_t *integer, int32_t *dec) |
|
int32_t | ad3552r_get_offset (struct ad3552r_desc *desc, uint8_t ch, int32_t *integer, int32_t *dec) |
|
int32_t | ad3552r_axi_init (struct ad3552r_desc *desc, struct ad3552r_init_param *init_param) |
|
int32_t | ad3552r_init (struct ad3552r_desc **desc, struct ad3552r_init_param *param) |
|
int32_t | ad3552r_remove (struct ad3552r_desc *desc) |
|
int32_t | ad3552r_reset (struct ad3552r_desc *desc) |
|
int32_t | ad3552r_ldac_trigger (struct ad3552r_desc *desc, uint16_t mask, uint8_t is_fast) |
|
int32_t | ad3552r_set_asynchronous (struct ad3552r_desc *desc, uint8_t enable) |
|
int32_t | ad3552r_axi_write_data (struct ad3552r_desc *desc, uint32_t *buf, uint16_t samples, bool cyclic, int cyclic_secs) |
| Write data samples to dac. More...
|
|
int32_t | ad3552r_write_samples (struct ad3552r_desc *desc, uint16_t *data, uint32_t samples, uint32_t ch_mask, enum ad3552r_write_mode mode) |
|
Implementation of ad3552r Driver.
- Author
- Mihail Chindris (Mihai.nosp@m.l.Ch.nosp@m.indri.nosp@m.s@an.nosp@m.alog..nosp@m.com)
Copyright 2021(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.