Functions
Initialization and de-initialization functions
Peripheral Driver » LL Driver » COMP » Functions

## Functions
void | ll_comp_deinit (void)
| De-initialize COMP registers (Registers restored to their default values). More...
void | ll_comp_init (const ll_comp_init_t *p_comp_init)
| Initialize COMP registers according to the specified. parameters in p_comp_init. More...
void | ll_comp_struct_init (ll_comp_init_t *p_comp_init)
| Set each field of a ll_comp_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_comp_deinit()

void ll_comp_deinit | ( | void |  | ) |

De-initialize COMP registers (Registers restored to their default values).

Return values

  An | error_status_t enumeration value: SUCCESS: COMP registers are de-initialized ERROR: COMP registers are not de-initialized

## ◆ ll_comp_init()

void ll_comp_init | ( | const ll_comp_init_t * | p_comp_init | ) |

Initialize COMP registers according to the specified. parameters in p_comp_init.

Parameters

  p_comp_init | Pointer to a ll_comp_init_t structure that contains the configuration information for the specified COMP peripheral.

Return values

  An | error_status_t enumeration value: SUCCESS: COMP registers are initialized according to p_comp_init content ERROR: Problem occurred during COMP Registers initialization

## ◆ ll_comp_struct_init()

void ll_comp_struct_init | ( | ll_comp_init_t * | p_comp_init | ) |

Set each field of a ll_comp_init_t type structure to default value.

Parameters

  p_comp_init | Pointer to a ll_comp_init_t structure whose fields will be set to default values.

Return values

  None |