backported interrupts.c from i2c branch
This commit is contained in:
14
include/bas_utils.h
Normal file
14
include/bas_utils.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* bas_utils.h
|
||||
*
|
||||
* Created on: 08.08.2013
|
||||
* Author: froesm1
|
||||
*/
|
||||
|
||||
#ifndef _BAS_UTILS_H_
|
||||
#define _BAS_UTILS_H_
|
||||
|
||||
#define CLEAR_BIT(p,bit) p &= ~(bit)
|
||||
#define CLEAR_BIT_NO(p,nr) CLEAR_BIT(p, (1 << (nr)))
|
||||
|
||||
#endif /* _BAS_UTILS_H_ */
|
||||
Reference in New Issue
Block a user