When DIN function Fast_Capture1 is configured to DIN and a rising DIN edge occurs, Rising_Captured1 is
changed to 1. At the same moment Pos_Actual is stored to Rising_Capture_Position1. If a falling DIN edge
occurs, Falling_Captured1 is to 1. At the same moment Pos_Actual is stored to Falling_Capture_Position1.
Once Rising_Captured1 or Falling_Captured1 is changed to 1, the user needs to reset them to 0 for the next
capturing operation, because any further edges after the first one will not be captured.
See Fast_Capture1 concerning DIN function Fast_Capture2.