[HN Gopher] Phase Locked State Machines
       ___________________________________________________________________
        
       Phase Locked State Machines
        
       Author : lukastyrychtr
       Score  : 36 points
       Date   : 2023-06-02 08:38 UTC (14 hours ago)
        
 (HTM) web link (onevariable.com)
 (TXT) w3m dump (onevariable.com)
        
       | evancox100 wrote:
       | I think embedded programming could really benefit from async/co-
       | routine programming, especially around interrupt routines. I'd
       | like to be able to write an ISR function that looks like straight
       | line code. It would enabled and awaits the interrupt, then
       | returns back to that point once the interrupt is active,
       | restoring the local function state.
        
       | luma wrote:
       | It feels like the author is discussing the concept of Digital
       | Twins, common in IoT, which use a similar approach to replicate
       | the state of a complex system. I've never heard of "phase lock"
       | used in this context (presumably, carried over from the notion of
       | a PLL) but I think the analogy isn't particularly good, and the
       | concept is already widely used in the IoT space under a different
       | name.
        
         | nighthawk454 wrote:
         | > presumably, carried over from the notion of a PLL
         | 
         | yep, the article links to this Wiki article about the concept
         | in control systems
         | 
         | https://en.wikipedia.org/wiki/Phase-locked_loop
        
       ___________________________________________________________________
       (page generated 2023-06-02 23:01 UTC)