Intel® Quark™ Microcontroller Software Interface 1.4.0 Intel® Quark™ Microcontroller BSP

- Main Page
- Modules
- Data Structures
- Files

Data Structures | Functions
Analog Comparator

Analog Comparator. More...

## Data Structures
struct | qm_ac_config_t
| Analog Comparator configuration type. More...

## Functions
int | qm_ac_set_config (const qm_ac_config_t *const config)
| Set Analog Comparator configuration. More...

## Detailed Description

Analog Comparator.

## Function Documentation

int qm_ac_set_config | ( | const qm_ac_config_t *const | config | ) |

Set Analog Comparator configuration.

Parameters

  [in] | config | Analog Comparator configuration. This must not be NULL.

Returns
  Standard errno return type for QMSI.

Return values

  0 | on success.
  Negative | errno for possible error codes.

Definition at line 36 of file qm_comparator.c.

References qm_ac_config_t::callback, qm_ac_config_t::callback_data, qm_ac_config_t::cmp_en, qm_ac_config_t::polarity, qm_ac_config_t::power, and qm_ac_config_t::reference.