title: AVR define PINS & PORT in an array
body: <p>I want to define pins and ports in an array
  for example something like this.</p>
  <pre><code>char a[3]={PINA.0,PINB.2,PORTC.4};
  
  /***********************************/
  if(a[0]==1) // equal to (PINA.0==1)
  //do something
  
  a[2]=1; // equal to PORTC.4=1;
  </code></pre>
  <p>I know this codes are not correct and want your help to write the correct one.</p>
  <p>My compiler is CodeVision.</p>