CC13xx Driver Library
rf_common_cmd.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_common_cmd.h
3 * Revised: 2015-09-08 16:06:29 +0200 (Tue, 08 Sep 2015)
4 * Revision: 44530
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 
99 
103  uint16_t commandNo;
104 };
105 
107 
111 
113  uint16_t commandNo;
114  uint16_t status;
115  rfc_radioOp_t *pNextOp;
119  struct {
120  uint8_t triggerType:4;
121  uint8_t bEnaCmd:1;
122  uint8_t triggerNo:2;
124  uint8_t pastTrig:1;
125  } startTrigger;
127  struct {
128  uint8_t rule:4;
129  uint8_t nSkip:4;
130  } condition;
131 };
132 
134 
137 #define CMD_NOP 0x0801
139  uint16_t commandNo;
140  uint16_t status;
141  rfc_radioOp_t *pNextOp;
145  struct {
146  uint8_t triggerType:4;
147  uint8_t bEnaCmd:1;
148  uint8_t triggerNo:2;
150  uint8_t pastTrig:1;
151  } startTrigger;
153  struct {
154  uint8_t rule:4;
155  uint8_t nSkip:4;
156  } condition;
157 };
158 
160 
163 #define CMD_RADIO_SETUP 0x0802
165  uint16_t commandNo;
166  uint16_t status;
167  rfc_radioOp_t *pNextOp;
171  struct {
172  uint8_t triggerType:4;
173  uint8_t bEnaCmd:1;
174  uint8_t triggerNo:2;
176  uint8_t pastTrig:1;
177  } startTrigger;
179  struct {
180  uint8_t rule:4;
181  uint8_t nSkip:4;
182  } condition;
183  uint8_t mode;
184  uint8_t loDivider;
192  struct {
195  uint16_t frontEndMode:3;
196  uint16_t biasMode:1;
202  uint16_t :6;
204  uint16_t bNoFsPowerUp:1;
205  } config;
207  struct {
208  uint16_t IB:6;
209  uint16_t GC:2;
210  uint16_t boost:1;
211  uint16_t tempCoeff:7;
212  } txPower;
213  uint32_t* pRegOverride;
214 };
216 
218 
221 #define CMD_FS 0x0803
223  uint16_t commandNo;
224  uint16_t status;
225  rfc_radioOp_t *pNextOp;
229  struct {
230  uint8_t triggerType:4;
231  uint8_t bEnaCmd:1;
232  uint8_t triggerNo:2;
234  uint8_t pastTrig:1;
235  } startTrigger;
237  struct {
238  uint8_t rule:4;
239  uint8_t nSkip:4;
240  } condition;
241  uint16_t frequency;
242  uint16_t fractFreq;
243  struct {
244  uint8_t bTxMode:1;
245  uint8_t refFreq:6;
247  } synthConf;
249  uint8_t __dummy0;
250  uint8_t midPrecal;
251  uint8_t ktPrecal;
252  uint16_t tdcPrecal;
253 };
254 
256 
259 #define CMD_FS_OFF 0x0804
261  uint16_t commandNo;
262  uint16_t status;
263  rfc_radioOp_t *pNextOp;
267  struct {
268  uint8_t triggerType:4;
269  uint8_t bEnaCmd:1;
270  uint8_t triggerNo:2;
272  uint8_t pastTrig:1;
273  } startTrigger;
275  struct {
276  uint8_t rule:4;
277  uint8_t nSkip:4;
278  } condition;
279 };
280 
282 
285 #define CMD_RX 0x0805
287  uint16_t commandNo;
288  uint16_t status;
289  rfc_radioOp_t *pNextOp;
293  struct {
294  uint8_t triggerType:4;
295  uint8_t bEnaCmd:1;
296  uint8_t triggerNo:2;
298  uint8_t pastTrig:1;
299  } startTrigger;
301  struct {
302  uint8_t rule:4;
303  uint8_t nSkip:4;
304  } condition;
305  struct {
306  uint16_t endianness:1;
307  uint16_t numHdrBits:6;
309  uint16_t bFsOff:1;
310  uint16_t bUseCrc:1;
312  uint16_t bCrcIncSw:1;
314  uint16_t bCrcIncHdr:1;
316  uint16_t bReportCrc:1;
318  uint16_t endType:1;
320  uint16_t bDualSw:1;
322  } pktConfig;
324  uint32_t syncWord;
325  uint32_t syncWord2;
326  struct {
327  uint16_t numLenBits:4;
328  uint16_t lenFieldPos:5;
329  uint16_t lenOffset:7;
330  } lenConfig;
331  uint16_t maxLen;
332  uint8_t* pRecPkt;
334  struct {
335  uint8_t triggerType:4;
336  uint8_t bEnaCmd:1;
337  uint8_t triggerNo:2;
339  uint8_t pastTrig:1;
340  } endTrigger;
342  int8_t rssi;
343  uint16_t recLen;
345  uint16_t nRxOk;
346  uint16_t nRxNok;
347  uint16_t nRx2Ok;
348  uint16_t nRx2Nok;
350 };
352 
354 
357 #define CMD_TX 0x0806
359  uint16_t commandNo;
360  uint16_t status;
361  rfc_radioOp_t *pNextOp;
365  struct {
366  uint8_t triggerType:4;
367  uint8_t bEnaCmd:1;
368  uint8_t triggerNo:2;
370  uint8_t pastTrig:1;
371  } startTrigger;
373  struct {
374  uint8_t rule:4;
375  uint8_t nSkip:4;
376  } condition;
377  struct {
378  uint16_t endianness:1;
379  uint16_t numHdrBits:6;
381  uint16_t bFsOff:1;
382  uint16_t bUseCrc:1;
384  uint16_t bCrcIncSw:1;
386  uint16_t bCrcIncHdr:1;
388  } pktConfig;
390  uint32_t syncWord;
391  uint8_t* pTxPkt;
392  uint16_t pktLen;
393 };
394 
396 
399 #define CMD_RX_TEST 0x0807
401  uint16_t commandNo;
402  uint16_t status;
403  rfc_radioOp_t *pNextOp;
407  struct {
408  uint8_t triggerType:4;
409  uint8_t bEnaCmd:1;
410  uint8_t triggerNo:2;
412  uint8_t pastTrig:1;
413  } startTrigger;
415  struct {
416  uint8_t rule:4;
417  uint8_t nSkip:4;
418  } condition;
419  struct {
420  uint8_t bEnaFifo:1;
421  uint8_t bFsOff:1;
423  uint8_t bNoSync:1;
425  } config;
427  struct {
428  uint8_t triggerType:4;
429  uint8_t bEnaCmd:1;
430  uint8_t triggerNo:2;
432  uint8_t pastTrig:1;
433  } endTrigger;
435  uint32_t syncWord;
437 };
438 
440 
443 #define CMD_TX_TEST 0x0808
445  uint16_t commandNo;
446  uint16_t status;
447  rfc_radioOp_t *pNextOp;
451  struct {
452  uint8_t triggerType:4;
453  uint8_t bEnaCmd:1;
454  uint8_t triggerNo:2;
456  uint8_t pastTrig:1;
457  } startTrigger;
459  struct {
460  uint8_t rule:4;
461  uint8_t nSkip:4;
462  } condition;
463  struct {
464  uint8_t bUseCw:1;
465  uint8_t bFsOff:1;
467  uint8_t whitenMode:2;
469  } config;
473  uint8_t __dummy0;
474  uint16_t txWord;
475  uint8_t __dummy1;
476  struct {
477  uint8_t triggerType:4;
478  uint8_t bEnaCmd:1;
479  uint8_t triggerNo:2;
481  uint8_t pastTrig:1;
482  } endTrigger;
484  uint32_t syncWord;
486 };
487 
489 
492 #define CMD_SYNC_STOP_RAT 0x0809
494  uint16_t commandNo;
495  uint16_t status;
496  rfc_radioOp_t *pNextOp;
500  struct {
501  uint8_t triggerType:4;
502  uint8_t bEnaCmd:1;
503  uint8_t triggerNo:2;
505  uint8_t pastTrig:1;
506  } startTrigger;
508  struct {
509  uint8_t rule:4;
510  uint8_t nSkip:4;
511  } condition;
512  uint16_t __dummy0;
514 };
516 
518 
521 #define CMD_SYNC_START_RAT 0x080A
523  uint16_t commandNo;
524  uint16_t status;
525  rfc_radioOp_t *pNextOp;
529  struct {
530  uint8_t triggerType:4;
531  uint8_t bEnaCmd:1;
532  uint8_t triggerNo:2;
534  uint8_t pastTrig:1;
535  } startTrigger;
537  struct {
538  uint8_t rule:4;
539  uint8_t nSkip:4;
540  } condition;
541  uint16_t __dummy0;
543 };
545 
547 
550 #define CMD_COUNT 0x080B
552  uint16_t commandNo;
553  uint16_t status;
554  rfc_radioOp_t *pNextOp;
558  struct {
559  uint8_t triggerType:4;
560  uint8_t bEnaCmd:1;
561  uint8_t triggerNo:2;
563  uint8_t pastTrig:1;
564  } startTrigger;
566  struct {
567  uint8_t rule:4;
568  uint8_t nSkip:4;
569  } condition;
570  uint16_t counter;
571 };
573 
575 
578 #define CMD_FS_POWERUP 0x080C
580  uint16_t commandNo;
581  uint16_t status;
582  rfc_radioOp_t *pNextOp;
586  struct {
587  uint8_t triggerType:4;
588  uint8_t bEnaCmd:1;
589  uint8_t triggerNo:2;
591  uint8_t pastTrig:1;
592  } startTrigger;
594  struct {
595  uint8_t rule:4;
596  uint8_t nSkip:4;
597  } condition;
598  uint16_t __dummy0;
599  uint32_t* pRegOverride;
600 };
601 
603 
606 #define CMD_FS_POWERDOWN 0x080D
608  uint16_t commandNo;
609  uint16_t status;
610  rfc_radioOp_t *pNextOp;
614  struct {
615  uint8_t triggerType:4;
616  uint8_t bEnaCmd:1;
617  uint8_t triggerNo:2;
619  uint8_t pastTrig:1;
620  } startTrigger;
622  struct {
623  uint8_t rule:4;
624  uint8_t nSkip:4;
625  } condition;
626 };
627 
629 
632 #define CMD_SCH_IMM 0x0810
634  uint16_t commandNo;
635  uint16_t status;
636  rfc_radioOp_t *pNextOp;
640  struct {
641  uint8_t triggerType:4;
642  uint8_t bEnaCmd:1;
643  uint8_t triggerNo:2;
645  uint8_t pastTrig:1;
646  } startTrigger;
648  struct {
649  uint8_t rule:4;
650  uint8_t nSkip:4;
651  } condition;
652  uint16_t __dummy0;
653  uint32_t cmdrVal;
654  uint32_t cmdstaVal;
655 };
656 
658 
661 #define CMD_COUNT_BRANCH 0x0812
663  uint16_t commandNo;
664  uint16_t status;
665  rfc_radioOp_t *pNextOp;
669  struct {
670  uint8_t triggerType:4;
671  uint8_t bEnaCmd:1;
672  uint8_t triggerNo:2;
674  uint8_t pastTrig:1;
675  } startTrigger;
677  struct {
678  uint8_t rule:4;
679  uint8_t nSkip:4;
680  } condition;
681  uint16_t counter;
682  rfc_radioOp_t *pNextOpIfOk;
684 };
685 
687 
690 #define CMD_PATTERN_CHECK 0x0813
692  uint16_t commandNo;
693  uint16_t status;
694  rfc_radioOp_t *pNextOp;
698  struct {
699  uint8_t triggerType:4;
700  uint8_t bEnaCmd:1;
701  uint8_t triggerNo:2;
703  uint8_t pastTrig:1;
704  } startTrigger;
706  struct {
707  uint8_t rule:4;
708  uint8_t nSkip:4;
709  } condition;
710  struct {
711  uint16_t operation:2;
712  uint16_t bByteRev:1;
717  uint16_t bBitRev:1;
719  uint16_t signExtend:5;
720  uint16_t bRxVal:1;
723  } patternOpt;
727  uint8_t* pValue;
728  uint32_t mask;
729  uint32_t compareVal;
730 };
731 
733 
736 #define CMD_ABORT 0x0401
738  uint16_t commandNo;
739 };
740 
742 
745 #define CMD_STOP 0x0402
747  uint16_t commandNo;
748 };
749 
751 
754 #define CMD_GET_RSSI 0x0403
756  uint16_t commandNo;
757 };
758 
760 
763 #define CMD_UPDATE_RADIO_SETUP 0x0001
765  uint16_t commandNo;
766  uint16_t __dummy0;
767  uint32_t* pRegOverride;
768 };
769 
771 
774 #define CMD_TRIGGER 0x0404
776  uint16_t commandNo;
777  uint8_t triggerNo;
778 };
779 
781 
784 #define CMD_GET_FW_INFO 0x0002
786  uint16_t commandNo;
787  uint16_t versionNo;
788  uint16_t startOffset;
789  uint16_t freeRamSz;
790  uint16_t availRatCh;
791 };
792 
794 
797 #define CMD_START_RAT 0x0405
799  uint16_t commandNo;
800 };
801 
803 
806 #define CMD_PING 0x0406
808  uint16_t commandNo;
809 };
810 
812 
815 #define CMD_ADD_DATA_ENTRY 0x0005
817  uint16_t commandNo;
818  uint16_t __dummy0;
820  uint8_t* pEntry;
821 };
822 
824 
827 #define CMD_REMOVE_DATA_ENTRY 0x0006
829  uint16_t commandNo;
830  uint16_t __dummy0;
832  uint8_t* pEntry;
833 };
834 
836 
839 #define CMD_FLUSH_QUEUE 0x0007
841  uint16_t commandNo;
842  uint16_t __dummy0;
844  uint8_t* pFirstEntry;
845 };
846 
848 
851 #define CMD_CLEAR_RX 0x0008
853  uint16_t commandNo;
854  uint16_t __dummy0;
856 };
857 
859 
862 #define CMD_REMOVE_PENDING_ENTRIES 0x0009
864  uint16_t commandNo;
865  uint16_t __dummy0;
867  uint8_t* pFirstEntry;
868 };
869 
871 
874 #define CMD_SET_RAT_CMP 0x000A
876  uint16_t commandNo;
877  uint8_t ratCh;
878  uint8_t __dummy0;
880 };
881 
883 
886 #define CMD_SET_RAT_CPT 0x0603
888  uint16_t commandNo;
889  struct {
890  uint16_t :3;
891  uint16_t inputSrc:5;
892  uint16_t ratCh:4;
893  uint16_t bRepeated:1;
894  uint16_t inputMode:2;
896  } config;
901 };
902 
904 
907 #define CMD_DISABLE_RAT_CH 0x0408
909  uint16_t commandNo;
910  uint8_t ratCh;
911 };
912 
914 
917 #define CMD_SET_RAT_OUTPUT 0x0604
919  uint16_t commandNo;
920  struct {
921  uint16_t :2;
922  uint16_t outputSel:3;
923  uint16_t outputMode:3;
924  uint16_t ratCh:4;
931  } config;
932 };
933 
935 
938 #define CMD_ARM_RAT_CH 0x0409
940  uint16_t commandNo;
941  uint8_t ratCh;
942 };
943 
945 
948 #define CMD_DISARM_RAT_CH 0x040A
950  uint16_t commandNo;
951  uint8_t ratCh;
952 };
953 
955 
958 #define CMD_SET_TX_POWER 0x0010
960  uint16_t commandNo;
961  struct {
962  uint16_t IB:6;
963  uint16_t GC:2;
964  uint16_t boost:1;
965  uint16_t tempCoeff:7;
966  } txPower;
967 };
968 
970 
973 #define CMD_UPDATE_FS 0x0011
975  uint16_t commandNo;
976  uint16_t frequency;
977  uint16_t fractFreq;
978 };
979 
981 
984 #define CMD_BUS_REQUEST 0x040E
986  uint16_t commandNo;
987  uint8_t bSysBusNeeded;
988 };
990 
992 
995 #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:94
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:97
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:90
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.
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:88
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:86
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 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:98
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:89
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.
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
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.
struct __RFC_STRUCT rfc_CMD_SET_RAT_CPT_s rfc_CMD_SET_RAT_CPT_t
Definition: rf_common_cmd.h:91
uint32_t ratmr_t
Type definition for RAT.
Definition: rf_mailbox.h:46
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:96
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:92
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:51
struct __RFC_STRUCT rfc_CMD_FLUSH_QUEUE_s rfc_CMD_FLUSH_QUEUE_t
Definition: rf_common_cmd.h:87
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:95
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:85
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:93
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)