feklee / Cycles32

Arduino library for measuring clock cycles with Timer1 and a 32 bit counter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Cycles32 is an Arduino library for measuring clock cycles at 32 bit resolution. It uses the 16 bit Timer/Counter1 on an ATmega328.

The overhead in cycles introduced by function calls is not taken into account.

Tested with the Arduino Pro Mini ATmega328 (5V, 16MHz).

License

Except where noted otherwise, files are licensed under the WTFPL.

Copyright © 2018 Felix E. Klee

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.

About

Arduino library for measuring clock cycles with Timer1 and a 32 bit counter

License:Do What The F*ck You Want To Public License


Languages

Language:C++ 100.0%