Method WriteEventEnableAsync
WriteEventEnableAsync(Events, CancellationToken)
Asynchronously writes a value to the EventEnable register.
public Task WriteEventEnableAsync(Events value, CancellationToken cancellationToken = default)
Parameters
value
EventsThe 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.