SPRADL4 January 2025 F29H850TU , F29H859TU-Q1
Fill_Buffer() is a very basic helper function to fill up the various status and write buffers. It takes a target buffer, its length, and a value as input and fills the buffer with that value.
uint8_t i;
for (i = 0; i < buffer_len; i++)
{
buffer[i] = value;
}