SLAAEN3A February 2025 – August 2025 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0C1105 , MSPM0C1106 , MSPM0C1106-Q1 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0H3216-Q1 , MSPM0L1105 , MSPM0L1106 , MSPM0L1116 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
In total, there are six functions. The first four functions are called directly by the user. The last two functions are called with the following functions.
EEPROM_TypeB_initEEPROM_TypeB_writeEEPROM_TypeB_readDataItemEEPROM_TypeB_eraseGroupEEPROM_TypeB_findDataItemEEPROM_TypeB_transferDataItemThe following two global variables are used to trace the active group:
gActiveDataItemNum;gActiveGroupNum;gActiveDataItemNum is used
to record the number of data items.
gActiveGroupNum is used to
record the active group.
Two global variables are used for flags:
gEEPROMTypeBSearchFlag;gEEPROMTypeBEraseFlag;gEEPROMTypeBSearchFlag is
set when EEPROM_TypeB_readDataItem finds the data item based on input
identifier.
gEEPROMTypeBEraseFlag is
set when the group is full and needs to be erased.
All global variables are defined in
eeprom_emulation_type_b.c.