title: How do I fix reference to register is pointing to the wrong one?
body: <p>I'm trying to use the ADC in STM32 and I want to modify the ISR register so I'm doing <code>ADC-&gt;ISR |= &lt;bit&gt;</code>. However when I control-click on <code>ISR</code> it's bringing me to in <code>stm32f0xx/cmsis_boot/core_cm0.h</code></p>
  <pre><code>/** \brief  Union type to access the Interrupt Program Status Register (IPSR).
   */
  typedef union
  {
    struct
    {
      uint32_t ISR:9;                      /*!&lt; bit:  0.. 8  Exception number                   */
      uint32_t _reserved0:23;              /*!&lt; bit:  9..31  Reserved                           */
    } b;                                   /*!&lt; Structure used for bit  access                  */
    uint32_t w;                            /*!&lt; Type      used for word access                  */
  } IPSR_Type;
  </code></pre>
  <p>I want to be brought to in <code>stm32f0xx/cmsis_boot/stm32f0xx.h</code>:</p>
  <pre><code>typedef struct
  {
    __IO uint32_t ISR;          /*!&lt; ADC Interrupt and Status register, Address offset:0x00 */
    // other registers here                               
  } ADC_TypeDef;
  </code></pre>
  <p>In my file, I'm not including either of those files so I'm not sure how the linking works. If I try to reference another register in <code>ADC_TypeDef</code> it works but I think because there are 2 <code>ISR</code> it can't find the right one. How do I fix this so that it's referencing the right one? Thanks!</p>