bessere Fehlerbehandlung
This commit is contained in:
parent
d658b12c5a
commit
434524c369
|
@ -1,120 +0,0 @@
|
|||
//#define B15F_CLI_DEBUG
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ncurses.h> // sudo apt-get install libncurses5-dev
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <signal.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <future>
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
#include "drv/b15f.h"
|
||||
#include "ui/ui.h"
|
||||
#include "ui/view_selection.h"
|
||||
#include "ui/view_info.h"
|
||||
#include "ui/view_monitor.h"
|
||||
#include "ui/view_promt.h"
|
||||
|
||||
constexpr uint8_t WIN_WIDTH = 80;
|
||||
constexpr uint8_t WIN_HEIGHT = 24;
|
||||
|
||||
volatile int win_changed_cooldown = 0;
|
||||
volatile bool t_refresh_active = false;
|
||||
|
||||
void signal_handler(int signal)
|
||||
{
|
||||
if(signal == SIGWINCH)
|
||||
{
|
||||
win_changed_cooldown = 10; // 100ms
|
||||
|
||||
if (!t_refresh_active)
|
||||
{
|
||||
if(t_refresh.joinable())
|
||||
t_refresh.join();
|
||||
t_refresh_active = true;
|
||||
t_refresh = std::thread([]()
|
||||
{
|
||||
|
||||
while(win_changed_cooldown--)
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
|
||||
t_refresh_active = false;
|
||||
|
||||
if(win_stack.size())
|
||||
win_stack.back()->repaint();
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
else if(signal == SIGINT)
|
||||
{
|
||||
cleanup();
|
||||
std::cout << "SIGINT - Abbruch." << std::endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
void abort_handler(std::exception& ex)
|
||||
{
|
||||
ViewInfo* view = new ViewInfo();
|
||||
view->setTitle("Fehler");
|
||||
std::string msg(ex.what());
|
||||
msg += "\n\nBeende in 5 Sekunden.";
|
||||
view->setText(msg.c_str());
|
||||
view->setLabelClose("");
|
||||
view->repaint();
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5000));
|
||||
|
||||
cleanup();
|
||||
std::cerr << std::endl << "*** EXCEPTION ***" << std::endl << ex.what() << std::endl;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
void init()
|
||||
{
|
||||
// init b15 driver
|
||||
B15F::getInstance();
|
||||
#ifndef B15F_CLI_DEBUG
|
||||
std::cout << std::endl << "Starte in 3s ..." << std::endl;
|
||||
sleep(3);
|
||||
#endif
|
||||
|
||||
// init all ncurses stuff
|
||||
initscr();
|
||||
start_color();
|
||||
curs_set(0); // 0: invisible, 1: normal, 2: very visible
|
||||
clear();
|
||||
noecho();
|
||||
cbreak(); // Line buffering disabled. pass on everything
|
||||
mousemask(ALL_MOUSE_EVENTS, NULL);
|
||||
|
||||
// connect signals to handler
|
||||
signal(SIGWINCH, signal_handler);
|
||||
signal(SIGINT, signal_handler);
|
||||
|
||||
// set view context
|
||||
View::setWinContext(newwin(WIN_HEIGHT, WIN_WIDTH, 0, 0));
|
||||
|
||||
// set graphical error handler
|
||||
B15F::setAbortHandler(&abort_handler);
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
init();
|
||||
|
||||
int exit_code = EXIT_SUCCESS;
|
||||
|
||||
show_main(0);
|
||||
|
||||
cleanup();
|
||||
|
||||
return exit_code;
|
||||
}
|
|
@ -24,8 +24,15 @@ void B15F::reconnect()
|
|||
delay_ms(RECONNECT_TIMEOUT);
|
||||
discard();
|
||||
|
||||
if (testConnection())
|
||||
return;
|
||||
try
|
||||
{
|
||||
testConnection();
|
||||
return; // no exceptionm means success
|
||||
}
|
||||
catch(DriverException& eDE)
|
||||
{
|
||||
// discard exception
|
||||
}
|
||||
}
|
||||
|
||||
abort("Verbindung kann nicht repariert werden");
|
||||
|
@ -54,7 +61,7 @@ void B15F::discard(void)
|
|||
}
|
||||
}
|
||||
|
||||
bool B15F::testConnection()
|
||||
void B15F::testConnection()
|
||||
{
|
||||
// erzeuge zufälliges Byte
|
||||
srand(time(NULL));
|
||||
|
@ -70,10 +77,11 @@ bool B15F::testConnection()
|
|||
uint8_t aw[2];
|
||||
usart.receive(&aw[0], 0, sizeof(aw));
|
||||
|
||||
return aw[0] == MSG_OK && aw[1] == dummy;
|
||||
assertCode(aw[0], MSG_OK);
|
||||
assertCode(aw[1], dummy);
|
||||
}
|
||||
|
||||
bool B15F::testIntConv()
|
||||
void B15F::testIntConv()
|
||||
{
|
||||
srand(time(NULL));
|
||||
uint16_t dummy = rand() % (0xFFFF / 3);
|
||||
|
@ -89,7 +97,7 @@ bool B15F::testIntConv()
|
|||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
return aw == dummy * 3;
|
||||
assertCode(aw, dummy * 3);
|
||||
}
|
||||
|
||||
|
||||
|
@ -643,22 +651,34 @@ void B15F::init()
|
|||
|
||||
|
||||
std::cout << PRE << "Teste Verbindung... " << std::flush;
|
||||
uint8_t tries = 3;
|
||||
while (tries--)
|
||||
int tries = 4;
|
||||
while (--tries)
|
||||
{
|
||||
// verwerfe Daten, die µC noch hat
|
||||
//discard();
|
||||
discard();
|
||||
|
||||
if (!testConnection())
|
||||
try
|
||||
{
|
||||
testConnection();
|
||||
}
|
||||
catch(DriverException& eDE)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!testIntConv())
|
||||
try
|
||||
{
|
||||
testIntConv();
|
||||
}
|
||||
catch(DriverException& eDE)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
if (tries == 0)
|
||||
if (!tries)
|
||||
abort("Verbindungstest fehlgeschlagen. Neueste Version im Einsatz?");
|
||||
|
||||
std::cout << "OK" << std::endl;
|
||||
|
||||
|
||||
|
|
|
@ -1,669 +0,0 @@
|
|||
#include "b15f.h"
|
||||
|
||||
B15F *B15F::instance = nullptr;
|
||||
errorhandler_t B15F::errorhandler = nullptr;
|
||||
|
||||
|
||||
/*************************************
|
||||
* Grundfunktionen des B15F Treibers *
|
||||
*************************************/
|
||||
|
||||
B15F &B15F::getInstance(void)
|
||||
{
|
||||
if (!instance)
|
||||
instance = new B15F();
|
||||
|
||||
return *instance;
|
||||
}
|
||||
|
||||
void B15F::reconnect()
|
||||
{
|
||||
uint8_t tries = RECONNECT_TRIES;
|
||||
while (tries--)
|
||||
{
|
||||
delay_ms(RECONNECT_TIMEOUT);
|
||||
discard();
|
||||
|
||||
if (testConnection())
|
||||
return;
|
||||
}
|
||||
|
||||
abort("Verbindung kann nicht repariert werden");
|
||||
}
|
||||
|
||||
void B15F::discard(void)
|
||||
{
|
||||
try
|
||||
{
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DISCARD
|
||||
};
|
||||
|
||||
usart.clearOutputBuffer();
|
||||
for (uint8_t i = 0; i < 16; i++)
|
||||
{
|
||||
usart.transmit(&rq[0], 0, sizeof(rq)); // sende discard Befehl (verwerfe input)
|
||||
delay_ms(4);
|
||||
}
|
||||
usart.clearInputBuffer();
|
||||
}
|
||||
catch (std::exception &ex)
|
||||
{
|
||||
abort(ex);
|
||||
}
|
||||
}
|
||||
|
||||
bool B15F::testConnection()
|
||||
{
|
||||
// erzeuge zufälliges Byte
|
||||
srand(time(NULL));
|
||||
uint8_t dummy = rand() % 256;
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_TEST,
|
||||
dummy
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw[2];
|
||||
usart.receive(&aw[0], 0, sizeof(aw));
|
||||
|
||||
return aw[0] == MSG_OK && aw[1] == dummy;
|
||||
}
|
||||
|
||||
bool B15F::testIntConv()
|
||||
{
|
||||
srand(time(NULL));
|
||||
uint16_t dummy = rand() % (0xFFFF / 3);
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_INT_TEST,
|
||||
static_cast<uint8_t >(dummy & 0xFF),
|
||||
static_cast<uint8_t >(dummy >> 8)
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
return aw == dummy * 3;
|
||||
}
|
||||
|
||||
|
||||
std::vector<std::string> B15F::getBoardInfo(void)
|
||||
{
|
||||
std::vector<std::string> info;
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_INFO
|
||||
};
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t n;
|
||||
usart.receive(&n, 0, sizeof(n));
|
||||
while (n--)
|
||||
{
|
||||
uint8_t len;
|
||||
usart.receive(&len, 0, sizeof(len));
|
||||
|
||||
char str[len + 1];
|
||||
str[len] = '\0';
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&str[0]), 0, len);
|
||||
|
||||
info.push_back(std::string(str));
|
||||
}
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
if (aw != MSG_OK)
|
||||
abort("Board Info fehlerhalft: code " + std::to_string((int) aw));
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
void B15F::delay_ms(uint16_t ms)
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(ms));
|
||||
}
|
||||
|
||||
void B15F::delay_us(uint16_t us)
|
||||
{
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(us));
|
||||
}
|
||||
|
||||
void B15F::reverse(uint8_t& b)
|
||||
{
|
||||
b = (b & 0xF0) >> 4 | (b & 0x0F) << 4;
|
||||
b = (b & 0xCC) >> 2 | (b & 0x33) << 2;
|
||||
b = (b & 0xAA) >> 1 | (b & 0x55) << 1;
|
||||
}
|
||||
|
||||
// https://stackoverflow.com/a/478960
|
||||
std::string B15F::exec(std::string cmd)
|
||||
{
|
||||
std::array<char, 128> buffer;
|
||||
std::string result;
|
||||
std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd.c_str(), "r"), pclose);
|
||||
if (!pipe)
|
||||
{
|
||||
throw std::runtime_error("popen() failed!");
|
||||
}
|
||||
while (fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr)
|
||||
{
|
||||
result += buffer.data();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void B15F::abort(std::string msg)
|
||||
{
|
||||
DriverException ex(msg);
|
||||
abort(ex);
|
||||
}
|
||||
|
||||
void B15F::abort(std::exception &ex)
|
||||
{
|
||||
if (errorhandler)
|
||||
errorhandler(ex);
|
||||
else
|
||||
{
|
||||
std::cout << ex.what() << std::endl;
|
||||
throw DriverException(ex.what());
|
||||
}
|
||||
}
|
||||
|
||||
void B15F::setAbortHandler(errorhandler_t func)
|
||||
{
|
||||
errorhandler = func;
|
||||
}
|
||||
|
||||
/*************************************/
|
||||
|
||||
|
||||
|
||||
/*************************
|
||||
* Steuerbefehle für B15 *
|
||||
*************************/
|
||||
|
||||
void B15F::activateSelfTestMode()
|
||||
{
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SELF_TEST
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_SELF_TEST);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
void B15F::digitalWrite0(uint8_t port)
|
||||
{
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DIGITAL_WRITE_0,
|
||||
port
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_DIGITAL_WRITE_0);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
void B15F::digitalWrite1(uint8_t port)
|
||||
{
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DIGITAL_WRITE_1,
|
||||
port
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_DIGITAL_WRITE_1);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
uint8_t B15F::digitalRead0()
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DIGITAL_READ_0
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_DIGITAL_READ_0);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
uint8_t B15F::digitalRead1()
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_DIGITAL_READ_1
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_DIGITAL_READ_1);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
uint8_t B15F::readDipSwitch()
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_READ_DIP_SWITCH
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_READ_DIP_SWITCH);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
|
||||
reverse(aw); // DIP Schalter muss invertiert werden!
|
||||
|
||||
return aw;
|
||||
}
|
||||
|
||||
void B15F::analogWrite0(uint16_t value)
|
||||
{
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ANALOG_WRITE_0,
|
||||
static_cast<uint8_t >(value & 0xFF),
|
||||
static_cast<uint8_t >(value >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_ANALOG_WRITE_0);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
void B15F::analogWrite1(uint16_t value)
|
||||
{
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ANALOG_WRITE_1,
|
||||
static_cast<uint8_t >(value & 0xFF),
|
||||
static_cast<uint8_t >(value >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_ANALOG_WRITE_1);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
uint16_t B15F::analogRead(uint8_t channel)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
if (channel > 7)
|
||||
abort("Bad ADC channel: " + std::to_string(channel));
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ANALOG_READ,
|
||||
channel
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_ANALOG_READ);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
|
||||
if (aw > 1023)
|
||||
abort("Bad ADC data detected (1)");
|
||||
return aw;
|
||||
}
|
||||
|
||||
void B15F::analogSequence(uint8_t channel_a, uint16_t *buffer_a, uint32_t offset_a, uint8_t channel_b, uint16_t *buffer_b,
|
||||
uint32_t offset_b, uint16_t start, int16_t delta, uint16_t count)
|
||||
{
|
||||
// prepare pointers
|
||||
buffer_a += offset_a;
|
||||
buffer_b += offset_b;
|
||||
|
||||
|
||||
usart.clearInputBuffer();
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_ADC_DAC_STROKE,
|
||||
channel_a,
|
||||
channel_b,
|
||||
static_cast<uint8_t >(start & 0xFF),
|
||||
static_cast<uint8_t >(start >> 8),
|
||||
static_cast<uint8_t >(delta & 0xFF),
|
||||
static_cast<uint8_t >(delta >> 8),
|
||||
static_cast<uint8_t >(count & 0xFF),
|
||||
static_cast<uint8_t >(count >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_ADC_DAC_STROKE);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
for (uint16_t i = 0; i < count; i++)
|
||||
{
|
||||
if (buffer_a)
|
||||
{
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&buffer_a[i]), 0, 2);
|
||||
|
||||
if (buffer_a[i] > 1023) // check for broken usart connection
|
||||
abort("Bad ADC data detected (2)");
|
||||
}
|
||||
else
|
||||
{
|
||||
usart.drop(2);
|
||||
}
|
||||
|
||||
if (buffer_b)
|
||||
{
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&buffer_b[i]), 0, 2);
|
||||
|
||||
if (buffer_b[i] > 1023) // check for broken usart connection
|
||||
abort("Bad ADC data detected (3)");
|
||||
}
|
||||
else
|
||||
{
|
||||
usart.drop(2);
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
uint8_t B15F::pwmSetFrequency(uint32_t freq)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_PWM_SET_FREQ,
|
||||
static_cast<uint8_t>((freq >> 0) & 0xFF),
|
||||
static_cast<uint8_t>((freq >> 8) & 0xFF),
|
||||
static_cast<uint8_t>((freq >> 16) & 0xFF),
|
||||
static_cast<uint8_t>((freq >> 24) & 0xFF)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_PWM_SET_FREQ);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
void B15F::pwmSetValue(uint8_t value)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_PWM_SET_VALUE,
|
||||
value
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_PWM_SET_VALUE);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
void B15F::setMem8(volatile uint8_t* adr, uint8_t val)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SET_MEM_8,
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) & 0xFF),
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) >> 8),
|
||||
val
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_SET_MEM_8);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
uint8_t B15F::getMem8(volatile uint8_t* adr)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_GET_MEM_8,
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) & 0xFF),
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_GET_MEM_8);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
void B15F::setMem16(volatile uint16_t* adr, uint16_t val)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SET_MEM_16,
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) & 0xFF),
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) >> 8),
|
||||
static_cast<uint8_t >(val & 0xFF),
|
||||
static_cast<uint8_t >(val >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_SET_MEM_16);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
uint16_t B15F::getMem16(volatile uint16_t* adr)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_GET_MEM_16,
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) & 0xFF),
|
||||
static_cast<uint8_t >(reinterpret_cast<size_t>(adr) >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_GET_MEM_16);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
return aw;
|
||||
}
|
||||
|
||||
void B15F::setRegister(volatile uint8_t* adr, uint8_t val)
|
||||
{
|
||||
setMem8(adr, val);
|
||||
}
|
||||
|
||||
uint8_t B15F::getRegister(volatile uint8_t* adr)
|
||||
{
|
||||
return getMem8(adr);
|
||||
}
|
||||
|
||||
uint16_t* B15F::getInterruptCounterOffset()
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_COUNTER_OFFSET
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_COUNTER_OFFSET);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint16_t aw;
|
||||
usart.receive(reinterpret_cast<uint8_t *>(&aw), 0, sizeof(aw));
|
||||
return reinterpret_cast<uint16_t*>(aw);
|
||||
}
|
||||
|
||||
void B15F::setServoEnabled(void)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SERVO_ENABLE
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_SERVO_ENABLE);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
void B15F::setServoDisabled(void)
|
||||
{
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SERVO_DISABLE
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_SERVO_DISABLE);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
void B15F::setServoPosition(uint16_t pos)
|
||||
{
|
||||
if(pos > 19000)
|
||||
throw DriverException("Impulslänge ist zu lang: " + std::to_string(pos));
|
||||
|
||||
usart.clearInputBuffer();
|
||||
|
||||
uint8_t rq[] =
|
||||
{
|
||||
RQ_SERVO_SET_POS,
|
||||
static_cast<uint8_t >(pos & 0xFF),
|
||||
static_cast<uint8_t >(pos >> 8)
|
||||
};
|
||||
|
||||
assertRequestLength(rq, RQ_SERVO_SET_POS);
|
||||
usart.transmit(&rq[0], 0, sizeof(rq));
|
||||
|
||||
uint8_t aw;
|
||||
usart.receive(&aw, 0, sizeof(aw));
|
||||
assertCode(aw, MSG_OK);
|
||||
}
|
||||
|
||||
/*************************/
|
||||
|
||||
|
||||
/**********************
|
||||
* Private Funktionen *
|
||||
**********************/
|
||||
|
||||
B15F::B15F()
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
void B15F::init()
|
||||
{
|
||||
|
||||
#ifdef __arm__
|
||||
// Raspberry Pi serial interface
|
||||
std::string device = exec("bash -c 'ls /dev/ttyAMA* 2> /dev/null'");
|
||||
#else
|
||||
// normal PC serial interface
|
||||
std::string device = exec("bash -c 'ls /dev/ttyUSB* 2> /dev/null'");
|
||||
#endif
|
||||
|
||||
while (device.find(' ') != std::string::npos || device.find('\n') != std::string::npos ||
|
||||
device.find('\t') != std::string::npos)
|
||||
device.pop_back();
|
||||
|
||||
if (device.length() == 0)
|
||||
abort("Adapter nicht gefunden");
|
||||
|
||||
std::cout << PRE << "Verwende Adapter: " << device << std::endl;
|
||||
|
||||
|
||||
std::cout << PRE << "Stelle Verbindung mit Adapter her... " << std::flush;
|
||||
usart.setBaudrate(BAUDRATE);
|
||||
usart.openDevice(device);
|
||||
std::cout << "OK" << std::endl;
|
||||
|
||||
|
||||
std::cout << PRE << "Teste Verbindung... " << std::flush;
|
||||
uint8_t tries = 3;
|
||||
while (tries--)
|
||||
{
|
||||
// verwerfe Daten, die µC noch hat
|
||||
//discard();
|
||||
|
||||
if (!testConnection())
|
||||
continue;
|
||||
|
||||
if (!testIntConv())
|
||||
continue;
|
||||
|
||||
break;
|
||||
}
|
||||
if (tries == 0)
|
||||
abort("Verbindungstest fehlgeschlagen. Neueste Version im Einsatz?");
|
||||
std::cout << "OK" << std::endl;
|
||||
|
||||
|
||||
// Gib board info aus
|
||||
std::vector<std::string> info = getBoardInfo();
|
||||
std::cout << PRE << "AVR Firmware Version: " << info[0] << " um " << info[1] << " Uhr (" << info[2] << ")"
|
||||
<< std::endl;
|
||||
}
|
|
@ -27,6 +27,10 @@
|
|||
|
||||
typedef std::function<void(std::exception&)> errorhandler_t;
|
||||
|
||||
// Wrapper für Codeposition-Ersetzung
|
||||
#define assertCode(code, expectation) assertCodeFunc(code, expectation, &__FUNCTION__[0], &__FILE__[0], __LINE__)
|
||||
#define assertRequestLength(rq, rq_num) assertRequestLengthFunc(rq, rq_num,& __FUNCTION__[0], &__FILE__[0], __LINE__)
|
||||
|
||||
|
||||
/*! main driver class */
|
||||
|
||||
|
@ -60,13 +64,13 @@ public:
|
|||
* Testet die USART Verbindung auf Funktion
|
||||
* \throws DriverException
|
||||
*/
|
||||
bool testConnection(void);
|
||||
void testConnection(void);
|
||||
|
||||
/**
|
||||
* Testet die Integer Konvertierung der USART Verbindung
|
||||
* \throws DriverException
|
||||
*/
|
||||
bool testIntConv(void);
|
||||
void testIntConv(void);
|
||||
|
||||
/**
|
||||
* Liefert Informationen zur aktuellen Firmware des B15
|
||||
|
@ -330,10 +334,10 @@ private:
|
|||
* \throws DriverException
|
||||
*/
|
||||
template<typename CodeType, typename ExpectationType>
|
||||
void assertCode(CodeType& code, ExpectationType expectation) const
|
||||
void assertCodeFunc(CodeType& code, ExpectationType expectation, const char* func, const char* file, int line) const
|
||||
{
|
||||
if(code != static_cast<CodeType>(expectation))
|
||||
throw DriverException("Ungültige Antwort erhalten: " + std::to_string((int) code) + " (erwartet: " + std::to_string((int) expectation) + ")");
|
||||
throw DriverException("Ungültige Antwort erhalten: " + std::to_string((int) code) + " (erwartet: " + std::to_string((int) expectation) + ") in " + std::string(func) + ": " + std::string(file) + "#" + std::to_string(line));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -341,10 +345,10 @@ private:
|
|||
* \throws DriverException
|
||||
*/
|
||||
template<size_t RequestLength>
|
||||
void assertRequestLength(uint8_t (&)[RequestLength], uint8_t rq_num)
|
||||
void assertRequestLengthFunc(uint8_t (&)[RequestLength], uint8_t rq_num, const char* func, const char* file, int line)
|
||||
{
|
||||
if(RequestLength != rq_len[rq_num])
|
||||
throw DriverException("Ungültige Request Länge: " + std::to_string(RequestLength) + " (erwartet: " + std::to_string(rq_len[rq_num]) + ")");
|
||||
throw DriverException("Ungültige Request Länge: " + std::to_string(RequestLength) + " (erwartet: " + std::to_string(rq_len[rq_num]) + ") in " + std::string(func) + ": " + std::string(file) + "#" + std::to_string(line));
|
||||
}
|
||||
|
||||
USART usart; //!< USART Instanz für serielle Verbindung
|
||||
|
|
|
@ -1,355 +0,0 @@
|
|||
#ifndef B15F_H
|
||||
#define B15F_H
|
||||
|
||||
#include <iostream>
|
||||
#include <bits/stdc++.h>
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
#include <cstdlib>
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <termios.h>
|
||||
|
||||
#include "requests.h"
|
||||
#include "usart.h"
|
||||
#include "driverexception.h"
|
||||
#include "timeoutexception.h"
|
||||
|
||||
// wichtig für die Register-Zugriffe
|
||||
#define _AVR_IO_H_ 1 // Erzwinge die Inklusion
|
||||
#include "/usr/lib/avr/include/avr/sfr_defs.h"
|
||||
#include "/usr/lib/avr/include/avr/iom1284p.h"
|
||||
|
||||
typedef std::function<void(std::exception&)> errorhandler_t;
|
||||
|
||||
|
||||
/*! main driver class */
|
||||
|
||||
class B15F
|
||||
{
|
||||
public:
|
||||
|
||||
/*************************************
|
||||
* Grundfunktionen des B15F Treibers *
|
||||
*************************************/
|
||||
|
||||
/**
|
||||
* Liefert eine Referenz zur aktuellen Treiber-Instanz, die Verbindung wird gegebenenfalls automatisch hergestellt.
|
||||
* @throws DriverException
|
||||
*/
|
||||
static B15F& getInstance(void);
|
||||
|
||||
/**
|
||||
* Versucht die Verbindung zum B15 wiederherzustellen
|
||||
* \throws DriverException
|
||||
*/
|
||||
void reconnect(void);
|
||||
|
||||
/**
|
||||
* Verwirft Daten im USART Puffer auf dieser Maschine und B15
|
||||
* \throws DriverException
|
||||
*/
|
||||
void discard(void);
|
||||
|
||||
/**
|
||||
* Testet die USART Verbindung auf Funktion
|
||||
* \throws DriverException
|
||||
*/
|
||||
bool testConnection(void);
|
||||
|
||||
/**
|
||||
* Testet die Integer Konvertierung der USART Verbindung
|
||||
* \throws DriverException
|
||||
*/
|
||||
bool testIntConv(void);
|
||||
|
||||
/**
|
||||
* Liefert Informationen zur aktuellen Firmware des B15
|
||||
* \throws DriverException
|
||||
*/
|
||||
std::vector<std::string> getBoardInfo(void);
|
||||
|
||||
/**
|
||||
* Lässt den Treiber für eine angegebene Zeit pausieren
|
||||
* \param ms Verzögerung in Millisekunden
|
||||
*/
|
||||
void delay_ms(uint16_t ms);
|
||||
|
||||
/**
|
||||
* Lässt den Treiber für eine angegebene Zeit pausieren
|
||||
* \param us Verzögerung in Microsekunden
|
||||
*/
|
||||
void delay_us(uint16_t us);
|
||||
|
||||
/**
|
||||
* Invertiert das Bitmuster eines Bytes
|
||||
* z.B.: 10100001 --> 10000101
|
||||
* \param b Byte, das invertiert wird
|
||||
*/
|
||||
void reverse(uint8_t& b);
|
||||
|
||||
/**
|
||||
* Führt ein Befehl auf dieser Maschine aus und liefert stdout zurück
|
||||
* \param cmd Der Befehl
|
||||
*/
|
||||
static std::string exec(std::string cmd);
|
||||
|
||||
/**
|
||||
* Multithread sicherer Abbruch des B15F-Treibers
|
||||
* \param msg Beschreibung der Abbruchursache
|
||||
*/
|
||||
static void abort(std::string msg);
|
||||
|
||||
/**
|
||||
* Multithread sicherer Abbruch des B15F-Treibers
|
||||
* \param ex Exception als Abbruchursache
|
||||
*/
|
||||
static void abort(std::exception& ex);
|
||||
|
||||
/**
|
||||
* Setzt eine Fehlerbehandlungsroutine für den Treiberabbruch (abort)
|
||||
* \param func Funktion, die Exception als Parameter bekommt
|
||||
*/
|
||||
static void setAbortHandler(errorhandler_t func);
|
||||
|
||||
/*************************************/
|
||||
|
||||
|
||||
|
||||
/*************************
|
||||
* Steuerbefehle für B15 *
|
||||
*************************/
|
||||
|
||||
/**
|
||||
* Versetzt das Board in den Selbsttest-Modus
|
||||
* WICHTIG: Es darf dabei nichts an den Klemmen angeschlossen sein!
|
||||
* \throws DriverException
|
||||
*/
|
||||
void activateSelfTestMode(void);
|
||||
|
||||
/**
|
||||
* Setzt den Wert des digitalen Ausgabeports 0
|
||||
* \param port Wert für gesamten Port
|
||||
* \throws DriverException
|
||||
*/
|
||||
void digitalWrite0(uint8_t);
|
||||
|
||||
/**
|
||||
* Setzt den Wert des digitalen Ausgabeports 1
|
||||
* \param port Wert für gesamten Port
|
||||
* \throws DriverException
|
||||
*/
|
||||
void digitalWrite1(uint8_t);
|
||||
|
||||
/**
|
||||
* Liest den Wert des digitalen Eingabeports 0
|
||||
* \return Wert für gesamten Port
|
||||
* \throws DriverException
|
||||
*/
|
||||
uint8_t digitalRead0(void);
|
||||
|
||||
/**
|
||||
* Liest den Wert des digitalen Eingabeports 1
|
||||
* \return Wert für gesamten Port
|
||||
* \throws DriverException
|
||||
*/
|
||||
uint8_t digitalRead1(void);
|
||||
|
||||
/**
|
||||
* Liest den Wert des digitalen Eingabeports, an dem der DIP-switch angeschlossen ist (S7)
|
||||
* \return Wert für gesamten Port
|
||||
* \throws DriverException
|
||||
*/
|
||||
uint8_t readDipSwitch(void);
|
||||
|
||||
/**
|
||||
* Setzt den Wert des Digital-Analog-Converters (DAC / DAU) 0
|
||||
* \param port 10-Bit Wert
|
||||
* \throws DriverException
|
||||
*/
|
||||
void analogWrite0(uint16_t port);
|
||||
|
||||
/**
|
||||
* Setzt den Wert des Digital-Analog-Converters (DAC / DAU) 1
|
||||
* \param port 10-Bit Wert
|
||||
* \throws DriverException
|
||||
*/
|
||||
void analogWrite1(uint16_t port);
|
||||
|
||||
/**
|
||||
* Liest den Wert des Analog-Digital-Converters (ADC / ADU)
|
||||
* \param channel Kanalwahl von 0 - 7
|
||||
* \throws DriverException
|
||||
*/
|
||||
uint16_t analogRead(uint8_t channel);
|
||||
|
||||
/**
|
||||
* DAC 0 wird auf den Startwert gesetzt und dann schrittweise um Delta inkrementiert.
|
||||
* Für jeden eingestelleten DAC-Wert werden zwei ADCs (channel_a und channel_b) angesprochen und die Werte übermittelt.
|
||||
* Die Werte werden in buffer_a für Kanal a und buffer_b für Kanal b gespeichert.
|
||||
* \param channel_a Auswahl des ADC a, von 0 - 7
|
||||
* \param buffer_a Speichertort für Werte des Kanals a
|
||||
* \param offset_a Anzahl an Werten des Kanals a, die im Speicher übersprungen werden sollen
|
||||
* \param channel_b Auswahl des ADC b, von 0 - 7
|
||||
* \param buffer_b Speichertort für Werte des Kanals b
|
||||
* \param offset_b Anzahl an Werten des Kanals b, die im Speicher übersprungen werden
|
||||
* \param start Startwert des DACs
|
||||
* \param delta Schrittweite, mit welcher der DAC inkrementiert wird
|
||||
* \param count Anzahl an Inkrementierungen
|
||||
* \throws DriverException
|
||||
*/
|
||||
void analogSequence(uint8_t channel_a, uint16_t* buffer_a, uint32_t offset_a, uint8_t channel_b, uint16_t* buffer_b, uint32_t offset_b, uint16_t start, int16_t delta, uint16_t count);
|
||||
|
||||
/**
|
||||
* Frequenz von PWM an PB4.
|
||||
* Setzt die Register so, dass näherungsweise die gewünschte Frequenz erzeugt wird.
|
||||
* Ist freq == 0 wird PWM deaktiviert.
|
||||
* Standardfrequenz: 31300 (empfohlen, da dann TOP == 255)
|
||||
* \param freq PWM Frequenz
|
||||
* \return TOP Wert des PWM Value für die gesetzte Frequenz
|
||||
* \throws DriverException
|
||||
*/
|
||||
uint8_t pwmSetFrequency(uint32_t freq);
|
||||
|
||||
/**
|
||||
* Setzt den PWM Wert an PB4.
|
||||
* \param value PWM Wert [0..TOP]
|
||||
* \throws DriverException
|
||||
*/
|
||||
void pwmSetValue(uint8_t value);
|
||||
|
||||
/**
|
||||
* Setzt direkt den Wert einer MCU Speicherzelle der Größe 8 Bit.
|
||||
* Diese kann ein Register oder RAM-Daten sein.
|
||||
* *Wichtig:* bei einer falschen Adresse kann das Board 15 ernsthaften Schaden nehmen!
|
||||
* \param adr Speicheradresse
|
||||
* \param val Neuer Wert für die Zelle
|
||||
* \return true, falls Vorgang erfolgreich
|
||||
*/
|
||||
void setMem8(volatile uint8_t* adr, uint8_t val);
|
||||
|
||||
/**
|
||||
* Liefert den Wert einer MCU Speicherzelle der Größe 8 Bit.
|
||||
* Diese kann ein Register oder RAM-Daten sein.
|
||||
* \param adr Speicheradresse
|
||||
* \return Wert der Speicherzelle
|
||||
*/
|
||||
uint8_t getMem8(volatile uint8_t* adr);
|
||||
|
||||
/**
|
||||
* Setzt direkt den Wert einer MCU Speicherzelle der Größe 16 Bit.
|
||||
* Diese kann ein Register oder RAM-Daten sein.
|
||||
* *Wichtig:* bei einer falschen Adresse kann das Board 15 ernsthaften Schaden nehmen!
|
||||
* \param adr Speicheradresse
|
||||
* \param val Neuer Wert für die Zelle
|
||||
* \throws DriverException
|
||||
*/
|
||||
void setMem16(volatile uint16_t* adr, uint16_t val);
|
||||
|
||||
/**
|
||||
* Liefert den Wert einer MCU Speicherzelle der Größe 16 Bit.
|
||||
* Diese kann ein Register oder RAM-Daten sein.
|
||||
* \param adr Speicheradresse
|
||||
* \return Wert der Speicherzelle
|
||||
*/
|
||||
uint16_t getMem16(volatile uint16_t* adr);
|
||||
|
||||
/**
|
||||
* Diese Funktion ist ein Alias für setMem8().
|
||||
* *Wichtig:* bei einer falschen Adresse kann das Board 15 ernsthaften Schaden nehmen!
|
||||
* \param adr Speicheradresse
|
||||
* \param val Neuer Wert für das Register
|
||||
* \throws DriverException
|
||||
*/
|
||||
void setRegister(volatile uint8_t* adr, uint8_t val);
|
||||
|
||||
/**
|
||||
* Diese Funktion ist ein Alias für getMem8().
|
||||
* \param adr Speicheradresse
|
||||
* \return Wert des Registers
|
||||
*/
|
||||
uint8_t getRegister(volatile uint8_t* adr);
|
||||
|
||||
/**
|
||||
* Liefert die Adresse des ersten Interrupt Counters (BASISR).
|
||||
* \return Adresse (in der MCU)
|
||||
*/
|
||||
uint16_t* getInterruptCounterOffset(void);
|
||||
|
||||
/**
|
||||
* Aktiviert das Servo Signal an PB2 und Initialisiert es mit 1,5ms Pulselänge.
|
||||
* \throws DriverException
|
||||
*/
|
||||
void setServoEnabled(void);
|
||||
|
||||
/**
|
||||
* Deaktiviert das Servo Signal an PB2.
|
||||
* \throws DriverException
|
||||
*/
|
||||
void setServoDisabled(void);
|
||||
|
||||
/**
|
||||
* Setzt die Pulselänge des Servo Signals und damit die Position.
|
||||
* \param pos Pulselänge des Signals in Mikrosekunden
|
||||
* \throws DriverException
|
||||
*/
|
||||
void setServoPosition(uint16_t pos);
|
||||
|
||||
/*************************/
|
||||
|
||||
|
||||
// CONSTANTS
|
||||
const std::string PRE = "[B15F] "; //!< B15F stdout prefix
|
||||
constexpr static uint8_t MSG_OK = 0xFF; //!< Value to acknowledge a received command
|
||||
constexpr static uint8_t MSG_FAIL = 0xFE; //!< Value to reject a received command
|
||||
constexpr static uint16_t RECONNECT_TIMEOUT = 64; //!< Time in ms after which a reconnect attempt aborts
|
||||
constexpr static uint16_t WDT_TIMEOUT = 15; //!< Time in ms after which the watch dog timer resets the MCU
|
||||
constexpr static uint8_t RECONNECT_TRIES = 3; //!< Maximum count of reconnect attempts after which the driver stops
|
||||
constexpr static uint32_t BAUDRATE = 57600; //!< USART baudrate for communication with the MCU
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
* Privater Konstruktor
|
||||
*/
|
||||
B15F(void);
|
||||
|
||||
/**
|
||||
* Initialisiert und testet die Verbindung zum B15
|
||||
* \throws DriverException
|
||||
*/
|
||||
void init(void);
|
||||
|
||||
/**
|
||||
* Wirft eine Exception, falls der Code ungleich dem erwarteten Wert ist.
|
||||
* \throws DriverException
|
||||
*/
|
||||
template<typename CodeType, typename ExpectationType>
|
||||
void assertCode(CodeType& code, ExpectationType expectation) const
|
||||
{
|
||||
if(code != static_cast<CodeType>(expectation))
|
||||
throw DriverException("Ungültige Antwort erhalten: " + std::to_string((int) code) + " (erwartet: " + std::to_string((int) expectation) + ")");
|
||||
}
|
||||
|
||||
/**
|
||||
* Wirft eine Exception, falls die Request die falsche Länge hat.
|
||||
* \throws DriverException
|
||||
*/
|
||||
template<size_t RequestLength>
|
||||
void assertRequestLength(uint8_t (&)[RequestLength], uint8_t rq_num)
|
||||
{
|
||||
if(RequestLength != rq_len[rq_num])
|
||||
throw DriverException("Ungültige Request Länge: " + std::to_string(RequestLength) + " (erwartet: " + std::to_string(rq_len[rq_num]) + ")");
|
||||
}
|
||||
|
||||
USART usart; //!< USART Instanz für serielle Verbindung
|
||||
static B15F* instance; //!< private Instanz für Singleton
|
||||
static errorhandler_t errorhandler; //!< Error Handler für Exceptions und Fehler
|
||||
};
|
||||
|
||||
#endif // B15F_H
|
|
@ -85,7 +85,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -108,13 +108,13 @@ $(function() {
|
|||
<tr class="even"><td class="entry"><a class="el" href="classB15F.html#aad1b3206761c06c7183ae1b8b95b350b">setServoDisabled</a>(void)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classB15F.html#ab23d8c5a0b520b9d12d94a04f90fcfa0">setServoEnabled</a>(void)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classB15F.html#aa76f289274e5d0be41c5d4a58b52a416">setServoPosition</a>(uint16_t pos)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classB15F.html#af01983594f2af98ab2b1e514aa036a5d">testConnection</a>(void)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78">testIntConv</a>(void)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83">testConnection</a>(void)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db">testIntConv</a>(void)</td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="classB15F.html#a158d13bc84aed6430cdede1396384e06">WDT_TIMEOUT</a></td><td class="entry"><a class="el" href="classB15F.html">B15F</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -81,10 +81,10 @@ Public Member Functions</h2></td></tr>
|
|||
<tr class="separator:a52557b375443c180a044e7d4e80a1ae7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae4740cd473f40a1a4121dfa66b25e1d5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ae4740cd473f40a1a4121dfa66b25e1d5">discard</a> (void)</td></tr>
|
||||
<tr class="separator:ae4740cd473f40a1a4121dfa66b25e1d5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af01983594f2af98ab2b1e514aa036a5d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#af01983594f2af98ab2b1e514aa036a5d">testConnection</a> (void)</td></tr>
|
||||
<tr class="separator:af01983594f2af98ab2b1e514aa036a5d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7b8a0e2a9156f7dcb05d097f23666a78"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78">testIntConv</a> (void)</td></tr>
|
||||
<tr class="separator:a7b8a0e2a9156f7dcb05d097f23666a78"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6b8c7da1fb9b619543844e0ce7597d83"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83">testConnection</a> (void)</td></tr>
|
||||
<tr class="separator:a6b8c7da1fb9b619543844e0ce7597d83"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac2c7b6d84da5239ee7cc3d44e689d9db"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db">testIntConv</a> (void)</td></tr>
|
||||
<tr class="separator:ac2c7b6d84da5239ee7cc3d44e689d9db"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4f01677e73d6d172a2c1cae9427a591b"><td class="memItemLeft" align="right" valign="top">std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#a4f01677e73d6d172a2c1cae9427a591b">getBoardInfo</a> (void)</td></tr>
|
||||
<tr class="separator:a4f01677e73d6d172a2c1cae9427a591b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaffce20afb9f06bc4b7556c70ce76416"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classB15F.html#aaffce20afb9f06bc4b7556c70ce76416">delay_ms</a> (uint16_t ms)</td></tr>
|
||||
|
@ -188,7 +188,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>main driver class </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8h_source.html#l00033">33</a> of file <a class="el" href="b15f_8h_source.html">b15f.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8h_source.html#l00037">37</a> of file <a class="el" href="b15f_8h_source.html">b15f.h</a>.</p>
|
||||
</div><h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="ac962a6a49bddd0e261a8c7d3aded23f8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac962a6a49bddd0e261a8c7d3aded23f8">◆ </a></span>abort() <span class="overload">[1/2]</span></h2>
|
||||
|
@ -220,7 +220,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00167">167</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00175">175</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -254,7 +254,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00161">161</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00169">169</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -280,7 +280,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00190">190</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00198">198</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -312,7 +312,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00322">322</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00330">330</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -404,7 +404,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00345">345</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00353">353</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -436,7 +436,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00288">288</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00296">296</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -468,7 +468,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00305">305</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00313">313</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -494,7 +494,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00127">127</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00135">135</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -520,7 +520,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00132">132</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00140">140</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -547,7 +547,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00237">237</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00245">245</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -574,7 +574,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00253">253</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00261">261</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -606,7 +606,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00205">205</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00213">213</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -638,7 +638,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00221">221</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00229">229</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -664,7 +664,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00033">33</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00040">40</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -698,7 +698,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00145">145</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00153">153</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -724,7 +724,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00095">95</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00103">103</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -779,7 +779,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</div><div class="memdoc">
|
||||
<p>Liefert die Adresse des ersten Interrupt Counters (BASISR). </p><dl class="section return"><dt>Returns</dt><dd>Adresse (in der MCU) </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00530">530</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00538">538</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -806,7 +806,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Wert der Speicherzelle </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00501">501</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00509">509</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -833,7 +833,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Wert der Speicherzelle </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00461">461</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00469">469</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -860,7 +860,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Wert des Registers </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00525">525</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00533">533</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -893,7 +893,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00402">402</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00410">410</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -925,7 +925,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00423">423</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00431">431</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -952,7 +952,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00269">269</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00277">277</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1004,7 +1004,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00137">137</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00145">145</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1038,7 +1038,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00178">178</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00186">186</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1081,7 +1081,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00480">480</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00488">488</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1119,7 +1119,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>true, falls Vorgang erfolgreich </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00441">441</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00449">449</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1162,7 +1162,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00520">520</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00528">528</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1188,7 +1188,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00564">564</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00572">572</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1214,7 +1214,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00547">547</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00555">555</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1246,18 +1246,18 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00581">581</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00589">589</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af01983594f2af98ab2b1e514aa036a5d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af01983594f2af98ab2b1e514aa036a5d">◆ </a></span>testConnection()</h2>
|
||||
<a id="a6b8c7da1fb9b619543844e0ce7597d83"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6b8c7da1fb9b619543844e0ce7597d83">◆ </a></span>testConnection()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool B15F::testConnection </td>
|
||||
<td class="memname">void B15F::testConnection </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
|
@ -1272,18 +1272,18 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00056">56</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00063">63</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a7b8a0e2a9156f7dcb05d097f23666a78"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7b8a0e2a9156f7dcb05d097f23666a78">◆ </a></span>testIntConv()</h2>
|
||||
<a id="ac2c7b6d84da5239ee7cc3d44e689d9db"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac2c7b6d84da5239ee7cc3d44e689d9db">◆ </a></span>testIntConv()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">bool B15F::testIntConv </td>
|
||||
<td class="memname">void B15F::testIntConv </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
|
@ -1298,7 +1298,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00075">75</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="b15f_8cpp_source.html#l00083">83</a> of file <a class="el" href="b15f_8cpp_source.html">b15f.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1309,7 +1309,7 @@ constexpr static uint32_t </td><td class="memItemRight" valign="bottom"><a
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -76,7 +76,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -196,7 +196,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -109,7 +109,7 @@ std::string </td><td class="memItemRight" valign="bottom"><b>msg_</b></td><
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -100,7 +100,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -811,7 +811,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -239,7 +239,7 @@ std::string </td><td class="memItemRight" valign="bottom"><a class="el" hre
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -86,7 +86,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -523,7 +523,7 @@ Public Member Functions</h2></td></tr>
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -239,7 +239,7 @@ std::string </td><td class="memItemRight" valign="bottom"><a class="el" hre
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -89,7 +89,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -157,7 +157,7 @@ constexpr static int </td><td class="memItemRight" valign="bottom"><b>KEY_E
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -99,7 +99,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -185,7 +185,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -103,7 +103,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -197,7 +197,7 @@ constexpr static int </td><td class="memItemRight" valign="bottom"><b>KEY_E
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -205,7 +205,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -94,7 +94,7 @@ $(function() {
|
|||
</table></div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -172,7 +172,7 @@ static std::vector< std::string > </td><td class="memItemRight" valig
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -105,7 +105,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -73,7 +73,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -77,7 +77,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDot_html_ad975f119c0627a928790b3cd5ca6da05"><div class="ttname"><a href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot::Dot</a></div><div class="ttdeci">Dot(uint16_t x, uint16_t y, uint8_t curve)</div><div class="ttdef"><b>Definition:</b> <a href="dot_8cpp_source.html#l00003">dot.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -78,7 +78,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDot_html_ad975f119c0627a928790b3cd5ca6da05"><div class="ttname"><a href="classDot.html#ad975f119c0627a928790b3cd5ca6da05">Dot::Dot</a></div><div class="ttdeci">Dot(uint16_t x, uint16_t y, uint8_t curve)</div><div class="ttdef"><b>Definition:</b> <a href="dot_8cpp_source.html#l00003">dot.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassDriverException_html"><div class="ttname"><a href="classDriverException.html">DriverException</a></div><div class="ttdef"><b>Definition:</b> <a href="driverexception_8h_source.html#l00010">driverexception.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -100,7 +100,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -355,10 +355,10 @@ $(function() {
|
|||
|
||||
<h3><a id="index_t"></a>- t -</h3><ul>
|
||||
<li>testConnection()
|
||||
: <a class="el" href="classB15F.html#af01983594f2af98ab2b1e514aa036a5d">B15F</a>
|
||||
: <a class="el" href="classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83">B15F</a>
|
||||
</li>
|
||||
<li>testIntConv()
|
||||
: <a class="el" href="classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78">B15F</a>
|
||||
: <a class="el" href="classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db">B15F</a>
|
||||
</li>
|
||||
<li>TimeoutException()
|
||||
: <a class="el" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a>
|
||||
|
@ -407,7 +407,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -325,10 +325,10 @@ $(function() {
|
|||
|
||||
<h3><a id="index_t"></a>- t -</h3><ul>
|
||||
<li>testConnection()
|
||||
: <a class="el" href="classB15F.html#af01983594f2af98ab2b1e514aa036a5d">B15F</a>
|
||||
: <a class="el" href="classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83">B15F</a>
|
||||
</li>
|
||||
<li>testIntConv()
|
||||
: <a class="el" href="classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78">B15F</a>
|
||||
: <a class="el" href="classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db">B15F</a>
|
||||
</li>
|
||||
<li>TimeoutException()
|
||||
: <a class="el" href="classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218">TimeoutException</a>
|
||||
|
@ -374,7 +374,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -92,7 +92,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -86,7 +86,7 @@ $(function() {
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -170,7 +170,7 @@ Dabei gehören Punkte mit dem gleichen Index für <code>curve</code> (<em>uint8_
|
|||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -101,7 +101,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassPlottyFile_html_af952ac5e2c40896acaf6a86063874fe3"><div class="ttname"><a href="classPlottyFile.html#af952ac5e2c40896acaf6a86063874fe3">PlottyFile::getUnitX</a></div><div class="ttdeci">std::string getUnitX(void) const</div><div class="ttdef"><b>Definition:</b> <a href="plottyfile_8cpp_source.html#l00105">plottyfile.cpp:105</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -102,7 +102,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassPlottyFile_html_af952ac5e2c40896acaf6a86063874fe3"><div class="ttname"><a href="classPlottyFile.html#af952ac5e2c40896acaf6a86063874fe3">PlottyFile::getUnitX</a></div><div class="ttdeci">std::string getUnitX(void) const</div><div class="ttdef"><b>Definition:</b> <a href="plottyfile_8cpp_source.html#l00105">plottyfile.cpp:105</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
var searchData=
|
||||
[
|
||||
['testconnection',['testConnection',['../classB15F.html#af01983594f2af98ab2b1e514aa036a5d',1,'B15F']]],
|
||||
['testintconv',['testIntConv',['../classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78',1,'B15F']]],
|
||||
['testconnection',['testConnection',['../classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83',1,'B15F']]],
|
||||
['testintconv',['testIntConv',['../classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db',1,'B15F']]],
|
||||
['timeoutexception',['TimeoutException',['../classTimeoutException.html',1,'TimeoutException'],['../classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218',1,'TimeoutException::TimeoutException(const char *message)'],['../classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988',1,'TimeoutException::TimeoutException(const std::string &message)']]],
|
||||
['transmit',['transmit',['../classUSART.html#a41b19dd58f307015b73e154048cd74ca',1,'USART']]]
|
||||
];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var searchData=
|
||||
[
|
||||
['testconnection',['testConnection',['../classB15F.html#af01983594f2af98ab2b1e514aa036a5d',1,'B15F']]],
|
||||
['testintconv',['testIntConv',['../classB15F.html#a7b8a0e2a9156f7dcb05d097f23666a78',1,'B15F']]],
|
||||
['testconnection',['testConnection',['../classB15F.html#a6b8c7da1fb9b619543844e0ce7597d83',1,'B15F']]],
|
||||
['testintconv',['testIntConv',['../classB15F.html#ac2c7b6d84da5239ee7cc3d44e689d9db',1,'B15F']]],
|
||||
['timeoutexception',['TimeoutException',['../classTimeoutException.html#aa45912234da11ffc9dd3594a1bbc0218',1,'TimeoutException::TimeoutException(const char *message)'],['../classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988',1,'TimeoutException::TimeoutException(const std::string &message)']]],
|
||||
['transmit',['transmit',['../classUSART.html#a41b19dd58f307015b73e154048cd74ca',1,'USART']]]
|
||||
];
|
||||
|
|
|
@ -79,7 +79,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassTimeoutException_html_ad6e5c200fbfd276f48a6c1163e2d2988"><div class="ttname"><a href="classTimeoutException.html#ad6e5c200fbfd276f48a6c1163e2d2988">TimeoutException::TimeoutException</a></div><div class="ttdeci">TimeoutException(const std::string &message)</div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00024">timeoutexception.h:24</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -88,7 +88,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassTimeoutException_html"><div class="ttname"><a href="classTimeoutException.html">TimeoutException</a></div><div class="ttdef"><b>Definition:</b> <a href="timeoutexception_8h_source.html#l00009">timeoutexception.h:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -88,7 +88,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassUSART_html_adb6ff4d1cf1af79ca255c5a81780200d"><div class="ttname"><a href="classUSART.html#adb6ff4d1cf1af79ca255c5a81780200d">USART::flushOutputBuffer</a></div><div class="ttdeci">void flushOutputBuffer(void)</div><div class="ttdef"><b>Definition:</b> <a href="usart_8cpp_source.html#l00068">usart.cpp:68</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
|
@ -79,7 +79,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassUSARTException_html_a0e008b3cb4974859e6bc8c8f8eb480be"><div class="ttname"><a href="classUSARTException.html#a0e008b3cb4974859e6bc8c8f8eb480be">USARTException::~USARTException</a></div><div class="ttdeci">virtual ~USARTException()=default</div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -74,7 +74,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassView_html"><div class="ttname"><a href="classView.html">View</a></div><div class="ttdef"><b>Definition:</b> <a href="view_8h_source.html#l00019">view.h:19</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassView_html"><div class="ttname"><a href="classView.html">View</a></div><div class="ttdef"><b>Definition:</b> <a href="view_8h_source.html#l00019">view.h:19</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewInfo_html"><div class="ttname"><a href="classViewInfo.html">ViewInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="view__info_8h_source.html#l00008">view_info.h:8</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewPromt_html"><div class="ttname"><a href="classViewPromt.html">ViewPromt</a></div><div class="ttdef"><b>Definition:</b> <a href="view__promt_8h_source.html#l00010">view_promt.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -75,7 +75,7 @@ $(function() {
|
|||
<div class="ttc" id="aclassViewSelection_html"><div class="ttname"><a href="classViewSelection.html">ViewSelection</a></div><div class="ttdef"><b>Definition:</b> <a href="view__selection_8h_source.html#l00010">view_selection.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated on Thu Jun 27 2019 16:19:39 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Jun 27 2019 16:57:15 for B15F by  <a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||||
</a> 1.8.16
|
||||
</small></address>
|
||||
|
|
Loading…
Reference in a new issue