A peak detector with programmable time constant.
            decay_time_constant
          
peak_to_detect \( \in \{ \)
          
            
            POSITIVE_PEAK
          
             \( , \) 
            NEGATIVE_PEAK
           \( \} \)
          
        
          decay_to \( \in \{ \)
          
            
            SIGNAL_GROUND
          
             \( , \) 
            REFERENCE_VOLTAGE_LEVEL
           \( \} \)
          
        
          comparator_input_phase \( \in \{ \)
          
            
            PHASE1
          
             \( , \) 
            PHASE2
           \( \} \)
          
        
        
      
            input
            
              Half-Cycle
            
          
            output
            
              Continuous