ConOpSys V2970  P004.07
ANVILEX control operating system
UART7_P017_39_KG3_CB.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file UART7_P017_39_KG3_CB.h
3 //! @brief System UART communication link 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/UART7_P017_39_KG3_CB.h $
7 //! $Revision: 2572 $
8 //! $Date: 2021-04-02 14:20:42 +0500 (Fr, 02 Apr 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 // System includes
45 //------------------------------------------------------------------------------
46 
47 #include "UART7_STM32F429.h"
48 
49 //------------------------------------------------------------------------------
50 // Project includes
51 //------------------------------------------------------------------------------
52 
53 //------------------------------------------------------------------------------
54 // forward references
55 //------------------------------------------------------------------------------
56 
57 //------------------------------------------------------------------------------
58 // macros
59 //------------------------------------------------------------------------------
60 
61 //------------------------------------------------------------------------------
62 // enums
63 //------------------------------------------------------------------------------
64 
65 //------------------------------------------------------------------------------
66 // Defines
67 //------------------------------------------------------------------------------
68 
69 //------------------------------------------------------------------------------
70 // Define command strings
71 //------------------------------------------------------------------------------
72 
73 //------------------------------------------------------------------------------
74 // Struct
75 //------------------------------------------------------------------------------
76 
77 //------------------------------------------------------------------------------
78 // Externe variables
79 //------------------------------------------------------------------------------
80 
81 //------------------------------------------------------------------------------
82 // Function prototypes
83 //------------------------------------------------------------------------------
84 
85 //------------------------------------------------------------------------------
86 // Export variables
87 //------------------------------------------------------------------------------
88 
89 //------------------------------------------------------------------------------
90 // Class declaration
91 //------------------------------------------------------------------------------
92 
93 //! @brief STM32F429 on-chip UART7 hardware abstraction layer class for P017_39_KG3_CB.
95 {
96 
97  //----------------------------------------------------------------------------
98  // Public defines, methods and variables
99  //----------------------------------------------------------------------------
100 
101  public:
102 
103  //!-------------------------------------------------------------------------
104  //! @brief PIO initialisation method
105  //! @note None
106  //! @return None
107  //! \par Override
108  //! Not allowed
109  //! @attention None
110  //--------------------------------------------------------------------------
111 
112  virtual VOID PIO_Init();
113 
114  //!-------------------------------------------------------------------------
115  //! @brief PIO reinitialisation as GPIO method
116  //! @note None
117  //! @return None
118  //! \par Override
119  //! Not allowed
120  //! @attention None
121  //--------------------------------------------------------------------------
122 
123  virtual VOID PIO_Done();
124 
125  //!-------------------------------------------------------------------------
126  //! @brief Set transmit mode method.
127  //! @note None
128  //! @return None
129  //! \par Override
130  //! Not allowed
131  //! @attention None
132  //--------------------------------------------------------------------------
133 
134  virtual VOID Set_Transmit_Mode();
135 
136  //!-------------------------------------------------------------------------
137  //! @brief Set receive mode method.
138  //! @note None
139  //! @return None
140  //! \par Override
141  //! Not allowed
142  //! @attention None
143  //--------------------------------------------------------------------------
144 
145  virtual VOID Set_Receive_Mode();
146 
147  //----------------------------------------------------------------------------
148  // Protected defines, methods and variables
149  //----------------------------------------------------------------------------
150 
151  protected:
152 
153  //----------------------------------------------------------------------------
154  // Private methods, variables and definitions
155  //----------------------------------------------------------------------------
156 
157  private:
158 
159 };
160 
161 //------------------------------------------------------------------------------
162 // End Of File
163 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
STM32F429 on-chip UART6 module class header file.
STM32F429 on-chip UART7 hardware abstraction layer class for P017_39_KG3_CB.
Definition: UART7_P017_39_KG3_CB.h:95
virtual VOID PIO_Init()
PIO initialisation method.
Definition: UART7_P017_39_KG3_CB.cpp:114
virtual VOID PIO_Done()
PIO reinitialisation as GPIO method.
Definition: UART7_P017_39_KG3_CB.cpp:158
virtual VOID Set_Receive_Mode()
Set receive mode method.
Definition: UART7_P017_39_KG3_CB.cpp:210
virtual VOID Set_Transmit_Mode()
Set transmit mode method.
Definition: UART7_P017_39_KG3_CB.cpp:198
STM32F429 on-chip UART7 hardware abstraction layer class.
Definition: UART7_STM32F429.h:62