13#include "pwrctrl/pwrctrl.h"
20#define MAX_NUM_SAMPLES_OFFSET_BUFFER 64
21#define MAX_NUM_SAMPLES_OFFSET_BUFFER_AS_EXP_OF_TWO 6
This is the generated driver header file for the ADC1 driver.
#define MAX_NUM_SAMPLES_OFFSET_BUFFER
defines the secerature threshold raw
uint8_t dev_AreOffsetsCalculated(void)
uint16_t dev_Get_PrimaryCTOffset(void)
void dev_MeasureOffsets_Initialize(void)
void dev_MeasureOffsets(void)
struct dev_Offsets dev_Offsets_t
A custom data type for offset measurement.
uint16_t dev_Get_SecondaryShuntOffset(void)
A custom data type for offset measurement.
uint16_t BufferIndex
buffer index
uint16_t Buffer[MAX_NUM_SAMPLES_OFFSET_BUFFER]
buffer for calcualting average.
uint8_t BufferFull
flag to monitor if full then allow averaging.
uint16_t Offset
temperature
uint16_t ResetBuffer
reset Temp_buffer