Public Attributes | List of all members
_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>`

## Public Attributes
uint32_t | input_source
uint32_t | ref_source
uint32_t | ref_value

## Detailed Description

LL COMP init Structure definition.

Definition at line 76 of file gr55xx_ll_comp.h.

## Member Data 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().

Definition at line 78 of file gr55xx_ll_comp.h.

## ◆ 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().

Definition at line 83 of file gr55xx_ll_comp.h.

## ◆ 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().

Definition at line 87 of file gr55xx_ll_comp.h.

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

- gr55xx_ll_comp.h