ConOpSys V2970  P004.07
ANVILEX control operating system
P016_05_PUC2.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P016_05_PUC2.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/P016_05_PUC2/P016_05_PUC2.h $
7 //! $Revision: 2249 $
8 //! $Date: 2020-11-29 18:49:29 +0500 (So, 29 Nov 2020) $
9 //! $Author: minch $
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_STM32F410CBU6.h"
54 
55 //------------------------------------------------------------------------------
56 // Class definitions
57 //------------------------------------------------------------------------------
58 
59 //! @brief Target P016_05_PUC2 class.
61 {
62 
63  //----------------------------------------------------------------------------
64  // Public defines, methods and variables
65  //----------------------------------------------------------------------------
66 
67  public:
68 
69  //--------------------------------------------------------------------------
70  // Private methods
71  //--------------------------------------------------------------------------
72 
73  //!-------------------------------------------------------------------------
74  //! @brief Object initialisation method.
75  //! @note None
76  //! @return None
77  //! \par Override
78  //! Not allowed
79  //! @attention None
80  //--------------------------------------------------------------------------
81 
82  VOID Init();
83 
84  //!-------------------------------------------------------------------------
85  //! @brief Object finalisation method.
86  //! @note None
87  //! @return None
88  //! \par Override
89  //! Not allowed
90  //! @attention None
91  //--------------------------------------------------------------------------
92 
93  VOID Done();
94 
95  //!-------------------------------------------------------------------------
96  //! @brief Send boot ststus information message about target platform driver over communication link protocol
97  //! @note This method sends boot ststus information about target platform driver over specified communication link protocol.
98  //! @param [in] *object_Protocol - Pointer to the communication link protocol
99  //! @return None
100  //! \par Override
101  //! Not allowed
102  //! @attention None
103  //--------------------------------------------------------------------------
104 
105  VOID Send_Boot_Information( TProtocol_Base *object_Protocol );
106 
107  //----------------------------------------------------------------------------
108  // Protected defines, methods and variables
109  //----------------------------------------------------------------------------
110 
111  protected:
112 
113  //----------------------------------------------------------------------------
114  // Private defines, methods and variables
115  //----------------------------------------------------------------------------
116 
117  private:
118 
119  //--------------------------------------------------------------------------
120  // Private variables
121  //--------------------------------------------------------------------------
122 
123 /*
124  // System Clock Frequency (Core Clock)
125  U32 u32_SYSCLK;
126  U32 u32_HCLK;
127  U32 u32_PCLK1;
128  U32 u32_PCLK2;
129  U32 u32_TCLK1;
130  U32 u32_TCLK2;
131  U32 u32_IWDG;
132 */
133  //! @brief Error flag
135 
136 };
137 
138 //------------------------------------------------------------------------------
139 // Export external references
140 //------------------------------------------------------------------------------
141 
142 extern "C" void System_Init( void );
143 
144 //------------------------------------------------------------------------------
145 // End Of File
146 //------------------------------------------------------------------------------
STM32F410CBU6 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 P016_05_PUC2 class.
Definition: P016_05_PUC2.h:61
VOID Init()
Object initialisation method.
Definition: P016_05_PUC2.cpp:805
U32 u32_Error_Flag
Error flag.
Definition: P016_05_PUC2.h:134
VOID Done()
Object finalisation method.
Definition: P016_05_PUC2.cpp:817
VOID Send_Boot_Information(TProtocol_Base *object_Protocol)
Send boot ststus information message about target platform driver over communication link protocol.
Definition: P016_05_PUC2.cpp:825