This message was posted on behalf of Intel Corporation
That's not possible. Actually, things that require the hardware side (a button for example) cannot be simulated. Anyhow, if you want to test the part of the code that will be executed after the button is pressed, you could use an if statement set to TRUE and locate that part of the code under it. You won't be able to test the GPIO event itself, but you could test the code that should be executed after the event occurs.