Devices and Volumes
5-1 DEVICE OPERATIONS
The ultimate purpose of a file system device is to hold data. Consequently, two major
operations that can occur on a device are the reading and writing of individual sectors. Five
additional operations can be performed which affect not just individual sectors, but the
whole device:
A device can be opened . During the opening of a device, it is initialized and its
characteristics are determined (sector size, number of sectors, vendor).
A device can be partitioned . Partitioning ivides the final unallocated portion of the
device into two parts, so that a volume could be located on each (see section 5-4
“Partitions” on page 72).
A device can be low-level formatted . Some device must be low-level formatted before
being used.
A device can be (high-level) formatted . (High-level) formatting writes the control
information for a file system to a device so that a volume on it can be mounted.
Essentially, (high-level) formatting is the process of creating a volume on an empty
device or partition.
A device can be closed . During the closing of a device, it is uninitialized (if necessary)
and associated structures are freed.
These operations and the corresponding API functions are discussed in this section. For
information about using device names, see section 4-2 “μC/FS Device and Volume Names”
on page 61.
Function
FSDev_Close()
FSDev_GetNbrPartitions()
FSDev_IO_Ctrl()
FSDev_Open()
FSDev_PartitionAdd()
Description
Remove device from file system.
Get number of paritions on a device.
Perform device I/O control operation.
Add device to file system.
Add partition to device.
68
相关PDF资料
AD-UCOS3-SPRD PRD LIC UCOS3 RTOS CORE CCES SGL
AD-UCUSBD-SPRD PRD LIC UCUSB DEV CORE CCES SGL
AD637-EVALZ BOARD EVALUATION FOR AD637
AD736-EVALZ BOARD EVALUATION FOR AD736
AD737-EVALZ BOARD EVALUATION FOR AD737
AD8007AKS-EBZ BOARD EVAL FOR AD8007AKS
AD8018ARU-EVAL BOARD EVAL FOR AD8018
AD8034ART-EBZ BOARD EVAL FOR AD8034ART
相关代理商/技术参数
ADuC-H7020 功能描述:开发板和工具包 - ARM HDR BRD FOR ADUC7020 ARM7 RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
ADuC-IO7020 功能描述:开发板和工具包 - ARM DEV BRD FOR ADUC7020 ARM7 RoHS:否 制造商:Arduino 产品:Development Boards 工具用于评估:ATSAM3X8EA-AU 核心:ARM Cortex M3 接口类型:DAC, ICSP, JTAG, UART, USB 工作电源电压:3.3 V
ADUCM3027BCBZ-R7 功能描述:LOWPWR CORTEXM3W/128KKEMBEDDED F 制造商:analog devices inc. 系列:* 零件状态:在售 标准包装:1,500
ADUCM3027BCBZ-RL 功能描述:LOWPWR CORTEXM3W/128KKEMBEDDED F 制造商:analog devices inc. 系列:* 零件状态:在售 标准包装:5,000
ADUCM3027BCPZ 功能描述:IC MCU 32BIT 128KB FLASH 64LFCSP 制造商:analog devices inc. 系列:ADuCM 包装:托盘 零件状态:在售 核心处理器:ARM? Cortex?-M3 核心尺寸:32-位 速度:26MHz 连接性:I2C,SPI,UART/USART 外设:DMA,POR,PWM,WDT I/O 数:44 程序存储容量:128KB(128K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:96K x 8 电压 - 电源(Vcc/Vdd):1.74 V ~ 3.6 V 数据转换器:A/D 8x12b 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:64-WFQFN 裸露焊盘 供应商器件封装:64-LFCSP(9x9) 标准包装:1
ADUCM3027BCPZ-R7 功能描述:IC MCU 32BIT 128KB FLASH 64LFCSP 制造商:analog devices inc. 系列:ADuCM 包装:剪切带(CT) 零件状态:在售 核心处理器:ARM? Cortex?-M3 核心尺寸:32-位 速度:26MHz 连接性:I2C,SPI,UART/USART 外设:DMA,POR,PWM,WDT I/O 数:44 程序存储容量:128KB(128K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:96K x 8 电压 - 电源(Vcc/Vdd):1.74 V ~ 3.6 V 数据转换器:A/D 8x12b 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:64-WFQFN 裸露焊盘 供应商器件封装:64-LFCSP(9x9) 标准包装:1
ADUCM3027BCPZ-RL 功能描述:IC MCU 32BIT 128KB FLASH 64LFCSP 制造商:analog devices inc. 系列:ADuCM 包装:带卷(TR) 零件状态:在售 核心处理器:ARM? Cortex?-M3 核心尺寸:32-位 速度:26MHz 连接性:I2C,SPI,UART/USART 外设:DMA,POR,PWM,WDT I/O 数:44 程序存储容量:128KB(128K x 8) 程序存储器类型:闪存 EEPROM 容量:- RAM 容量:96K x 8 电压 - 电源(Vcc/Vdd):1.74 V ~ 3.6 V 数据转换器:A/D 8x12b 振荡器类型:内部 工作温度:-40°C ~ 85°C(TA) 封装/外壳:64-WFQFN 裸露焊盘 供应商器件封装:64-LFCSP(9x9) 标准包装:2,500
ADUCM3029BCBZ-R7 功能描述:LOWPWR CORTEX M3W/256KEMBEDDED F 制造商:analog devices inc. 系列:* 零件状态:在售 标准包装:1,500