Appiko
Macros
Commands Exported Macros

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...
 

Detailed Description

Macro Definition Documentation

◆ S2LPCmdStrobeRx

#define S2LPCmdStrobeRx ( )
Value:
{uint8_t tmp=0x90; S2LPSpiWriteRegisters(0x76,1,&tmp);\
S2LPCmdStrobeCommand(CMD_RX);}
Parameters
None.
Return values
None.
Note
: this macro sets the SMPS switching frequency to 3.12MHz.

Definition at line 130 of file S2LP_Commands.h.

◆ S2LPCmdStrobeTx

#define S2LPCmdStrobeTx ( )
Value:
{uint8_t tmp=0x9C; S2LPSpiWriteRegisters(0x76,1,&tmp);\
S2LPCmdStrobeCommand(CMD_TX);}
Parameters
None.
Return values
None.
Note
: this macro sets the SMPS switching frequency to 5.46MHz about for ETSI regulation compliancy.

Definition at line 120 of file S2LP_Commands.h.