1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2017-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef MOD_REG_SENSOR_H
9 #define MOD_REG_SENSOR_H
10 
11 #include <mod_sensor.h>
12 
13 #include <stdint.h>
14 
15 /*!
16  * \addtogroup GroupModules Modules
17  * \{
18  */
19 
20 /*!
21  * \defgroup GroupModuleRegSensor Register Sensor Driver
22  *
23  * \brief Driver for simple, register-based sensors.
24  * \{
25  */
26 
27 /*! \brief Element configuration */
28 struct mod_reg_sensor_dev_config {
29     /*! Address of the sensor register */
30     uintptr_t reg;
31 
32     /*! Auxiliary sensor information */
33     struct mod_sensor_info *info;
34 };
35 
36 /*!
37  * \}
38  */
39 
40 /*!
41  * \}
42  */
43 
44 #endif /* MOD_REG_SENSOR_H */
45