Difference between revisions of "HANcoder/STM32/Blocks/Save EEPROM"
Line 7: | Line 7: | ||
block. This is typically called during the software shutdown sequence, | block. This is typically called during the software shutdown sequence, | ||
right before power off. | right before power off. | ||
− | |||
− | |||
− | |||
− | |||
|blockImage = SaveEEPROMBlock.png | |blockImage = SaveEEPROMBlock.png | ||
Line 18: | Line 14: | ||
|SeeAlso = [[HANcoder/Erase_EEPROM|Erase EEPROM]] {{!}} [[HANcoder/Write_to_EEPROM|Write to EEPROM]] {{!}} [[HANcoder/Read_from_EEPROM|Read from EEPROM]] | |SeeAlso = [[HANcoder/Erase_EEPROM|Erase EEPROM]] {{!}} [[HANcoder/Write_to_EEPROM|Write to EEPROM]] {{!}} [[HANcoder/Read_from_EEPROM|Read from EEPROM]] | ||
+ | }} | ||
+ | |||
+ | == Block inputs (inports) == | ||
+ | Trigger input: When this signal changes from 0 to 1 the block is executed and the EEPROM is saved.<br/> | ||
+ | |||
+ | == Examples == | ||
+ | [[HANcoder/Examples/Using_EEPROM| Using EEPROM]] | ||
+ | |||
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/Read_from_EEPROM|Read from EEPROM]] {{!}} [[HANcoder/Write_to_EEPROM|Write to EEPROM]] {{!}} [[HANcoder/Erase_EEPROM|Erase EEPROM]] | ||
}} | }} |
Revision as of 11:23, 21 April 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about Save EEPROM
The STM32 controller does not have dedicated EEPROM on-chip. All EEPROM write, read and erase operations are therefore performed in a RAM buffer. To make sure RAM buffer contents are still valid after a power-off, its contents needs to be save in flash EEPROM, which is achieved with this block. This is typically called during the software shutdown sequence, right before power off.
Block
Mask
Block inputs (inports)
Trigger input: When this signal changes from 0 to 1 the block is executed and the EEPROM is saved.