ConOpSys V2970  P004.07
ANVILEX control operating system
P017_39_KG3_CB_DEBUG.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P017_39_KG3_CB_DEBUG.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_DEBUG.h $
7 //! $Revision: 2053 $
8 //! $Date: 2020-09-06 02:16:27 +0500 (So, 06 Sep 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_STM32F429.h"
54 
55 //! @brief Target P017_39_KG3_CB_DEBUG class.
57 {
58 
59  //----------------------------------------------------------------------------
60  // Public defines, methods and variables
61  //----------------------------------------------------------------------------
62 
63  public:
64 
65  //--------------------------------------------------------------------------
66  // Object initialisation and finalisation methods
67  //--------------------------------------------------------------------------
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  // Protected defines, methods and variables
93  //----------------------------------------------------------------------------
94 
95  protected:
96 
97  //----------------------------------------------------------------------------
98  // Private defines, methods and variables
99  //----------------------------------------------------------------------------
100 
101  private:
102 /*
103  // System Clock Frequency (Core Clock)
104  U32 u32_SYSCLK;
105  U32 u32_HCLK;
106  U32 u32_PCLK1;
107  U32 u32_PCLK2;
108  U32 u32_TCLK1;
109  U32 u32_TCLK2;
110  U32 u32_IWDG;
111 */
112  //! @brief Error flag
114 
115 };
116 
117 //------------------------------------------------------------------------------
118 // Export external references
119 //------------------------------------------------------------------------------
120 
121 extern "C" void System_Init( void );
122 
123 //------------------------------------------------------------------------------
124 // End Of File
125 //------------------------------------------------------------------------------
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
Target P017_39_KG3_CB_DEBUG class.
Definition: P017_39_KG3_CB_DEBUG.h:57
VOID Done()
Object finalisation method.
Definition: P017_39_KG3_CB_DEBUG.cpp:1273
VOID Init()
Object initialisation method.
Definition: P017_39_KG3_CB_DEBUG.cpp:1261
U32 u32_Error_Flag
Error flag.
Definition: P017_39_KG3_CB_DEBUG.h:113