Implementation of ADL8113 Driver.
More...
#include <stdio.h>
#include <stdlib.h>
#include "adl8113.h"
#include "no_os_error.h"
#include "no_os_alloc.h"
Implementation of ADL8113 Driver.
- Author
- Antoniu Miclaus (anton.nosp@m.iu.m.nosp@m.iclau.nosp@m.s@an.nosp@m.alog..nosp@m.com)
Copyright 2025(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ adl8113_get_mode()
Get current operation mode.
- Parameters
-
| dev | - The device structure. |
| mode | - Pointer to store the current operation mode. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ adl8113_init()
Initialize the device.
- Parameters
-
| device | - The device structure. |
| init_param | - The structure that contains the device initial parameters. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ adl8113_remove()
Free the resources allocated by adl8113_init().
- Parameters
-
| dev | - The device structure. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ adl8113_set_mode()
Set operation mode (LNA or Bypass).
- Parameters
-
| dev | - The device structure. |
| mode | - Operation mode (ADL8113_LNA_MODE or ADL8113_BYPASS_MODE). |
- Returns
- 0 in case of success, negative error code otherwise.