data flash configuration
[stk526]

Macros to init the environnement for DF on STK526 board. More...

Defines

#define DF_8_MB
#define DF_NB_MEM   1
#define Df_init_spi()
#define Df_select_0()   (PORTC &= ~(1<<PINC2))
#define Df_desel_all()   (PORTC |= (1<<PINC2))

Detailed Description

Macros to init the environnement for DF on STK526 board.


Define Documentation

#define DF_8_MB

Definition at line 155 of file stk_526.h.

#define DF_NB_MEM   1

Definition at line 156 of file stk_526.h.

 
#define Df_init_spi (  ) 

Value:

(DDRB  &= ~((1<<PINB3)), \
                            DDRB  |=  ((1<<PINB2)|(1<<PINB1)|(1<<PINB0)), \
                            PORTB |=  ((1<<PINB3)|(1<<PINB2)|(1<<PINB1)|(1<<PINB0)),\
                            DDRC  |=  ((1<<PINC2)), \
                            PORTC |=  ((1<<PINC2)) )

Definition at line 164 of file stk_526.h.

 
#define Df_select_0 (  )     (PORTC &= ~(1<<PINC2))

Definition at line 169 of file stk_526.h.

 
#define Df_desel_all (  )     (PORTC |= (1<<PINC2))

Definition at line 170 of file stk_526.h.


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