Giter VIP home page Giter VIP logo

etools's Introduction

What is etools about?

The etools are a handy collection of algorithms written in C. They intend to be inclusive (but not limited) to the smallest of embedded systems and aim to comply with standard C whenever possible. Providing essential building blocks, code quality is of major concern. All of this is released into the public domain, in order to aid the use in free and commercial applications.

efilter

So far this is just a simple infinite impulse response low-pass filter, implemented using integer arithmetic. This code was initially written for the multimon-ng project, where it has been in use for many years. It was designed to be particularly efficient on the first generation Raspberry Pi, relying only on addition, substraction and bit shifts in 32bit. It can utilise the ability of many ARM Processors to perform "free" shifts, but overall performs well on most systems.

ecbuff

The main design goal of ecbuff is being a lock-free high-throughput inter-thread circular/ring buffer. In addition to that it allows exposing of element pointers, enabling zero-copy operations and direct peripheral or DMA access. For the most part ecbuff is written in plain C99, with the notable exception of using memory barriers if selected. Alternatively multi-threading can on some architectures be enabled using the volatile keyword, though this leaves the scope of the C standard. It comes with a suite of tests and has been used in several commercial products.

emutex

It implements a basic mutex that allows for blocking (spinlock) and non-blocking operation. Yield functionality, if available, (e.g. of an RTOS) can be integrated easily. Since emutex only relies on standard C (2011) it is fully portable and works on all supported platforms.

etools's People

Contributors

eliasoenal avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.