Arduino Helpers master
Utility library for Arduino
Public Member Functions | Private Attributes | List of all members
Frequency Class Reference

#include <AH/Types/Frequency.hpp>

Detailed Description

Type-safe class for frequency values.

Definition at line 8 of file Frequency.hpp.

+ Collaboration diagram for Frequency:

Public Member Functions

constexpr Frequency (unsigned long hertz)
 
constexpr operator unsigned long () const
 

Private Attributes

unsigned long hertz
 

Constructor & Destructor Documentation

◆ Frequency()

constexpr Frequency ( unsigned long  hertz)
inlineexplicitconstexpr

Definition at line 10 of file Frequency.hpp.

Member Function Documentation

◆ operator unsigned long()

constexpr operator unsigned long ( ) const
inlineconstexpr

Definition at line 11 of file Frequency.hpp.

Member Data Documentation

◆ hertz

unsigned long hertz
private

Definition at line 14 of file Frequency.hpp.


The documentation for this class was generated from the following file: