This commit is contained in:
Bertrand Songis
2019-07-15 13:59:26 +02:00
parent 6f397041de
commit e9704ec3bb
4 changed files with 10 additions and 2 deletions
@@ -105,6 +105,12 @@ extern "C" void INTMODULE_USART_IRQHandler(void)
}
}
void intmoduleSendByte(uint8_t byte)
{
while (!(INTMODULE_USART->SR & USART_SR_TXE));
USART_SendData(INTMODULE_USART, byte);
}
void intmoduleSendBuffer(const uint8_t * data, uint8_t size)
{
if (size == 0)