diff options
| author | xengineering <mail2xengineering@protonmail.com> | 2020-11-01 16:10:30 +0100 | 
|---|---|---|
| committer | xengineering <mail2xengineering@protonmail.com> | 2020-11-01 16:28:06 +0100 | 
| commit | a10ed370febb7168246acebc6cc8492a173170ce (patch) | |
| tree | 3df8a08063bc43ebd0011a8f6172eb4949655c6a /libraries/usart.h | |
| parent | 7d0035a6940394c01398a7c2f061093319c328f7 (diff) | |
| download | stm32f103c8-examples-a10ed370febb7168246acebc6cc8492a173170ce.tar stm32f103c8-examples-a10ed370febb7168246acebc6cc8492a173170ce.tar.zst stm32f103c8-examples-a10ed370febb7168246acebc6cc8492a173170ce.zip | |
Complete Write Functions in USART Lib
Diffstat (limited to 'libraries/usart.h')
| -rw-r--r-- | libraries/usart.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/libraries/usart.h b/libraries/usart.h index 8e0d98c..4cc9712 100644 --- a/libraries/usart.h +++ b/libraries/usart.h @@ -16,8 +16,8 @@  typedef struct USART{ -    FIFO rx_fifo; -    FIFO tx_fifo; +	FIFO rx_fifo; +	FIFO tx_fifo;  } USART; @@ -31,7 +31,7 @@ void usart_init(USART *usart, uint8_t *rx_buffer, uint16_t rx_buffersize, uint8_  uint16_t usart_write_bytes(USART *usart, uint8_t *data_source, uint16_t data_length);  uint16_t usart_write(USART *usart, char *str); -//uint16_t usart_writeln(USART *usart, char *str); +uint16_t usart_writeln(USART *usart, char *str);  // read functions | 
