16FXlib
Internal configurations (buttons.cfg.h)

Detailed Description

Overview
This library provides hardware definitions to the buttons code.

Macros

#define BUTTONS_PORT   PDR07
 Port used by the buttons.
 
#define BUTTONS_DDR   DDR07
 Direction register for the port.
 
#define BUTTONS_PIER   PIER07
 Input enable register for the port.
 
#define BUTTON_0   0
 Button 0 bit.
 
#define BUTTON_1   1
 Button 1 bit.
 
#define BUTTON_MASK   (_BV(BUTTON_0) | _BV(BUTTON_1))
 Button mask.