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

## Functions
error_status_t | ll_adc_deinit (void)
| De-initialize ADC registers (Registers restored to their default values). More...
error_status_t | ll_adc_init (ll_adc_init_t *p_adc_init)
| Initialize ADC registers according to the specified. More...
void | ll_adc_struct_init (ll_adc_init_t *p_adc_init)
| Set each field of a ll_adc_init_t type structure to default value. More...

## Detailed Description

## Function Documentation

## ◆ ll_adc_deinit()

error_status_t ll_adc_deinit | ( | void |  | ) |

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

Return values

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

## ◆ ll_adc_init()

error_status_t ll_adc_init | ( | ll_adc_init_t * | p_adc_init | ) |

Initialize ADC registers according to the specified.

parameters in p_adc_init.

Parameters

  p_adc_init | Pointer to a ll_adc_init_t structure that contains the configuration information for the specified ADC peripheral.

Return values

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

## ◆ ll_adc_struct_init()

void ll_adc_struct_init | ( | ll_adc_init_t * | p_adc_init | ) |

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

Parameters

  p_adc_init | Pointer to a ll_adc_init_t structure whose fields will be set to default values.

Return values

  None |