Appiko
Macros | Enumerations | Functions
S2LP_Commands.h File Reference

Management of S2-LP Commands. More...

#include "S2LP_Regs.h"
#include "S2LP_Types.h"

Go to the source code of this file.

Macros

#define S2LPCmdStrobeTx()
 Sends the TX command to S2-LP. Start to transmit. More...
 
#define S2LPCmdStrobeRx()
 Sends the RX command to S2-LP. Start to receive. More...
 

Enumerations

enum  S2LPCmd {
  CMD_TX = ((uint8_t)(0x60)), CMD_RX = ((uint8_t)(0x61)), CMD_READY = ((uint8_t)(0x62)), CMD_STANDBY = ((uint8_t)(0x63)),
  CMD_SLEEP = ((uint8_t)(0x64)), CMD_LOCKRX = ((uint8_t)(0x65)), CMD_LOCKTX = ((uint8_t)(0x66)), CMD_SABORT = ((uint8_t)(0x67)),
  CMD_LDC_RELOAD = ((uint8_t)(0x68)), CMD_RCO_CALIB = ((uint8_t)(0x69)), CMD_SRES = ((uint8_t)(0x70)), CMD_FLUSHRXFIFO = ((uint8_t)(0x71)),
  CMD_FLUSHTXFIFO = ((uint8_t)(0x72)), CMD_SEQUENCE_UPDATE = ((uint8_t)(0x73))
}
 S2LP Commands codes enumeration. More...
 

Functions

void S2LPCmdStrobeCommand (S2LPCmd xCommandCode)
 Send a specific command to S2LP. More...
 

Detailed Description

Author
LowPower RF BU - AMG
Version
1.3.0
Date
April 12, 2017

In this module can be found all the API used to strobe commands to S2LP. Every command strobe is an SPI transaction with a specific command code.

Example:

...
S2LPCmdStrobeRx();
...

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

THIS SOURCE CODE IS PROTECTED BY A LICENSE. FOR MORE INFORMATION PLEASE CAREFULLY READ THE LICENSE AGREEMENT FILE LOCATED IN THE ROOT DIRECTORY OF THIS FIRMWARE PACKAGE.

© COPYRIGHT 2016 STMicroelectronics

Definition in file S2LP_Commands.h.