KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ticks.h File Reference

White Rabbit simple timer 'Ticks' driver. More...

#include <stdint.h>
#include "lm32soc/dev_soc.h"

Go to the source code of this file.

Macros

#define TICKS_PER_SEC   1000
 Timer is in milliseconds.
 

Functions

static uint32_t ticks ()
 Nr of ticks since device start up. More...
 

Detailed Description

White Rabbit simple timer 'Ticks' driver.

Definition in file ticks.h.

Function Documentation

static uint32_t ticks ( )
inlinestatic

Nr of ticks since device start up.

Wraps at maximum to 0.

Definition at line 37 of file ticks.h.