Sha256: cf448d242f3a98be478820c6c6559b9eaefa5e7dd5ea091e1b0f85dc6da68e83

Contents?: true

Size: 544 Bytes

Versions: 54

Compression:

Stored size: 544 Bytes

Contents

#include "Types.h"
#include "AdcHardware.h"
#include "AdcHardwareConfigurator.h"
#include "AdcTemperatureSensor.h"

void AdcHardware_Init(void)
{
  Adc_Reset();
  Adc_ConfigureMode();
  Adc_EnableTemperatureChannel();
  Adc_StartTemperatureSensorConversion();
}

void AdcHardware_StartConversion(void)
{
  Adc_StartTemperatureSensorConversion();
}

bool AdcHardware_GetSampleComplete(void)
{
  return Adc_TemperatureSensorSampleReady();
}

uint16 AdcHardware_GetSample(void)
{
  return Adc_ReadTemperatureSensor();
}

Version data entries

54 entries across 39 versions & 1 rubygems

Version Path
ceedling-0.29.1 examples/temp_sensor/src/AdcHardware.c
ceedling-0.29.1 vendor/cmock/examples/temp_sensor/src/AdcHardware.c
ceedling-0.29.0 examples/temp_sensor/src/AdcHardware.c
ceedling-0.29.0 vendor/cmock/examples/temp_sensor/src/AdcHardware.c
ceedling-0.19.0 examples/temp_sensor/src/AdcHardware.c
ceedling-0.18.0 examples/temp_sensor/src/AdcHardware.c
ceedling-0.18.0 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.17.0 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.17.0 examples/temp_sensor/src/AdcHardware.c
ceedling-0.16.0 examples/temp_sensor/src/AdcHardware.c
ceedling-0.16.0 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.15.6 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.15.6 examples/temp_sensor/src/AdcHardware.c
ceedling-0.15.5 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.15.5 examples/temp_sensor/src/AdcHardware.c
ceedling-0.15.4 examples/temp_sensor/src/AdcHardware.c
ceedling-0.15.4 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.15.3 examples/temp_sensor/src/AdcHardware.c
ceedling-0.15.3 vendor/cmock/examples/src/AdcHardware.c
ceedling-0.15.2 vendor/cmock/examples/src/AdcHardware.c