title: How to iterate thorough all items in a structure?
body: <p>I have for example this format of the structure</p>
  
  <pre><code>typedef struct{
    tMY_STRUCT2 my_struct2;
    u16 item1;
    u8 item2[20];      
    u32 item3;
  }tMY_STRUCT;
  </code></pre>
  
  <p><strong>How can I get through the structure?</strong>
  Because of <strong>alignment</strong> its not so easy and I cant just calc the offset from begin the structure with <strong>SIZEOF(item)</strong>.</p>
  
  <p>Is there any way?</p>
  
  <p><strong>Reason:</strong> I need to initiate large structure, there are some conditions for that, so I need to make it within a FOR cycle. </p>