uint32_t PN_API_DEV_pullSubmodule | ( | uint16_t | slotNumber_p, |
uint16_t | subslotNumber_p | ||
) |
Pull submodule.
If a submodule was plugged once, it can be pulled with this function. The submodule will be removed completely from the stack. Memory, which was allocated to this submodule, will be freed.
The function will also check, if the pulled submodule is an I&M Carrier and it's I&M Data Set is stored on stack. If so - I&M Data Set will be deleted and memory allocated to it will be freed.
Every device must have an I&M Device representative. If I&M Device Representative was pulled, it is required to plug another I&M Device Representative.
[in] | slotNumber_p | Number of the slot, where desired submodule is plugged. |
[in] | subslotNumber_p | Number of the subslot, where desired submodule is plugged. |