OpenOCD
lpc2900_calc_tr()
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
lpc2900_calc_tr()
lpc2900_calc_tr() function
Calculate FPTR.TR register value for desired program/erase time.
Syntax
from
lpc2900.c:167
static
uint32_t
lpc2900_calc_tr
(
uint32_t
clock_var
,
uint32_t
time_var
)
;
Implemented in
lpc2900.c:448
Arguments
clock_var
System clock in Hz
time_var
Program/erase time in µs
References
Location
Referrer
Text
lpc2900.c:448
static
uint32_t
lpc2900_calc_tr
(
uint32_t
clock_var
,
uint32_t
time_var
)
lpc2900.c:167
static
uint32_t
lpc2900_calc_tr
(
uint32_t
clock_var
,
uint32_t
time_var
)
;
lpc2900.c:419
lpc2900_write_index_page()
FPTR_EN_T
|
lpc2900_calc_tr
(
lpc2900_info
->
clk_sys_fmc
,
lpc2900.c:988
lpc2900_erase()
FPTR_EN_T
|
lpc2900_calc_tr
(
lpc2900_info
->
clk_sys_fmc
,
lpc2900.c:1123
lpc2900_write()
uint32_t
prog_time
=
FPTR_EN_T
|
lpc2900_calc_tr
(
lpc2900_info
->
clk_sys_fmc
,
FLASH_PROGRAM_TIME
)
;
Call Tree
Functions calling
lpc2900_calc_tr()
lpc2900_write_index_page()
lpc2900_erase()
lpc2900_write()
all items filtered out
lpc2900_calc_tr()
Data read by
lpc2900_calc_tr()
lpc2900_calc_tr()::clock_var
lpc2900_calc_tr()::time_var
lpc2900_calc_tr()::tr_val
all items filtered out
lpc2900_calc_tr()
Type of
lpc2900_calc_tr()
lpc2900_calc_tr()
uint32_t
all items filtered out