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
errata.h
1
/*
2
* KM3NeT CLB v2 Firmware
3
* ----------------------
4
*
5
* Copyright 2012-2017 KM3NeT Collaboration
6
*
7
* All Rights Reserved.
8
*
9
*
10
* File : errata.h
11
* Created : 24 apr. 2017
12
* Author : Vincent van Beveren
13
*/
14
#ifndef KERNEL_ERRATA_H_
15
#define KERNEL_ERRATA_H_
16
17
#include "stdbool.h"
18
#include "stdint.h"
19
#include "cfg_errata.h"
20
21
22
/**
23
* Initializes the errata with the provided DOM ID.
24
*
25
* @note only the lower 3 bytes of the DOM ID are used, since these are (should be) unique
26
*
27
* @param domId The DOM ID (lower 4 MAC address bytes)
28
*/
29
void
errataInit(uint32_t domId);
30
31
/**
32
* Returns whether or not the specified errata is active.
33
*
34
* @retval true Yes, it is active
35
* @retval false No, it is not active
36
*/
37
bool
errataActive(
int
errata);
38
39
#endif
/* KERNEL_ERRATA_H_ */
src
platform
kernel
errata.h
Generated on Tue Mar 2 2021 11:23:03 for KM3NeT CLB by
1.8.5