Microchip® Advanced Software Framework

BitBangSPI_Master.h File Reference

Macros

#define JOIN(x, y)   x ## y
 
#define MISO_BB   QDEBUG_SPI_BB_MISO_PIN
 
#define MOSI_BB   QDEBUG_SPI_BB_MOSI_PIN
 
#define REG(REGISTER, SIDE)   JOIN( REGISTER, SIDE )
 
#define SCK_BB   QDEBUG_SPI_BB_SCK_PIN
 
#define SPI_BB_MISO   QDEBUG_SPI_BB_MISO_PORT
 
#define SPI_BB_MOSI   QDEBUG_SPI_BB_MOSI_PORT
 
#define SPI_BB_SCK   QDEBUG_SPI_BB_SCK_PORT
 
#define SPI_BB_SS   QDEBUG_SPI_BB_SS_PORT
 
#define SS_BB   QDEBUG_SPI_BB_SS_PIN
 

Functions

void BitBangSPI_Master_Init (void)
 
void BitBangSPI_Send_Message (void)
 

#define JOIN (   x,
 
)    x ## y
#define MISO_BB   QDEBUG_SPI_BB_MISO_PIN
#define MOSI_BB   QDEBUG_SPI_BB_MOSI_PIN
#define REG (   REGISTER,
  SIDE 
)    JOIN( REGISTER, SIDE )
#define SCK_BB   QDEBUG_SPI_BB_SCK_PIN
#define SPI_BB_MISO   QDEBUG_SPI_BB_MISO_PORT
#define SPI_BB_MOSI   QDEBUG_SPI_BB_MOSI_PORT
#define SPI_BB_SCK   QDEBUG_SPI_BB_SCK_PORT
#define SPI_BB_SS   QDEBUG_SPI_BB_SS_PORT
#define SS_BB   QDEBUG_SPI_BB_SS_PIN

void BitBangSPI_Master_Init ( void  )
void BitBangSPI_Send_Message ( void  )