nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
fem_interface.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef FEM_INTERFACE_H_
8#define FEM_INTERFACE_H_
9
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include <stdint.h>
22#include "fem_al/fem_al.h"
23
24#include <hal/nrf_radio.h>
25
29 int (*power_up)(void);
30 int (*power_down)(void);
33 uint32_t (*default_active_delay_calculate)(bool rx, nrf_radio_mode_t mode);
34 int (*antenna_select)(enum fem_antenna ant);
35};
36
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* FEM_INTERFACE_H_ */
int fem_interface_api_set(const struct fem_interface_api *api)
Set an API for one of the FEM implementation.
fem_antenna
The front-end module (FEM) antennas.
Definition: fem_al.h:29
uint8_t fem_tx_power_control
Type holding Tx power control to be applied to front-end module.
Definition: fem_al.h:41
int(* power_down)(void)
Definition: fem_interface.h:30
int(* tx_power_control_validate)(fem_tx_power_control tx_power_control)
Definition: fem_interface.h:31
int8_t(* default_tx_output_power_get)(void)
Definition: fem_interface.h:32
int(* antenna_select)(enum fem_antenna ant)
Definition: fem_interface.h:34
int(* power_up)(void)
Definition: fem_interface.h:29
uint32_t(* default_active_delay_calculate)(bool rx, nrf_radio_mode_t mode)
Definition: fem_interface.h:33
Front-end module interface definition. This file defines interface for Front-end module specific beha...
Definition: fem_interface.h:28