summaryrefslogtreecommitdiff
path: root/project/Core/Inc
diff options
context:
space:
mode:
Diffstat (limited to 'project/Core/Inc')
-rw-r--r--project/Core/Inc/Devices/UART.h3
-rw-r--r--project/Core/Inc/Homework/hw4.h13
2 files changed, 15 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);
diff --git a/project/Core/Inc/Homework/hw4.h b/project/Core/Inc/Homework/hw4.h
new file mode 100644
index 0000000..2aa852e
--- /dev/null
+++ b/project/Core/Inc/Homework/hw4.h
@@ -0,0 +1,13 @@
+/*
+ * hw4.h
+ *
+ * Created on: Oct 4, 2025
+ * Author: sowgro
+ */
+
+#ifndef INC_HOMEWORK_HW4_H_
+#define INC_HOMEWORK_HW4_H_
+
+void hw4_run();
+
+#endif /* INC_HOMEWORK_HW4_H_ */