Hello Marco,
I will test it on my side after I get this board.
How about the demo "periph_grouped_int"?
This default demo is for Port0, pin 17, Select Low Level interrupt on this pin :
/* GPIO pin for GROUPED GPIO interrupt. This is SW1-WAKE button switch input. */
#define TEST_BUTTON_PIN 17 /* GPIO pin number mapped to PININT */
#define TEST_BUTTON_PORT 0 /* GPIO port number mapped to PININT */
Chip_GPIOGP_SelectLowLevel(LPC_GPIOGROUP, 0, TEST_BUTTON_PORT, 1 << TEST_BUTTON_PIN);
after download it ,check the register of PORT_POL[0], bit 17.
Then change to port2- pin4, how about the register of PORT_POL[2] ?
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------