
AN428
Rev. 0.6 21
// End status vector definition
//#define SI5338_DELAY 4800 //2ms
//#define SI5338_DELAY 24000 //10ms
#define SI5338_DELAY 28800 //12ms
#define LOCK_MASK 0x15
#define LOS_MASK 0x04
//-----------------------------------------------------------------------------
// Global VARIABLES
//-----------------------------------------------------------------------------
U8* pSMB_DATA_IN; // Global pointer for SMBus data
// All receive data is written here
U8 SMB_SINGLEBYTE_OUT; // Global holder for single byte writes.
U8* pSMB_DATA_OUT; // Global pointer for SMBus data.
// All transmit data is read from here
U8 SMB_DATA_LEN; // Global holder for number of bytes
// to send or receive in the current
// SMBus transfer.
U8 WORD_ADDR; // Global holder for the word
// address that will be accessed in
// the next transfer
U8 TARGET; // Target SMBus slave address
volatile bit SMB_BUSY = 0; // Software flag to indicate when the
// I2C_ByteRead() or
Comentarios a estos manuales