HWB button management
[USBKEY Module]

Collaboration diagram for HWB button management:


Defines

#define Hwb_button_init()   (DDRE &= 0xFB, PORTE |= 0x04)
#define Is_hwb()   ((PINE & 0x04) ? FALSE : TRUE)
#define Is_not_hwb()   ((PINE & 0x04) ? TRUE : FALSE)

Detailed Description

HWB button is connected to PE2 and can also be used as generic push button

Define Documentation

 
#define Hwb_button_init (  )     (DDRE &= 0xFB, PORTE |= 0x04)

Definition at line 74 of file usb_key.h.

 
#define Is_hwb (  )     ((PINE & 0x04) ? FALSE : TRUE)

Definition at line 75 of file usb_key.h.

 
#define Is_not_hwb (  )     ((PINE & 0x04) ? TRUE : FALSE)

Definition at line 76 of file usb_key.h.


Generated on Fri Jan 26 17:33:08 2007 for Atmel by  doxygen 1.5.1-p1