TsctlDIORefreshDesc

From embeddedTS Manuals

The Refresh command causes all synchronous DIO values to update from their current hardware value. Subsequent calls to Get will return the value of each DIO at the last Refresh.

Refresh must always be called at the start of a set of synchronous DIO operations, in order to synchronize the DIO cache with the actual state of the DIOs.