HWB button management
[stk526]

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

Defines

#define Hwb_button_init()   (DDRD &= ~(1<<PIND7))
#define Is_hwb()   ((PIND & (1<<PIND7)) ? FALSE : TRUE)
#define Is_not_hwb()   ((PIND & (1<<PIND7)) ? TRUE : FALSE)

Detailed Description

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


Define Documentation

 
#define Hwb_button_init (  )     (DDRD &= ~(1<<PIND7))

Definition at line 147 of file stk_526.h.

Referenced by device_template_task_init().

 
#define Is_hwb (  )     ((PIND & (1<<PIND7)) ? FALSE : TRUE)

Definition at line 148 of file stk_526.h.

 
#define Is_not_hwb (  )     ((PIND & (1<<PIND7)) ? TRUE : FALSE)

Definition at line 149 of file stk_526.h.


Generated on Fri Sep 11 14:23:54 2009 for ATMEL by  doxygen 1.5.3