CC13xx Driver Library
rf_common_cmd.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_common_cmd.h
3 * Revised: 2015-11-18 16:56:17 +0100 (Wed, 18 Nov 2015)
4 * Revision: 45129
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 :6;
205  uint16_t bNoFsPowerUp:1;
206  } config;
208  struct {
209  uint16_t IB:6;
210  uint16_t GC:2;
211  uint16_t boost:1;
212  uint16_t tempCoeff:7;
213  } txPower;
214  uint32_t* pRegOverride;
215 };
217 
219 
222 #define CMD_FS 0x0803
224  uint16_t commandNo;
225  uint16_t status;
226  rfc_radioOp_t *pNextOp;
230  struct {
231  uint8_t triggerType:4;
232  uint8_t bEnaCmd:1;
233  uint8_t triggerNo:2;
235  uint8_t pastTrig:1;
236  } startTrigger;
238  struct {
239  uint8_t rule:4;
240  uint8_t nSkip:4;
241  } condition;
242  uint16_t frequency;
243  uint16_t fractFreq;
244  struct {
245  uint8_t bTxMode:1;
246  uint8_t refFreq:6;
248  } synthConf;
250  uint8_t __dummy0;
251  uint8_t midPrecal;
252  uint8_t ktPrecal;
253  uint16_t tdcPrecal;
254 };
255 
257 
260 #define CMD_FS_OFF 0x0804
262  uint16_t commandNo;
263  uint16_t status;
264  rfc_radioOp_t *pNextOp;
268  struct {
269  uint8_t triggerType:4;
270  uint8_t bEnaCmd:1;
271  uint8_t triggerNo:2;
273  uint8_t pastTrig:1;
274  } startTrigger;
276  struct {
277  uint8_t rule:4;
278  uint8_t nSkip:4;
279  } condition;
280 };
281 
283 
286 #define CMD_RX 0x0805
288  uint16_t commandNo;
289  uint16_t status;
290  rfc_radioOp_t *pNextOp;
294  struct {
295  uint8_t triggerType:4;
296  uint8_t bEnaCmd:1;
297  uint8_t triggerNo:2;
299  uint8_t pastTrig:1;
300  } startTrigger;
302  struct {
303  uint8_t rule:4;
304  uint8_t nSkip:4;
305  } condition;
306  struct {
307  uint16_t endianness:1;
308  uint16_t numHdrBits:6;
310  uint16_t bFsOff:1;
311  uint16_t bUseCrc:1;
313  uint16_t bCrcIncSw:1;
315  uint16_t bCrcIncHdr:1;
317  uint16_t bReportCrc:1;
319  uint16_t endType:1;
321  uint16_t bDualSw:1;
323  } pktConfig;
325  uint32_t syncWord;
326  uint32_t syncWord2;
327  struct {
328  uint16_t numLenBits:4;
329  uint16_t lenFieldPos:5;
330  uint16_t lenOffset:7;
331  } lenConfig;
332  uint16_t maxLen;
333  uint8_t* pRecPkt;
335  struct {
336  uint8_t triggerType:4;
337  uint8_t bEnaCmd:1;
338  uint8_t triggerNo:2;
340  uint8_t pastTrig:1;
341  } endTrigger;
343  int8_t rssi;
344  uint16_t recLen;
346  uint16_t nRxOk;
347  uint16_t nRxNok;
348  uint16_t nRx2Ok;
349  uint16_t nRx2Nok;
351 };
353 
355 
358 #define CMD_TX 0x0806
360  uint16_t commandNo;
361  uint16_t status;
362  rfc_radioOp_t *pNextOp;
366  struct {
367  uint8_t triggerType:4;
368  uint8_t bEnaCmd:1;
369  uint8_t triggerNo:2;
371  uint8_t pastTrig:1;
372  } startTrigger;
374  struct {
375  uint8_t rule:4;
376  uint8_t nSkip:4;
377  } condition;
378  struct {
379  uint16_t endianness:1;
380  uint16_t numHdrBits:6;
382  uint16_t bFsOff:1;
383  uint16_t bUseCrc:1;
385  uint16_t bCrcIncSw:1;
387  uint16_t bCrcIncHdr:1;
389  } pktConfig;
391  uint32_t syncWord;
392  uint8_t* pTxPkt;
393  uint16_t pktLen;
394 };
395 
397 
400 #define CMD_RX_TEST 0x0807
402  uint16_t commandNo;
403  uint16_t status;
404  rfc_radioOp_t *pNextOp;
408  struct {
409  uint8_t triggerType:4;
410  uint8_t bEnaCmd:1;
411  uint8_t triggerNo:2;
413  uint8_t pastTrig:1;
414  } startTrigger;
416  struct {
417  uint8_t rule:4;
418  uint8_t nSkip:4;
419  } condition;
420  struct {
421  uint8_t bEnaFifo:1;
422  uint8_t bFsOff:1;
424  uint8_t bNoSync:1;
426  } config;
428  struct {
429  uint8_t triggerType:4;
430  uint8_t bEnaCmd:1;
431  uint8_t triggerNo:2;
433  uint8_t pastTrig:1;
434  } endTrigger;
436  uint32_t syncWord;
438 };
439 
441 
444 #define CMD_TX_TEST 0x0808
446  uint16_t commandNo;
447  uint16_t status;
448  rfc_radioOp_t *pNextOp;
452  struct {
453  uint8_t triggerType:4;
454  uint8_t bEnaCmd:1;
455  uint8_t triggerNo:2;
457  uint8_t pastTrig:1;
458  } startTrigger;
460  struct {
461  uint8_t rule:4;
462  uint8_t nSkip:4;
463  } condition;
464  struct {
465  uint8_t bUseCw:1;
466  uint8_t bFsOff:1;
468  uint8_t whitenMode:2;
470  } config;
474  uint8_t __dummy0;
475  uint16_t txWord;
476  uint8_t __dummy1;
477  struct {
478  uint8_t triggerType:4;
479  uint8_t bEnaCmd:1;
480  uint8_t triggerNo:2;
482  uint8_t pastTrig:1;
483  } endTrigger;
485  uint32_t syncWord;
487 };
488 
490 
493 #define CMD_SYNC_STOP_RAT 0x0809
495  uint16_t commandNo;
496  uint16_t status;
497  rfc_radioOp_t *pNextOp;
501  struct {
502  uint8_t triggerType:4;
503  uint8_t bEnaCmd:1;
504  uint8_t triggerNo:2;
506  uint8_t pastTrig:1;
507  } startTrigger;
509  struct {
510  uint8_t rule:4;
511  uint8_t nSkip:4;
512  } condition;
513  uint16_t __dummy0;
515 };
517 
519 
522 #define CMD_SYNC_START_RAT 0x080A
524  uint16_t commandNo;
525  uint16_t status;
526  rfc_radioOp_t *pNextOp;
530  struct {
531  uint8_t triggerType:4;
532  uint8_t bEnaCmd:1;
533  uint8_t triggerNo:2;
535  uint8_t pastTrig:1;
536  } startTrigger;
538  struct {
539  uint8_t rule:4;
540  uint8_t nSkip:4;
541  } condition;
542  uint16_t __dummy0;
544 };
546 
548 
551 #define CMD_COUNT 0x080B
553  uint16_t commandNo;
554  uint16_t status;
555  rfc_radioOp_t *pNextOp;
559  struct {
560  uint8_t triggerType:4;
561  uint8_t bEnaCmd:1;
562  uint8_t triggerNo:2;
564  uint8_t pastTrig:1;
565  } startTrigger;
567  struct {
568  uint8_t rule:4;
569  uint8_t nSkip:4;
570  } condition;
571  uint16_t counter;
572 };
574 
576 
579 #define CMD_FS_POWERUP 0x080C
581  uint16_t commandNo;
582  uint16_t status;
583  rfc_radioOp_t *pNextOp;
587  struct {
588  uint8_t triggerType:4;
589  uint8_t bEnaCmd:1;
590  uint8_t triggerNo:2;
592  uint8_t pastTrig:1;
593  } startTrigger;
595  struct {
596  uint8_t rule:4;
597  uint8_t nSkip:4;
598  } condition;
599  uint16_t __dummy0;
600  uint32_t* pRegOverride;
601 };
602 
604 
607 #define CMD_FS_POWERDOWN 0x080D
609  uint16_t commandNo;
610  uint16_t status;
611  rfc_radioOp_t *pNextOp;
615  struct {
616  uint8_t triggerType:4;
617  uint8_t bEnaCmd:1;
618  uint8_t triggerNo:2;
620  uint8_t pastTrig:1;
621  } startTrigger;
623  struct {
624  uint8_t rule:4;
625  uint8_t nSkip:4;
626  } condition;
627 };
628 
630 
633 #define CMD_SCH_IMM 0x0810
635  uint16_t commandNo;
636  uint16_t status;
637  rfc_radioOp_t *pNextOp;
641  struct {
642  uint8_t triggerType:4;
643  uint8_t bEnaCmd:1;
644  uint8_t triggerNo:2;
646  uint8_t pastTrig:1;
647  } startTrigger;
649  struct {
650  uint8_t rule:4;
651  uint8_t nSkip:4;
652  } condition;
653  uint16_t __dummy0;
654  uint32_t cmdrVal;
655  uint32_t cmdstaVal;
656 };
657 
659 
662 #define CMD_COUNT_BRANCH 0x0812
664  uint16_t commandNo;
665  uint16_t status;
666  rfc_radioOp_t *pNextOp;
670  struct {
671  uint8_t triggerType:4;
672  uint8_t bEnaCmd:1;
673  uint8_t triggerNo:2;
675  uint8_t pastTrig:1;
676  } startTrigger;
678  struct {
679  uint8_t rule:4;
680  uint8_t nSkip:4;
681  } condition;
682  uint16_t counter;
683  rfc_radioOp_t *pNextOpIfOk;
685 };
686 
688 
691 #define CMD_PATTERN_CHECK 0x0813
693  uint16_t commandNo;
694  uint16_t status;
695  rfc_radioOp_t *pNextOp;
699  struct {
700  uint8_t triggerType:4;
701  uint8_t bEnaCmd:1;
702  uint8_t triggerNo:2;
704  uint8_t pastTrig:1;
705  } startTrigger;
707  struct {
708  uint8_t rule:4;
709  uint8_t nSkip:4;
710  } condition;
711  struct {
712  uint16_t operation:2;
713  uint16_t bByteRev:1;
718  uint16_t bBitRev:1;
720  uint16_t signExtend:5;
721  uint16_t bRxVal:1;
724  } patternOpt;
728  uint8_t* pValue;
729  uint32_t mask;
730  uint32_t compareVal;
731 };
732 
734 
737 #define CMD_ABORT 0x0401
739  uint16_t commandNo;
740 };
741 
743 
746 #define CMD_STOP 0x0402
748  uint16_t commandNo;
749 };
750 
752 
755 #define CMD_GET_RSSI 0x0403
757  uint16_t commandNo;
758 };
759 
761 
764 #define CMD_UPDATE_RADIO_SETUP 0x0001
766  uint16_t commandNo;
767  uint16_t __dummy0;
768  uint32_t* pRegOverride;
769 };
770 
772 
775 #define CMD_TRIGGER 0x0404
777  uint16_t commandNo;
778  uint8_t triggerNo;
779 };
780 
782 
785 #define CMD_GET_FW_INFO 0x0002
787  uint16_t commandNo;
788  uint16_t versionNo;
789  uint16_t startOffset;
790  uint16_t freeRamSz;
791  uint16_t availRatCh;
792 };
793 
795 
798 #define CMD_START_RAT 0x0405
800  uint16_t commandNo;
801 };
802 
804 
807 #define CMD_PING 0x0406
809  uint16_t commandNo;
810 };
811 
813 
816 #define CMD_READ_RFREG 0x0601
817 
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 frequency;
990  uint16_t fractFreq;
991 };
992 
994 
997 #define CMD_BUS_REQUEST 0x040E
999  uint16_t commandNo;
1000  uint8_t bSysBusNeeded;
1001 };
1003 
1005 
1008 #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: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)