Dataflow Runtime API  4.0.1.0
Static Public Member Functions | List of all members
imt::base::hal::stm32f769::Timing Class Reference

#include <Imt.Base.HAL.STM32F769/Timing.h>

Static Public Member Functions

static void initialize (uint32_t const cpuClock)
 
static uint32_t getCpuClock ()
 
static void delayMs (uint32_t const delay)
 
static uint32_t getTick ()
 Get current tick in cpu cycles. More...
 
static bool isTimeoutPending (uint32_t const cycleCountStart, uint32_t const timeoutMs)
 Check if timeout occured. More...
 
static bool hasTimeoutOccurred (uint32_t const cycleCountStart, uint32_t const timeoutMs)
 Check if timeout occured. More...
 

Member Function Documentation

◆ delayMs()

static void imt::base::hal::stm32f769::Timing::delayMs ( uint32_t const  delay)
static

◆ getCpuClock()

static uint32_t imt::base::hal::stm32f769::Timing::getCpuClock ( )
static

◆ getTick()

static uint32_t imt::base::hal::stm32f769::Timing::getTick ( )
static

Get current tick in cpu cycles.

Returns
Current tick in cpu cycles

◆ hasTimeoutOccurred()

static bool imt::base::hal::stm32f769::Timing::hasTimeoutOccurred ( uint32_t const  cycleCountStart,
uint32_t const  timeoutMs 
)
static

Check if timeout occured.

Parameters
cycleCountStartCPU cycle count on timeout start
timeoutMstimeout in ms
Returns
true when timeout occured

◆ initialize()

static void imt::base::hal::stm32f769::Timing::initialize ( uint32_t const  cpuClock)
static

◆ isTimeoutPending()

static bool imt::base::hal::stm32f769::Timing::isTimeoutPending ( uint32_t const  cycleCountStart,
uint32_t const  timeoutMs 
)
static

Check if timeout occured.

Parameters
cycleCountStartCPU cycle count on timeout start
timeoutMstimeout in ms
Returns
true when timeout not yet occured

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