Hi,
I am using tm4c123gxl launchpad and Keil IDE. I had done different projects using Tivaware driver library. In my projects mostly I am using specific names for gpio pins for example:( #define GPIO_PIN_2 LED1). But the problem is that I can't able to name correctly if both ports are using the same pin for different application. So I had tried to use macros instead of API's (#define set_high() ROM_GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_2, GPIO_PIN_2)
#define set_low() ROM_GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_2, 0))
and it worked as well. I just want to know whether any side-effects(regarding timing) or some other problems for using macros.