Difference between revisions of "HANcoder/STM32/Blocks/Read from EEPROM"
From OpenMBD
(3 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|maskImage = ReadFromEEPROMMask.png | |maskImage = 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)<br/> | ||
− | + | == Block outputs (outports) == | |
− | + | Output: The value stored in the EEPROM for the identifier indicated at the input.(uint16)<br/> | |
− | + | == Block parameters == | |
+ | {| class="wikitable" | ||
|- | |- | ||
! style="width:150px" | Parameter | ! style="width:150px" | Parameter | ||
Line 19: | Line 22: | ||
| Sample time | | 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. | | 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 == | ||
+ | [[HANcoder/Examples/Using_EEPROM| Using EEPROM]] | ||
+ | |||
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/STM32/Blocks/Write_to_EEPROM|Write to EEPROM]] {{!}} [[HANcoder/STM32/Blocks/Erase_EEPROM|Erase EEPROM]] {{!}} [[HANcoder/STM32/Blocks/Save_EEPROM|Save EEPROM]] | ||
}} | }} | ||
− | |||
− |
Latest revision as of 10:21, 5 May 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about Read from EEPROM
A 'Read from EEPROM' block reads a value from the specified EEPROM identifier.
Block
Mask
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. |