- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# 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 150 of file stk_525.h.

#define DF_NB_MEM 1

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

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

Definition at line 162 of file stk_525.h.

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

Definition at line 163 of file stk_525.h.