/* * NanoTimer.hh * * Created on: 27 ÿíâ. 2022 ã. * Author: titov */ #ifndef UMLIBRARY_PERIPHERAL_NANOTIMER_HH_ #define UMLIBRARY_PERIPHERAL_NANOTIMER_HH_ #include #include namespace peripheral { namespace nanotimer { typedef uint32_t time_us; typedef uint32_t time_ns; typedef uint32_t stamp; extern stamp ( * point)(); extern time_ns ( * time)( stamp ); extern time_ns ( * delta)( stamp start, stamp point ); } } #endif /* UMLIBRARY_PERIPHERAL_NANOTIMER_HH_ */