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