Difference between revisions of "HANcoder/STM32/Blocks/Read from EEPROM"
From OpenMBD
(Created page with "((HANcoder/block |info= A 'Read from EEPROM' block reads a value from the specified EEPROM identifier. |blockImage = ReadFromEEPROMBlock.png |MaskImage = ReadFromEEPROMMask...") |
|||
(23 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{HANcoder/block | |
|info= A 'Read from EEPROM' block reads a value from the specified EEPROM identifier. | |info= A 'Read from EEPROM' block reads a value from the specified EEPROM identifier. | ||
Line 5: | Line 5: | ||
|blockImage = ReadFromEEPROMBlock.png | |blockImage = ReadFromEEPROMBlock.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 | ||
+ | ! 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 == | ||
+ | [[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. |