Arduino Helpers master
Utility library for Arduino
Classes | Functions | Variables
detail Namespace Reference

Classes

class  Incrementor
 Utility class that acts as a functor to return incremental values. More...
 

Functions

template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out<=2 *Bits_in) &&(Bits_out > Bits_in), T_out > increaseBitDepthImpl (T_in in)
 
template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out<=Bits_in), T_out > increaseBitDepthImpl (T_in in)
 
template<size_t Bits_out, size_t Bits_in, class T_out , class T_in >
std::enable_if_t<(Bits_out > 2 *Bits_in), T_out > increaseBitDepthImpl (T_in in)
 

Variables

constexpr long double pi_inv_l = 0.318309886183790671537767526745028724L
 
constexpr long double pi_l = 3.141592653589793238462643383279502884L
 

Function Documentation

◆ increaseBitDepthImpl() [1/3]

std::enable_if_t<(Bits_out<=2 *Bits_in) &&(Bits_out > Bits_in), T_out > increaseBitDepthImpl ( T_in  in)

Definition at line 13 of file IncreaseBitDepth.hpp.

◆ increaseBitDepthImpl() [2/3]

std::enable_if_t<(Bits_out<=Bits_in), T_out > increaseBitDepthImpl ( T_in  in)

Definition at line 20 of file IncreaseBitDepth.hpp.

◆ increaseBitDepthImpl() [3/3]

std::enable_if_t<(Bits_out > 2 *Bits_in), T_out > increaseBitDepthImpl ( T_in  in)

Definition at line 27 of file IncreaseBitDepth.hpp.

Variable Documentation

◆ pi_inv_l

constexpr long double pi_inv_l = 0.318309886183790671537767526745028724L
constexpr

Definition at line 13 of file Degrees.hpp.

◆ pi_l

constexpr long double pi_l = 3.141592653589793238462643383279502884L
constexpr

Definition at line 14 of file Degrees.hpp.