BM_GetPtpTime
函数名、签名、参数与返回值和 BMAPI SDK 保持一致,可直接用于开发、检索与代码审查。
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.