#include <file_config.h>
BOOL ProgramPage (
U32 adr, /* data page address */
U32 sz, /* size of the data page */
U8* buf); /* buffer containing the data */
Description
The function ProgramPage programs a Flash memory. The
parameter adr specifies the page address. The
parameter sz specifies the size in bytes and must
be 4-byte aligned. The parameter buf is a pointer
specifying the content to be programmed and must be a multiple of
4.
The function is part of the Flash Driver. The prototype is defined
in the file File_Config.h. Developers must customize the
function.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.