CompileDES  3.13
Executable-Code Generation from Synchronised libFAUDES Automata
cgp_kinetis.h
Go to the documentation of this file.
1 
3 /*
4  FAU Discrete Event Systems Library (libFAUDES)
5 
6  Copyright (C) 2016 Thomas Moor
7 
8 */
9 
10 
11 
12 #ifndef FAUDES_KINETIS_H
13 #define FAUDES_KINETIS_H
14 
15 #include "libfaudes.h"
16 #include "cgp_embeddedc.h"
17 
18 using namespace faudes;
19 
20 
21 
108 
109 public:
110 
111  /*****************************************
112  *****************************************
113  *****************************************
114  *****************************************/
115 
122  KinetisCodeGenerator(void);
123 
127  virtual ~KinetisCodeGenerator(void);
128 
133  virtual void Clear(void);
134 
135 
138 protected:
139 
142 
144  std::string mKinetisInputControl;
145 
147  void DoCompile(void);
148 
150  void DoGenerate(void);
151 
153  virtual void InitialisePorts(void);
154 
157  void RunActionSet(const std::string& address);
158  void RunActionClr(const std::string& address);
159  AX ReadInputLine(const std::string& address);
160  std::string ParseLiteralPort(const std::string& port);
177  virtual void DoReadTargetConfiguration(TokenReader& rTr);
178 
190  virtual void DoWriteTargetConfiguration(TokenWriter& rTw) const;
191 
192 };
193 
194 
195 #endif
196 
Code-generator for target C.
Abstract expression; see also Absstract_Addresses.
Implementation of code primitives by generic C-code.
Definition: cgp_embeddedc.h:71
Target Freescale Kinetis micro-controllers (K20)
Definition: cgp_kinetis.h:107
std::string mKinetisInputControl
Kinetis code options.
Definition: cgp_kinetis.h:144
std::string mKinetisOutputControl
Kinetis code options.
Definition: cgp_kinetis.h:141