This file contains the BitBangSPI Configuration settings.
Macros | |
#define | CPU_SPEED 8 |
#define | DELAYUS(DELAY) __builtin_avr_delay_cycles((DELAY)*CPU_SPEED); |
Port and Pin Selection | |
Port and Pin selection for interfacing device to QT600 Bridge | |
#define | SS_BB 4 |
#define | SCK_BB 7 |
#define | MOSI_BB 5 |
#define | MISO_BB 6 |
#define | SPI_BB_SS C |
#define | SPI_BB_SCK C |
#define | SPI_BB_MOSI C |
#define | SPI_BB_MISO C |
Functions | |
void | BitBangSPI_Master_Init (void) |
BitBangSPI_Master_Init to Initialize BitBangSPI Interface. More... | |
void | BitBangSPI_Send_Message (void) |
BitBangSPI_Send_Message to Send and Read one frame using BitBangSPI Interface. More... | |
#define CPU_SPEED 8 |
#define DELAYUS | ( | DELAY | ) | __builtin_avr_delay_cycles((DELAY)*CPU_SPEED); |
Referenced by BitBangSPI_Send_Byte().
#define MISO_BB 6 |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define MOSI_BB 5 |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define SCK_BB 7 |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define SPI_BB_MISO C |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define SPI_BB_MOSI C |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define SPI_BB_SCK C |
Referenced by BitBangSPI_Master_Init(), and BitBangSPI_Send_Byte().
#define SPI_BB_SS C |
Referenced by BitBangSPI_Master_Init().
#define SS_BB 4 |
Referenced by BitBangSPI_Master_Init().
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().
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().