附件有51单片机加上sl811读写U盘的源程序和原理图

/*--------------------------------------------------------------------------

AT89X52.H

Header file for the low voltage Flash Atmel AT89C52 and AT89LV52.

Copyright (c) 1995-1996 Keil Software, Inc.  All rights reserved.

--------------------------------------------------------------------------*/

#ifndef AT89X52_HEADER_FILE

#define AT89X52_HEADER_FILE 1

/*------------------------------------------------

Byte Registers

------------------------------------------------*/

sfr P0      = 0x80;

sfr SP      = 0x81;

sfr DPL     = 0x82;

sfr DPH     = 0x83;

sfr PCON    = 0x87;

sfr TCON    = 0x88;

sfr TMOD    = 0x89;

sfr TL0     = 0x8A;

sfr TL1     = 0x8B;

sfr TH0     = 0x8C;

sfr TH1     = 0x8D;

sfr P1      = 0x90;

sfr SCON    = 0x98;

sfr SBUF    = 0x99;

sfr P2      = 0xA0;

sfr IE      = 0xA8;

sfr P3      = 0xB0;

sfr IP      = 0xB8;

sfr T2CON   = 0xC8;

sfr T2MOD   = 0xC9;

sfr RCAP2L  = 0xCA;

sfr RCAP2H  = 0xCB;

sfr TL2     = 0xCC;

sfr TH2     = 0xCD;

sfr PSW     = 0xD0;

sfr ACC     = 0xE0;

sfr B       = 0xF0;

51单片机读写u盘(含源程序和原理图)