|
void | adf7023_write_read_byte (struct adf7023_dev *dev, uint8_t write_byte, uint8_t *read_byte) |
| Transfers one byte of data. More...
|
|
int32_t | adf7023_init (struct adf7023_dev **device, struct adf7023_init_param init_param) |
| Initializes the ADF7023. More...
|
|
int32_t | adf7023_remove (struct adf7023_dev *dev) |
| Free the resources allocated by adf7023_init(). More...
|
|
void | adf7023_get_status (struct adf7023_dev *dev, uint8_t *status) |
| Reads the status word of the ADF7023. More...
|
|
void | adf7023_set_command (struct adf7023_dev *dev, uint8_t command) |
| Initiates a command. More...
|
|
void | adf7023_set_fw_state (struct adf7023_dev *dev, uint8_t fw_state) |
| Sets a FW state and waits until the device enters in that state. More...
|
|
void | adf7023_get_ram (struct adf7023_dev *dev, uint32_t address, uint32_t length, uint8_t *data) |
| Reads data from the RAM. More...
|
|
void | adf7023_set_ram (struct adf7023_dev *dev, uint32_t address, uint32_t length, uint8_t *data) |
| Writes data to RAM. More...
|
|
void | adf7023_receive_packet (struct adf7023_dev *dev, uint8_t *packet, uint8_t *length) |
| Receives one packet. More...
|
|
void | adf7023_transmit_packet (struct adf7023_dev *dev, uint8_t *packet, uint8_t length) |
| Transmits one packet. More...
|
|
void | adf7023_set_channel_frequency (struct adf7023_dev *dev, uint32_t ch_freq) |
| Sets the channel frequency. More...
|
|
void | adf7023_set_data_rate (struct adf7023_dev *dev, uint32_t data_rate) |
| Sets the data rate. More...
|
|
void | adf7023_set_frequency_deviation (struct adf7023_dev *dev, uint32_t freq_dev) |
| Sets the frequency deviation. More...
|
|
Implementation of ADF7023 Driver.
- Author
- DBogdan (Drago.nosp@m.s.Bo.nosp@m.gdan@.nosp@m.anal.nosp@m.og.co.nosp@m.m)
Copyright 2013(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.