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