Maxim-integrated 73M1866B/73M1966B Reference Driver Manual de usuario Pagina 94

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 93
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
94 Rev. 2.7
SPI_WAIT_FOR_READY (status); \
SPI_CS_SET_HIGH (0); \
} while(0)
/*================================================*/
/*================================================*/
#define M1966_SPI_READ_BYTE(global,byte_ptr) do { \
int status; \
SPI_WAIT_FOR_READY (status); \
SPI_CS_SET_LOW (0); \
SPI_LL_READ_WRITE (0, 0, byte_ptr, 1); \
SPI_WAIT_FOR_READY (status); \
SPI_CS_SET_HIGH (0); \
} while(0)
/*================================================*/
/*================================================*/
/*================================================*/
/*================================================*/
#define SPI_INIT(pDev) do { \
printk(M1866 FXO Initialize SPI\n); \
{ \
\
} \
} while(0)
/*================================================*/
#define CONFIG_HOST_RESET \
printk(“\nConfig FXO reset using \n); \
#define CONFIG_HOST_INTR \
printk(“\nConfig FXO interrupt using …\n”); \
#define CONFIG_HOST_CS \
printk(“\nConfig FXO Chip Select using …\n”); \
Vista de pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98

Comentarios a estos manuales

Sin comentarios