XBee API operation library for mbed
Pin Class Reference
Base class for XBee module pin configuration. More...
#include <Pin.h>
Public Member Functions | |
Pin (unsigned char number) | |
Create a pin with its number, using this constructor means this pin has no IO functions. | |
Pin (unsigned char number, const char *command, unsigned int changeDetection) | |
Create a pin with its number, using this constructor means this pin has IO functions. | |
const char * | getCommand () |
Get the configuration command. | |
const unsigned char * | getIODetection () |
Get the IO change detection bitmask for this pin. | |
Static Public Member Functions | |
static const unsigned char * | IOChangeDetectionConfiguration (Pin **pins, unsigned char size) |
Get the IO change detection bitmask for a set of pins. | |
Friends | |
bool | operator== (const Pin &a, const Pin &b) |
Compare two pin and check if both are the same. | |
bool | operator!= (const Pin &a, const Pin &b) |
Compare two pin and check if both are the same. |
Detailed Description
Base class for XBee module pin configuration.
Definition at line 5 of file Pin.h.
Constructor & Destructor Documentation
Pin | ( | unsigned char | number ) |
Pin | ( | unsigned char | number, |
const char * | command, | ||
unsigned int | changeDetection | ||
) |
Member Function Documentation
const unsigned char * getIODetection | ( | ) |
const unsigned char * IOChangeDetectionConfiguration | ( | Pin ** | pins, |
unsigned char | size | ||
) | [static] |
Friends And Related Function Documentation
Generated on Tue Jul 12 2022 11:17:05 by 1.7.2