ConOpSys V2970  P004.07
ANVILEX control operating system
P015_27_V1_0_CPU.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P015_27_V1_0_CPU.h
3 //! @brief CPU control board P015.27 V1.0 hardware driver header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Hardware/P015_27_V1_0_CPU/P015_27_V1_0_CPU.h $
7 //! $Revision: 2750 $
8 //! $Date: 2021-06-29 13:44:17 +0500 (Di, 29 Jun 2021) $
9 //! $Author: ggavrituhin $
10 //------------------------------------------------------------------------------
11 //
12 // Redistribution and use in source and binary forms, with or without
13 // modification, are permitted provided that the following conditions are met:
14 //
15 // 1. Redistributions of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // 2. Redistributions in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // 3. Neither the name of ANVILEX nor the names of its contributors may be
23 // used to endorse or promote products derived from this software without
24 // specific prior written permission.
25 //
26 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 // POSSIBILITY OF SUCH DAMAGE.
37 //
38 //------------------------------------------------------------------------------
39 
40 //------------------------------------------------------------------------------
41 // Protecting header files from mutual, recursive inclusion.
42 //------------------------------------------------------------------------------
43 
44 #pragma once
45 
46 //------------------------------------------------------------------------------
47 // Include system headers
48 //------------------------------------------------------------------------------
49 
50 #include "Application_Resource_Configuration.h"
51 
52 //------------------------------------------------------------------------------
53 // Include project headers
54 //------------------------------------------------------------------------------
55 
56 #include "CPU_STM32F429.h"
57 
58 //------------------------------------------------------------------------------
59 // Class declaration
60 //------------------------------------------------------------------------------
61 
62 //! @brief Hardware harget P015.27 V1 class
63 //class TTarget_P015_27_V1_0 : public TTarget_Base
65 {
66 
67  //----------------------------------------------------------------------------
68  // Public defines, methods and variables
69  //----------------------------------------------------------------------------
70 
71  public:
72 
73  //--------------------------------------------------------------------------
74  // Public methods
75  //--------------------------------------------------------------------------
76 
77  //!-------------------------------------------------------------------------
78  //! @brief Object initialisation method.
79  //! @note None
80  //! @return None
81  //! \par Override
82  //! Not allowed
83  //! @attention None
84  //--------------------------------------------------------------------------
85 
86  VOID Init();
87 
88  //!-------------------------------------------------------------------------
89  //! @brief Object finalisation method.
90  //! @note None
91  //! @return None
92  //! \par Override
93  //! Not allowed
94  //! @attention None
95  //--------------------------------------------------------------------------
96 
97  VOID Done();
98 
99  //!-------------------------------------------------------------------------
100  //! @brief Send boot ststus information message about target platform driver over communication link protocol
101  //! @note This method sends boot ststus information about target platform driver over specified communication link protocol.
102  //! @param [in] *object_Protocol - Pointer to the communication link protocol
103  //! @return None
104  //! \par Override
105  //! Not allowed
106  //! @attention None
107  //--------------------------------------------------------------------------
108 
109  VOID Send_Boot_Information( TProtocol_Base *object_Protocol );
110 
111  //----------------------------------------------------------------------------
112  // Protected defines, methods and variables
113  //----------------------------------------------------------------------------
114 
115  protected:
116 
117  //----------------------------------------------------------------------------
118  // Private defines, methods and variables
119  //----------------------------------------------------------------------------
120 
121  private:
122 /*
123  // System Clock Frequency (Core Clock)
124  U32 u32_SYSCLK;
125  U32 u32_HCLK;
126  U32 u32_PCLK1;
127  U32 u32_PCLK2;
128  U32 u32_TCLK1;
129  U32 u32_TCLK2;
130  U32 u32_IWDG;
131 */
132  //! @brief Error flag
134 
135 };
136 
137 //------------------------------------------------------------------------------
138 // Export external references
139 //------------------------------------------------------------------------------
140 
141 extern "C" void System_Init( void );
142 
143 //------------------------------------------------------------------------------
144 // End of file
145 //------------------------------------------------------------------------------
STM32F429 CPU class header file.
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
void System_Init(void)
Definition: P013_35_V1_3_CPU.cpp:94
Definition: Protocol_Base.h:57
Hardware harget P015.27 V1 class.
Definition: P015_27_V1_0_CPU.h:65
VOID Done()
Object finalisation method.
Definition: P015_27_V1_0_CPU.cpp:1235
U32 u32_Error_Flag
Error flag.
Definition: P015_27_V1_0_CPU.h:133
VOID Init()
Object initialisation method.
Definition: P015_27_V1_0_CPU.cpp:1220
VOID Send_Boot_Information(TProtocol_Base *object_Protocol)
Send boot ststus information message about target platform driver over communication link protocol.
Definition: P015_27_V1_0_CPU.cpp:1243