Method WriteEnableLedModeAsync
WriteEnableLedModeAsync(LedState, CancellationToken)
Asynchronously writes a value to the EnableLedMode register.
public Task WriteEnableLedModeAsync(LedState value, CancellationToken cancellationToken = default)
Parameters
value
LedStateThe 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.