Mechanical Buttons

SAM4E Xplained Pro contains two mechanical buttons. One button is the RESET button connected to the SAM4E reset line and the other is a generic user configurable button. When a button is pressed it will drive the I/O line to GND. Note that in order to read the button status the internal pull-up must be enabled on PA2.

Table 1. Mechanical Buttons
Pin on SAM4E Silkscreen text
NRST RESET
PA2 SW0