I am trying to write to data flash the following structure:
- 1 instance of a structure which consists of 20-char string + 1-byte unsigned integer.
- 8 instances of a structure which consists of 4-byte signed integer, 2-byte signed integer, 2-byte signed integer, 1-byte unsigned integer.
My question: is there any need for bit-padding all variables so that they are 32-bit (4-byte)? I have found some statements like this on some comments from some pieces of Android code deployed on Atmel's data flash, but I haven't found anything similar on Atmel's datasheets.
Thanks in advance,