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