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 144 of file stk_526.h.

Referenced by device_template_task_init().

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

Definition at line 145 of file stk_526.h.

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

Definition at line 146 of file stk_526.h.


Generated on Mon Nov 3 13:13:45 2008 for ATMEL by  doxygen 1.5.3