Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
ClockCheck.cpp File Reference
#include "ClockCheck.h"
#include <time.h>
Include dependency graph for ClockCheck.cpp:

Macros

#define VER_OFFSET   0
 
#define CSR_OFFSET   1
 
#define CLK_CNT_OFFSET   3
 
#define CLK_DIV_OFFSET   2
 
#define CLK_MAX   (0x00FFFFFF)
 

Functions

timespec timespec_diff (timespec start, timespec end)
 

Macro Definition Documentation

◆ CLK_CNT_OFFSET

#define CLK_CNT_OFFSET   3

◆ CLK_DIV_OFFSET

#define CLK_DIV_OFFSET   2

◆ CLK_MAX

#define CLK_MAX   (0x00FFFFFF)

◆ CSR_OFFSET

#define CSR_OFFSET   1

◆ VER_OFFSET

#define VER_OFFSET   0

Function Documentation

◆ timespec_diff()

timespec timespec_diff ( timespec  start,
timespec  end 
)