Driver status bit structure. More...
Data Fields | |
unsigned char | masterMode: 1 |
True if in master mode. | |
unsigned char | transferComplete: 1 |
True when transfer completed. | |
unsigned char | writeCollision: 1 |
True if put attempted during transfer. |
Driver status bit structure.
This struct contains status flags for the driver. The flags have the same meaning as the corresponding status flags for the native SPI module. The flags should not be changed by the user. The driver takes care of updating the flags when required.
Definition at line 87 of file spi_via_usi_driver.c.
unsigned char usidriverStatus_t::masterMode |
True if in master mode.
Definition at line 88 of file spi_via_usi_driver.c.
Referenced by ISR(), spiX_initmaster(), spiX_initslave(), and spiX_put().
unsigned char usidriverStatus_t::transferComplete |
True when transfer completed.
Definition at line 89 of file spi_via_usi_driver.c.
Referenced by ISR(), spiX_initmaster(), spiX_initslave(), spiX_put(), and spiX_wait().
unsigned char usidriverStatus_t::writeCollision |
True if put attempted during transfer.
Definition at line 90 of file spi_via_usi_driver.c.
Referenced by spiX_initmaster(), spiX_initslave(), and spiX_put().