basic code timer for microcontroller usage

codeTimer.h

Committer:
snapo
Date:
2021-10-31
Revision:
0:ef39a53751b9

File content as of revision 0:ef39a53751b9:

#pragma once
#include "mbed.h"

class CTIMER {
    long long time_us_;
    Timer t_;
public:

    void cTimerStart();
    void cTimerBreak(unsigned int timeInterval);
    void cTimerStop();

};