dsp5680xx_f_ex() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

dsp5680xx_f_ex() function

Executes a command on the FM module. Some commands use the parameters @a address and @a data, others ignore them.

Syntax

static int dsp5680xx_f_ex(struct target *target,     uint16_t c,     uint32_t address,     uint32_t data,     uint16_t *hfm_ustat,     int pmem);

Arguments

target

c

Command to execute.

address

Command parameter.

data

Command parameter.

hfm_ustat

FM status register.

pmem

Address is P: (program) memory (@a pmem == 1) or X: (dat) memory (@a pmem == 0)

Return value

References

LocationReferrerText
dsp5680xx.c:1603
static int dsp5680xx_f_ex(struct target *target, uint16_t c, uint32_t address, uint32_t data,
dsp5680xx.c:1790dsp5680xx_f_signature()
dsp5680xx.c:1819dsp5680xx_f_erase_check()
dsp5680xx_f_ex(target, HFM_ERASE_VERIFY, tmp, 0, &hfm_ustat, 1);
dsp5680xx.c:1841erase_sector()
retval = dsp5680xx_f_ex(target, HFM_PAGE_ERASE, tmp, 0, hfm_ustat, 1);
dsp5680xx.c:1858mass_erase()
retval = dsp5680xx_f_ex(target, HFM_MASS_ERASE, 0, 0, hfm_ustat, 1);

Call Tree

Data read by dsp5680xx_f_ex()
Data written by dsp5680xx_f_ex()
dsp5680xx_f_ex()::command
dsp5680xx_f_ex()::retval
dsp5680xx_f_ex()::i
dsp5680xx_f_ex()::watchdog
dsp5680xx_f_ex()::msg
all items filtered out
dsp5680xx_f_ex()
dsp5680xx_f_ex()::retval
dsp5680xx_f_ex()::watchdog
all items filtered out
Type of dsp5680xx_f_ex()
dsp5680xx_f_ex()
uint8_t
uint32_t
all items filtered out