Skip to content

unit BusyWaitI

em.hal/BusyWaitI.em
1
2
3
4
5
6
7
8
package em.hal

interface BusyWaitI
        #   ^| abstraction of a spin-loop
    function wait(usecs: uint32)
        #   ^| enter a spin-loop
        #   ^| @usecs - duration in microseconds
end