HWB button management
[USBKEY Module]

Collaboration diagram for HWB button management:

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

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 Mar 17 16:02:12 2006 for Atmel by  doxygen 1.4.6-NO