/**************************************************************************//* *//* Copyright (c) Microsoft Corporation. All rights reserved. *//* *//* This software is licensed under the Microsoft Software License *//* Terms for Microsoft Azure RTOS. Full text of the license can be *//* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA *//* and in the root directory of this software. *//* */.../**************************************************************************//**************************************************************************//**************************************************************************//** *//** LevelX Component *//** *//** User Specific *//** */.../**************************************************************************//**************************************************************************/#ifndefLX_USER_H#defineLX_USER_H/* Defined, this option bypasses the NOR flash driver read routine in favor or reading the NOR memory directly, resulting in a significant performance increase.*//* ... *//* #define LX_DIRECT_READ *//* Defined, this causes the LevelX NOR instance open logic to verify free NOR sectors are all ones.*//* ... *//* #define LX_FREE_SECTOR_DATA_VERIFY *//* By default this value is 128 and defines the logical sector mapping cache size. Large values improve performance, but cost memory. The minimum size is 8 and all values must be a power of 2.*//* ... *//* #define LX_NAND_SECTOR_MAPPING_CACHE_SIZE 128 *//* Defined, this creates a direct mapping cache, such that there are no cache misses. It also requires that LX_NAND_SECTOR_MAPPING_CACHE_SIZE represents the exact number of total pages in your flash device.*//* ... *//* #define LX_NAND_FLASH_DIRECT_MAPPING_CACHE *//* Defined, this disabled the extended NOR cache. *//* #define LX_NOR_DISABLE_EXTENDED_CACHE *//* By default this value is 8, which represents a maximum of 8 sectors that can be cached in a NOR instance.*//* ... *//* #define LX_NOR_EXTENDED_CACHE_SIZE 8 *//* By default this value is 16 and defines the logical sector mapping cache size. Large values improve performance, but cost memory. The minimum size is 8 and all values must be a power of 2.*//* ... *//* #define LX_NOR_SECTOR_MAPPING_CACHE_SIZE 16 *//* Defined, this makes LevelX thread-safe by using a ThreadX mutex object throughout the API.*//* ... *//* #define LX_THREAD_SAFE_ENABLE *//* ... */...#endif
Details
Show: from
Types: Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.