2118-2128: update code line range

master
occheung 2022-07-27 15:15:26 +08:00
parent d6d29c89a1
commit 8ce5cca85e
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ Typically, with the coarse RTIO clock at 125 MHz, a \texttt{ClockGen} channel ca
The maximum sustained event separation is the least amount of time separation between input gated events, in which all gated edges can be continuously \& reliabily timestamped by the RTIO system without causing \texttt{RTIOOverflow} exceptions.
The following \texttt{run()} function finds the separation by approximating the time of running \texttt{timestamp\char`_mu()} as a constant. Import the \texttt{time} library to use \texttt{time.sleep()}.
\inputcolorboxminted{firstline=60,lastline=92}{examples/ttl_in.py}
\inputcolorboxminted{firstline=63,lastline=98}{examples/ttl_in.py}
The result fluctuates at around 650ns with Kasli v1.1.