KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dev_acou.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_hydro.h
11  * Created : 10 may 2013
12  * Author : Christophe Hugon
13  */
14 
15 
16 #ifndef DEV_ACOU_H_
17 #define DEV_ACOU_H_
18 
19 #include "dev_defs.h"
20 
21 /**
22  * @file
23  *
24  * @ingroup devices
25  *
26  * This provides a device mapping for a wishbone bus mapped Acoustic device.
27  *
28  * @todo rename to AES
29  */
30 
31 #define SDB_ID_ACOU 0xC9b90EE0 //!< SDB ID Acou
32 
33 //#define ACOU_CTRL_ENABLE BIT(0) //!< Enable bit
34 //#define ACOU_CTRL_RATE_SHIFT 8 //!< Rate shift
35 //#define ACOU_CTRL_RATE_MASK ( MASK(8) << ACOU_CTRL_RATE_SHIFT ) //!< Rate mask
36 
37 /**
38  * Structure defines Acoustic device.
39  */
40 typedef struct
41 {
42  reg_o CTRL; ///< control register of acoustic
43 } ACOU_Device;
44 
45 #endif /* DEV_ACOU_H_ */
46 
volatile unsigned int CTRL
control register of acoustic
Definition: dev_acou.h:42
Structure defines Acoustic device.
Definition: dev_acou.h:40
#define reg_o
Write-only register.
Definition: dev_defs.h:36
This module contains some very basic type definitions used for hardware mappings. ...