Radio Control Layer (RCL)
|
The Generic FS Off command handler corresponds to the opposite action of the Generic FS handler (that is, it stops the frequency synthesizer if it is running).
In order to submit a Generic FS Off command, the following steps must have taken place:
Once these steps have been completed, RCL_Command_submit and RCL_Command_pend are called to effectively send and then wait for the command to conclude. Once this has happened, the callback and the command status can be used for error checking and the application can proceed according to its specification.
The Generic FS Off command is normally used after the user has executed a command that programmed the frequency synthesizer.
It's worth mentioning that just like the Generic FS command handler, the use of this command handler should not be necessary in an normal use case. And it is not needed after running an Rx or Tx command which turns off the FS after executing (i.e. the default behavior).
Just like with the Generic FS handler, the Generic FS Off command handler has a short life cycle. Additionally, it has the same implications on how the device conducts its power management. Once the operation succeeds, and the LRF event received is the expected one (that is, LRF_EventOpDone), power constraints are released, which now allows the device to go into standby according to the power policy in use.
RCL Event (In) | Description |
---|---|
setup | Setup has been performed |
RCL Event (Out) | Description |
---|---|
lastCmdDone | The RCL is finished with the command |
LRF Event | Description |
---|---|
opDone | The PBE operation has finished |
opError | Something went wrong. Cause located in the PBE ENDCAUSE register |