| uint32_t PN_APP_IOD_getSubslotIndex | ( | uint32_t | slot, |
| uint32_t | subslot | ||
| ) |
Get the index of a subslot based on its subslot number.
The app stored input/output data in forms of two dimensional matrices, where each element in the matrix represents a subslot. This function gets the index of a subslot in the matrix based on its PROFINET subslot number. If subslot index is given as input parameter, it is returned as it is.
| [in] | slot | Slot number. |
| [in] | subslot | Subslot number. |
| subslot | index |