aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/ring_buffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Reduced the use of volatiles to speed up rb_insert() and rb_remove().Michael Hope2010-10-101-15/+15
| | | | Added support for non-power-of-two ring buffers.
* Changed the ring_buffer indexes to uint16 to cut memory usage and increase ↵Michael Hope2010-10-101-5/+5
| | | | capacity. Sorted struct members by size to improve the packing.
* Mark head and tail as volatile as a ring buffer works accross ↵Michael Hope2010-10-101-3/+17
| | | | threads/interrupts. Add comments.
* whitespace cleanupsMarti Bolivar2010-09-271-12/+12
|
* New usart implementation:Perry Hung2010-08-041-0/+57
Fixed a bug where the maximum baud rate was incorrectly set to 225000 General cleanup Use new rcc and nvic APIs