title: No such parameter?
body: <p>I think, this is a C related question.
  This question is also asked in STM32 forum.
  Kindly clear me the structure</p>
  
  <p>Right at the moment, in AC6+Eclipse environment build error shows,</p>
  
  <p><a href="https://i.stack.imgur.com/L7zs0.png" rel="nofollow noreferrer">view</a></p>
  
  <pre><code>C:/STM32_toolchain/common/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h:238:2: error: declaration for parameter 'ADC_HandleTypeDef' but no such parameter
  }ADC_HandleTypeDef;
  ^
  </code></pre>
  
  <p>but when you search  stm32f0xx_hal_adc.h  file its written as </p>
  
  <pre><code>typedef struct
  {
   ADC_TypeDef          *Instance; /*                      !&lt; Register base address */
  ADC_InitTypeDef                 Init;                              /*!&lt; ADC required parameters */
  DMA_HandleTypeDef         *DMA_Handle;            /*!&lt; Pointer DMA Handler */
  HAL_LockTypeDef                Lock;                         /*!&lt; ADC locking object */
  __IO uint32_t                          State;                       /*!&lt; ADC communication state (bitmap of ADC states) */
  __IO uint32_t                   ErrorCode;                      /*!&lt; ADC Error code */
  }ADC_HandleTypeDef;
  </code></pre>
  
  <p>Is it means, ADC_HandleTypeDef is not  declare in stm32f0xx_hal_adc.h?</p>