-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBQ76952.h
85 lines (69 loc) · 2.04 KB
/
BQ76952.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
///-------------------------------------------------------------------------------------------------
/// @file POC\BQ76952.h.
///
/// @brief Declares the bq 76952 class
#pragma once
#include <memory>
#include <list>
#include "TimedState.h"
#include "I2CComponent.h"
///-------------------------------------------------------------------------------------------------
/// @struct Status5
///
/// @brief The status 5.
///
/// @author Benjamin
/// @date 28.09.2020
struct Status5 {
//TODO
};
///-------------------------------------------------------------------------------------------------
/// @class BQ76952
///
/// @brief A bq 76952.
///
/// @author Benjamin
/// @date 28.09.2020
class BQ76952 :
public I2CComponent {
/// @brief The fifth status
TimedState<Status5> status5;
public:
///-------------------------------------------------------------------------------------------------
/// @fn BQ76952::BQ76952(BasicPOCModule* itsPOCModule, list<Component*>& componentlist);
///
/// @brief Constructor
///
/// @author Benjamin
/// @date 28.09.2020
///
/// @param [in,out] itsPOCModule If non-null, its poc module.
/// @param [in,out] componentlist [in,out] If non-null, the componentlist.
BQ76952(BasicPOCModule* itsPOCModule, list<Component*>& componentlist);
///-------------------------------------------------------------------------------------------------
/// @fn void BQ76952::init() final;
///
/// @brief Initializes this object
///
/// @author Benjamin
/// @date 28.09.2020
void init() final;
///-------------------------------------------------------------------------------------------------
/// @fn void BQ76952::selfTest() final;
///
/// @brief Tests self
///
/// @author Benjamin
/// @date 28.09.2020
void selfTest() final;
///-------------------------------------------------------------------------------------------------
/// @fn TimedState<Status5> BQ76952::getStatus5();
///
/// @brief Gets status 5
///
/// @author Benjamin
/// @date 28.09.2020
///
/// @returns The status 5.
TimedState<Status5> getStatus5();
};