flash_sam3.c File Reference
SAM3 Internal flash read/write driver. More...
#include "flash_sam3.h"#include "cfg/cfg_emb_flash.h"#include <cfg/macros.h>#include <cfg/log.h>#include <cpu/irq.h>#include <cpu/attr.h>#include <cpu/power.h>#include <io/kfile.h>#include <io/kblock.h>#include <io/cm3.h>#include <drv/timer.h>#include <drv/flash.h>#include <string.h>Go to the source code of this file.
Functions | |
| RAM_FUNC static NOINLINE void | write_page_bank (uint32_t page) |
| Really send the flash write command. | |
| void | flash_sendWRcmd (uint32_t page) |
| Send write command. | |
Detailed Description
SAM3 Internal flash read/write driver.
Definition in file flash_sam3.c.
Function Documentation
| void flash_sendWRcmd | ( | uint32_t | page | ) | [inline] |
Send write command.
After WR command cpu write bufferd page into flash memory.
Definition at line 110 of file flash_sam3.c.
| RAM_FUNC static NOINLINE void write_page_bank | ( | uint32_t | page | ) | [static] |
Really send the flash write command.
- Note:
- This function has to be placed in RAM because executing code from flash while a writing process is in progress is forbidden.
Definition at line 77 of file flash_sam3.c.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)