13#ifndef PRESSURESENSOR_H_
14#define PRESSURESENSOR_H_
18#include <ti/drivers/ADC.h>
20#include "ti_drivers_config.h"
24#define PRESSURE_SENSOR_SAMPLE 10
void Pressure_Sensor_start(Timer_Handle *pressureSensorHandle, Timer_Params *pressureSensorParam)
Pressure Sensor Timer Start.
Definition: PressureSensor.c:44
uint16_t adcBuf[PRESSURE_SENSOR_SAMPLE]
Definition: PressureSensor.h:25
ADC_Handle adcHandle
Definition: PressureSensor.h:27
void Pressure_Sensor_init(void)
Pressure Sensor Initialize.
Definition: PressureSensor.c:15
void Pressure_Sensor_Timer_init(Timer_Handle *pressureSensorHandle, Timer_Params *pressureSensorParam, uint16_t hertz)
Pressure Sensor Timer Initialize.
Definition: PressureSensor.c:31
sem_t pressureSensorSem
Definition: PressureSensor.h:22
uint32_t adcAvg
Definition: PressureSensor.h:26
#define PRESSURE_SENSOR_SAMPLE
Definition: PressureSensor.h:24
void pressureSensorCallback(Timer_Handle handle)
Pressure Sensor Timer Callback.
Definition: PressureSensor.c:58