Method WriteEncoderModeAsync
WriteEncoderModeAsync(EncoderModeConfig, CancellationToken)
Asynchronously writes a value to the EncoderMode register.
public Task WriteEncoderModeAsync(EncoderModeConfig value, CancellationToken cancellationToken = default)
Parameters
value
EncoderModeConfigThe value to be stored in the register.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.