mbgtools-lx  4.2.8
Definitions used with LNO devices

Data Structures

struct  LNO_STATE
 LNO state. More...
 

Macros

#define MAX_LNO_OUTPUT   4
 
#define _mbg_swab_lno_state(_p)
 
#define LNO_FLAG_PLL_LOCKED   ( 1UL << LNO_FLAG_BIT_PLL_LOCKED )
 

Enumerations

enum  LNO_STATE_FLAG_BITS { LNO_FLAG_BIT_PLL_LOCKED, N_LNO_FLAG_BIT }
 Flags used with LNO_STATE::flags. More...
 

Detailed Description

Macro Definition Documentation

◆ _mbg_swab_lno_state

#define _mbg_swab_lno_state (   _p)
Value:
do \
{ \
int i; \
\
for ( i = 0; i < MAX_LNO_OUTPUT; i++ ) \
_mbg_swab16( &(_p)->sine_lvl[i] ); \
\
_mbg_swab_16( &(_p)->max_sine_lvl ); \
_mbg_swab_16( &(_p)->reserved_0 ); \
_mbg_swab_16( &(_p)->flags ); \
} while ( 0 )
#define MAX_LNO_OUTPUT
Definition: gpsdefs.h:17567
#define _mbg_swab16(_p)
Definition: mbg_arch.h:173

Definition at line 17585 of file gpsdefs.h.

◆ LNO_FLAG_PLL_LOCKED

#define LNO_FLAG_PLL_LOCKED   ( 1UL << LNO_FLAG_BIT_PLL_LOCKED )

Definition at line 17608 of file gpsdefs.h.

◆ MAX_LNO_OUTPUT

#define MAX_LNO_OUTPUT   4

Definition at line 17567 of file gpsdefs.h.

Enumeration Type Documentation

◆ LNO_STATE_FLAG_BITS

Flags used with LNO_STATE::flags.

Enumerator
LNO_FLAG_BIT_PLL_LOCKED 

PLL is locked.

N_LNO_FLAG_BIT 

number of known bits

Definition at line 17602 of file gpsdefs.h.