Skip to content
TeensyUser edited this page Mar 11, 2020 · 1 revision

List of libraries to access the built in peripherals of the Teensy boards.

Timers and Counters

TeensyTimerTool

TeensyTimerTool is a library that provides a generic, easy to use interface to the hardware timers of the PJRC Teensy boards (FTM, GPT, QUAD...).

Details TeensyTimerTool is a library that provides a generic, easy to use interface to the hardware timers of the PJRC Teensy boards (FTM, GPT, QUAD...). In addition, it provides up to 20 highly efficient software timers that use the same interface. All timers can be used in periodic and one-shot mode. Currently the library supports the ARM T3.X and T4.0 boards. You can either pick a free timer from a pool or specify exactly which of the available hardware or software timer modules you want to use.

Callbacks

By default, TeensyTimerTool uses callbacks of type std::function. This allows the user to attach pretty much all callable objects to a timer. Callable objects include

  • Traditional callbacks, i.e. pointers to void functions
  • Functors as callback objects
  • Static and non static member functions
  • Lambda expressions

Links: GitHub repository: https://github.com/luni64/TeensyTimerTool

A/D Converter

ADC

Pedvides ADC is the library to access the built in ADC of the ARM based Teensies (T-LC, T3.x and T4.x)

Details TBD

Links: GitHub Repository: https://github.com/pedvide/ADC

Clone this wiki locally