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