no-OS
mykonos_user.h
Go to the documentation of this file.
1 
16 #ifndef _MYKONOSPROFILES_H_
17 #define _MYKONOSPROFILES_H_
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /* turns verbose messaging on */
24 #define MYKONOS_VERBOSE 1
25 #define MYK_ENABLE_SPIWRITEARRAY 1
26 
27 /* 3 Bytes per SPI transaction * 341 transactions = ~1024 byte buffer size */
28 /* Minimum MYK_SPIWRITEARRAY_BUFFERSIZE = 27 */
29 #define MYK_SPIWRITEARRAY_BUFFERSIZE 341
30 /*
31  *****************************************
32  * Rx, ObsRx, and Sniffer gain tables
33  ******************************************
34  */
35 #define MAX_GAIN_TABLE_INDEX 255
36 
37 #define START_RX_GAIN_INDEX 255
38 #define MAX_RX_GAIN_TABLE_NUMINDEXES (START_RX_GAIN_INDEX + 1)
39 #define MIN_RX_GAIN_TABLE_INDEX 0
40 
41 #define START_ORX_GAIN_INDEX 47
42 #define MAX_ORX_GAIN_TABLE_NUMINDEXES (START_ORX_GAIN_INDEX + 1)
43 #define MIN_ORX_GAIN_TABLE_INDEX (MAX_GAIN_TABLE_INDEX - START_ORX_GAIN_INDEX)
44 
45 #define START_SNRX_GAIN_INDEX 127
46 #define MAX_SNRX_GAIN_TABLE_NUMINDEXES (START_SNRX_GAIN_INDEX + 1)
47 #define MIN_SNRX_GAIN_TABLE_INDEX (MAX_GAIN_TABLE_INDEX - START_SNRX_GAIN_INDEX)
48 
49 #define START_LOOPBACK_GAIN_INDEX 47
50 #define MAX_LOOPBACK_GAIN_TABLE_NUMINDEXES (START_LOOPBACK_GAIN_INDEX + 1)
51 #define MIN_LOOPBACK_GAIN_TABLE_INDEX (MAX_GAIN_TABLE_INDEX - START_SNRX_GAIN_INDEX)
52 
53 extern uint8_t RxGainTable [61][4];
54 extern uint8_t ORxGainTable [19][4];
55 extern uint8_t SnRxGainTable [53][4];
56 
57 
58 /*
59  ********************************************
60  * Rx, Sniffer, ObsRx and Tx Profiles limits
61  ********************************************
62  */
63 #define MIN_RX_IQRATE_KHZ 15000
64 #define MAX_RX_IQRATE_KHZ 320000
66 #define MIN_TX_IQRATE_KHZ 15000
67 #define MAX_TX_IQRATE_KHZ 492000
69 #define MIN_SNIFFER_RFBW_HZ 5000000
70 #define MAX_SNIFFER_RFBW_HZ 20000000
72 #define MIN_ORX_RFBW_HZ 5000000
73 #define MAX_ORX_RFBW_HZ 250000000
75 #define MIN_RX_RFBW_HZ 5000000
76 #define MAX_RX_RFBW_HZ 100000000
78 #define MIN_TX_RFBW_HZ 20000000
79 #define MAX_TX_RFBW_HZ 250000000
81 #ifdef __cplusplus
82 }
83 #endif
84 
85 #endif
ORxGainTable
uint8_t ORxGainTable[19][4]
Default ORx gain table settings.
Definition: mykonos_user.c:91
RxGainTable
uint8_t RxGainTable[61][4]
Default Rx gain table settings.
Definition: mykonos_user.c:22
mykonos_user.h
Contains macro definitions and global structure declarations for mykonos_user.c.
RxGainTable
uint8_t RxGainTable[61][4]
Default Rx gain table settings.
Definition: mykonos_user.c:22
SnRxGainTable
uint8_t SnRxGainTable[53][4]
Default SnRx gain table settings.
Definition: mykonos_user.c:119
SnRxGainTable
uint8_t SnRxGainTable[53][4]
Default SnRx gain table settings.
Definition: mykonos_user.c:119
ORxGainTable
uint8_t ORxGainTable[19][4]
Default ORx gain table settings.
Definition: mykonos_user.c:91
t_mykonos.h
Contains type definitions for Mykonos API.