BitBangSPI for Qtouch.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | CONCAT(A, B, C) JOIN1( A, B, C ) |
#define | JOIN1(A, B, C) A ## B ## C |
#define | PORT REG_PIO |
Functions | |
void | BitBangSPI_Master_Init (void) |
Initialize BitBangSPI Interface. More... | |
static uint8_t | BitBangSPI_Send_Byte (uint8_t c) |
Send and Read one byte using BitBangSPI Interface. More... | |
void | BitBangSPI_Send_Message (void) |
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 |
#define PORT REG_PIO |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
void BitBangSPI_Master_Init | ( | void | ) |
|
static |
void BitBangSPI_Send_Message | ( | void | ) |
Send and Read one frame using BitBangSPI Interface.
References BitBangSPI_Send_Byte(), RxHandler(), TX_Buffer, and TX_index.
Referenced by Send_Message().