Appiko
Data Fields
S2LPStatus Struct Reference

S2LP Status. This definition represents the single field of the S2LP status returned on each SPI transaction, equal also to the MC_STATE registers. This field-oriented structure allows user to address in simple way the single field of the S2LP status. The user shall define a variable of S2LPStatus type to access on S2LP status fields. More...

#include <S2LP_Types.h>

Data Fields

uint8_t XO_ON:1
 
S2LPState MC_STATE: 7
 
uint8_t ERROR_LOCK: 1
 
uint8_t RX_FIFO_EMPTY: 1
 
uint8_t TX_FIFO_FULL: 1
 
uint8_t ANT_SELECT: 1
 
uint8_t RCCAL_OK: 1
 
uint8_t __pad0__: 3
 

Detailed Description

Note
The fields order in the structure depends on used endianness (little or big endian). The actual definition is valid ONLY for LITTLE ENDIAN mode. Be sure to change opportunely the fields order when use a different endianness.

Definition at line 117 of file S2LP_Types.h.

Field Documentation

◆ __pad0__

uint8_t S2LPStatus::__pad0__

This 3 bits field are reserved and equal to 2

Definition at line 125 of file S2LP_Types.h.

◆ ANT_SELECT

uint8_t S2LPStatus::ANT_SELECT

Currently selected antenna

Definition at line 123 of file S2LP_Types.h.

◆ ERROR_LOCK

uint8_t S2LPStatus::ERROR_LOCK

RCO calibration error

Definition at line 120 of file S2LP_Types.h.

◆ MC_STATE

S2LPState S2LPStatus::MC_STATE

The state of the Main Controller of S2LP S2LPState

Definition at line 119 of file S2LP_Types.h.

◆ RCCAL_OK

uint8_t S2LPStatus::RCCAL_OK

RCO successfully terminated

Definition at line 124 of file S2LP_Types.h.

◆ RX_FIFO_EMPTY

uint8_t S2LPStatus::RX_FIFO_EMPTY

RX FIFO is empty

Definition at line 121 of file S2LP_Types.h.

◆ TX_FIFO_FULL

uint8_t S2LPStatus::TX_FIFO_FULL

TX FIFO is full

Definition at line 122 of file S2LP_Types.h.

◆ XO_ON

uint8_t S2LPStatus::XO_ON

XO is operating state

Definition at line 118 of file S2LP_Types.h.


The documentation for this struct was generated from the following file: