k

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

PaceHeart.cpp

Committer:
Judorunner
Date:
2016-10-24
Revision:
2:e2ae43e8acab

File content as of revision 2:e2ae43e8acab:

#include "PaceHeart.h"

int p_pacingState = 0;
int p_pacingMode = 0;
int p_hysteresis = 0;
int p_hysterwaiaInterval = 300;
int lowrateInterval = 1000;
double p_vPacwAmp = 3500.0;
double p_vPaceWidth = 0.4;
int p_VRP = 320;

int get_p_pacingState()
{
    return p_pacingState;
}
int get_p_pacingMode()
{
    return p_pacingMode;
}
int get_p_hysteresis()
{
    return hysteresis;
}
void set_p_hysteresis(int x)
{
    p_hysteresis = x;
    return;
}
int get_p_hysterwaiaInterval()
{
    return p_hysterwaiaInterval;
}
void set_p_hysterwaiaInterval(int x)
{
    p_hysterwaiaInterval = x;
    return;
}
int get_lowrateInterval()
{
    return lowrateInterval;
}
void set_lowrateInterval(int x)
{
    lowrateInterval = x;
    return;
}

double get_p_vPacwAmp()
{
    return p_vPacwAmp;
}
void set_p_vPacwAmp(double x)
{
    p_vPacwAmp = x;
    return;
}

double get_p_vPaceWidth()
{
    return p_vPaceWidth;
}
void set_p_vPaceWidth(double x)
{
    p_vPaceWidth = x;
    return;
}

int get_p_VRP()
{
    return p_VRP;
}
void set_p_VRP(int x)
{
    p_VRP = x;
    return;
}