How MDK(Keil) to call flash programming functions from .flm and transfer parameters?

I use and register MDK(Keil) pro v5.31.

I have created Flash programming algorithm(.flm) for new devices to download applications to Flash devices.

Now, I want to know how MDK to call flash programming functions and transfer parameters to EraseSector() and ProgramPage() in details. Or how MDK to use the parameter defined in FlashDev.c ? 

I think MDK do many things implicitly to programming flash.

I have read the related document or website, such as uVision User's Guide and

Thank you for your reply.

More questions in this forum