| PDL for FM0+ Version1.0 Peripheral Driverl Library for FM0+

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

Data Fields
stc_adc_range_compare Struct Reference
12-Bit Analog Digital Converter (ADC)

Range comparison configuration. More...

`#include <adc.h>`

## Data Fields
uint16_t | u16UpperLimitRangeValue
| Upper Limit Value for Range Comparison.
uint16_t | u16LowerLimitRangeValue
| Lower limit Value for Range Comparison.
uint8_t | u8RangeCountValue
| Range Count Value 1...7.
boolean_t | bWithinRange
| TRUE: Value within Range, FALSE: Value out of Range.
boolean_t | bRangeCompareAllChannels
| TRUE: Range compare all selected Channels, FALSE: Compare WCCH-Channel.
uint8_t | u8RangeComapreChannel
| WCCH-Channel to be Range compared, if selected Ch. 0...31.

## Detailed Description

Range comparison configuration.

Definition at line 315 of file adc.h.

## Field Documentation

boolean_t bRangeCompareAllChannels

TRUE: Range compare all selected Channels, FALSE: Compare WCCH-Channel.

Definition at line 321 of file adc.h.

Referenced by Adc_Init().

boolean_t bWithinRange

TRUE: Value within Range, FALSE: Value out of Range.

Definition at line 320 of file adc.h.

Referenced by Adc_Init().

uint16_t u16LowerLimitRangeValue

Lower limit Value for Range Comparison.

Definition at line 318 of file adc.h.

Referenced by Adc_Init().

uint16_t u16UpperLimitRangeValue

Upper Limit Value for Range Comparison.

Definition at line 317 of file adc.h.

Referenced by Adc_Init().

uint8_t u8RangeComapreChannel

WCCH-Channel to be Range compared, if selected Ch. 0...31.

Definition at line 322 of file adc.h.

Referenced by Adc_Init().

uint8_t u8RangeCountValue

Range Count Value 1...7.

Definition at line 319 of file adc.h.

Referenced by Adc_Init().

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

- C:/pdl_v10/library/driver/adc/adc.h