Load pre-defined device configuration into the given Submodule and IM0 lists.
First, try to read and validate device configuration (list of submodules and their corresponding locations and info) from the flash memory. if failed, read and validate the user app configuration pre-defined in pn_app_iod_mod_cfg.c. Afterwards, build the IM0 data list.
- Parameters
-
| [in] | pnHandle | Profinet API Handle. |
| [out] | ioSubmodList | Submodule list. |
| [out] | ioSubmodListSize | Number of submodule list entries. |
| [out] | im0List | IM0 data list. |
| [out] | im0ListSize | Number of IM0 data list entries. |
| [in] | checkRemaData | 1: try to get config from remanent memory first, otherwise don't. |
- Returns
- result of the operation as uint32_t.
- Return values
-