This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2634: Mismatch of DIO variable definition and checking in DIO files

Part Number: AM2634

 We are faced an issue while testing Dio write.

In Dio_pvt.h.

Definition for 

DIO_DR_INPUT = 1 and DIO_DIR_OUTPUT = 0.

 

But in Dio.c,

DIO_gioGetDirection is called to get the direction of configured pin. Bu in that code. DIO_DIR_INPUT value is checked against zero to make it into input as direction. please find below the code portion.

 Could you please confirm.