1 /* 2 * Copyright 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef P2G4_MODEM_IF_TYPES_H 7 #define P2G4_MODEM_IF_TYPES_H 8 9 #include "bs_types.h" 10 #include "bs_pc_2G4_types.h" 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /** 17 * Modem configuration parameters as passed to the modem models 18 */ 19 typedef struct __attribute__ ((packed)) { 20 /* One of P2G4_MOD_* */ 21 p2G4_modulation_t modulation; 22 /* Carrier frequency */ 23 p2G4_freq_t center_freq; 24 /* Coding rate */ 25 uint16_t coding_rate; 26 } p2G4_modemdigparams_t; 27 28 #ifdef __cplusplus 29 } 30 #endif 31 32 #endif /* P2G4_MODEM_IF_TYPES_H */ 33