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