15 #ifndef AUTO_DETECTION_SERVICE_H_ 16 #define AUTO_DETECTION_SERVICE_H_ 23 #define ADS_NO_WHO_AM_I (0xFFFF) // Special value if sensor doesn't have WHO_AM_I register. 24 #define ADS_MAX_STRING_LENGTH (64) // Maximum length for sub-strings. 25 #define ADS_FLASH_STRING_LENGTH (128) // Maximum length of flash string. 26 #define ADS_NO_SHIELD_DETECTED (0xFFFFFFFF) 27 #define ADS_COOKIE_VALUE (0xDEADBEEF) 138 #endif // AUTO_DETECTION_SERVICE_H_ ADS_Channel
This defines the allowed communications channels.
ADS_Status
This defines the return status.
char shieldString[ADS_MAX_STRING_LENGTH]
#define ADS_FLASH_STRING_LENGTH
enum ADS_Sensor ADS_Sensor_t
This defines the allowed communications channels.
ADS_FlashStatus_t
This enumeration defines the ADS Flash storage status.
This defines a record type to store ADS results string in Flash memory.
This defines a record type to store the communication channel info and WHO_AM_I address/value for var...
ADS_SupportedBoards_t board
void BOARD_RunADS(const char *appName, char *boardString, char *shieldString, size_t bufferLength)
The function to register Application Name and initialte ADS.
char boardString[ADS_MAX_STRING_LENGTH]
enum ADS_Channel ADS_Channel_t
This defines the allowed communications channels.
enum ADS_Status ADS_Status_t
This defines the return status.
ADS_Sensor
This defines the allowed communications channels.
ADS_SupportedBoards_t
This enumeration defines the FRDM boards that ADS can detect.
This defines a record type to store the expected field values of the LPC device ID.