simEEPROMRead | Top Next

simEEPROMRead Read simulated EEPROM Since R2020b Library: embeddedCreatorLib ( Dafulai Electronics) / Simulate EEPROM by Flash / simEEPROMRead Description This block read "Simulated EEPROM" Parameters Please double click this block to open parameters dialog below: Let us explain parameters.
• | Simulated EEPROM output Data type — drop list from "uint8" /"int8" /"uint16" /"int16" /"uint32" /"int32" /"single" which sets up Data Type you read from "Simulated EEPROM". It is also the data type of the output port "Data".
• | Output Data Vector element QTY — unsigned integer data type of scalar. It decides how many items will be read from "Simulated EEPROM". And every item you read is in unit "Simulated EEPROM output Data type".
• | Sample time in sec (-1 for inherited): — Sample time for this block. It is the same meaning as general Simulink block .
Ports Input
• | StartAddr — "uint16" data type's scalar. It is "Simulated EEPROM" start address you want to read. This address is byte addressing.
Outport
• | OK — "logical" data type's scalar. True means "Simulated EEPROM" address range you read is valid. Reading data success.
• | Data — Scalar or Vector. It is read result. Data type is set in parameter "Simulated EEPROM output Data type" . Vector length is set in parameter "Output Data Vector element QTY"
Examples