Data Fields
_ll_comp_init Struct Reference
Peripheral Driver » LL Driver » COMP » Structures » COMP Exported init structures

LL COMP init Structure definition. More...

`#include <gr55xx_ll_comp.h>`

## Data Fields
uint32_t | input_source
uint32_t | ref_source
uint32_t | ref_value

## Detailed Description

LL COMP init Structure definition.

## Field Documentation

## ◆ input_source

uint32_t _ll_comp_init::input_source

Specifies the input source for the comparator. This parameter can be any value of COMP INPUT SOURCE.

This parameter can be modified afterwards using unitary function ll_comp_set_input_src().

## ◆ ref_source

uint32_t _ll_comp_init::ref_source

Specifies the reference source for the comparator. This parameter can be any value of COMP INPUT SOURCE.

This parameter can be modified afterwards using unitary function ll_comp_set_ref_src().

## ◆ ref_value

uint32_t _ll_comp_init::ref_value

Specifies the value of the COMP buffered reference. If ref_source select to LL_COMP_REF_SRC_VBAT, this parameter can be a value between: 0 ~ 7. This parameter can be modified afterwards using unitary function ll_comp_set_vbatt_lvl().

If ref_source select to LL_COMP_REF_SRC_VREF, this parameter can be a value between: 0 ~ 63. This parameter can be modified afterwards using unitary function ll_comp_set_vref_lvl().

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

- gr55xx_ll_comp.h