nrfxlib API 0.1.0
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 <nrf.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)
70 uint8_t egu_channels[2];
71
77 NRF_GPIOTE_Type * p_gpiote;
78#endif
80
83typedef struct
84{
85
87 bool enable;
90
98
105
106#ifdef __cplusplus
107}
108#endif
109
110#endif // MPSL_FEM_CONFIG_COMMON_H__
111
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:87
mpsl_fem_pin_t gpio_pin
Definition: mpsl_fem_config_common.h:86
bool active_high
Definition: mpsl_fem_config_common.h:88
Configuration parameters for pins that control Front End Module.
Definition: mpsl_fem_config_common.h:84
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