12 #ifndef FAUDES_ATMEGA_H
13 #define FAUDES_ATMEGA_H
15 #include "libfaudes.h"
18 using namespace faudes;
141 virtual void Clear(
void);
161 void DoCompile(
void);
164 void DoGenerate(
void);
167 virtual void InitialisePorts(
void);
171 virtual AX TargetExpression(
const AA& address);
172 virtual std::string TargetAddress(
const AA& address);
173 void CintarrayDeclare(
const AA& address,
int offset,
const std::vector<int>& val);
174 AA CintarrayAccess(
const AA& address,
int index);
175 AA CintarrayAccess(
const AA& address,
const AA& indexaddr);
176 void CwordarrayDeclare(
const AA& address,
int offset,
const std::vector<word_t>& val);
177 AA CwordarrayAccess(
const AA& address,
int index);
178 AA CwordarrayAccess(
const AA& address,
const AA& indexaddr);
179 void CstrarrayDeclare(
const AA& address,
int offset,
const std::vector<std::string>& val);
180 AA CstrarrayAccess(
const AA& address,
int index);
181 AA CstrarrayAccess(
const AA& address,
const AA& indexaddr);
182 void RunActionSet(
const std::string& address);
183 void RunActionClr(
const std::string& address);
184 AX ReadInputLine(
const std::string& address);
199 virtual void DoReadTargetConfiguration(TokenReader& rTr);
212 virtual void DoWriteTargetConfiguration(TokenWriter& rTw)
const;
Code-generator for target C.
Target ATmega micro-controller (AVR8)
bool mATmegaProgmem
ATmega code options.
std::string mATmegaPgmReadInteger
ATmega code options.
bool mATmegaPullups
ATmega code options.
std::string mATmegaPgmReadWord
ATmega code options.
Abstract address; see also Absstract_Addresses.
Abstract expression; see also Absstract_Addresses.
Implementation of code primitives by generic C-code.