levelx
_lx_nor_flash_driver_write()
is only used within levelx.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
levelx
_lx_nor_flash_driver_write()
_lx_nor_flash_driver_write() function
Syntax
Show:
Summary
Declaration
Definition
from
lx_api.h:639
UINT
_lx_nor_flash_driver_write
(
LX_NOR_FLASH
*
nor_flash
,
ULONG
*
flash_address
,
ULONG
*
source
,
ULONG
words
)
;
Implemented in
lx_nor_flash_driver_write.c:82
Arguments
Argument
nor_flash
flash_address
source
words
Related Functions
Found 19 other functions taking a
LX_NOR_FLASH_STRUCT
argument:
Function
Description
_lx_nor_flash_system_error()
_lx_nor_flash_driver_read()
_lx_nor_flash_block_reclaim()
_lx_nor_flash_logical_sector_find()
_lx_nor_flash_physical_sector_allocate()
_lx_nor_flash_driver_block_erase()
_lx_nor_flash_sector_mapping_cache_invalidate()
lx_stm32_qspi_initialize()
initialize the OctoSPI memory
_lx_nor_flash_sector_read()
_lx_nor_flash_sector_write()
_lx_nor_flash_close()
_lx_nor_flash_open()
_lx_nor_flash_sector_release()
_lx_nor_flash_next_block_to_erase_find()
lx_stm32_nor_simulator_initialize()
_lx_nor_flash_defragment()
_lx_nor_flash_extended_cache_enable()
_lx_nor_flash_partial_defragment()
_lx_nor_flash_internal_error()
Examples
References
from
examples
Code
Location
Referrer
UINT
_lx_nor_flash_driver_write
(
LX_NOR_FLASH
*
nor_flash
,
ULONG
*
flash_address
,
ULONG
*
source
,
ULONG
words
)
lx_nor_flash_driver_write.c:82
UINT
_lx_nor_flash_driver_write
(
LX_NOR_FLASH
*
nor_flash
,
ULONG
*
flash_address
,
ULONG
*
source
,
ULONG
words
)
;
lx_api.h:639
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
erase_started_value
,
1
)
;
lx_nor_flash_block_reclaim.c:133
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
+
(
nor_flash
->
lx_nor_flash_block_free_bit_map_offset
+
(
nor_flash
->
lx_nor_flash_block_bit_map_words
-
1
)
)
,
lx_nor_flash_block_reclaim.c:182
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
temp_erase_count
,
1
)
;
lx_nor_flash_block_reclaim.c:198
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
erase_count
,
1
)
;
lx_nor_flash_block_reclaim.c:212
_lx_nor_flash_block_reclaim()
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
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
list_word_ptr
,
&
list_word
,
1
)
;
lx_nor_flash_block_reclaim.c:376
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
new_mapping_address
,
&
new_mapping_entry
,
1
)
;
lx_nor_flash_block_reclaim.c:393
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
new_mapping_address
,
&
new_mapping_entry
,
1
)
;
lx_nor_flash_block_reclaim.c:411
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
list_word_ptr
,
&
list_word
,
1
)
;
lx_nor_flash_block_reclaim.c:428
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
erase_started_value
,
1
)
;
lx_nor_flash_block_reclaim.c:465
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
+
(
nor_flash
->
lx_nor_flash_block_free_bit_map_offset
+
(
nor_flash
->
lx_nor_flash_block_bit_map_words
-
1
)
)
,
lx_nor_flash_block_reclaim.c:514
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
temp_erase_count
,
1
)
;
lx_nor_flash_block_reclaim.c:530
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
erase_count
,
1
)
;
lx_nor_flash_block_reclaim.c:544
_lx_nor_flash_block_reclaim()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
+
(
nor_flash
->
lx_nor_flash_block_free_bit_map_offset
+
(
bit_map_words
-
1
)
)
,
&
bit_map_mask
,
1
)
;
lx_nor_flash_open.c:295
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
block_word
,
1
)
;
lx_nor_flash_open.c:312
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
+
(
nor_flash
->
lx_nor_flash_block_free_bit_map_offset
+
(
bit_map_words
-
1
)
)
,
&
bit_map_mask
,
1
)
;
lx_nor_flash_open.c:435
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
temp_erased_count
,
1
)
;
lx_nor_flash_open.c:450
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
,
&
max_erased_count
,
1
)
;
lx_nor_flash_open.c:464
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
(
block_word_ptr
+
nor_flash
->
lx_nor_flash_block_physical_sector_mapping_offset
+
j
)
,
&
block_word
,
1
)
;
lx_nor_flash_open.c:602
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
(
block_word_ptr
+
nor_flash
->
lx_nor_flash_block_physical_sector_mapping_offset
+
j
)
,
&
block_word
,
1
)
;
lx_nor_flash_open.c:654
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
(
block_word_ptr
+
nor_flash
->
lx_nor_flash_block_physical_sector_mapping_offset
+
j
)
,
&
block_word
,
1
)
;
lx_nor_flash_open.c:693
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
(
block_word_ptr
+
nor_flash
->
lx_nor_flash_block_physical_sector_mapping_offset
+
j
)
,
&
block_word
,
1
)
;
lx_nor_flash_open.c:732
_lx_nor_flash_open()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
(
block_word_ptr
+
nor_flash
->
lx_nor_flash_block_free_bit_map_offset
+
j
)
,
&
block_word
,
1
)
;
lx_nor_flash_physical_sector_allocate.c:189
_lx_nor_flash_physical_sector_allocate()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
+
LX_NOR_FLASH_MIN_LOGICAL_SECTOR_OFFSET
,
&
min_logical_sector
,
1
)
;
lx_nor_flash_physical_sector_allocate.c:275
_lx_nor_flash_physical_sector_allocate()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
block_word_ptr
+
LX_NOR_FLASH_MAX_LOGICAL_SECTOR_OFFSET
,
&
max_logical_sector
,
1
)
;
lx_nor_flash_physical_sector_allocate.c:288
_lx_nor_flash_physical_sector_allocate()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
mapping_address
,
&
mapping_entry
,
1
)
;
lx_nor_flash_sector_read.c:164
_lx_nor_flash_sector_read()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
mapping_address
,
&
mapping_entry
,
1
)
;
lx_nor_flash_sector_release.c:148
_lx_nor_flash_sector_release()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
new_sector_address
,
buffer
,
LX_NOR_SECTOR_SIZE
)
;
lx_nor_flash_sector_write.c:151
_lx_nor_flash_sector_write()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
old_mapping_address
,
&
old_mapping_entry
,
1
)
;
lx_nor_flash_sector_write.c:206
_lx_nor_flash_sector_write()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
new_mapping_address
,
&
new_mapping_entry
,
1
)
;
lx_nor_flash_sector_write.c:230
_lx_nor_flash_sector_write()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
new_mapping_address
,
&
new_mapping_entry
,
1
)
;
lx_nor_flash_sector_write.c:254
_lx_nor_flash_sector_write()
status
=
_lx_nor_flash_driver_write
(
nor_flash
,
old_mapping_address
,
&
old_mapping_entry
,
1
)
;
lx_nor_flash_sector_write.c:284
_lx_nor_flash_sector_write()
Call Tree
from
examples
_lx_nor_flash_driver_write()
is called by 6 functions and calls 1 function:
_lx_nor_flash_block_reclaim()
_lx_nor_flash_open()
_lx_nor_flash_physical_sector_allocate()
_lx_nor_flash_sector_read()
_lx_nor_flash_sector_release()
_lx_nor_flash_sector_write()
All items filtered out
_lx_nor_flash_driver_write()
LX_NOR_FLASH_STRUCT::lx_nor_flash_driver_write
All items filtered out
Data Use
from
examples
_lx_nor_flash_driver_write()
reads 5 variables:
LX_NOR_FLASH_EXTENDED_CACHE_ENTRY_STRUCT::lx_nor_flash_extended_cache_entry_sector_address
LX_NOR_FLASH_EXTENDED_CACHE_ENTRY_STRUCT::lx_nor_flash_extended_cache_entry_sector_memory
LX_NOR_FLASH_STRUCT::lx_nor_flash_driver_write
LX_NOR_FLASH_STRUCT::lx_nor_flash_extended_cache_entries
LX_NOR_FLASH_STRUCT::lx_nor_flash_extended_cache
All items filtered out
_lx_nor_flash_driver_write()
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