CC13xx Driver Library
rf_common_cmd.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_common_cmd.h
3 * Revised: 2016-02-17 14:36:01 +0100 (Wed, 17 Feb 2016)
4 * Revision: 45686
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  uint16_t txPower;
209  uint32_t* pRegOverride;
210 };
212 
214 
217 #define CMD_FS 0x0803
219  uint16_t commandNo;
220  uint16_t status;
221  rfc_radioOp_t *pNextOp;
225  struct {
226  uint8_t triggerType:4;
227  uint8_t bEnaCmd:1;
228  uint8_t triggerNo:2;
230  uint8_t pastTrig:1;
231  } startTrigger;
233  struct {
234  uint8_t rule:4;
235  uint8_t nSkip:4;
236  } condition;
237  uint16_t frequency;
238  uint16_t fractFreq;
239  struct {
240  uint8_t bTxMode:1;
241  uint8_t refFreq:6;
243  } synthConf;
245  uint8_t __dummy0;
246  uint8_t midPrecal;
247  uint8_t ktPrecal;
248  uint16_t tdcPrecal;
249 };
250 
252 
255 #define CMD_FS_OFF 0x0804
257  uint16_t commandNo;
258  uint16_t status;
259  rfc_radioOp_t *pNextOp;
263  struct {
264  uint8_t triggerType:4;
265  uint8_t bEnaCmd:1;
266  uint8_t triggerNo:2;
268  uint8_t pastTrig:1;
269  } startTrigger;
271  struct {
272  uint8_t rule:4;
273  uint8_t nSkip:4;
274  } condition;
275 };
276 
278 
281 #define CMD_RX 0x0805
283  uint16_t commandNo;
284  uint16_t status;
285  rfc_radioOp_t *pNextOp;
289  struct {
290  uint8_t triggerType:4;
291  uint8_t bEnaCmd:1;
292  uint8_t triggerNo:2;
294  uint8_t pastTrig:1;
295  } startTrigger;
297  struct {
298  uint8_t rule:4;
299  uint8_t nSkip:4;
300  } condition;
301  struct {
302  uint16_t endianness:1;
303  uint16_t numHdrBits:6;
305  uint16_t bFsOff:1;
306  uint16_t bUseCrc:1;
308  uint16_t bCrcIncSw:1;
310  uint16_t bCrcIncHdr:1;
312  uint16_t bReportCrc:1;
314  uint16_t endType:1;
316  uint16_t bDualSw:1;
318  } pktConfig;
320  uint32_t syncWord;
321  uint32_t syncWord2;
322  struct {
323  uint16_t numLenBits:4;
324  uint16_t lenFieldPos:5;
325  uint16_t lenOffset:7;
326  } lenConfig;
327  uint16_t maxLen;
328  uint8_t* pRecPkt;
330  struct {
331  uint8_t triggerType:4;
332  uint8_t bEnaCmd:1;
333  uint8_t triggerNo:2;
335  uint8_t pastTrig:1;
336  } endTrigger;
338  int8_t rssi;
339  uint16_t recLen;
341  uint16_t nRxOk;
342  uint16_t nRxNok;
343  uint16_t nRx2Ok;
344  uint16_t nRx2Nok;
346 };
348 
350 
353 #define CMD_TX 0x0806
355  uint16_t commandNo;
356  uint16_t status;
357  rfc_radioOp_t *pNextOp;
361  struct {
362  uint8_t triggerType:4;
363  uint8_t bEnaCmd:1;
364  uint8_t triggerNo:2;
366  uint8_t pastTrig:1;
367  } startTrigger;
369  struct {
370  uint8_t rule:4;
371  uint8_t nSkip:4;
372  } condition;
373  struct {
374  uint16_t endianness:1;
375  uint16_t numHdrBits:6;
377  uint16_t bFsOff:1;
378  uint16_t bUseCrc:1;
380  uint16_t bCrcIncSw:1;
382  uint16_t bCrcIncHdr:1;
384  } pktConfig;
386  uint32_t syncWord;
387  uint8_t* pTxPkt;
388  uint16_t pktLen;
389 };
390 
392 
395 #define CMD_RX_TEST 0x0807
397  uint16_t commandNo;
398  uint16_t status;
399  rfc_radioOp_t *pNextOp;
403  struct {
404  uint8_t triggerType:4;
405  uint8_t bEnaCmd:1;
406  uint8_t triggerNo:2;
408  uint8_t pastTrig:1;
409  } startTrigger;
411  struct {
412  uint8_t rule:4;
413  uint8_t nSkip:4;
414  } condition;
415  struct {
416  uint8_t bEnaFifo:1;
417  uint8_t bFsOff:1;
419  uint8_t bNoSync:1;
421  } config;
423  struct {
424  uint8_t triggerType:4;
425  uint8_t bEnaCmd:1;
426  uint8_t triggerNo:2;
428  uint8_t pastTrig:1;
429  } endTrigger;
431  uint32_t syncWord;
433 };
434 
436 
439 #define CMD_TX_TEST 0x0808
441  uint16_t commandNo;
442  uint16_t status;
443  rfc_radioOp_t *pNextOp;
447  struct {
448  uint8_t triggerType:4;
449  uint8_t bEnaCmd:1;
450  uint8_t triggerNo:2;
452  uint8_t pastTrig:1;
453  } startTrigger;
455  struct {
456  uint8_t rule:4;
457  uint8_t nSkip:4;
458  } condition;
459  struct {
460  uint8_t bUseCw:1;
461  uint8_t bFsOff:1;
463  uint8_t whitenMode:2;
465  } config;
469  uint8_t __dummy0;
470  uint16_t txWord;
471  uint8_t __dummy1;
472  struct {
473  uint8_t triggerType:4;
474  uint8_t bEnaCmd:1;
475  uint8_t triggerNo:2;
477  uint8_t pastTrig:1;
478  } endTrigger;
480  uint32_t syncWord;
482 };
483 
485 
488 #define CMD_SYNC_STOP_RAT 0x0809
490  uint16_t commandNo;
491  uint16_t status;
492  rfc_radioOp_t *pNextOp;
496  struct {
497  uint8_t triggerType:4;
498  uint8_t bEnaCmd:1;
499  uint8_t triggerNo:2;
501  uint8_t pastTrig:1;
502  } startTrigger;
504  struct {
505  uint8_t rule:4;
506  uint8_t nSkip:4;
507  } condition;
508  uint16_t __dummy0;
510 };
512 
514 
517 #define CMD_SYNC_START_RAT 0x080A
519  uint16_t commandNo;
520  uint16_t status;
521  rfc_radioOp_t *pNextOp;
525  struct {
526  uint8_t triggerType:4;
527  uint8_t bEnaCmd:1;
528  uint8_t triggerNo:2;
530  uint8_t pastTrig:1;
531  } startTrigger;
533  struct {
534  uint8_t rule:4;
535  uint8_t nSkip:4;
536  } condition;
537  uint16_t __dummy0;
539 };
541 
543 
546 #define CMD_COUNT 0x080B
548  uint16_t commandNo;
549  uint16_t status;
550  rfc_radioOp_t *pNextOp;
554  struct {
555  uint8_t triggerType:4;
556  uint8_t bEnaCmd:1;
557  uint8_t triggerNo:2;
559  uint8_t pastTrig:1;
560  } startTrigger;
562  struct {
563  uint8_t rule:4;
564  uint8_t nSkip:4;
565  } condition;
566  uint16_t counter;
567 };
569 
571 
574 #define CMD_FS_POWERUP 0x080C
576  uint16_t commandNo;
577  uint16_t status;
578  rfc_radioOp_t *pNextOp;
582  struct {
583  uint8_t triggerType:4;
584  uint8_t bEnaCmd:1;
585  uint8_t triggerNo:2;
587  uint8_t pastTrig:1;
588  } startTrigger;
590  struct {
591  uint8_t rule:4;
592  uint8_t nSkip:4;
593  } condition;
594  uint16_t __dummy0;
595  uint32_t* pRegOverride;
596 };
597 
599 
602 #define CMD_FS_POWERDOWN 0x080D
604  uint16_t commandNo;
605  uint16_t status;
606  rfc_radioOp_t *pNextOp;
610  struct {
611  uint8_t triggerType:4;
612  uint8_t bEnaCmd:1;
613  uint8_t triggerNo:2;
615  uint8_t pastTrig:1;
616  } startTrigger;
618  struct {
619  uint8_t rule:4;
620  uint8_t nSkip:4;
621  } condition;
622 };
623 
625 
628 #define CMD_SCH_IMM 0x0810
630  uint16_t commandNo;
631  uint16_t status;
632  rfc_radioOp_t *pNextOp;
636  struct {
637  uint8_t triggerType:4;
638  uint8_t bEnaCmd:1;
639  uint8_t triggerNo:2;
641  uint8_t pastTrig:1;
642  } startTrigger;
644  struct {
645  uint8_t rule:4;
646  uint8_t nSkip:4;
647  } condition;
648  uint16_t __dummy0;
649  uint32_t cmdrVal;
650  uint32_t cmdstaVal;
651 };
652 
654 
657 #define CMD_COUNT_BRANCH 0x0812
659  uint16_t commandNo;
660  uint16_t status;
661  rfc_radioOp_t *pNextOp;
665  struct {
666  uint8_t triggerType:4;
667  uint8_t bEnaCmd:1;
668  uint8_t triggerNo:2;
670  uint8_t pastTrig:1;
671  } startTrigger;
673  struct {
674  uint8_t rule:4;
675  uint8_t nSkip:4;
676  } condition;
677  uint16_t counter;
678  rfc_radioOp_t *pNextOpIfOk;
680 };
681 
683 
686 #define CMD_PATTERN_CHECK 0x0813
688  uint16_t commandNo;
689  uint16_t status;
690  rfc_radioOp_t *pNextOp;
694  struct {
695  uint8_t triggerType:4;
696  uint8_t bEnaCmd:1;
697  uint8_t triggerNo:2;
699  uint8_t pastTrig:1;
700  } startTrigger;
702  struct {
703  uint8_t rule:4;
704  uint8_t nSkip:4;
705  } condition;
706  struct {
707  uint16_t operation:2;
708  uint16_t bByteRev:1;
713  uint16_t bBitRev:1;
715  uint16_t signExtend:5;
716  uint16_t bRxVal:1;
719  } patternOpt;
723  uint8_t* pValue;
724  uint32_t mask;
725  uint32_t compareVal;
726 };
727 
729 
732 #define CMD_ABORT 0x0401
734  uint16_t commandNo;
735 };
736 
738 
741 #define CMD_STOP 0x0402
743  uint16_t commandNo;
744 };
745 
747 
750 #define CMD_GET_RSSI 0x0403
752  uint16_t commandNo;
753 };
754 
756 
759 #define CMD_UPDATE_RADIO_SETUP 0x0001
761  uint16_t commandNo;
762  uint16_t __dummy0;
763  uint32_t* pRegOverride;
764 };
765 
767 
770 #define CMD_TRIGGER 0x0404
772  uint16_t commandNo;
773  uint8_t triggerNo;
774 };
775 
777 
780 #define CMD_GET_FW_INFO 0x0002
782  uint16_t commandNo;
783  uint16_t versionNo;
784  uint16_t startOffset;
785  uint16_t freeRamSz;
786  uint16_t availRatCh;
787 };
788 
790 
793 #define CMD_START_RAT 0x0405
795  uint16_t commandNo;
796 };
797 
799 
802 #define CMD_PING 0x0406
804  uint16_t commandNo;
805 };
806 
808 
811 #define CMD_READ_RFREG 0x0601
812 
814  uint16_t commandNo;
815  uint16_t address;
816  uint32_t value;
817 };
818 
820 
823 #define CMD_ADD_DATA_ENTRY 0x0005
825  uint16_t commandNo;
826  uint16_t __dummy0;
828  uint8_t* pEntry;
829 };
830 
832 
835 #define CMD_REMOVE_DATA_ENTRY 0x0006
837  uint16_t commandNo;
838  uint16_t __dummy0;
840  uint8_t* pEntry;
841 };
842 
844 
847 #define CMD_FLUSH_QUEUE 0x0007
849  uint16_t commandNo;
850  uint16_t __dummy0;
852  uint8_t* pFirstEntry;
853 };
854 
856 
859 #define CMD_CLEAR_RX 0x0008
861  uint16_t commandNo;
862  uint16_t __dummy0;
864 };
865 
867 
870 #define CMD_REMOVE_PENDING_ENTRIES 0x0009
872  uint16_t commandNo;
873  uint16_t __dummy0;
875  uint8_t* pFirstEntry;
876 };
877 
879 
882 #define CMD_SET_RAT_CMP 0x000A
884  uint16_t commandNo;
885  uint8_t ratCh;
886  uint8_t __dummy0;
888 };
889 
891 
894 #define CMD_SET_RAT_CPT 0x0603
896  uint16_t commandNo;
897  struct {
898  uint16_t :3;
899  uint16_t inputSrc:5;
900  uint16_t ratCh:4;
901  uint16_t bRepeated:1;
902  uint16_t inputMode:2;
904  } config;
909 };
910 
912 
915 #define CMD_DISABLE_RAT_CH 0x0408
917  uint16_t commandNo;
918  uint8_t ratCh;
919 };
920 
922 
925 #define CMD_SET_RAT_OUTPUT 0x0604
927  uint16_t commandNo;
928  struct {
929  uint16_t :2;
930  uint16_t outputSel:3;
931  uint16_t outputMode:3;
932  uint16_t ratCh:4;
939  } config;
940 };
941 
943 
946 #define CMD_ARM_RAT_CH 0x0409
948  uint16_t commandNo;
949  uint8_t ratCh;
950 };
951 
953 
956 #define CMD_DISARM_RAT_CH 0x040A
958  uint16_t commandNo;
959  uint8_t ratCh;
960 };
961 
963 
966 #define CMD_SET_TX_POWER 0x0010
968  uint16_t commandNo;
969  struct {
970  uint16_t IB:6;
971  uint16_t GC:2;
972  uint16_t boost:1;
973  uint16_t tempCoeff:7;
974  } txPower;
975 };
976 
978 
981 #define CMD_UPDATE_FS 0x0011
983  uint16_t commandNo;
984  uint16_t frequency;
985  uint16_t fractFreq;
986 };
987 
989 
992 #define CMD_BUS_REQUEST 0x040E
994  uint16_t commandNo;
995  uint8_t bSysBusNeeded;
996 };
998 
1000 
1003 #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: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)