OpenOCD
efc_perform_command()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
efc_perform_command()
efc_perform_command() function
Performs the given command and wait until its completion (or an error).
Syntax
from
at91sam3.c:2126
static
int
efc_perform_command
(
struct
sam3_bank_private
*
private
,
unsigned
command
,
unsigned
argument
,
uint32_t
*
status
)
;
Arguments
private
- info about the bank
command
- Command to perform.
argument
- Optional command argument.
status
- put command status bits here
References
Location
Referrer
Text
at91sam3.c:2126
static
int
efc_perform_command
(
struct
sam3_bank_private
*
private
,
at91sam3.c:2195
flashd_read_uid()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_SPUI
,
0
,
NULL
)
;
at91sam3.c:2213
flashd_erase_entire_bank()
return
efc_perform_command
(
private
,
AT91C_EFC_FCMD_EA
,
0
,
NULL
)
;
at91sam3.c:2241
flashd_get_gpnvm()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_GFB
,
0
,
NULL
)
;
at91sam3.c:2286
flashd_clr_gpnvm()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_CFB
,
gpnvm
,
NULL
)
;
at91sam3.c:2320
flashd_set_gpnvm()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_SFB
,
gpnvm
,
NULL
)
;
at91sam3.c:2334
flashd_get_lock_bits()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_GLB
,
0
,
NULL
)
;
at91sam3.c:2363
flashd_unlock()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_CLB
,
pg
,
&
status
)
;
at91sam3.c:2393
flashd_lock()
r
=
efc_perform_command
(
private
,
AT91C_EFC_FCMD_SLB
,
pg
,
&
status
)
;
at91sam3.c:3324
sam3_page_write()
r
=
efc_perform_command
(
private
,
Call Tree
Functions calling
efc_perform_command()
Functions called by
efc_perform_command()
flashd_read_uid()
flashd_erase_entire_bank()
flashd_get_gpnvm()
flashd_clr_gpnvm()
flashd_set_gpnvm()
flashd_get_lock_bits()
flashd_unlock()
flashd_lock()
sam3_page_write()
all items filtered out
efc_perform_command()
log_printf_lf()
timeval_ms()
efc_get_status()
efc_start_command()
all items filtered out
Data read by
efc_perform_command()
Data written by
efc_perform_command()
log_levels::LOG_LVL_ERROR
efc_perform_command()::private
efc_perform_command()::command
efc_perform_command()::argument
efc_perform_command()::status
efc_perform_command()::r
efc_perform_command()::v
efc_perform_command()::ms_now
efc_perform_command()::ms_end
all items filtered out
efc_perform_command()
efc_perform_command()::r
efc_perform_command()::ms_now
efc_perform_command()::ms_end
all items filtered out
Type of
efc_perform_command()
efc_perform_command()
uint32_t
int64_t
all items filtered out