Microchip® Advanced Software Framework

BitBangSPI_Master.h File Reference

Macros

#define CONCAT(A, B, C)   JOIN1( A, B, C )
 
#define JOIN(x, y)   x ## y
 
#define JOIN1(x, y, z)   x ## y ## z
 
#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 CONCAT (   A,
  B,
 
)    JOIN1( A, B, C )
#define JOIN (   x,
 
)    x ## y
#define JOIN1 (   x,
  y,
 
)    x ## y ## z
#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  )