nrfxlib API 3.3.99
Loading...
Searching...
No Matches
mpsl_fem_config_common.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
17#ifndef MPSL_FEM_CONFIG_COMMON_H__
18#define MPSL_FEM_CONFIG_COMMON_H__
19
20#include <stdint.h>
21#include <stdbool.h>
22#include <nrfx.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
30typedef struct
31{
32 NRF_GPIO_Type * p_port;
33 uint8_t port_no;
34 uint8_t port_pin;
36
39typedef struct
40{
47
48 /* Enable toggling for this pin. */
49 bool enable;
50
51 /* If true, the pin will be active high. Otherwise, the pin will be active low. */
53
60 uint8_t gpiote_ch_id;
61
62#if defined(NRF54L_SERIES)
68 NRF_GPIOTE_Type * p_gpiote;
69#endif
71
81
89
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif // MPSL_FEM_CONFIG_COMMON_H__
102
bool mpsl_fem_device_config_254_apply_get(void)
Gets flag which determines whether DEVICE-CONFIG-254 shall be applied.
void mpsl_fem_device_config_254_apply_set(bool apply)
Sets flag which determines whether DEVICE-CONFIG-254 shall be applied.
bool enable
Definition mpsl_fem_config_common.h:78
mpsl_fem_pin_t gpio_pin
Definition mpsl_fem_config_common.h:77
bool active_high
Definition mpsl_fem_config_common.h:79
Configuration parameters for pins that control Front End Module.
Definition mpsl_fem_config_common.h:75
mpsl_fem_pin_t gpio_pin
Definition mpsl_fem_config_common.h:46
uint8_t gpiote_ch_id
Definition mpsl_fem_config_common.h:60
bool active_high
Definition mpsl_fem_config_common.h:52
bool enable
Definition mpsl_fem_config_common.h:49
Configuration parameters for pins that control Front End Module through a GPIOTE peripheral.
Definition mpsl_fem_config_common.h:40
uint8_t port_pin
Definition mpsl_fem_config_common.h:34
uint8_t port_no
Definition mpsl_fem_config_common.h:33
NRF_GPIO_Type * p_port
Definition mpsl_fem_config_common.h:32
GPIO pin and port to be used by Front End Module.
Definition mpsl_fem_config_common.h:31