void sendData()
{
- /* We don't need to check Registers.getIfgTx() (aks UCxxTXIFG), as
- * sendData() is only called after peripheral init or receipt of the rx()
- * interrupt. SPI on msp430 guarantees UCxxTXIFG is asserted in both of
- * these cases.
- */
atomic {
uint16_t end = m_pos + (blockSize ? blockSize : BLOCKSIZE_DEFAULT);
uint8_t tmp;