SLAAEB4 april 2023 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3106 , MSPM0G3107 , MSPM0G3505 , MSPM0G3506 , MSPM0G3507 , MSPM0L1105 , MSPM0L1106 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346
EEPROM_TypeB_findDataItem is used to search for data items within the specified group. The software flow is shown in Figure 3-4. The search traverses the data items in the group from back to front, so the first data item found that matches the identifier must be the latest data item.
The input of the function is the identifier, GroupNum and DataItemNum. GroupNum specifies the group in which to search. DataItemNum specifies the maximum number of data items to be searched. The output of the function is the address. If data item is found, the function returns the address of the data item. If not, the function returns EEPROM_EMULATION_FINDITEM_NOT_FOUND (value is 0).
uint16_t GroupNum
uint16_t DataItemNum