Mechanical Buttons

ATmega4809 Xplained Pro has two mechanical buttons. Both buttons are connected to I/O-pins on the ATmega4809 and can be used as general purpose buttons in your application. When a button is pressed it will drive the I/O line to GND.

Button SW1 can also be used as a reset button if PF6 is configured as the RESET pin in the ATmega4809. PF6 is configured as a RESET pin by writing fuses, for more information see the ATmega4809 data sheet.

Info: There is no pull-up resistor connected to the generic user button SW0. Remember to enable the internal pull-up in the ATmega4809 to use the button. There is an external pull-up resistor connected to SW1 connected to PF6.
Table 1. Mechanical Buttons
ATmega4809 Pin Silkscreen Text Shared Functionality
PB2 SW0 EXT2, DGI GPIO0
PF6 SW1/RESET EXT2, DEBUG, EDBG