OSTC Companion  3.0
Companion sofftware for H&W dive computers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros
OSTC3Operations.cpp File Reference

Implementing various operations for OSTC3 dive computer. More...

#include "OSTC3Operations.h"
#include "Utils/Exception.h"
#include "Utils/Log.h"
#include "Utils/ProgressEvent.h"
#include "SettingsDialog.h"
#include "HexFile.h"
#include <QApplication>
#include <QDateTime>
#include <QDir>
Include dependency graph for OSTC3Operations.cpp:

Macros

#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 FIRMWARE_AREA   0x3E0000
 
#define FIRMWARE_SIZE   0x01E000
 
#define FIRMWARE_BLOCK   0x1000
 

Detailed Description

Implementing various operations for OSTC3 dive computer.

Author
JD Gascuel.
Id
OSTC3Operations.cpp,v 12416e80a771 2016/07/29 12:55:17 jDG

Macro Definition Documentation

#define FIRMWARE_AREA   0x3E0000
#define FIRMWARE_BLOCK   0x1000
#define FIRMWARE_SIZE   0x01E000
#define HIGH (   x)    ((unsigned char)((x / (1<<8)) % 256))
#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))