From 16cc3ea9f9f2b7775e2b1681cce525acbf117e79 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sat, 4 Oct 2025 20:10:39 -0400 Subject: complete homework 4 --- project/Core/Inc/Devices/UART.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'project/Core/Inc/Devices/UART.h') diff --git a/project/Core/Inc/Devices/UART.h b/project/Core/Inc/Devices/UART.h index e9c0f33..03476f6 100644 --- a/project/Core/Inc/Devices/UART.h +++ b/project/Core/Inc/Devices/UART.h @@ -11,7 +11,8 @@ void USART1_IRQHandler(void); void USART2_IRQHandler(void); void USART_Init(USART_TypeDef * USARTx); void USART_Write(USART_TypeDef * USARTx, uint8_t *buffer, uint32_t nBytes); -uint8_t USART_Read(USART_TypeDef * USARTx); +uint8_t USART_Read(USART_TypeDef * USARTx); +uint8_t USART_Read_Nonblocking (USART_TypeDef * USARTx); void USART_Delay(uint32_t us); void USART_IRQHandler(USART_TypeDef * USARTx, uint8_t *buffer, uint32_t * pRx_counter); -- cgit v1.2.3