levelx
LX_NOR_SECTOR_SIZE
is only used within levelx.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
levelx
LX_NOR_SECTOR_SIZE
LX_NOR_SECTOR_SIZE macro
Syntax
Show:
Summary
Declaration
from
lx_api.h:211
#define
LX_NOR_SECTOR_SIZE
(
512
/
sizeof
(
ULONG
)
)
Examples
References
from
examples
Code
Location
#define
LX_NOR_SECTOR_SIZE
(
512
/
sizeof
(
ULONG
)
)
lx_api.h:211
if
(
(
new_sector_address
>=
block_word_ptr
)
&&
(
new_sector_address
<
(
block_word_ptr
+
LX_NOR_SECTOR_SIZE
)
)
)
lx_nor_flash_block_reclaim.c:306
(
i
*
LX_NOR_SECTOR_SIZE
)
,
nor_flash
->
lx_nor_flash_sector_buffer
,
lx_nor_flash_block_reclaim.c:341
LX_NOR_SECTOR_SIZE
)
;
lx_nor_flash_block_reclaim.c:342
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_block_reclaim.c:356
cache_entry_end
=
cache_entry_start
+
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_offset
=
cache_offset
&
~
(
(
ULONG
)
(
LX_NOR_SECTOR_SIZE
-
1
)
)
;
lx_nor_flash_driver_read.c:159
LX_NOR_SECTOR_SIZE
)
;
lx_nor_flash_driver_read.c:165
cache_entry_end
=
cache_entry_start
+
LX_NOR_SECTOR_SIZE
;
lx_nor_flash_driver_write.c:108
if
(
(
memory
)
&&
(
size
<
LX_NOR_SECTOR_SIZE
)
)
lx_nor_flash_extended_cache_enable.c:99
while
(
cache_size
>=
LX_NOR_SECTOR_SIZE
)
lx_nor_flash_extended_cache_enable.c:123
cache_memory
=
cache_memory
+
LX_NOR_SECTOR_SIZE
;
lx_nor_flash_extended_cache_enable.c:132
cache_size
=
cache_size
-
LX_NOR_SECTOR_SIZE
;
lx_nor_flash_extended_cache_enable.c:135
*
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: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
sectors_per_block
=
(
nor_flash
->
lx_nor_flash_words_per_block
/
LX_NOR_SECTOR_SIZE
)
-
1
;
lx_nor_flash_open.c:148
if
(
total_header_words
<=
LX_NOR_SECTOR_SIZE
)
lx_nor_flash_open.c:166
total_header_words
=
LX_NOR_SECTOR_SIZE
;
lx_nor_flash_open.c:170
header_sectors
=
(
total_header_words
-
1
)
/
LX_NOR_SECTOR_SIZE
;
lx_nor_flash_open.c:176
total_header_words
=
header_sectors
*
LX_NOR_SECTOR_SIZE
;
lx_nor_flash_open.c:182
*
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_physical_sector_allocate.c:307
status
=
_lx_nor_flash_driver_read
(
nor_flash
,
sector_address
,
buffer
,
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_write
(
nor_flash
,
new_sector_address
,
buffer
,
LX_NOR_SECTOR_SIZE
)
;
lx_nor_flash_sector_write.c:151
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out