Sha256: 885c0a3df693def8de467cc9d9cbb503ba795ffe379d65de02409f8fca2fe360

Contents?: true

Size: 907 Bytes

Versions: 27

Compression:

Stored size: 907 Bytes

Contents

#include "AdcModel.h"
#include "TaskScheduler.h"
#include "TemperatureCalculator.h"
#include "TemperatureFilter.h"

bool AdcModel_DoGetSample(void)
{
  return TaskScheduler_DoAdc();
}

void AdcModel_ProcessInput(uint16 millivolts)
{
  TemperatureFilter_ProcessInput(TemperatureCalculator_Calculate(millivolts));
}

bool AdcModel_DoNothingExceptTestASpecialType(EXAMPLE_STRUCT_T ExampleStruct)
{
    //This doesn't really do anything. it's only here to make sure I can compare a struct.
    return FALSE;
}
bool AdModel_DoNothingExceptTestPointers(uint32* pExample)
{
    //This doesn't really do anything. it's only here to make sure I can compare a pointer value.
    return FALSE;
}

EXAMPLE_STRUCT_T AdcModel_DoNothingExceptReturnASpecialType(void)
{
    EXAMPLE_STRUCT_T example; //again, this just is here to test that I can return a struct
    example.x = 99;
    example.y = 1;
    return example;
}

Version data entries

27 entries across 14 versions & 1 rubygems

Version Path
ceedling-0.31.1 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.31.1 examples/temp_sensor/src/AdcModel.c
ceedling-0.31.0 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.31.0 examples/temp_sensor/src/AdcModel.c
ceedling-0.30.0 examples/temp_sensor/src/AdcModel.c
ceedling-0.30.0 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.28.3 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.28.3 examples/temp_sensor/src/AdcModel.c
ceedling-0.28.2 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.28.2 examples/temp_sensor/src/AdcModel.c
ceedling-0.28.1 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.28.1 examples/temp_sensor/src/AdcModel.c
ceedling-0.27.0 examples/temp_sensor/src/AdcModel.c
ceedling-0.27.0 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.25.0 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.25.0 examples/temp_sensor/src/AdcModel.c
ceedling-0.24.0 vendor/cmock/examples/temp_sensor/src/AdcModel.c
ceedling-0.24.0 examples/temp_sensor/src/AdcModel.c
ceedling-0.22.0 examples/temp_sensor/src/AdcModel.c
ceedling-0.22.0 vendor/cmock/examples/temp_sensor/src/AdcModel.c