Write to EEPROM

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Supported Targets: Olimexino, E407, P405

General information about Write to EEPROM

A 'Write to EEPROM' block writes a value to the specified EEPROM identifier.

Block

WriteToEEPROMBlock.png

Mask

WriteToEEPROMMask.png

Block inputs (inports)

Input 1: The identifier for the EEPROM, it is possible to store 256 values with index numbers from 0 to 255.(uint8)
Input 2: The value that needs to be stored in the EEPROM for the identifier indicated at the first input.(uint16)

Block parameters

Parameter Description
Sample time Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.

Examples

Using EEPROM

See Also

Read from EEPROM | Erase EEPROM | Save EEPROM