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