Method WritePortDIODirectionAsync
WritePortDIODirectionAsync(PortDigitalIOS, CancellationToken)
Asynchronously writes a value to the PortDIODirection register.
public Task WritePortDIODirectionAsync(PortDigitalIOS value, CancellationToken cancellationToken = default)
Parameters
value
PortDigitalIOSThe 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.