Texas Instruments TMS320C6000 Benutzerhandbuch

Seite von 62
FLASH_SUPPORT
6-6
 
Compile time constant
FLASH_SUPPORT
Constant
FLASH_SUPPORT
Description
Compile time constant that has a value of 1 if the board supports the
FLASH module and 0 otherwise. You are not required to use this constant.
Currently, all devices support this module.
Example
#if (FLASH_SUPPORT)
  /* do FLASH operations */
#endif
Writes data to Flash address
FLASH_write
Function
int FLASH_write(
  Uint32 src, 
  Uint32 locator,
  Uint32 length
);
Arguments
src
Source address
locator
Addressing and page information for location in Flash
memory.
C6711 DSK
-
FLASH_START_ADDR
-
FLASH_PAGE_ADDR(x) :(x)– page number
-
32-bit FLASH address
length
Length in bytes of data to be written. This is limited by
the size of the Flash memory.
Return Value
none