Functions
Initialization and de-initialization functions
Peripheral Driver » LL Driver » COMP » Functions
Collaboration diagram for Initialization and de-initialization functions:

## Functions
error_status_t | ll_comp_deinit (void)
| De-initialize COMP registers (Registers restored to their default values). More...
error_status_t | ll_comp_init (ll_comp_init_t *p_comp_init)
| Initialize COMP registers according to the specified. 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()

error_status_t 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()

error_status_t ll_comp_init | ( | 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 |