GlobLib
HAL and API libraries for MCUs and hardware.
stm32f103cb_flash.h File Reference

Header file for stm32f103cb FLASH. More...

#include "stm32f103cb_debug.h"
#include <libopencm3/stm32/flash.h>
#include <stdint.h>

Go to the source code of this file.

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 *data, uint16_t size)
 Read multiple words from flash. More...
 
mcu_error FLASH_readPage (uint32_t pageNumber, uint32_t *data)
 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...
 

Detailed Description

Header file for stm32f103cb FLASH.

Definition in file stm32f103cb_flash.h.