|
GlobLib
HAL and API libraries for MCUs and hardware.
|
Source file for stm32f103cb flash. More...
#include "stm32f103cb_flash.h"Go to the source code of this file.
Macros | |
| #define | FLASH_PAGE_SIZE 255 |
| The size of each page in words, used internally. | |
| #define | FLASH_PAGE_BASE 0x8000000 |
| The flash starting address, used internally. | |
Functions | |
| mcu_error | FLASH_clearPage (uint32_t pageNumber) |
| Clear a page (1kb) of flash. More... | |
| mcu_error | FLASH_write (uint32_t pageNumber, uint32_t address, uint32_t data) |
| Write a single word to flash. More... | |
| mcu_error | FLASH_writes (uint32_t pageNumber, uint32_t address, uint32_t *data, uint16_t size) |
| Write multiple words to flash, address incremented automatically. More... | |
| uint32_t | FLASH_read (uint32_t pageNumber, uint32_t address) |
| Read a single word from flash memory. More... | |
| mcu_error | FLASH_reads (uint32_t pageNumber, uint32_t address, uint32_t *container, uint16_t size) |
| Read multiple words from flash. More... | |
| mcu_error | FLASH_readPage (uint32_t pageNumber, uint32_t *container) |
| Read an entire page from flash. More... | |
| uint8_t | FLASH_pageEmpty (uint32_t pageNumber) |
| Determine if a given page is empty. More... | |
| uint8_t | FLASH_firstEmptyPage (void) |
| Get the first empty page is flash. More... | |
Source file for stm32f103cb flash.
Definition in file stm32f103cb_flash.c.