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