Implementing various operations for H&W Frog dive computer.
More...
#include "OSTCFrogOperations.h"
#include "Utils/Log.h"
#include "Utils/Exception.h"
#include "HexFile.h"
#include "SettingsDialog.h"
#include <QApplication>
#include <QDateTime>
#include <QProgressBar>
#include <QStringList>
|
#define | LOW(x) ((unsigned char)((x) % 256)) |
|
#define | HIGH(x) ((unsigned char)((x / (1<<8)) % 256)) |
|
#define | UPPER(x) ((unsigned char)((x / (1<<16)) % 256)) |
|
#define | UP32(x) ((unsigned char)((x / (1<<24)) % 256)) |
|
#define | IMAGE_ROUNDING 1024 |
|
#define | FIRMWARE_AREA 0x3E0000 |
|
#define | FIRMWARE_SIZE 0x01D000 |
|
Implementing various operations for H&W Frog dive computer.
- Author
- JD Gascuel.
- Copyright
- (c) 2011-2016 JD Gascuel. All rights reserved.
- Id
- OSTCFrogOperations.cpp,v 1ab7802a175c 2016/07/14 21:06:35 jdg
#define FIRMWARE_AREA 0x3E0000 |
#define FIRMWARE_SIZE 0x01D000 |
#define HIGH |
( |
|
x | ) |
((unsigned char)((x / (1<<8)) % 256)) |
#define IMAGE_ROUNDING 1024 |
#define LOW |
( |
|
x | ) |
((unsigned char)((x) % 256)) |
#define UP32 |
( |
|
x | ) |
((unsigned char)((x / (1<<24)) % 256)) |
#define UPPER |
( |
|
x | ) |
((unsigned char)((x / (1<<16)) % 256)) |