MSPM0G1X0X_G3X0X TI-Driver Library  1.20.01.06
Macros
Collaboration diagram for GPIO status codes:

Macros

#define GPIO_STATUS_SUCCESS   (0)
 Successful status code returned by GPI_setConfig(). More...
 
#define GPIO_STATUS_ERROR   (-1)
 Generic error status code returned by GPI_setConfig(). More...
 

Detailed Description

These macros are general status codes returned by GPIO driver APIs.

Macro Definition Documentation

§ GPIO_STATUS_SUCCESS

#define GPIO_STATUS_SUCCESS   (0)

Successful status code returned by GPI_setConfig().

GPI_setConfig() returns GPIO_STATUS_SUCCESS if the API was executed successfully.

§ GPIO_STATUS_ERROR

#define GPIO_STATUS_ERROR   (-1)

Generic error status code returned by GPI_setConfig().

GPI_setConfig() returns GPIO_STATUS_ERROR if the API was not executed successfully.

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