STC15W408AS library 0.16.0
Loading...
Searching...
No Matches
Macros
comparator.h File Reference
#include <sys.h>
#include <interrupt.h>
Include dependency graph for comparator.h:

Go to the source code of this file.

Macros

#define comparator_init_async()
 Comparator init for using interrupts routine.
 
#define comparator_start()   (bit_set(CMPCR1, SBIT7))
 Comparator start routine.
 
#define comparator_stop()   (bit_clr(CMPCR1, CBIT7))
 Comparator stop routine.