007 - Circular Buffer implementation in C

preview_player
Показать описание
Having created a simple Morse Module with a Bad API I've decided that I should correct that and use a better API for the Module. This is the start of that process with the addition of a more general, policy free, transmit function implementing a circular buffer.
Рекомендации по теме
Комментарии
Автор

I have a question. My arm chip use 2 uart1 and 2. Get data by uart 1 with high speeed 9600. After it will send data by uart2 with speed 300. Can you help me solution for over buffer. Thanks!

tranconginh
Автор

I think it should check if the buffer is not empty.. instead of checking if not full.. before sending a next character.

naeemuddinzia
visit shbcf.ru