Method ReadTimestampedDO0PulseWidthAsync
- Namespace
- Harp.AnalogInput
- Assembly
- Harp.AnalogInput.dll
ReadTimestampedDO0PulseWidthAsync(CancellationToken)
Asynchronously reads the timestamped contents of the DO0PulseWidth register.
public Task<Timestamped<byte>> ReadTimestampedDO0PulseWidthAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<byte>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.