added Schmitt trigger and edge triggers

This commit is contained in:
Ahmet Inan 2019-02-12 09:40:26 +01:00
commit 1fd1f9e2ec
2 changed files with 72 additions and 0 deletions

View file

@ -56,6 +56,14 @@ The following [infinite impulse response](https://en.wikipedia.org/wiki/Infinite
[atan](https://en.wikipedia.org/wiki/Inverse_trigonometric_functions) and [atan2](https://en.wikipedia.org/wiki/Atan2).
### [trigger.hh](trigger.hh)
Implemented are the following [trigger functions](https://en.wikipedia.org/wiki/Flip-flop_(electronics)):
* [Schmitt trigger](https://en.wikipedia.org/wiki/Schmitt_trigger)
* [Rising edge trigger](https://en.wikipedia.org/wiki/Signal_edge)
* [Falling edge trigger](https://en.wikipedia.org/wiki/Signal_edge)
### [const.hh](const.hh)
Some constants we need