ATMEL Hardware data flash configuration
[STK525]

Macros to init the environnement for DF on STK525. More...

Defines

#define DF_4_MB
#define DF_NB_MEM   1
#define Df_init_spi()
#define Df_select_0()   (PORTB &= ~(1<<PINB4))
#define Df_desel_all()   (PORTB |= (1<<PINB4))

Detailed Description

Macros to init the environnement for DF on STK525.


Define Documentation

#define DF_4_MB

Definition at line 153 of file stk_525.h.

#define DF_NB_MEM   1

Definition at line 154 of file stk_525.h.

 
#define Df_init_spi (  ) 

Value:

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

Definition at line 162 of file stk_525.h.

 
#define Df_select_0 (  )     (PORTB &= ~(1<<PINB4))

Definition at line 165 of file stk_525.h.

 
#define Df_desel_all (  )     (PORTB |= (1<<PINB4))

Definition at line 166 of file stk_525.h.


Generated on Mon Sep 14 13:24:13 2009 for ATMEL by  doxygen 1.5.3