NXC
Version 1.2.1 r5
|
Constants for use with the Input module's Pin function. More...
Macros | |
#define | INPUT_PINCMD_DIR 0x00 |
#define | INPUT_PINCMD_SET 0x01 |
#define | INPUT_PINCMD_CLEAR 0x02 |
#define | INPUT_PINCMD_READ 0x03 |
#define | INPUT_PINCMD_MASK 0x03 |
#define | INPUT_PINCMD_WAIT(_usec) ((_usec)<<2) |
#define | INPUT_PINDIR_OUTPUT 0x00 |
#define | INPUT_PINDIR_INPUT 0x04 |
Constants for use with the Input module's Pin function.
These are the commands that you can pass into the pin function to change digital pin directions, set or clear pins, or read pin values. Also in this group are mask constants and a macro for ORing a microsecond wait onto the command byte which will occur after the command has been executed.