Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
79 |
pfowler |
1 |
#ifndef _CONFIG_H_
|
|
|
2 |
#define _CONFIG_H_
|
|
|
3 |
|
|
|
4 |
#define sbi(sfr, bit) ((sfr) |= _BV(bit))
|
|
|
5 |
#define cbi(sfr, bit) ((sfr) &= ~(_BV(bit)))
|
|
|
6 |
#define xbi(sfr, bit) ((sfr) ^= _BV(bit))
|
|
|
7 |
#define rbi(sfr, bit) (((sfr) >> (bit)) & 0x01)
|
|
|
8 |
|
|
|
9 |
#endif
|
|
|
10 |
|