KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dev_timer.h
Go to the documentation of this file.
1 /*
2  * KM3NeT CLB v2 Firmware
3  * ----------------------
4  *
5  * Copyright 2013 KM3NeT Collaboration
6  *
7  * All Rights Reserved.
8  *
9  *
10  * File : dev_timer.h
11  * Created : 6 mrt. 2013
12  * Author : Vincent van Beveren
13  */
14 
15 
16 #ifndef DEV_TIMER_H_
17 #define DEV_TIMER_H_
18 
19 /**
20  * @file
21  *
22  * @ingroup devices
23  *
24  * Timer Device.
25  */
26 
27 #include "dev_defs.h"
28 
29 #define SDB_ID_TIMER 0xE74F7CA0
30 
31 /**
32  * Structure defines TIMER device.
33  */
34 typedef struct
35 {
36  reg_o TICS; ///< Timer register.
37 } TIMER_Device;
38 
39 #endif /* DEV_TIMER_H_ */
Structure defines TIMER device.
Definition: dev_timer.h:34
#define reg_o
Write-only register.
Definition: dev_defs.h:36
volatile unsigned int TICS
Timer register.
Definition: dev_timer.h:36
This module contains some very basic type definitions used for hardware mappings. ...