ch552: Use the new hardware CTS signals for UART access

- Use CTS signals to let the FPGA and CH552 signal each other that
    it is OK send UART data.
  - Update the CH552 rx and frame handling logic.
  - Fix minor spelling errors and indentation
This commit is contained in:
Jonas Thörnblad 2024-12-17 17:33:14 +01:00 committed by Michael Cardell Widerkrantz
parent dd4e970446
commit 50aacb4a5c
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5
4 changed files with 237 additions and 93 deletions

View file

@ -3,7 +3,7 @@
#include <stdint.h>
#define DEBUG_PRINT
//#define DEBUG_PRINT
//#define DEBUG_SETUP
//#define UART_OUT_DEBUG
//#define USE_NUM_U8