Method ReadTimestampedPwm1ActualDutyCycleAsync
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
ReadTimestampedPwm1ActualDutyCycleAsync(CancellationToken)
Asynchronously reads the timestamped contents of the Pwm1ActualDutyCycle register.
public Task<Timestamped<float>> ReadTimestampedPwm1ActualDutyCycleAsync(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.