3.2.6 Mechanical Switches

The AVR-IoT Cellular Mini board has two mechanical switches. SW0 is a generic user-configurable switch that will drive the connected I/O line to ground (GND) when pressed. SW1 is connected to an input-only pin on the AVR128DB48 and can be fused to function as RESET. There are no external pull-up resistors for the mechanical switches. Only external series resistors are present to prevent contention. It is recommended to enable internal pull-ups for PD2 and PF6.
Info: PF6 is by default fused to function as input. Set the RSTPINCFG fuse high to use SW1 as RESET.
Table 3-9. Mechanical Switch Connections
SwitchAVR128DB48 PinFunctionShared Functionality
SW0PD2GPIO / EXT_INTOn-board debugger
SW1PF6Input/RESET