| Ucs_Return_t Ucs_Network_GetFrameCounter | ( | Ucs_Inst_t * | self, |
| uint32_t | reference, | ||
| Ucs_Network_FrameCounterCb_t | result_fptr | ||
| ) |
Retrieves the Network Frame Counter, which is the number of frames since reset.
| This function corresponds with the INIC function INIC.MOSTNetworkFrameCounter. |
| self | The instance | ||
| reference | Reference value that shall be delivered by result_fptr.
| ||
| result_fptr | Result callback. |
| Value | Description |
|---|---|
| MNS_RET_SUCCESS | No error |
| MNS_RET_ERR_BUFFER_OVERFLOW | No message buffer available |
| MNS_RET_ERR_API_LOCKED | API is currently locked |
| MNS_RET_ERR_NOT_INITIALIZED | UNICENS is not initialized |