1234567891011121314151617 |
- #ifndef _JUMP_SCHMIDT_TRIGGER_H
- #define _JUMP_SCHMIDT_TRIGGER_H 1
- struct schmidt
- {
- float high;
- float low;
- int value;
- };
- extern int schmidt_init(struct schmidt *schmidt, float low, float high);
- extern int schmidt_trig(struct schmidt *schmidt, float level);
- extern int schmidt_get(struct schmidt *schmidt);
- #endif
- /* vim: set ts=8 sw=8 sts=8 noet: */
|