CC13xx Driver Library
rf_common_cmd.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_common_cmd.h
3 * Revised: 2016-04-07 15:04:05 +0200 (Thu, 07 Apr 2016)
4 * Revision: 46052
5 *
6 * Description: CC13xx API for common/generic commands
7 *
8 * Copyright (c) 2015, Texas Instruments Incorporated
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions are met:
13 *
14 * 1) Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 *
17 * 2) Redistributions in binary form must reproduce the above copyright notice,
18 * this list of conditions and the following disclaimer in the documentation
19 * and/or other materials provided with the distribution.
20 *
21 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
22 * be used to endorse or promote products derived from this software without
23 * specific prior written permission.
24 *
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
29 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 ******************************************************************************/
38 
39 #ifndef __COMMON_CMD_H
40 #define __COMMON_CMD_H
41 
42 #ifndef __RFC_STRUCT
43 #ifdef __GNUC__
44 #define __RFC_STRUCT __attribute__ ((aligned (4)))
45 #else
46 #define __RFC_STRUCT
47 #endif
48 #endif
49 
52 
55 
56 #include <stdint.h>
57 #include <driverlib/rf_mailbox.h>
58 
100 
104  uint16_t commandNo;
105 };
106 
108 
112 
114  uint16_t commandNo;
115  uint16_t status;
116  rfc_radioOp_t *pNextOp;
120  struct {
121  uint8_t triggerType:4;
122  uint8_t bEnaCmd:1;
123  uint8_t triggerNo:2;
125  uint8_t pastTrig:1;
126  } startTrigger;
128  struct {
129  uint8_t rule:4;
130  uint8_t nSkip:4;
131  } condition;
132 };
133 
135 
138 #define CMD_NOP 0x0801
140  uint16_t commandNo;
141  uint16_t status;
142  rfc_radioOp_t *pNextOp;
146  struct {
147  uint8_t triggerType:4;
148  uint8_t bEnaCmd:1;
149  uint8_t triggerNo:2;
151  uint8_t pastTrig:1;
152  } startTrigger;
154  struct {
155  uint8_t rule:4;
156  uint8_t nSkip:4;
157  } condition;
158 };
159 
161 
164 #define CMD_RADIO_SETUP 0x0802
166  uint16_t commandNo;
167  uint16_t status;
168  rfc_radioOp_t *pNextOp;
172  struct {
173  uint8_t triggerType:4;
174  uint8_t bEnaCmd:1;
175  uint8_t triggerNo:2;
177  uint8_t pastTrig:1;
178  } startTrigger;
180  struct {
181  uint8_t rule:4;
182  uint8_t nSkip:4;
183  } condition;
184  uint8_t mode;
185  uint8_t loDivider;
193  struct {
196  uint16_t frontEndMode:3;
197  uint16_t biasMode:1;
203  uint16_t analogCfgMode:6;
205  uint16_t bNoFsPowerUp:1;
212  } config;
214  uint16_t txPower;
215  uint32_t* pRegOverride;
216 };
218 
220 
223 #define CMD_FS 0x0803
225  uint16_t commandNo;
226  uint16_t status;
227  rfc_radioOp_t *pNextOp;
231  struct {
232  uint8_t triggerType:4;
233  uint8_t bEnaCmd:1;
234  uint8_t triggerNo:2;
236  uint8_t pastTrig:1;
237  } startTrigger;
239  struct {
240  uint8_t rule:4;
241  uint8_t nSkip:4;
242  } condition;
243  uint16_t frequency;
244  uint16_t fractFreq;
245  struct {
246  uint8_t bTxMode:1;
247  uint8_t refFreq:6;
249  } synthConf;
251  uint8_t __dummy0;
252  uint8_t midPrecal;
253  uint8_t ktPrecal;
254  uint16_t tdcPrecal;
255 };
256 
258 
261 #define CMD_FS_OFF 0x0804
263  uint16_t commandNo;
264  uint16_t status;
265  rfc_radioOp_t *pNextOp;
269  struct {
270  uint8_t triggerType:4;
271  uint8_t bEnaCmd:1;
272  uint8_t triggerNo:2;
274  uint8_t pastTrig:1;
275  } startTrigger;
277  struct {
278  uint8_t rule:4;
279  uint8_t nSkip:4;
280  } condition;
281 };
282 
284 
287 #define CMD_RX 0x0805
289  uint16_t commandNo;
290  uint16_t status;
291  rfc_radioOp_t *pNextOp;
295  struct {
296  uint8_t triggerType:4;
297  uint8_t bEnaCmd:1;
298  uint8_t triggerNo:2;
300  uint8_t pastTrig:1;
301  } startTrigger;
303  struct {
304  uint8_t rule:4;
305  uint8_t nSkip:4;
306  } condition;
307  struct {
308  uint16_t endianness:1;
309  uint16_t numHdrBits:6;
311  uint16_t bFsOff:1;
312  uint16_t bUseCrc:1;
314  uint16_t bCrcIncSw:1;
316  uint16_t bCrcIncHdr:1;
318  uint16_t bReportCrc:1;
320  uint16_t endType:1;
322  uint16_t bDualSw:1;
324  } pktConfig;
326  uint32_t syncWord;
327  uint32_t syncWord2;
328  struct {
329  uint16_t numLenBits:4;
330  uint16_t lenFieldPos:5;
331  uint16_t lenOffset:7;
332  } lenConfig;
333  uint16_t maxLen;
334  uint8_t* pRecPkt;
336  struct {
337  uint8_t triggerType:4;
338  uint8_t bEnaCmd:1;
339  uint8_t triggerNo:2;
341  uint8_t pastTrig:1;
342  } endTrigger;
344  int8_t rssi;
345  uint16_t recLen;
347  uint16_t nRxOk;
348  uint16_t nRxNok;
349  uint16_t nRx2Ok;
350  uint16_t nRx2Nok;
352 };
354 
356 
359 #define CMD_TX 0x0806
361  uint16_t commandNo;
362  uint16_t status;
363  rfc_radioOp_t *pNextOp;
367  struct {
368  uint8_t triggerType:4;
369  uint8_t bEnaCmd:1;
370  uint8_t triggerNo:2;
372  uint8_t pastTrig:1;
373  } startTrigger;
375  struct {
376  uint8_t rule:4;
377  uint8_t nSkip:4;
378  } condition;
379  struct {
380  uint16_t endianness:1;
381  uint16_t numHdrBits:6;
383  uint16_t bFsOff:1;
384  uint16_t bUseCrc:1;
386  uint16_t bCrcIncSw:1;
388  uint16_t bCrcIncHdr:1;
390  } pktConfig;
392  uint32_t syncWord;
393  uint8_t* pTxPkt;
394  uint16_t pktLen;
395 };
396 
398 
401 #define CMD_RX_TEST 0x0807
403  uint16_t commandNo;
404  uint16_t status;
405  rfc_radioOp_t *pNextOp;
409  struct {
410  uint8_t triggerType:4;
411  uint8_t bEnaCmd:1;
412  uint8_t triggerNo:2;
414  uint8_t pastTrig:1;
415  } startTrigger;
417  struct {
418  uint8_t rule:4;
419  uint8_t nSkip:4;
420  } condition;
421  struct {
422  uint8_t bEnaFifo:1;
423  uint8_t bFsOff:1;
425  uint8_t bNoSync:1;
427  } config;
429  struct {
430  uint8_t triggerType:4;
431  uint8_t bEnaCmd:1;
432  uint8_t triggerNo:2;
434  uint8_t pastTrig:1;
435  } endTrigger;
437  uint32_t syncWord;
439 };
440 
442 
445 #define CMD_TX_TEST 0x0808
447  uint16_t commandNo;
448  uint16_t status;
449  rfc_radioOp_t *pNextOp;
453  struct {
454  uint8_t triggerType:4;
455  uint8_t bEnaCmd:1;
456  uint8_t triggerNo:2;
458  uint8_t pastTrig:1;
459  } startTrigger;
461  struct {
462  uint8_t rule:4;
463  uint8_t nSkip:4;
464  } condition;
465  struct {
466  uint8_t bUseCw:1;
467  uint8_t bFsOff:1;
469  uint8_t whitenMode:2;
471  } config;
475  uint8_t __dummy0;
476  uint16_t txWord;
477  uint8_t __dummy1;
478  struct {
479  uint8_t triggerType:4;
480  uint8_t bEnaCmd:1;
481  uint8_t triggerNo:2;
483  uint8_t pastTrig:1;
484  } endTrigger;
486  uint32_t syncWord;
488 };
489 
491 
494 #define CMD_SYNC_STOP_RAT 0x0809
496  uint16_t commandNo;
497  uint16_t status;
498  rfc_radioOp_t *pNextOp;
502  struct {
503  uint8_t triggerType:4;
504  uint8_t bEnaCmd:1;
505  uint8_t triggerNo:2;
507  uint8_t pastTrig:1;
508  } startTrigger;
510  struct {
511  uint8_t rule:4;
512  uint8_t nSkip:4;
513  } condition;
514  uint16_t __dummy0;
516 };
518 
520 
523 #define CMD_SYNC_START_RAT 0x080A
525  uint16_t commandNo;
526  uint16_t status;
527  rfc_radioOp_t *pNextOp;
531  struct {
532  uint8_t triggerType:4;
533  uint8_t bEnaCmd:1;
534  uint8_t triggerNo:2;
536  uint8_t pastTrig:1;
537  } startTrigger;
539  struct {
540  uint8_t rule:4;
541  uint8_t nSkip:4;
542  } condition;
543  uint16_t __dummy0;
545 };
547 
549 
552 #define CMD_COUNT 0x080B
554  uint16_t commandNo;
555  uint16_t status;
556  rfc_radioOp_t *pNextOp;
560  struct {
561  uint8_t triggerType:4;
562  uint8_t bEnaCmd:1;
563  uint8_t triggerNo:2;
565  uint8_t pastTrig:1;
566  } startTrigger;
568  struct {
569  uint8_t rule:4;
570  uint8_t nSkip:4;
571  } condition;
572  uint16_t counter;
573 };
575 
577 
580 #define CMD_FS_POWERUP 0x080C
582  uint16_t commandNo;
583  uint16_t status;
584  rfc_radioOp_t *pNextOp;
588  struct {
589  uint8_t triggerType:4;
590  uint8_t bEnaCmd:1;
591  uint8_t triggerNo:2;
593  uint8_t pastTrig:1;
594  } startTrigger;
596  struct {
597  uint8_t rule:4;
598  uint8_t nSkip:4;
599  } condition;
600  uint16_t __dummy0;
601  uint32_t* pRegOverride;
602 };
603 
605 
608 #define CMD_FS_POWERDOWN 0x080D
610  uint16_t commandNo;
611  uint16_t status;
612  rfc_radioOp_t *pNextOp;
616  struct {
617  uint8_t triggerType:4;
618  uint8_t bEnaCmd:1;
619  uint8_t triggerNo:2;
621  uint8_t pastTrig:1;
622  } startTrigger;
624  struct {
625  uint8_t rule:4;
626  uint8_t nSkip:4;
627  } condition;
628 };
629 
631 
634 #define CMD_SCH_IMM 0x0810
636  uint16_t commandNo;
637  uint16_t status;
638  rfc_radioOp_t *pNextOp;
642  struct {
643  uint8_t triggerType:4;
644  uint8_t bEnaCmd:1;
645  uint8_t triggerNo:2;
647  uint8_t pastTrig:1;
648  } startTrigger;
650  struct {
651  uint8_t rule:4;
652  uint8_t nSkip:4;
653  } condition;
654  uint16_t __dummy0;
655  uint32_t cmdrVal;
656  uint32_t cmdstaVal;
657 };
658 
660 
663 #define CMD_COUNT_BRANCH 0x0812
665  uint16_t commandNo;
666  uint16_t status;
667  rfc_radioOp_t *pNextOp;
671  struct {
672  uint8_t triggerType:4;
673  uint8_t bEnaCmd:1;
674  uint8_t triggerNo:2;
676  uint8_t pastTrig:1;
677  } startTrigger;
679  struct {
680  uint8_t rule:4;
681  uint8_t nSkip:4;
682  } condition;
683  uint16_t counter;
684  rfc_radioOp_t *pNextOpIfOk;
686 };
687 
689 
692 #define CMD_PATTERN_CHECK 0x0813
694  uint16_t commandNo;
695  uint16_t status;
696  rfc_radioOp_t *pNextOp;
700  struct {
701  uint8_t triggerType:4;
702  uint8_t bEnaCmd:1;
703  uint8_t triggerNo:2;
705  uint8_t pastTrig:1;
706  } startTrigger;
708  struct {
709  uint8_t rule:4;
710  uint8_t nSkip:4;
711  } condition;
712  struct {
713  uint16_t operation:2;
714  uint16_t bByteRev:1;
719  uint16_t bBitRev:1;
721  uint16_t signExtend:5;
722  uint16_t bRxVal:1;
725  } patternOpt;
729  uint8_t* pValue;
730  uint32_t mask;
731  uint32_t compareVal;
732 };
733 
735 
738 #define CMD_ABORT 0x0401
740  uint16_t commandNo;
741 };
742 
744 
747 #define CMD_STOP 0x0402
749  uint16_t commandNo;
750 };
751 
753 
756 #define CMD_GET_RSSI 0x0403
758  uint16_t commandNo;
759 };
760 
762 
765 #define CMD_UPDATE_RADIO_SETUP 0x0001
767  uint16_t commandNo;
768  uint16_t __dummy0;
769  uint32_t* pRegOverride;
770 };
771 
773 
776 #define CMD_TRIGGER 0x0404
778  uint16_t commandNo;
779  uint8_t triggerNo;
780 };
781 
783 
786 #define CMD_GET_FW_INFO 0x0002
788  uint16_t commandNo;
789  uint16_t versionNo;
790  uint16_t startOffset;
791  uint16_t freeRamSz;
792  uint16_t availRatCh;
793 };
794 
796 
799 #define CMD_START_RAT 0x0405
801  uint16_t commandNo;
802 };
803 
805 
808 #define CMD_PING 0x0406
810  uint16_t commandNo;
811 };
812 
814 
817 #define CMD_READ_RFREG 0x0601
819  uint16_t commandNo;
820  uint16_t address;
821  uint32_t value;
822 };
823 
825 
828 #define CMD_ADD_DATA_ENTRY 0x0005
830  uint16_t commandNo;
831  uint16_t __dummy0;
833  uint8_t* pEntry;
834 };
835 
837 
840 #define CMD_REMOVE_DATA_ENTRY 0x0006
842  uint16_t commandNo;
843  uint16_t __dummy0;
845  uint8_t* pEntry;
846 };
847 
849 
852 #define CMD_FLUSH_QUEUE 0x0007
854  uint16_t commandNo;
855  uint16_t __dummy0;
857  uint8_t* pFirstEntry;
858 };
859 
861 
864 #define CMD_CLEAR_RX 0x0008
866  uint16_t commandNo;
867  uint16_t __dummy0;
869 };
870 
872 
875 #define CMD_REMOVE_PENDING_ENTRIES 0x0009
877  uint16_t commandNo;
878  uint16_t __dummy0;
880  uint8_t* pFirstEntry;
881 };
882 
884 
887 #define CMD_SET_RAT_CMP 0x000A
889  uint16_t commandNo;
890  uint8_t ratCh;
891  uint8_t __dummy0;
893 };
894 
896 
899 #define CMD_SET_RAT_CPT 0x0603
901  uint16_t commandNo;
902  struct {
903  uint16_t :3;
904  uint16_t inputSrc:5;
905  uint16_t ratCh:4;
906  uint16_t bRepeated:1;
907  uint16_t inputMode:2;
909  } config;
914 };
915 
917 
920 #define CMD_DISABLE_RAT_CH 0x0408
922  uint16_t commandNo;
923  uint8_t ratCh;
924 };
925 
927 
930 #define CMD_SET_RAT_OUTPUT 0x0604
932  uint16_t commandNo;
933  struct {
934  uint16_t :2;
935  uint16_t outputSel:3;
936  uint16_t outputMode:3;
937  uint16_t ratCh:4;
944  } config;
945 };
946 
948 
951 #define CMD_ARM_RAT_CH 0x0409
953  uint16_t commandNo;
954  uint8_t ratCh;
955 };
956 
958 
961 #define CMD_DISARM_RAT_CH 0x040A
963  uint16_t commandNo;
964  uint8_t ratCh;
965 };
966 
968 
971 #define CMD_SET_TX_POWER 0x0010
973  uint16_t commandNo;
974  struct {
975  uint16_t IB:6;
976  uint16_t GC:2;
977  uint16_t boost:1;
978  uint16_t tempCoeff:7;
979  } txPower;
980 };
981 
983 
986 #define CMD_UPDATE_FS 0x0011
988  uint16_t commandNo;
989  uint16_t __dummy0;
990  uint32_t __dummy1;
991  uint32_t __dummy2;
992  uint16_t __dummy3;
993  uint16_t frequency;
994  uint16_t fractFreq;
995 };
996 
998 
1001 #define CMD_BUS_REQUEST 0x040E
1003  uint16_t commandNo;
1004  uint8_t bSysBusNeeded;
1005 };
1007 
1009 
1012 #endif
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t commandNo
The command ID number 0x0408.
uint16_t startOffset
The start of free RAM.
uint16_t commandNo
The command ID number 0x0007.
uint16_t counter
Counter. On start, the radio CPU decrements the value, and the end status of the operation differs if...
struct __RFC_STRUCT rfc_CMD_TRIGGER_s rfc_CMD_TRIGGER_t
Definition: rf_common_cmd.h:81
struct __RFC_STRUCT rfc_CMD_STOP_s rfc_CMD_STOP_t
Definition: rf_common_cmd.h:78
#define __RFC_STRUCT
Definition: rf_common_cmd.h:46
uint8_t ratCh
The radio timer channel number.
uint16_t commandNo
The command ID number 0x0803.
struct __RFC_STRUCT rfc_CMD_ARM_RAT_CH_s rfc_CMD_ARM_RAT_CH_t
Definition: rf_common_cmd.h:95
uint16_t counter
Counter. On start, the radio CPU decrements the value, and the end status of the operation differs if...
struct __RFC_STRUCT rfc_CMD_SYNC_STOP_RAT_s rfc_CMD_SYNC_STOP_RAT_t
Definition: rf_common_cmd.h:69
uint8_t mode
The main mode to use 0x00: BLE 0x01: IEEE 802.15.4 0x02: 2 Mbps GFSK 0x05: 5 Mbps coded 8-FSK 0x...
struct __RFC_STRUCT rfc_CMD_UPDATE_FS_s rfc_CMD_UPDATE_FS_t
Definition: rf_common_cmd.h:98
uint16_t commandNo
The command ID number 0x0806.
ratmr_t endTime
Time to end the operation.
uint16_t commandNo
The command ID number 0x0801.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
struct __RFC_STRUCT rfc_CMD_SET_RAT_CMP_s rfc_CMD_SET_RAT_CMP_t
Definition: rf_common_cmd.h:91
struct __RFC_STRUCT rfc_CMD_RX_TEST_s rfc_CMD_RX_TEST_t
Definition: rf_common_cmd.h:67
ratmr_t endTime
Time to end the operation.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint8_t * pFirstEntry
Pointer to the first entry that was removed.
uint16_t txPower
Transmit power.
ratmr_t rat0
The desired RAT timer value corresponding to the value the RAT would have had when the RTC was zero...
struct __RFC_STRUCT rfc_CMD_CLEAR_RX_s rfc_CMD_CLEAR_RX_t
Definition: rf_common_cmd.h:89
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint8_t midPrecal
Mid pre-calibration value to use when bOverrideCalib and bSkipCoarseCalib are both 1...
struct __RFC_STRUCT rfc_CMD_START_RAT_s rfc_CMD_START_RAT_t
Definition: rf_common_cmd.h:83
uint16_t commandNo
The command ID number 0x0002.
uint16_t commandNo
The command ID number 0x0409.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t commandNo
The command ID number 0x0808.
uint16_t freeRamSz
The size of free RAM.
uint16_t commandNo
The command ID number 0x0008.
dataQueue_t * pQueue
Pointer to the queue structure to be flushed.
dataQueue_t * pQueue
Pointer to the queue structure to which the entry will be added.
uint16_t commandNo
The command ID number 0x0603.
uint16_t commandNo
The command ID number 0x0001.
dataQueue_t * pQueue
Pointer to the queue structure from which the entry will be removed.
uint8_t * pEntry
Pointer to the entry.
struct __RFC_STRUCT rfc_CMD_FS_POWERDOWN_s rfc_CMD_FS_POWERDOWN_t
Definition: rf_common_cmd.h:73
struct __RFC_STRUCT rfc_CMD_RADIO_SETUP_s rfc_CMD_RADIO_SETUP_t
Definition: rf_common_cmd.h:62
dataQueue_t * pQueue
Pointer to the queue structure to be cleared.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t fractFreq
Fractional part of the frequency to tune to.
struct __RFC_STRUCT rfc_CMD_COUNT_BRANCH_s rfc_CMD_COUNT_BRANCH_t
Definition: rf_common_cmd.h:75
uint16_t tdcPrecal
TDC pre-calibration value to use when bOverrideCalib and bSkipCoarseCalib are both 1...
uint16_t maxLen
Maximum number of bytes in the received packet (including header, excluding CRC)
uint16_t versionNo
Firmware version number.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint32_t mask
Bit mask to apply before comparison.
uint32_t cmdstaVal
Value as would be returned in CMDSTA.
uint32_t syncWord
Sync word to transmit.
uint16_t commandNo
The command ID number 0x040A.
struct __RFC_STRUCT rfc_radioOp_s rfc_radioOp_t
Definition: rf_common_cmd.h:60
struct __RFC_STRUCT rfc_CMD_REMOVE_DATA_ENTRY_s rfc_CMD_REMOVE_DATA_ENTRY_t
Definition: rf_common_cmd.h:87
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t commandNo
The command ID number.
uint16_t commandNo
The command ID number 0x080B.
uint16_t commandNo
The command ID number 0x0006.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t nRxNok
Counter of number of received packets with CRC error and first sync word.
uint32_t compareVal
Value to compare to.
uint16_t commandNo
The command ID number 0x0402.
struct __RFC_STRUCT rfc_CMD_FS_s rfc_CMD_FS_t
Definition: rf_common_cmd.h:63
struct __RFC_STRUCT rfc_CMD_SYNC_START_RAT_s rfc_CMD_SYNC_START_RAT_t
Definition: rf_common_cmd.h:70
int8_t rssi
RSSI of received packet.
struct __RFC_STRUCT rfc_CMD_SCH_IMM_s rfc_CMD_SCH_IMM_t
Definition: rf_common_cmd.h:74
dataQueue_t * pQueue
Pointer to the queue structure to be flushed.
uint16_t commandNo
The command ID number 0x0401.
ratmr_t endTime
Time to end the operation.
uint16_t address
The offset from the start of the RF core HW register bank (0x40040000)
uint16_t commandNo
The command ID number 0x040E.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t commandNo
The command ID number 0x000A.
uint8_t bSysBusNeeded
0: System bus may sleep 1: System bus access needed
struct __RFC_STRUCT rfc_CMD_BUS_REQUEST_s rfc_CMD_BUS_REQUEST_t
Definition: rf_common_cmd.h:99
uint8_t * pTxPkt
Pointer to buffer for transmitted packet.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
rfc_radioOp_t * pNextOpIfOk
Pointer to next operation if comparison result was true.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
struct __RFC_STRUCT rfc_CMD_REMOVE_PENDING_ENTRIES_s rfc_CMD_REMOVE_PENDING_ENTRIES_t
Definition: rf_common_cmd.h:90
struct __RFC_STRUCT rfc_CMD_READ_RFREG_s rfc_CMD_READ_RFREG_t
Definition: rf_common_cmd.h:85
struct __RFC_STRUCT rfc_CMD_PATTERN_CHECK_s rfc_CMD_PATTERN_CHECK_t
Definition: rf_common_cmd.h:76
uint16_t availRatCh
Bitmap of available RAT channels.
uint8_t * pFirstEntry
Pointer to the first entry that was removed.
struct __RFC_STRUCT rfc_CMD_FS_OFF_s rfc_CMD_FS_OFF_t
Definition: rf_common_cmd.h:64
uint16_t commandNo
The command ID number 0x0805.
uint16_t nRx2Ok
Counter of number of received packets with CRC OK and second sync word; may safely be omitted if pktC...
struct __RFC_STRUCT rfc_CMD_TX_TEST_s rfc_CMD_TX_TEST_t
Definition: rf_common_cmd.h:68
uint16_t frequency
The frequency in MHz to tune to, compensated for LO divider setting.
uint16_t commandNo
The command ID number 0x0809.
struct __RFC_STRUCT rfc_CMD_NOP_s rfc_CMD_NOP_t
Definition: rf_common_cmd.h:61
uint32_t value
Returned value of the register.
struct __RFC_STRUCT rfc_command_s rfc_command_t
Definition: rf_common_cmd.h:59
uint16_t pktLen
Number of bytes in the transmitted packet.
uint16_t commandNo
The command ID number 0x0813.
uint16_t commandNo
The command ID number 0x080C.
uint16_t commandNo
The command ID number 0x0601.
struct __RFC_STRUCT rfc_CMD_SET_RAT_CPT_s rfc_CMD_SET_RAT_CPT_t
Definition: rf_common_cmd.h:92
uint32_t ratmr_t
Type definition for RAT.
Definition: rf_mailbox.h:58
uint16_t commandNo
The command ID number 0x0005.
ratmr_t rat0
The returned RAT timer value corresponding to the value the RAT would have had when the RTC was zero...
uint16_t commandNo
The command ID number.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used...
uint32_t syncWord2
Secondary sync word to receive if pktConfig.bDualSw = 1.
uint16_t commandNo
The command ID number 0x0405.
struct __RFC_STRUCT rfc_CMD_SET_TX_POWER_s rfc_CMD_SET_TX_POWER_t
Definition: rf_common_cmd.h:97
uint8_t ktPrecal
KT pre-calibration value to use when bOverrideCalib and bSkipCoarseCalib are both 1...
struct __RFC_STRUCT rfc_CMD_DISABLE_RAT_CH_s rfc_CMD_DISABLE_RAT_CH_t
Definition: rf_common_cmd.h:93
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t recLen
Number of bytes written to receive buffer.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint8_t ratCh
The radio timer channel number.
uint16_t commandNo
The command ID number 0x0802.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
struct __RFC_STRUCT rfc_CMD_ABORT_s rfc_CMD_ABORT_t
Definition: rf_common_cmd.h:77
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
ratmr_t compareTime
The time at which the compare occurs.
struct __RFC_STRUCT rfc_CMD_UPDATE_RADIO_SETUP_s rfc_CMD_UPDATE_RADIO_SETUP_t
Definition: rf_common_cmd.h:80
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t commandNo
The command ID number 0x0010.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t commandNo
The command ID number 0x0804.
uint8_t triggerNo
Command trigger number.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint32_t syncWord
Sync word to receive.
uint16_t commandNo
The command ID number 0x0011.
uint16_t fractFreq
Fractional part of the frequency to tune to.
uint8_t ratCh
The radio timer channel number.
uint32_t syncWord
Sync word to use for receiver.
struct __RFC_STRUCT rfc_CMD_PING_s rfc_CMD_PING_t
Definition: rf_common_cmd.h:84
uint8_t * pEntry
Pointer to the entry that was removed.
uint16_t commandNo
The command ID number 0x0403.
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Type definition for a data queue.
Definition: rf_mailbox.h:63
struct __RFC_STRUCT rfc_CMD_FLUSH_QUEUE_s rfc_CMD_FLUSH_QUEUE_t
Definition: rf_common_cmd.h:88
struct __RFC_STRUCT rfc_CMD_RX_s rfc_CMD_RX_t
Definition: rf_common_cmd.h:65
struct __RFC_STRUCT rfc_CMD_TX_s rfc_CMD_TX_t
Definition: rf_common_cmd.h:66
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
struct __RFC_STRUCT rfc_CMD_GET_FW_INFO_s rfc_CMD_GET_FW_INFO_t
Definition: rf_common_cmd.h:82
uint16_t frequency
The frequency in MHz to tune to.
uint16_t commandNo
The command ID number 0x0807.
uint8_t ratCh
The radio timer channel number.
uint32_t syncWord
Sync word to use for transmitter.
uint8_t * pValue
Pointer to read from, or offset from last Rx entry if patternOpt.bRxVal == 1.
struct __RFC_STRUCT rfc_CMD_DISARM_RAT_CH_s rfc_CMD_DISARM_RAT_CH_t
Definition: rf_common_cmd.h:96
uint16_t commandNo
The command ID number 0x0810.
struct __RFC_STRUCT rfc_CMD_FS_POWERUP_s rfc_CMD_FS_POWERUP_t
Definition: rf_common_cmd.h:72
uint16_t commandNo
The command ID number 0x080D.
uint32_t * pRegOverride
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used...
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint32_t cmdrVal
Value as would be written to CMDR.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
struct __RFC_STRUCT rfc_CMD_GET_RSSI_s rfc_CMD_GET_RSSI_t
Definition: rf_common_cmd.h:79
uint16_t nRxOk
Counter of number of received packets with CRC OK and first sync word.
uint16_t commandNo
The command ID number 0x0406.
struct __RFC_STRUCT rfc_CMD_COUNT_s rfc_CMD_COUNT_t
Definition: rf_common_cmd.h:71
uint16_t txWord
Value to send to the modem before whitening.
struct __RFC_STRUCT rfc_CMD_ADD_DATA_ENTRY_s rfc_CMD_ADD_DATA_ENTRY_t
Definition: rf_common_cmd.h:86
uint16_t commandNo
The command ID number 0x0812.
ratmr_t timeStamp
Time stamp of received packet.
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
uint16_t commandNo
The command ID number 0x0009.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
struct __RFC_STRUCT rfc_CMD_SET_RAT_OUTPUT_s rfc_CMD_SET_RAT_OUTPUT_t
Definition: rf_common_cmd.h:94
uint16_t commandNo
The command ID number 0x0404.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint8_t * pRecPkt
Pointer to buffer for received packet. NULL: Do not store the contents.
uint16_t commandNo
The command ID number 0x080A.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint8_t __dummy0
uint16_t commandNo
The command ID number 0x0604.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)