STM32F0xx Standard Peripherals Firmware Library: main.c File Reference

STM32F0xx Standard Peripherals Library

STM32F0xx_StdPeriph_Examples/FLASH/Flash_Program/main.c File Reference
#include "main.h"

Go to the source code of this file.

Defines

#define DATA_32   ((uint32_t)0x12345678)
#define FLASH_PAGE_SIZE   ((uint32_t)0x00000400)
#define FLASH_USER_END_ADDR   ((uint32_t)0x08007000)
#define FLASH_USER_START_ADDR   ((uint32_t)0x08006000)

Enumerations

enum  TestStatus {
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 1, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED, FAILED = 0, PASSED = !FAILED,
  FAILED = 0, PASSED = !FAILED
}

Functions

int main (void)
 Main program.

Variables

uint32_t Address = 0x00
uint32_t Data = 0x3210ABCD
uint32_t EraseCounter = 0x00
__IO FLASH_Status FLASHStatus = FLASH_COMPLETE
__IO TestStatus MemoryProgramStatus = PASSED
uint32_t NbrOfPage = 0x00
STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32