How do you get a GPIO interrupt for using the rec D button on the TX2 board

I need a code snippet showing how to access the GPIO board addresses.

hello james.lundberg,

you can download the [Jetson TX2 Module Pinmux] from Jetson Download Center,
there’s table for signal name and its mappings. thanks