Data Fields
_adc_handle Struct Reference
Peripheral Driver » HAL Driver » ADC » Structures » ADC Handle

ADC handle Structure definition. More...

`#include <gr55xx_hal_adc.h>`

## Data Fields
adc_init_t | init
uint16_t * | p_buffer
__IO uint32_t | buff_size
__IO uint32_t | buff_count
dma_handle_t * | p_dma
__IO hal_lock_t | lock
__IO hal_adc_state_t | state
__IO uint32_t | error_code
uint32_t | retention [2]

## Detailed Description

ADC handle Structure definition.

## Field Documentation

## ◆ buff_count

__IO uint32_t _adc_handle::buff_count

Conversion buffer counter

## ◆ buff_size

__IO uint32_t _adc_handle::buff_size

Conversion buffer size

## ◆ error_code

__IO uint32_t _adc_handle::error_code

ADC error code

## ◆ init

adc_init_t _adc_handle::init

ADC configuration parameters

## ◆ lock

__IO hal_lock_t _adc_handle::lock

Locking object

## ◆ p_buffer

uint16_t* _adc_handle::p_buffer

Pointer to ADC conversion buffer

## ◆ p_dma

dma_handle_t* _adc_handle::p_dma

ADC DMA Handle parameters

## ◆ retention

uint32_t _adc_handle::retention[2]

ADC important register information.

## ◆ state

__IO hal_adc_state_t _adc_handle::state

ADC communication state

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

- gr55xx_hal_adc.h