CC26xx Driver Library
rf_common_cmd.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_common_cmd.h
3 * Revised: 2016-02-18 12:46:56 +0100 (Thu, 18 Feb 2016)
4 * Revision: 45712
5 *
6 * Description: CC26xx 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 __dummy0;
193  struct {
194  uint16_t frontEndMode:3;
195  uint16_t biasMode:1;
201  uint16_t :6;
203  uint16_t bNoFsPowerUp:1;
204  } config;
206  uint16_t txPower;
207  uint32_t* pRegOverride;
208 };
210 
212 
215 #define CMD_FS 0x0803
217  uint16_t commandNo;
218  uint16_t status;
219  rfc_radioOp_t *pNextOp;
223  struct {
224  uint8_t triggerType:4;
225  uint8_t bEnaCmd:1;
226  uint8_t triggerNo:2;
228  uint8_t pastTrig:1;
229  } startTrigger;
231  struct {
232  uint8_t rule:4;
233  uint8_t nSkip:4;
234  } condition;
235  uint16_t frequency;
236  uint16_t fractFreq;
237  struct {
238  uint8_t bTxMode:1;
239  uint8_t refFreq:6;
241  } synthConf;
242  uint8_t __dummy0;
243  uint8_t midPrecal;
244  uint8_t ktPrecal;
245  uint16_t tdcPrecal;
246 };
247 
249 
252 #define CMD_FS_OFF 0x0804
254  uint16_t commandNo;
255  uint16_t status;
256  rfc_radioOp_t *pNextOp;
260  struct {
261  uint8_t triggerType:4;
262  uint8_t bEnaCmd:1;
263  uint8_t triggerNo:2;
265  uint8_t pastTrig:1;
266  } startTrigger;
268  struct {
269  uint8_t rule:4;
270  uint8_t nSkip:4;
271  } condition;
272 };
273 
275 
278 #define CMD_RX 0x0805
280  uint16_t commandNo;
281  uint16_t status;
282  rfc_radioOp_t *pNextOp;
286  struct {
287  uint8_t triggerType:4;
288  uint8_t bEnaCmd:1;
289  uint8_t triggerNo:2;
291  uint8_t pastTrig:1;
292  } startTrigger;
294  struct {
295  uint8_t rule:4;
296  uint8_t nSkip:4;
297  } condition;
298  struct {
299  uint16_t endianness:1;
300  uint16_t numHdrBits:6;
302  uint16_t bFsOff:1;
303  uint16_t bUseCrc:1;
305  uint16_t bCrcIncSw:1;
307  uint16_t bCrcIncHdr:1;
309  uint16_t bReportCrc:1;
311  uint16_t endType:1;
313  uint16_t bDualSw:1;
315  } pktConfig;
317  uint32_t syncWord;
318  uint32_t syncWord2;
319  struct {
320  uint16_t numLenBits:4;
321  uint16_t lenFieldPos:5;
322  uint16_t lenOffset:7;
323  } lenConfig;
324  uint16_t maxLen;
325  uint8_t* pRecPkt;
327  struct {
328  uint8_t triggerType:4;
329  uint8_t bEnaCmd:1;
330  uint8_t triggerNo:2;
332  uint8_t pastTrig:1;
333  } endTrigger;
335  int8_t rssi;
336  uint16_t recLen;
338  uint16_t nRxOk;
339  uint16_t nRxNok;
340  uint16_t nRx2Ok;
341  uint16_t nRx2Nok;
343 };
345 
347 
350 #define CMD_TX 0x0806
352  uint16_t commandNo;
353  uint16_t status;
354  rfc_radioOp_t *pNextOp;
358  struct {
359  uint8_t triggerType:4;
360  uint8_t bEnaCmd:1;
361  uint8_t triggerNo:2;
363  uint8_t pastTrig:1;
364  } startTrigger;
366  struct {
367  uint8_t rule:4;
368  uint8_t nSkip:4;
369  } condition;
370  struct {
371  uint16_t endianness:1;
372  uint16_t numHdrBits:6;
374  uint16_t bFsOff:1;
375  uint16_t bUseCrc:1;
377  uint16_t bCrcIncSw:1;
379  uint16_t bCrcIncHdr:1;
381  } pktConfig;
383  uint32_t syncWord;
384  uint8_t* pTxPkt;
385  uint16_t pktLen;
386 };
387 
389 
392 #define CMD_RX_TEST 0x0807
394  uint16_t commandNo;
395  uint16_t status;
396  rfc_radioOp_t *pNextOp;
400  struct {
401  uint8_t triggerType:4;
402  uint8_t bEnaCmd:1;
403  uint8_t triggerNo:2;
405  uint8_t pastTrig:1;
406  } startTrigger;
408  struct {
409  uint8_t rule:4;
410  uint8_t nSkip:4;
411  } condition;
412  struct {
413  uint8_t bEnaFifo:1;
414  uint8_t bFsOff:1;
416  uint8_t bNoSync:1;
418  } config;
420  struct {
421  uint8_t triggerType:4;
422  uint8_t bEnaCmd:1;
423  uint8_t triggerNo:2;
425  uint8_t pastTrig:1;
426  } endTrigger;
428  uint32_t syncWord;
430 };
431 
433 
436 #define CMD_TX_TEST 0x0808
438  uint16_t commandNo;
439  uint16_t status;
440  rfc_radioOp_t *pNextOp;
444  struct {
445  uint8_t triggerType:4;
446  uint8_t bEnaCmd:1;
447  uint8_t triggerNo:2;
449  uint8_t pastTrig:1;
450  } startTrigger;
452  struct {
453  uint8_t rule:4;
454  uint8_t nSkip:4;
455  } condition;
456  struct {
457  uint8_t bUseCw:1;
458  uint8_t bFsOff:1;
460  uint8_t whitenMode:2;
462  } config;
466  uint8_t __dummy0;
467  uint16_t txWord;
468  uint8_t __dummy1;
469  struct {
470  uint8_t triggerType:4;
471  uint8_t bEnaCmd:1;
472  uint8_t triggerNo:2;
474  uint8_t pastTrig:1;
475  } endTrigger;
477  uint32_t syncWord;
479 };
480 
482 
485 #define CMD_SYNC_STOP_RAT 0x0809
487  uint16_t commandNo;
488  uint16_t status;
489  rfc_radioOp_t *pNextOp;
493  struct {
494  uint8_t triggerType:4;
495  uint8_t bEnaCmd:1;
496  uint8_t triggerNo:2;
498  uint8_t pastTrig:1;
499  } startTrigger;
501  struct {
502  uint8_t rule:4;
503  uint8_t nSkip:4;
504  } condition;
505  uint16_t __dummy0;
507 };
509 
511 
514 #define CMD_SYNC_START_RAT 0x080A
516  uint16_t commandNo;
517  uint16_t status;
518  rfc_radioOp_t *pNextOp;
522  struct {
523  uint8_t triggerType:4;
524  uint8_t bEnaCmd:1;
525  uint8_t triggerNo:2;
527  uint8_t pastTrig:1;
528  } startTrigger;
530  struct {
531  uint8_t rule:4;
532  uint8_t nSkip:4;
533  } condition;
534  uint16_t __dummy0;
536 };
538 
540 
543 #define CMD_COUNT 0x080B
545  uint16_t commandNo;
546  uint16_t status;
547  rfc_radioOp_t *pNextOp;
551  struct {
552  uint8_t triggerType:4;
553  uint8_t bEnaCmd:1;
554  uint8_t triggerNo:2;
556  uint8_t pastTrig:1;
557  } startTrigger;
559  struct {
560  uint8_t rule:4;
561  uint8_t nSkip:4;
562  } condition;
563  uint16_t counter;
564 };
566 
568 
571 #define CMD_FS_POWERUP 0x080C
573  uint16_t commandNo;
574  uint16_t status;
575  rfc_radioOp_t *pNextOp;
579  struct {
580  uint8_t triggerType:4;
581  uint8_t bEnaCmd:1;
582  uint8_t triggerNo:2;
584  uint8_t pastTrig:1;
585  } startTrigger;
587  struct {
588  uint8_t rule:4;
589  uint8_t nSkip:4;
590  } condition;
591  uint16_t __dummy0;
592  uint32_t* pRegOverride;
593 };
594 
596 
599 #define CMD_FS_POWERDOWN 0x080D
601  uint16_t commandNo;
602  uint16_t status;
603  rfc_radioOp_t *pNextOp;
607  struct {
608  uint8_t triggerType:4;
609  uint8_t bEnaCmd:1;
610  uint8_t triggerNo:2;
612  uint8_t pastTrig:1;
613  } startTrigger;
615  struct {
616  uint8_t rule:4;
617  uint8_t nSkip:4;
618  } condition;
619 };
620 
622 
625 #define CMD_SCH_IMM 0x0810
627  uint16_t commandNo;
628  uint16_t status;
629  rfc_radioOp_t *pNextOp;
633  struct {
634  uint8_t triggerType:4;
635  uint8_t bEnaCmd:1;
636  uint8_t triggerNo:2;
638  uint8_t pastTrig:1;
639  } startTrigger;
641  struct {
642  uint8_t rule:4;
643  uint8_t nSkip:4;
644  } condition;
645  uint16_t __dummy0;
646  uint32_t cmdrVal;
647  uint32_t cmdstaVal;
648 };
649 
651 
654 #define CMD_COUNT_BRANCH 0x0812
656  uint16_t commandNo;
657  uint16_t status;
658  rfc_radioOp_t *pNextOp;
662  struct {
663  uint8_t triggerType:4;
664  uint8_t bEnaCmd:1;
665  uint8_t triggerNo:2;
667  uint8_t pastTrig:1;
668  } startTrigger;
670  struct {
671  uint8_t rule:4;
672  uint8_t nSkip:4;
673  } condition;
674  uint16_t counter;
675  rfc_radioOp_t *pNextOpIfOk;
677 };
678 
680 
683 #define CMD_PATTERN_CHECK 0x0813
685  uint16_t commandNo;
686  uint16_t status;
687  rfc_radioOp_t *pNextOp;
691  struct {
692  uint8_t triggerType:4;
693  uint8_t bEnaCmd:1;
694  uint8_t triggerNo:2;
696  uint8_t pastTrig:1;
697  } startTrigger;
699  struct {
700  uint8_t rule:4;
701  uint8_t nSkip:4;
702  } condition;
703  struct {
704  uint16_t operation:2;
705  uint16_t bByteRev:1;
710  uint16_t bBitRev:1;
712  uint16_t signExtend:5;
713  uint16_t bRxVal:1;
716  } patternOpt;
720  uint8_t* pValue;
721  uint32_t mask;
722  uint32_t compareVal;
723 };
724 
726 
729 #define CMD_ABORT 0x0401
731  uint16_t commandNo;
732 };
733 
735 
738 #define CMD_STOP 0x0402
740  uint16_t commandNo;
741 };
742 
744 
747 #define CMD_GET_RSSI 0x0403
749  uint16_t commandNo;
750 };
751 
753 
756 #define CMD_UPDATE_RADIO_SETUP 0x0001
758  uint16_t commandNo;
759  uint16_t __dummy0;
760  uint32_t* pRegOverride;
761 };
762 
764 
767 #define CMD_TRIGGER 0x0404
769  uint16_t commandNo;
770  uint8_t triggerNo;
771 };
772 
774 
777 #define CMD_GET_FW_INFO 0x0002
779  uint16_t commandNo;
780  uint16_t versionNo;
781  uint16_t startOffset;
782  uint16_t freeRamSz;
783  uint16_t availRatCh;
784 };
785 
787 
790 #define CMD_START_RAT 0x0405
792  uint16_t commandNo;
793 };
794 
796 
799 #define CMD_PING 0x0406
801  uint16_t commandNo;
802 };
803 
805 
808 #define CMD_READ_RFREG 0x0601
809 
811  uint16_t commandNo;
812  uint16_t address;
813  uint32_t value;
814 };
815 
817 
820 #define CMD_ADD_DATA_ENTRY 0x0005
822  uint16_t commandNo;
823  uint16_t __dummy0;
825  uint8_t* pEntry;
826 };
827 
829 
832 #define CMD_REMOVE_DATA_ENTRY 0x0006
834  uint16_t commandNo;
835  uint16_t __dummy0;
837  uint8_t* pEntry;
838 };
839 
841 
844 #define CMD_FLUSH_QUEUE 0x0007
846  uint16_t commandNo;
847  uint16_t __dummy0;
849  uint8_t* pFirstEntry;
850 };
851 
853 
856 #define CMD_CLEAR_RX 0x0008
858  uint16_t commandNo;
859  uint16_t __dummy0;
861 };
862 
864 
867 #define CMD_REMOVE_PENDING_ENTRIES 0x0009
869  uint16_t commandNo;
870  uint16_t __dummy0;
872  uint8_t* pFirstEntry;
873 };
874 
876 
879 #define CMD_SET_RAT_CMP 0x000A
881  uint16_t commandNo;
882  uint8_t ratCh;
883  uint8_t __dummy0;
885 };
886 
888 
891 #define CMD_SET_RAT_CPT 0x0603
893  uint16_t commandNo;
894  struct {
895  uint16_t :3;
896  uint16_t inputSrc:5;
897  uint16_t ratCh:4;
898  uint16_t bRepeated:1;
899  uint16_t inputMode:2;
901  } config;
906 };
907 
909 
912 #define CMD_DISABLE_RAT_CH 0x0408
914  uint16_t commandNo;
915  uint8_t ratCh;
916 };
917 
919 
922 #define CMD_SET_RAT_OUTPUT 0x0604
924  uint16_t commandNo;
925  struct {
926  uint16_t :2;
927  uint16_t outputSel:3;
928  uint16_t outputMode:3;
929  uint16_t ratCh:4;
936  } config;
937 };
938 
940 
943 #define CMD_ARM_RAT_CH 0x0409
945  uint16_t commandNo;
946  uint8_t ratCh;
947 };
948 
950 
953 #define CMD_DISARM_RAT_CH 0x040A
955  uint16_t commandNo;
956  uint8_t ratCh;
957 };
958 
960 
963 #define CMD_SET_TX_POWER 0x0010
965  uint16_t commandNo;
966  struct {
967  uint16_t IB:6;
968  uint16_t GC:2;
969  uint16_t boost:1;
970  uint16_t tempCoeff:7;
971  } txPower;
972 };
973 
975 
978 #define CMD_UPDATE_FS 0x0011
980  uint16_t commandNo;
981  uint16_t frequency;
982  uint16_t fractFreq;
983 };
984 
986 
989 #define CMD_BUS_REQUEST 0x040E
991  uint16_t commandNo;
992  uint8_t bSysBusNeeded;
993 };
995 
997 
1000 #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.
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:57
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:62
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)