Hi, yas,
I am sorry, I misunderstood your original question previously, as you know that the PIO2_27 pin is connected to the Reset pin of Cap Touch RK043FN02H-CT LCD display.
As you know that PIO2_27 can be configured as GPIO pin, after reset, the application code is run, in the application code, if you need to display something and touch the screen, you can configure PIO2_27 pin as GPIO and output mode with the line:
GPIO_PinInit(GPIO, 2, 27, &pin_config);
then you can clear the PIO2_27 to reset the Cap Touch RK043FN02H-CT LCD display with the line:
GPIO_PinWrite(GPIO, 2, 27, 0);
//because of an external pull-down resistor and the pin is in input mode during/after chip Reset, so the PIO2_27 will //be in LOW logic, so the line maybe removed.
//after a programmable delay like
delay();
//then set the PIO2_27 pin with the line:
GPIO_PinWrite(GPIO, 2, 27, 1);
//It is okay.
During and after processor Reset, the PIO2_27 is in input mode, because of a pull-down resistor, the pin is LOW. after the above application code is run, the PIO2_27 will finish LOW logic, Delay, High logic, the Cap Touch RK043FN02H-CT LCD display. will be Reset.
Hope it can help you
BR
XiangJun rong