From a61b80817604f1cba6efe5e5e03d133d800638c2 Mon Sep 17 00:00:00 2001 From: Filipriec Date: Tue, 25 Nov 2025 15:19:06 +0100 Subject: [PATCH] finalized plantuml --- .../software_uart/docs/tx_uml.txt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 semestralka_1_final_crate/software_uart/docs/tx_uml.txt diff --git a/semestralka_1_final_crate/software_uart/docs/tx_uml.txt b/semestralka_1_final_crate/software_uart/docs/tx_uml.txt new file mode 100644 index 0000000..5ba7800 --- /dev/null +++ b/semestralka_1_final_crate/software_uart/docs/tx_uml.txt @@ -0,0 +1,29 @@ +@startuml +title TX Path: pipe_rx → DMA → GPIOx_BSRR + +start + + + +repeat + :n = pipe_rx.read(rx_buf); + + if (n > 0?) then (ano) + :Enkodovanie rx_buf → frame_buf\n(encode_uart_frames); + + if (used > 0?) then (ano) + :TIM6.SR.UIF = false; + :Cakanie na TIM6 tick; + :TIM6.SR.UIF = false; + + :DMA Transfer\nframe_buf → GPIOx_BSRR; + :Transfer await; + endif + endif + + :yield_now(); + +repeat while (true) + +stop +@enduml