adc_compare_config_t Struct Reference

Defines the hardware compare configuration. More...

#include <platform/drivers/inc/adc_driver.h>

Data Fields

bool compareEnable
 
bool compareGreaterThanEnable
 
bool compareRangeFuncEnable
 
uint16_t compVal1
 
uint16_t compVal2
 

Detailed Description

Defines the hardware compare configuration.

This structure is used to configure the hardware compare feature for the ADC

Implements : adc_compare_config_t_Class

Definition at line 275 of file adc_driver.h.

Field Documentation

bool compareEnable

Enable the compare feature

Definition at line 277 of file adc_driver.h.

bool compareGreaterThanEnable

Enable Greater-Than functionality

Definition at line 278 of file adc_driver.h.

bool compareRangeFuncEnable

Enable Range functionality

Definition at line 279 of file adc_driver.h.

uint16_t compVal1

First Compare Value

Definition at line 280 of file adc_driver.h.

uint16_t compVal2

Second Compare Value

Definition at line 281 of file adc_driver.h.


The documentation for this struct was generated from the following file: