Macros
Comparator status codes to be used with

Macros

#define Comparator_STATUS_RESERVED   (-32)
 
#define Comparator_STATUS_SUCCESS   (0)
 Successful status code. More...
 
#define Comparator_STATUS_ERROR   (-1)
 Generic error status code. More...
 

Detailed Description

Comparator.h APIs.

Macro Definition Documentation

§ Comparator_STATUS_RESERVED

#define Comparator_STATUS_RESERVED   (-32)

Common Comparator_control status code reservation offset. Comparator driver implementations should offset status codes with Comparator_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

#define ComparatorXYZ_STATUS_ERROR0 Comparator_STATUS_RESERVED - 0
#define ComparatorXYZ_STATUS_ERROR1 Comparator_STATUS_RESERVED - 1

§ Comparator_STATUS_SUCCESS

#define Comparator_STATUS_SUCCESS   (0)

Successful status code.

§ Comparator_STATUS_ERROR

#define Comparator_STATUS_ERROR   (-1)

Generic error status code.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale