![]() |
no-OS
|
Header file for ADL8113 Driver. More...
Classes | |
| struct | adl8113_dev |
| ADL8113 Device Descriptor. More... | |
| struct | adl8113_init_param |
| ADL8113 Initialization Parameters structure. More... | |
Enumerations | |
| enum | adl8113_mode { ADL8113_INTERNAL_AMPLIFIER , ADL8113_INTERNAL_BYPASS , ADL8113_EXTERNAL_BYPASS_A , ADL8113_EXTERNAL_BYPASS_B } |
| ADL8113 Operation Mode. More... | |
Functions | |
| int | adl8113_set_mode (struct adl8113_dev *dev, enum adl8113_mode mode) |
| int | adl8113_get_mode (struct adl8113_dev *dev, enum adl8113_mode *mode) |
| int | adl8113_init (struct adl8113_dev **device, struct adl8113_init_param *init_param) |
| int | adl8113_remove (struct adl8113_dev *dev) |
Header file for ADL8113 Driver.
Copyright 2025(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| enum adl8113_mode |
| int adl8113_get_mode | ( | struct adl8113_dev * | dev, |
| enum adl8113_mode * | mode ) |
Get current operation mode.
| dev | - The device structure. |
| mode | - Pointer to store the current operation mode. |
| int adl8113_init | ( | struct adl8113_dev ** | device, |
| struct adl8113_init_param * | init_param ) |
Initialize the device.
| device | - The device structure. |
| init_param | - The structure that contains the device initial parameters. |
| int adl8113_remove | ( | struct adl8113_dev * | dev | ) |
Free the resources allocated by adl8113_init().
| dev | - The device structure. |
| int adl8113_set_mode | ( | struct adl8113_dev * | dev, |
| enum adl8113_mode | mode ) |
Set operation mode (LNA or Bypass).
| dev | - The device structure. |
| mode | - Operation mode (ADL8113_LNA_MODE or ADL8113_BYPASS_MODE). |