KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
errtrack.h
1
/*
2
* KM3NeT CLB v2 Firmware
3
* ----------------------
4
*
5
* Copyright 2012-2017 KM3NeT Collaboration
6
*
7
* All Rights Reserved.
8
*
9
*
10
* File : errtrack.h
11
* Created : 23 jan. 2017
12
* Author : Vincent van Beveren
13
*/
14
#ifndef ERRTRACK_H_
15
#define ERRTRACK_H_
16
17
#include <assert.h>
18
#include "pv/vars.h"
19
#include "
kernel/err.h
"
20
21
#define ERR_TRACK_BITS 8
22
#define ERR_THRESHOLD 10
23
24
static
inline
bool
etIsDisabled(
int
system)
25
{
26
return
(sys.sys_disable & system);
27
}
28
29
30
void
etCheckFailure(
int
system);
31
32
#endif
/* ERRTRACK_H_ */
err.h
Manages the global system error.
src
app
errtrack.h
Generated on Mon Aug 3 2020 13:49:49 for KM3NeT CLB by
1.8.5