Difference between revisions of "HANcoder/STM32/Blocks/Read from EEPROM"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
Line 21: Line 21:
 
|-
 
|-
 
| Sample time
 
| Sample time
| Here you can enter the file name of the log file.
+
| 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.
 
|}
 
|}
  
Line 28: Line 28:
  
 
{{HANcoder/BlockFooter|
 
{{HANcoder/BlockFooter|
|SeeAlso = [[HANcoder/Write_To_EEPROM|Write to EEPROM]] {{!}} [[HANcoder/Erase_EEPROM|Erase EEPROM]] {{!}} [[HANcoder/Save_EEPROM|Save EEPROM]]
+
|SeeAlso = [[HANcoder/Write_to_EEPROM|Write to EEPROM]] {{!}} [[HANcoder/Erase_EEPROM|Erase EEPROM]] {{!}} [[HANcoder/Save_EEPROM|Save EEPROM]]
 
}}
 
}}

Revision as of 09:20, 21 April 2017

Supported Targets: Olimexino, E407, P405

General information about Read from EEPROM

A 'Read from EEPROM' block reads a value from the specified EEPROM identifier.

Block

ReadFromEEPROMBlock.png

Mask

ReadFromEEPROMMask.png

Block inputs (inports)

Input: The identifier for the EEPROM, it is possible to store 256 values with index numbers from 0 to 255.(uint8)

Block outputs (outports)

Output: The value stored in the EEPROM for the identifier indicated at the 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

Write to EEPROM | Erase EEPROM | Save EEPROM