Hardware mmc sd interface configuration
[evk527]

Macros to init the environnement for mmc /sd on evk527. More...

Defines

#define Mmc_init_spi()
#define Mmc_sd_select()   (PORTB &= ~(1<<PINB0))
#define Mmc_sd_unselect()   (PORTB |= (1<<PINB0))

Detailed Description

Macros to init the environnement for mmc /sd on evk527.


Define Documentation

 
#define Mmc_init_spi (  ) 

Value:

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

Definition at line 168 of file evk_527.h.

 
#define Mmc_sd_select (  )     (PORTB &= ~(1<<PINB0))

Definition at line 171 of file evk_527.h.

 
#define Mmc_sd_unselect (  )     (PORTB |= (1<<PINB0))

Definition at line 172 of file evk_527.h.


Generated on Fri Sep 11 15:02:36 2009 for ATMEL by  doxygen 1.5.3