BM_GetPtpTime
Get PTP timestamp in nano-seconds of the given channel.
BMAPI BM_StatusTypeDef BM_GetPtpTime (BM_ChannelHandle handle, uint64_t *ns)Parameters
Section titled “Parameters”| Direction | Name | Description |
|---|---|---|
| [in] | handle |
Handle to the channel to operate on. |
| [out] | ns |
Current PTP timestamp in nano-seconds, in local timezone, since 1970-1-1. |
Returns
Section titled “Returns”Operation status, see BM_StatusTypeDef for details.
This reference follows the current BUSMUST BMAPI SDK. For an installed package, its bundled header and help files define the exact version-specific contract.