Solved
Understand a code provided in the example STM32L552E-EV
Hello,
I would like some advice on understanding a code with an example provided with the STM32L5xx evaluation board. I have this code below :
/* Initialize the data buffer */
for(int i=0; i < PLAY_BUFF_SIZE; i+=2)
{
PlayBuff[i]=*((__IO uint16_t *)(AUDIO_FILE_ADDRESS + PLAY_HEADER + i));
}PLAY_BUFF_SIZE = 4096
uint16_t PlayBuff [PLAY_BUFF_SIZE];
#define AUDIO_FILE_ADDRESS 0x08040000
#define PLAY_HEADER 0x2C
I understand a little bit but where does the value 0x2C come from, what does it come from ? What does PLAY_HEADER mean ?
Thank you for your helps.
