/* Example of using FLASH_0 to read and write Flash main array.  */
void FLASH_0_example(void)
/* Example of using FLASH_0 to read and write Flash main array.  */
void FLASH_0_example(void)
{
	uint32_t page_size;
	uint16_t i;
	page_size = flash_get_page_size(&FLASH_0);
	for (i = 0; i < page_size; i++) {
		src_data[i] = i;
	}
	flash_write(&FLASH_0, 0x3200, src_data, page_size);
	flash_read(&FLASH_0, 0x3200, chk_data, page_size);
}