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

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Fields

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

Comparison configuration. More...

`#include <adc.h>`

## Data Fields
uint16_t | u16CompareValue
| ADC Comparison Value (CMPD)
boolean_t | bCompareAllChannels
| TRUE: Compare all selected Channels, FALSE: Compare CCH-Channel.
uint8_t | u8CompareChannel
| CCH-Channel to be compared, if selected Ch. 0...31.
boolean_t | bCompIrqEqualGreater

## Detailed Description

Comparison configuration.

Definition at line 302 of file adc.h.

## Field Documentation

boolean_t bCompareAllChannels

TRUE: Compare all selected Channels, FALSE: Compare CCH-Channel.

Definition at line 305 of file adc.h.

Referenced by Adc_Init().

boolean_t bCompIrqEqualGreater

TRUE: Generate Interrupt, if CMPD most significant 10 bis >= current ADC value FALSE: Generate Interrupt, if CMPD most significant 10 bis < current ADC value

Definition at line 307 of file adc.h.

Referenced by Adc_Init().

uint16_t u16CompareValue

ADC Comparison Value (CMPD)

Definition at line 304 of file adc.h.

Referenced by Adc_Init().

uint8_t u8CompareChannel

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

Definition at line 306 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