Memoria Flash AT45DB161D

Dependencies:   at45db161d mbed

Committer:
apm_litoral
Date:
Thu Jun 07 05:19:49 2012 +0000
Revision:
0:6c3378666293

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
apm_litoral 0:6c3378666293 1 #include "mbed.h"
apm_litoral 0:6c3378666293 2 #include "at45db161d.h"
apm_litoral 0:6c3378666293 3
apm_litoral 0:6c3378666293 4 DigitalOut myled(LED1);
apm_litoral 0:6c3378666293 5 ATD45DB161D Flash(p5,p6,p7,p8);
apm_litoral 0:6c3378666293 6
apm_litoral 0:6c3378666293 7 int main() {
apm_litoral 0:6c3378666293 8 Flash.Init();
apm_litoral 0:6c3378666293 9 Flash.ChipErase();
apm_litoral 0:6c3378666293 10 Flash.DeepPowerDown();
apm_litoral 0:6c3378666293 11 wait(5);
apm_litoral 0:6c3378666293 12 Flash.ResumeFromDeepPowerDown();
apm_litoral 0:6c3378666293 13 }