title: How Can I use double Macro in C
body: <p>Let's see my code T.T</p>
  <p>I defined my macros as shown as below</p>
  <p>This is my macro header file. macro.h</p>
  <pre><code>#define BUZZER_PWM                                  PWMA
  #define BUZZER_PWM_CH                               0
  #define ENABLE_PWM(pwm,ch)      (pwm)-&gt;POE |= PWM_POE_PWM##ch##_Msk     
  
  </code></pre>
  <p>and call macro in another cfile</p>
  <pre><code>ENABLE_PWM(BUZZER_PWM,BUZZER_PWM_CH);
  
  </code></pre>
  <p>I pretected the result after precompile is</p>
  <pre><code>PWMA -&gt; POE |= PWM_POE_PWM0_Msk;
  </code></pre>
  <p>But</p>
  <pre><code>PWMA -&gt; POE |= PWM_POEBUZZER_PWM_CH_Msk;
  </code></pre>
  <p>is resulted.
  Is there any solution??</p>
  <p>Sorry for my ugly English skills..</p>