Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
RF Core HAL
23.3.2.5.1 Triggers
Triggers can be used to set up a start time, or for other specific purposes in specific radio operation
commands. A common trigger byte definition exists, defined in
Table 23-3. Format of Trigger Definition Byte
Bit
Field
Description
0–3
triggerType
The type of trigger
0: No alternative trigger command.
4
bEnaCmd
1: CMD_TRIGGER can be used as an alternative trigger
5–6
triggerNo
The trigger number of the CMD_TRIGGER command that triggers this action
0: A trigger in the past is never triggered, or for start of commands, give an error
7
pastTrig
1: A trigger in the past is triggered as soon as possible
The triggerType can take the values listed in
. Other values are reserved.
Table 23-4. Supported Trigger Types
Number
Name
Description
0
TRIG_NOW
Now (not applicable to end triggers)
1
TRIG_NEVER
Never (except possibly by CMD_TRIGGER if bEnaCmd = 1)
2
TRIG_ABSTIME
At absolute time, given by timer parameter
3
TRIG_REL_SUBMIT
At a time relative to the time the command was submitted
4
TRIG_REL_START
At a time relative to start of this command (not allowed for start triggers)
5
TRIG_REL_PREVSTART
At a time relative to the start of the previous command
6
TRIG_REL_FIRSTSTART
At a time relative to the start of the first command of the chain
7
TRIG_REL_PREVEND
At a time relative to the end of the previous command
At a time relative to event #1 of the previous command (see definition
8
TRIG_REL_EVT1
below)
At a time relative to event #2 of the previous command (see definition
9
TRIG_REL_EVT2
below)
10
TRIG_EXTERNAL
On an external trigger input to the RAT
A 32-bit time parameter is used together with all triggers except for TRIG_NOW and TRIG_NEVER.
Absolute timing uses the value of the 32-bit radio timer. Relative timing uses the number of radio timer
ticks. The external trigger uses an identifier of source and edge as defined in
Table 23-5. Fields of Time Parameter for External Event
Trigger
Bits
Field
Description
0–1
Reserved
Input mode
00: Rising edge
2–3
inputMode
01: Falling edge
10: Both edges
11: Reserved
4–7
Reserved
8–12
Reserved
13–31
Reserved
1462
Radio
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated