1)
In LPC5536 manual its mentioned :
"Note: Flash ERASE and PROGRAM operations must be performed with a system clock below or equal to 100 MHz."
But when I went through the code sample in "flashiap", i see that the boot clock is set to 150MHZ.
But I don't see the clock being reduced to 100Mhz anywhere in this code before erasing flash region. Why is that so?
Is that already handled by the flash APIs (from BOOTLOADER_API_TREE_POINTER)
2)
Also, where can I find the function definitions of these APIs? (for example
BOOTLOADER_API_TREE_POINTER->flashDriver->flash_program())