mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	Merge pull request #593 from tannewt/patch-1
Indent sub-portions of tag fields
This commit is contained in:
		
							
								
								
									
										14
									
								
								SPEC.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								SPEC.md
									
									
									
									
									
								
							| @@ -233,19 +233,19 @@ Metadata tag fields: | |||||||
|    into a 3-bit abstract type and an 8-bit chunk field. Note that the value |    into a 3-bit abstract type and an 8-bit chunk field. Note that the value | ||||||
|    `0x000` is invalid and not assigned a type. |    `0x000` is invalid and not assigned a type. | ||||||
|  |  | ||||||
| 3. **Type1 (3-bits)** - Abstract type of the tag. Groups the tags into |     1. **Type1 (3-bits)** - Abstract type of the tag. Groups the tags into | ||||||
|    8 categories that facilitate bitmasked lookups. |        8 categories that facilitate bitmasked lookups. | ||||||
|  |  | ||||||
| 4. **Chunk (8-bits)** - Chunk field used for various purposes by the different |     2. **Chunk (8-bits)** - Chunk field used for various purposes by the different | ||||||
|    abstract types.  type1+chunk+id form a unique identifier for each tag in the |        abstract types.  type1+chunk+id form a unique identifier for each tag in the | ||||||
|    metadata block. |        metadata block. | ||||||
|  |  | ||||||
| 5. **Id (10-bits)** - File id associated with the tag. Each file in a metadata | 3. **Id (10-bits)** - File id associated with the tag. Each file in a metadata | ||||||
|    block gets a unique id which is used to associate tags with that file. The |    block gets a unique id which is used to associate tags with that file. The | ||||||
|    special value `0x3ff` is used for any tags that are not associated with a |    special value `0x3ff` is used for any tags that are not associated with a | ||||||
|    file, such as directory and global metadata. |    file, such as directory and global metadata. | ||||||
|  |  | ||||||
| 6. **Length (10-bits)** - Length of the data in bytes. The special value | 4. **Length (10-bits)** - Length of the data in bytes. The special value | ||||||
|    `0x3ff` indicates that this tag has been deleted. |    `0x3ff` indicates that this tag has been deleted. | ||||||
|  |  | ||||||
| ## Metadata types | ## Metadata types | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user