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

#define DF_NB_MEM   1

Definition at line 159 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 167 of file stk_526.h.

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

Definition at line 172 of file stk_526.h.

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

Definition at line 173 of file stk_526.h.


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