The transactional circular buffer algorithm allows interrupt handlers concurrently append and remove data to/from the same instance of the buffer. Composite data types can be used as the buffer data element without requirement to block interrupts during new data copying into the buffer.Use of LL/SC instructions on buffer control structure packed into a 32 bit word makes it possible to avoid interrupt blocking on all the buffer operations on 32 bit platforms like ARM Cortex-M3.
The source code from the Code section can be compiled with GCC 4.7 from GNU Tools for ARM Embedded Processors [https://launchpad.net/gcc-arm-embedded/] and requires ARM CMSIS library [http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php].

Project Activity

See All Activity >

License

MIT License

Follow tcb-algorithm

tcb-algorithm Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tcb-algorithm!

Additional Project Details

Registered

2015-07-14