/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
#include <stdint.h>
int main()
{
uint32_t timestamp_1 = 0xFFFFFFFF;
uint32_t timestamp_2 = 0x00000001;
uint32_t duration = timestamp_2 - timestamp_1;
printf("duration = %lu\n", (long unsigned int ) duration);
return 0;
}