Silicon Laboratories Stepper Machine Instrukcja Użytkownika Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 40
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
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
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 39 40

Komentarze do niniejszej Instrukcji

Brak uwag