文件名称:FatfsDemo
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 702kb
- 下载次数:
- 0次
- 提 供 者:
- 大*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序说明:
本程序通过串口0在查询方式下实现串口的接收和发送。主程序中一共有三种收发方式,可以单独试验。
端口说明:
TXD0 P0.0 串行输出
RXD0 P0.1 串行输入
设置方法:
PINSEL0 = 0x00000005 // 设置I/O口连接到UART0,可能会影响其他端口连接
PINSEL0 = (PINSEL0 & (~0x0F)) | 0x05 // 不影响其他端口连接
-Program Descr iption: This program through the serial port 0 in the query mode to achieve the serial port receive and transmit. There are three main program in the transceiver, it can be a separate trial. Port Descr iption: TXD0 P0.0 serial input serial output RXD0 P0.1 setting method: PINSEL0 = 0x00000005 // set the I/O port is connected to UART0, may affect other port PINSEL0 = (PINSEL0 & (~ 0x0F) ) | 0x05 // does not affect other port
本程序通过串口0在查询方式下实现串口的接收和发送。主程序中一共有三种收发方式,可以单独试验。
端口说明:
TXD0 P0.0 串行输出
RXD0 P0.1 串行输入
设置方法:
PINSEL0 = 0x00000005 // 设置I/O口连接到UART0,可能会影响其他端口连接
PINSEL0 = (PINSEL0 & (~0x0F)) | 0x05 // 不影响其他端口连接
-Program Descr iption: This program through the serial port 0 in the query mode to achieve the serial port receive and transmit. There are three main program in the transceiver, it can be a separate trial. Port Descr iption: TXD0 P0.0 serial input serial output RXD0 P0.1 setting method: PINSEL0 = 0x00000005 // set the I/O port is connected to UART0, may affect other port PINSEL0 = (PINSEL0 & (~ 0x0F) ) | 0x05 // does not affect other port
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FatfsDemo\DELAY\delay.c
.........\.....\delay.h
.........\FATFS\00readme.txt
.........\.....\diskio.c
.........\.....\diskio.h
.........\.....\ff.c
.........\.....\ff.h
.........\.....\ffconf.h
.........\.....\integer.h
.........\.....\option\cc932.c
.........\.....\......\cc936.c
.........\.....\......\cc949.c
.........\.....\......\cc950.c
.........\.....\......\ccsbcs.c
.........\.....\......\syscall.c
.........\Obj\delay.crf
.........\...\delay.d
.........\...\delay.o
.........\...\diskio.crf
.........\...\diskio.d
.........\...\diskio.o
.........\...\fatfs.axf
.........\...\fatfs.htm
.........\...\fatfs.lnp
.........\...\fatfs.plg
.........\...\fatfs.sct
.........\...\fatfs.tra
.........\...\ff.crf
.........\...\ff.d
.........\...\ff.o
.........\...\main.crf
.........\...\main.d
.........\...\main.o
.........\...\sd.crf
.........\...\sd.d
.........\...\sd.o
.........\...\spi.crf
.........\...\spi.d
.........\...\spi.o
.........\...\Startup.d
.........\...\Startup.o
.........\...\target.crf
.........\...\target.d
.........\...\target.o
.........\...\uart0.crf
.........\...\uart0.d
.........\...\uart0.o
.........\readme.txt
.........\SD\sd.c
.........\..\sd.h
.........\.PI\SPI.c
.........\...\SPI.h
.........\Target\target.c
.........\......\target.h
.........\uart0\uart0.c
.........\.....\uart0.h
.........\.ser\config.h
.........\....\fatfs.map
.........\....\fatfs.plg
.........\....\fatfs.uvopt
.........\....\fatfs.uvproj
.........\....\fatfs_Target 1.dep
.........\....\fatfs_uvopt.bak
.........\....\fatfs_uvproj.bak
.........\....\main.c
.........\....\Startup.lst
.........\....\Startup.s
.........\....\type.h
.........\FATFS\option
.........\DELAY
.........\FATFS
.........\Obj
.........\SD
.........\SPI
.........\Target
.........\uart0
.........\user
FatfsDemo
.........\.....\delay.h
.........\FATFS\00readme.txt
.........\.....\diskio.c
.........\.....\diskio.h
.........\.....\ff.c
.........\.....\ff.h
.........\.....\ffconf.h
.........\.....\integer.h
.........\.....\option\cc932.c
.........\.....\......\cc936.c
.........\.....\......\cc949.c
.........\.....\......\cc950.c
.........\.....\......\ccsbcs.c
.........\.....\......\syscall.c
.........\Obj\delay.crf
.........\...\delay.d
.........\...\delay.o
.........\...\diskio.crf
.........\...\diskio.d
.........\...\diskio.o
.........\...\fatfs.axf
.........\...\fatfs.htm
.........\...\fatfs.lnp
.........\...\fatfs.plg
.........\...\fatfs.sct
.........\...\fatfs.tra
.........\...\ff.crf
.........\...\ff.d
.........\...\ff.o
.........\...\main.crf
.........\...\main.d
.........\...\main.o
.........\...\sd.crf
.........\...\sd.d
.........\...\sd.o
.........\...\spi.crf
.........\...\spi.d
.........\...\spi.o
.........\...\Startup.d
.........\...\Startup.o
.........\...\target.crf
.........\...\target.d
.........\...\target.o
.........\...\uart0.crf
.........\...\uart0.d
.........\...\uart0.o
.........\readme.txt
.........\SD\sd.c
.........\..\sd.h
.........\.PI\SPI.c
.........\...\SPI.h
.........\Target\target.c
.........\......\target.h
.........\uart0\uart0.c
.........\.....\uart0.h
.........\.ser\config.h
.........\....\fatfs.map
.........\....\fatfs.plg
.........\....\fatfs.uvopt
.........\....\fatfs.uvproj
.........\....\fatfs_Target 1.dep
.........\....\fatfs_uvopt.bak
.........\....\fatfs_uvproj.bak
.........\....\main.c
.........\....\Startup.lst
.........\....\Startup.s
.........\....\type.h
.........\FATFS\option
.........\DELAY
.........\FATFS
.........\Obj
.........\SD
.........\SPI
.........\Target
.........\uart0
.........\user
FatfsDemo