LX_NOR_SECTOR_SIZE is only used within levelx.
 
Symbols
loading...
Files
loading...

LX_NOR_SECTOR_SIZE macro

Syntax

#define LX_NOR_SECTOR_SIZE (512/sizeof(ULONG))

References

LocationText
lx_api.h:211
#define LX_NOR_SECTOR_SIZE (512/sizeof(ULONG))
lx_nor_flash_block_reclaim.c:306
if ((new_sector_address >= block_word_ptr) && (new_sector_address < (block_word_ptr + LX_NOR_SECTOR_SIZE)))
lx_nor_flash_block_reclaim.c:341
(i * LX_NOR_SECTOR_SIZE), nor_flash -> lx_nor_flash_sector_buffer,
lx_nor_flash_block_reclaim.c:342
LX_NOR_SECTOR_SIZE);
lx_nor_flash_block_reclaim.c:356
status = _lx_nor_flash_driver_write(nor_flash, new_sector_address, nor_flash -> lx_nor_flash_sector_buffer, LX_NOR_SECTOR_SIZE);
lx_nor_flash_driver_block_erase.c:107
cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE;
lx_nor_flash_driver_read.c:115
cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE;
lx_nor_flash_driver_read.c:159
cache_offset = cache_offset & ~((ULONG) (LX_NOR_SECTOR_SIZE-1));
lx_nor_flash_driver_read.c:165
LX_NOR_SECTOR_SIZE);
lx_nor_flash_driver_write.c:108
cache_entry_end = cache_entry_start + LX_NOR_SECTOR_SIZE;
lx_nor_flash_extended_cache_enable.c:99
if ((memory) && (size < LX_NOR_SECTOR_SIZE))
lx_nor_flash_extended_cache_enable.c:123
while (cache_size >= LX_NOR_SECTOR_SIZE)
lx_nor_flash_extended_cache_enable.c:132
cache_memory = cache_memory + LX_NOR_SECTOR_SIZE;
lx_nor_flash_extended_cache_enable.c:135
cache_size = cache_size - LX_NOR_SECTOR_SIZE;
lx_nor_flash_logical_sector_find.c:378
*physical_sector_address = block_word_ptr + nor_flash -> lx_nor_flash_block_physical_sector_offset + (j * LX_NOR_SECTOR_SIZE);
lx_nor_flash_logical_sector_find.c:421
*physical_sector_address = block_word_ptr + nor_flash -> lx_nor_flash_block_physical_sector_offset + (j * LX_NOR_SECTOR_SIZE);
lx_nor_flash_open.c:148
sectors_per_block = (nor_flash -> lx_nor_flash_words_per_block / LX_NOR_SECTOR_SIZE) - 1;
lx_nor_flash_open.c:166
if (total_header_words <= LX_NOR_SECTOR_SIZE)
lx_nor_flash_open.c:170
total_header_words = LX_NOR_SECTOR_SIZE;
lx_nor_flash_open.c:176
header_sectors = (total_header_words-1)/LX_NOR_SECTOR_SIZE;
lx_nor_flash_open.c:182
total_header_words = header_sectors * LX_NOR_SECTOR_SIZE;
lx_nor_flash_physical_sector_allocate.c:307
*physical_sector_address = block_word_ptr + (nor_flash -> lx_nor_flash_block_physical_sector_offset) + (((j * 32) + k) * LX_NOR_SECTOR_SIZE);
lx_nor_flash_sector_read.c:117
status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE);
lx_nor_flash_sector_read.c:150
status = _lx_nor_flash_driver_read(nor_flash, sector_address, buffer, LX_NOR_SECTOR_SIZE);
lx_nor_flash_sector_write.c:151
status = _lx_nor_flash_driver_write(nor_flash, new_sector_address, buffer, LX_NOR_SECTOR_SIZE);