speeduino/fastAnalog.h

13 lines
209 B
C
Raw Normal View History

2015-02-14 05:11:43 -08:00
#ifndef FASTANALOG_H
#define FASTANALOG_H
#ifndef cbi
#define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
#endif
#ifndef sbi
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif
2015-02-14 05:11:43 -08:00
#endif // FASTANALOG_H