git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@240 05563f52-14a8-4384-a975-3d1654cca0fa
64 lines
1.9 KiB
C
64 lines
1.9 KiB
C
// -----------------------------------------------------------------------------
|
|
/// @file repairPreset.h
|
|
/// @brief File description
|
|
// -----------------------------------------------------------------------------
|
|
// Micro-Key bv
|
|
// Industrieweg 28, 9804 TG Noordhorn
|
|
// Postbus 92, 9800 AB Zuidhorn
|
|
// The Netherlands
|
|
// Tel: +31 594 503020
|
|
// Fax: +31 594 505825
|
|
// Email: support@microkey.nl
|
|
// Web: www.microkey.nl
|
|
// -----------------------------------------------------------------------------
|
|
/// $Revision$
|
|
/// $Author$
|
|
/// $Date$
|
|
// (c) 2015 Micro-Key bv
|
|
// -----------------------------------------------------------------------------
|
|
|
|
/// @defgroup {group_name} {group_description}
|
|
/// Description
|
|
|
|
/// @file repairPreset.h
|
|
/// @ingroup {group_name}
|
|
|
|
#ifndef REPAIRPRESET_H_
|
|
#define REPAIRPRESET_H_
|
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Include files
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Constant and macro definitions
|
|
// -----------------------------------------------------------------------------
|
|
|
|
#define REPAIR_PRESET_MAX_STAGES (2)
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Type definitions.
|
|
// -----------------------------------------------------------------------------
|
|
|
|
struct RepairPresetParameters
|
|
{
|
|
int voltage;
|
|
int duration;
|
|
int softstartDuration;
|
|
};
|
|
|
|
struct RepairPreset
|
|
{
|
|
size_t numberOfStages;
|
|
struct RepairPresetParameters preset[REPAIR_PRESET_MAX_STAGES];
|
|
};
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Function declarations
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
|
#endif /* REPAIRPRESET_H_ */
|