|
int | ad7490_set_op_mode (struct ad7490_desc *desc, enum ad7490_op_mode op_mode) |
| Set AD7490 operating mode.
|
|
int | ad7490_config (struct ad7490_desc *desc, enum ad7490_dout_state dout_state, enum ad7490_range range, enum ad7490_coding coding) |
| Config DOUT state, range and coding of the AD7490.
|
|
int | ad7490_read_ch (struct ad7490_desc *desc, enum ad7490_address channel, int16_t *val) |
| Read single cannel raw value.
|
|
int | ad7490_start_seq (struct ad7490_desc *desc, enum ad7490_seq_op seq_op, uint16_t channels, enum ad7490_address last_chan) |
| Start AD7490 SEQUENCER using desired type.
|
|
int | ad7490_change_seq (struct ad7490_desc *desc, enum ad7490_seq_op seq_op, enum ad7490_coding coding, enum ad7490_range range) |
| Change AD7490 SEQUENCER type while it is active.
|
|
int | ad7490_stop_seq (struct ad7490_desc *desc) |
| Stop AD7490 SEQUENCER.
|
|
int | ad7490_read_seq (struct ad7490_desc *desc, int16_t *channels_val) |
| Read selected channels of the SEQUENCER raw values.
|
|
int | ad7490_init (struct ad7490_desc **desc, struct ad7490_init_param *init_param) |
| AD7490 Initialization function.
|
|
int | ad7490_remove (struct ad7490_desc *desc) |
| Free the resources allocated by initialization.
|
|
Source file of AD7490 Driver.
- Author
- Radu Sabau (radu..nosp@m.saba.nosp@m.u@ana.nosp@m.log..nosp@m.com)
Copyright 2025(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.