diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-10-04 20:10:39 -0400 |
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-10-04 20:10:39 -0400 |
| commit | 16cc3ea9f9f2b7775e2b1681cce525acbf117e79 (patch) | |
| tree | 4ba4b95bf5d2d41463458acbb448b8280e79bd4e /project/Core/Inc/Devices | |
| parent | 80c01675b3aa51d774eba7db61c6addea9d02f9a (diff) | |
| download | 340-repo-Sowgro-16cc3ea9f9f2b7775e2b1681cce525acbf117e79.tar.gz 340-repo-Sowgro-16cc3ea9f9f2b7775e2b1681cce525acbf117e79.tar.bz2 340-repo-Sowgro-16cc3ea9f9f2b7775e2b1681cce525acbf117e79.zip | |
complete homework 4
Diffstat (limited to 'project/Core/Inc/Devices')
| -rw-r--r-- | project/Core/Inc/Devices/UART.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
