Smart Matrix
Timer Class Reference

Timer class used for wait an amount of time. More...

#include <Timer.hpp>

Public Member Functions

 Timer ()
 Timer constructor. More...
 
void delayMicroseconds (uint32_t micro)
 Delay in microseconds. More...
 
void delayMilliseconds (uint32_t millis)
 Delay in milliseconds. More...
 

Detailed Description

Timer class used for wait an amount of time.

Timer class uses Timer interrupt 0 channel 0. You can use only one instance at a time.

Constructor & Destructor Documentation

Timer::Timer ( )

Timer constructor.

Configure timer interrupt 0 channel 0 to be used with a frequenty of 1 MHZ

Member Function Documentation

void Timer::delayMicroseconds ( uint32_t  micro)

Delay in microseconds.

Delay the flow of a code by given microseconds time interval.

void Timer::delayMilliseconds ( uint32_t  millis)

Delay in milliseconds.

Delay the flow of a code by given milliseconds time interval.


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