Download Stellaris Peripheral Driver Library User's Guide
Transcript
Flash Parameters: ulUser0 is the value to store in USER Register 0. ulUser1 is the value to store in USER Register 1. Description: This function sets the contents of the user registers (0 and 1) to the specified values. Returns: Returns 0 on success, or -1 if a hardware error is encountered. 10.3 Programming Example The following example shows how to use the flash API to erase a block of the flash and program a few words. unsigned long pulData[2]; // // Set the uSec value to 20, indicating that the processor is running at // 20 MHz. This call is only needed on a Sandstorm or Fury device. // FlashUsecSet(20); // // Erase a block of the flash. // FlashErase(0x800); // // Program some data into the newly erased block of the flash. // pulData[0] = 0x12345678; pulData[1] = 0x56789abc; FlashProgram(pulData, 0x800, sizeof(pulData)); September 05, 2012 143
Related documents
Stellaris Peripheral Driver Library User's Guide
Stellaris Peripheral Driver Library User's Guide
Stellaris Peripheral Driver Library User's Guide
LM3S9B92 ROM User's Guide
Stellaris Peripheral Driver Library User's Guide
Getting Started with Stellaris ARM Cortex-M
netANALYZER API - Windows XP/Vista/7/8
Configuring the SPAN-SE for HYPACK Integration
Stellaris Brushless DC Motor RDK Software Reference Manual
Scheda Relè per UCP