Macros | |
#define | CONCAT(A, B, C) JOIN1( A, B, C ) |
#define | JOIN1(A, B, C) A ## B ## C |
Functions | |
void | BitBangSPI_Master_Init (void) |
BitBangSPI_Master_Init to Initialize BitBangSPI Interface. More... | |
uint8_t | BitBangSPI_Send_Byte (uint8_t c) |
BitBangSPI_Send_Byte Send and Read one byte using BitBangSPI Interface. More... | |
void | BitBangSPI_Send_Message (void) |
BitBangSPI_Send_Message to Send and Read one frame using BitBangSPI Interface. More... | |
#define CONCAT | ( | A, | |
B, | |||
C | |||
) | JOIN1( A, B, C ) |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define JOIN1 | ( | A, | |
B, | |||
C | |||
) | A ## B ## C |
void BitBangSPI_Master_Init | ( | void | ) |
BitBangSPI_Master_Init to Initialize BitBangSPI Interface.
References CONCAT, MISO_BB, MOSI_BB, SCK_BB, SPI_BB_MISO, SPI_BB_MOSI, SPI_BB_SCK, SPI_BB_SS, and SS_BB.
Referenced by QDebug_Init().
uint8_t BitBangSPI_Send_Byte | ( | uint8_t | c | ) |
BitBangSPI_Send_Byte Send and Read one byte using BitBangSPI Interface.
input | is Data to send to slave output is Data read from slave |
References CONCAT, DELAYUS, MISO_BB, MOSI_BB, SCK_BB, SPI_BB_MISO, SPI_BB_MOSI, and SPI_BB_SCK.
Referenced by BitBangSPI_Send_Message().
void BitBangSPI_Send_Message | ( | void | ) |
BitBangSPI_Send_Message to Send and Read one frame using BitBangSPI Interface.
References BitBangSPI_Send_Byte(), RxHandler(), TX_Buffer, and TX_index.
Referenced by Send_Message().