CC26xx 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 (ti, 08 sep 2015)
4 * Revision: 44530
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  struct {
207  uint16_t IB:6;
208  uint16_t GC:2;
209  uint16_t boost:1;
210  uint16_t tempCoeff:7;
211  } txPower;
212  uint32_t* pRegOverride;
213 };
215 
217 
220 #define CMD_FS 0x0803
222  uint16_t commandNo;
223  uint16_t status;
224  rfc_radioOp_t *pNextOp;
228  struct {
229  uint8_t triggerType:4;
230  uint8_t bEnaCmd:1;
231  uint8_t triggerNo:2;
233  uint8_t pastTrig:1;
234  } startTrigger;
236  struct {
237  uint8_t rule:4;
238  uint8_t nSkip:4;
239  } condition;
240  uint16_t frequency;
241  uint16_t fractFreq;
242  struct {
243  uint8_t bTxMode:1;
244  uint8_t refFreq:6;
246  } synthConf;
247  uint8_t __dummy0;
248  uint8_t midPrecal;
249  uint8_t ktPrecal;
250  uint16_t tdcPrecal;
251 };
252 
254 
257 #define CMD_FS_OFF 0x0804
259  uint16_t commandNo;
260  uint16_t status;
261  rfc_radioOp_t *pNextOp;
265  struct {
266  uint8_t triggerType:4;
267  uint8_t bEnaCmd:1;
268  uint8_t triggerNo:2;
270  uint8_t pastTrig:1;
271  } startTrigger;
273  struct {
274  uint8_t rule:4;
275  uint8_t nSkip:4;
276  } condition;
277 };
278 
280 
283 #define CMD_RX 0x0805
285  uint16_t commandNo;
286  uint16_t status;
287  rfc_radioOp_t *pNextOp;
291  struct {
292  uint8_t triggerType:4;
293  uint8_t bEnaCmd:1;
294  uint8_t triggerNo:2;
296  uint8_t pastTrig:1;
297  } startTrigger;
299  struct {
300  uint8_t rule:4;
301  uint8_t nSkip:4;
302  } condition;
303  struct {
304  uint16_t endianness:1;
305  uint16_t numHdrBits:6;
307  uint16_t bFsOff:1;
308  uint16_t bUseCrc:1;
310  uint16_t bCrcIncSw:1;
312  uint16_t bCrcIncHdr:1;
314  uint16_t bReportCrc:1;
316  uint16_t endType:1;
318  uint16_t bDualSw:1;
320  } pktConfig;
322  uint32_t syncWord;
323  uint32_t syncWord2;
324  struct {
325  uint16_t numLenBits:4;
326  uint16_t lenFieldPos:5;
327  uint16_t lenOffset:7;
328  } lenConfig;
329  uint16_t maxLen;
330  uint8_t* pRecPkt;
332  struct {
333  uint8_t triggerType:4;
334  uint8_t bEnaCmd:1;
335  uint8_t triggerNo:2;
337  uint8_t pastTrig:1;
338  } endTrigger;
340  int8_t rssi;
341  uint16_t recLen;
343  uint16_t nRxOk;
344  uint16_t nRxNok;
345  uint16_t nRx2Ok;
346  uint16_t nRx2Nok;
348 };
350 
352 
355 #define CMD_TX 0x0806
357  uint16_t commandNo;
358  uint16_t status;
359  rfc_radioOp_t *pNextOp;
363  struct {
364  uint8_t triggerType:4;
365  uint8_t bEnaCmd:1;
366  uint8_t triggerNo:2;
368  uint8_t pastTrig:1;
369  } startTrigger;
371  struct {
372  uint8_t rule:4;
373  uint8_t nSkip:4;
374  } condition;
375  struct {
376  uint16_t endianness:1;
377  uint16_t numHdrBits:6;
379  uint16_t bFsOff:1;
380  uint16_t bUseCrc:1;
382  uint16_t bCrcIncSw:1;
384  uint16_t bCrcIncHdr:1;
386  } pktConfig;
388  uint32_t syncWord;
389  uint8_t* pTxPkt;
390  uint16_t pktLen;
391 };
392 
394 
397 #define CMD_RX_TEST 0x0807
399  uint16_t commandNo;
400  uint16_t status;
401  rfc_radioOp_t *pNextOp;
405  struct {
406  uint8_t triggerType:4;
407  uint8_t bEnaCmd:1;
408  uint8_t triggerNo:2;
410  uint8_t pastTrig:1;
411  } startTrigger;
413  struct {
414  uint8_t rule:4;
415  uint8_t nSkip:4;
416  } condition;
417  struct {
418  uint8_t bEnaFifo:1;
419  uint8_t bFsOff:1;
421  uint8_t bNoSync:1;
423  } config;
425  struct {
426  uint8_t triggerType:4;
427  uint8_t bEnaCmd:1;
428  uint8_t triggerNo:2;
430  uint8_t pastTrig:1;
431  } endTrigger;
433  uint32_t syncWord;
435 };
436 
438 
441 #define CMD_TX_TEST 0x0808
443  uint16_t commandNo;
444  uint16_t status;
445  rfc_radioOp_t *pNextOp;
449  struct {
450  uint8_t triggerType:4;
451  uint8_t bEnaCmd:1;
452  uint8_t triggerNo:2;
454  uint8_t pastTrig:1;
455  } startTrigger;
457  struct {
458  uint8_t rule:4;
459  uint8_t nSkip:4;
460  } condition;
461  struct {
462  uint8_t bUseCw:1;
463  uint8_t bFsOff:1;
465  uint8_t whitenMode:2;
467  } config;
471  uint8_t __dummy0;
472  uint16_t txWord;
473  uint8_t __dummy1;
474  struct {
475  uint8_t triggerType:4;
476  uint8_t bEnaCmd:1;
477  uint8_t triggerNo:2;
479  uint8_t pastTrig:1;
480  } endTrigger;
482  uint32_t syncWord;
484 };
485 
487 
490 #define CMD_SYNC_STOP_RAT 0x0809
492  uint16_t commandNo;
493  uint16_t status;
494  rfc_radioOp_t *pNextOp;
498  struct {
499  uint8_t triggerType:4;
500  uint8_t bEnaCmd:1;
501  uint8_t triggerNo:2;
503  uint8_t pastTrig:1;
504  } startTrigger;
506  struct {
507  uint8_t rule:4;
508  uint8_t nSkip:4;
509  } condition;
510  uint16_t __dummy0;
512 };
514 
516 
519 #define CMD_SYNC_START_RAT 0x080A
521  uint16_t commandNo;
522  uint16_t status;
523  rfc_radioOp_t *pNextOp;
527  struct {
528  uint8_t triggerType:4;
529  uint8_t bEnaCmd:1;
530  uint8_t triggerNo:2;
532  uint8_t pastTrig:1;
533  } startTrigger;
535  struct {
536  uint8_t rule:4;
537  uint8_t nSkip:4;
538  } condition;
539  uint16_t __dummy0;
541 };
543 
545 
548 #define CMD_COUNT 0x080B
550  uint16_t commandNo;
551  uint16_t status;
552  rfc_radioOp_t *pNextOp;
556  struct {
557  uint8_t triggerType:4;
558  uint8_t bEnaCmd:1;
559  uint8_t triggerNo:2;
561  uint8_t pastTrig:1;
562  } startTrigger;
564  struct {
565  uint8_t rule:4;
566  uint8_t nSkip:4;
567  } condition;
568  uint16_t counter;
569 };
571 
573 
576 #define CMD_FS_POWERUP 0x080C
578  uint16_t commandNo;
579  uint16_t status;
580  rfc_radioOp_t *pNextOp;
584  struct {
585  uint8_t triggerType:4;
586  uint8_t bEnaCmd:1;
587  uint8_t triggerNo:2;
589  uint8_t pastTrig:1;
590  } startTrigger;
592  struct {
593  uint8_t rule:4;
594  uint8_t nSkip:4;
595  } condition;
596  uint16_t __dummy0;
597  uint32_t* pRegOverride;
598 };
599 
601 
604 #define CMD_FS_POWERDOWN 0x080D
606  uint16_t commandNo;
607  uint16_t status;
608  rfc_radioOp_t *pNextOp;
612  struct {
613  uint8_t triggerType:4;
614  uint8_t bEnaCmd:1;
615  uint8_t triggerNo:2;
617  uint8_t pastTrig:1;
618  } startTrigger;
620  struct {
621  uint8_t rule:4;
622  uint8_t nSkip:4;
623  } condition;
624 };
625 
627 
630 #define CMD_SCH_IMM 0x0810
632  uint16_t commandNo;
633  uint16_t status;
634  rfc_radioOp_t *pNextOp;
638  struct {
639  uint8_t triggerType:4;
640  uint8_t bEnaCmd:1;
641  uint8_t triggerNo:2;
643  uint8_t pastTrig:1;
644  } startTrigger;
646  struct {
647  uint8_t rule:4;
648  uint8_t nSkip:4;
649  } condition;
650  uint16_t __dummy0;
651  uint32_t cmdrVal;
652  uint32_t cmdstaVal;
653 };
654 
656 
659 #define CMD_COUNT_BRANCH 0x0812
661  uint16_t commandNo;
662  uint16_t status;
663  rfc_radioOp_t *pNextOp;
667  struct {
668  uint8_t triggerType:4;
669  uint8_t bEnaCmd:1;
670  uint8_t triggerNo:2;
672  uint8_t pastTrig:1;
673  } startTrigger;
675  struct {
676  uint8_t rule:4;
677  uint8_t nSkip:4;
678  } condition;
679  uint16_t counter;
680  rfc_radioOp_t *pNextOpIfOk;
682 };
683 
685 
688 #define CMD_PATTERN_CHECK 0x0813
690  uint16_t commandNo;
691  uint16_t status;
692  rfc_radioOp_t *pNextOp;
696  struct {
697  uint8_t triggerType:4;
698  uint8_t bEnaCmd:1;
699  uint8_t triggerNo:2;
701  uint8_t pastTrig:1;
702  } startTrigger;
704  struct {
705  uint8_t rule:4;
706  uint8_t nSkip:4;
707  } condition;
708  struct {
709  uint16_t operation:2;
710  uint16_t bByteRev:1;
715  uint16_t bBitRev:1;
717  uint16_t signExtend:5;
718  uint16_t bRxVal:1;
721  } patternOpt;
725  uint8_t* pValue;
726  uint32_t mask;
727  uint32_t compareVal;
728 };
729 
731 
734 #define CMD_ABORT 0x0401
736  uint16_t commandNo;
737 };
738 
740 
743 #define CMD_STOP 0x0402
745  uint16_t commandNo;
746 };
747 
749 
752 #define CMD_GET_RSSI 0x0403
754  uint16_t commandNo;
755 };
756 
758 
761 #define CMD_UPDATE_RADIO_SETUP 0x0001
763  uint16_t commandNo;
764  uint16_t __dummy0;
765  uint32_t* pRegOverride;
766 };
767 
769 
772 #define CMD_TRIGGER 0x0404
774  uint16_t commandNo;
775  uint8_t triggerNo;
776 };
777 
779 
782 #define CMD_GET_FW_INFO 0x0002
784  uint16_t commandNo;
785  uint16_t versionNo;
786  uint16_t startOffset;
787  uint16_t freeRamSz;
788  uint16_t availRatCh;
789 };
790 
792 
795 #define CMD_START_RAT 0x0405
797  uint16_t commandNo;
798 };
799 
801 
804 #define CMD_PING 0x0406
806  uint16_t commandNo;
807 };
808 
810 
813 #define CMD_READ_RFREG 0x0601
814 
816  uint16_t commandNo;
817  uint16_t address;
818  uint32_t value;
819 };
820 
822 
825 #define CMD_ADD_DATA_ENTRY 0x0005
827  uint16_t commandNo;
828  uint16_t __dummy0;
830  uint8_t* pEntry;
831 };
832 
834 
837 #define CMD_REMOVE_DATA_ENTRY 0x0006
839  uint16_t commandNo;
840  uint16_t __dummy0;
842  uint8_t* pEntry;
843 };
844 
846 
849 #define CMD_FLUSH_QUEUE 0x0007
851  uint16_t commandNo;
852  uint16_t __dummy0;
854  uint8_t* pFirstEntry;
855 };
856 
858 
861 #define CMD_CLEAR_RX 0x0008
863  uint16_t commandNo;
864  uint16_t __dummy0;
866 };
867 
869 
872 #define CMD_REMOVE_PENDING_ENTRIES 0x0009
874  uint16_t commandNo;
875  uint16_t __dummy0;
877  uint8_t* pFirstEntry;
878 };
879 
881 
884 #define CMD_SET_RAT_CMP 0x000A
886  uint16_t commandNo;
887  uint8_t ratCh;
888  uint8_t __dummy0;
890 };
891 
893 
896 #define CMD_SET_RAT_CPT 0x0603
898  uint16_t commandNo;
899  struct {
900  uint16_t :3;
901  uint16_t inputSrc:5;
902  uint16_t ratCh:4;
903  uint16_t bRepeated:1;
904  uint16_t inputMode:2;
906  } config;
911 };
912 
914 
917 #define CMD_DISABLE_RAT_CH 0x0408
919  uint16_t commandNo;
920  uint8_t ratCh;
921 };
922 
924 
927 #define CMD_SET_RAT_OUTPUT 0x0604
929  uint16_t commandNo;
930  struct {
931  uint16_t :2;
932  uint16_t outputSel:3;
933  uint16_t outputMode:3;
934  uint16_t ratCh:4;
941  } config;
942 };
943 
945 
948 #define CMD_ARM_RAT_CH 0x0409
950  uint16_t commandNo;
951  uint8_t ratCh;
952 };
953 
955 
958 #define CMD_DISARM_RAT_CH 0x040A
960  uint16_t commandNo;
961  uint8_t ratCh;
962 };
963 
965 
968 #define CMD_SET_TX_POWER 0x0010
970  uint16_t commandNo;
971  struct {
972  uint16_t IB:6;
973  uint16_t GC:2;
974  uint16_t boost:1;
975  uint16_t tempCoeff:7;
976  } txPower;
977 };
978 
980 
983 #define CMD_UPDATE_FS 0x0011
985  uint16_t commandNo;
986  uint16_t frequency;
987  uint16_t fractFreq;
988 };
989 
991 
994 #define CMD_BUS_REQUEST 0x040E
996  uint16_t commandNo;
997  uint8_t bSysBusNeeded;
998 };
1000 
1002 
1005 #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.
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)