flipflop

package
v0.0.0-...-eb12069 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package flipflop exposes a buffered input functionality that mimicks the behavior of falling edge detection which is done when doing signal processing on digital or analog electric circuitry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFallingEdge

func NewFallingEdge(bufferTime, worstCase time.Duration) (in chan<- struct{}, out <-chan struct{}, clean func())

NewFallingEdge returns a new falling edge detector. bufferTime is the time to buffer, worstCase is buffertime*worstcase time to wait before writing to the output anyway.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL