Macros | |
#define | PORTA (((volatile avr32_gpio_port_t *) &AVR32_GPIO) + 0) |
#define | PORTB (((volatile avr32_gpio_port_t *) &AVR32_GPIO) + 1) |
#define | PORTC (((volatile avr32_gpio_port_t *) &AVR32_GPIO) + 2) |
Functions | |
void | BitBangSPI_Master_Init (void) |
uint8_t | BitBangSPI_Send_Byte (uint8_t c) |
void | BitBangSPI_Send_Message (void) |
#define PORTA (((volatile avr32_gpio_port_t *) &AVR32_GPIO) + 0) |
#define PORTB (((volatile avr32_gpio_port_t *) &AVR32_GPIO) + 1) |
#define PORTC (((volatile avr32_gpio_port_t *) &AVR32_GPIO) + 2) |
void BitBangSPI_Master_Init | ( | void | ) |
References MISO_BB, MOSI_BB, REG, 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 | ) |
References DELAY_1US, DELAY_75US, MISO_BB, MOSI_BB, REG, SCK_BB, SPI_BB_MISO, SPI_BB_MOSI, and SPI_BB_SCK.
Referenced by BitBangSPI_Send_Message().
void BitBangSPI_Send_Message | ( | void | ) |
References BitBangSPI_Send_Byte(), RxHandler(), TX_Buffer, and TX_index.
Referenced by Send_Message().