1.4.3.24 PAL_GetTimerExtended Function

C

uint8_t PAL_GetTimerExtended(uint16_t pch, uint64_t *timer);

Summary

Get the extended PHY time in us.

Description

This routine is used to get the extended PHY time.

Precondition

The PAL_Initialize function should have been called before calling this function.

Parameters

ParamDescription
pchPhysical channel
timerExtended output time of PHY

Returns

PAL_CFG_SUCCESS - If successful

PAL_CFG_INVALID_INPUT - If unsuccessful

Example

 
    uint8_t  result=PAL_CFG_SUCCESS;
    uint64_t timer=0;
    uint16_t pch=1;

    result = PAL_GetTimerExtended(pch, &timer);

Remarks

None.