#include <delays.h>
Go to the source code of this file.
Define Documentation
#define abs |
( |
|
x | ) |
((x) > 0 ? (x) : -(x)) |
Value:{ \
if ((val) > (lim)) (val) = (lim); \
else if ((val) < -(lim)) (val) = -(lim); \
}
Definition at line 126 of file basics.h.
#define int24s signed short long |
#define int24u unsigned short long |
#define int8s signed char |
#define int8u unsigned char |
#define rshift_sgn |
( |
|
val, |
|
|
|
shift |
|
) |
| (((val) > 0) ? ((val) >> (shift)) : -((-(val))>>(shift))) |
Value:x >>= 1; \
_asm \
btfsc x+1, 6, 1 \
bsf x+1, 7, 1 \
_endasm
Definition at line 106 of file basics.h.
Value:x >>= 1; \
_asm \
btfsc x+3, 6, 1 \
bsf x+3, 7, 1 \
_endasm
Definition at line 96 of file basics.h.
Typedef Documentation
Function Documentation
Use this instead of Reset to keep optimization.
Variable Documentation