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

get_silicon_id() function

Retrieves SiliconID and Protection status of the target device

Syntax

static int get_silicon_id(struct target *target,     uint32_t *si_id,     uint8_t *protection);

Arguments

target

current target

si_id

pointer to variable, will be populated with SiliconID

protection

pointer to variable, will be populated with protection status

Return value

ERROR_OK in case of success, ERROR_XXX code otherwise

References

LocationReferrerText
psoc6.c:378
static int get_silicon_id(struct target *target, uint32_t *si_id, uint8_t *protection)
psoc6.c:418psoc6_protect_check()
int hr = get_silicon_id(bank->target, &psoc6_info->silicon_id, &psoc6_info->protection);
psoc6.c:493psoc6_get_info()
int hr = get_silicon_id(bank->target, &psoc6_info->silicon_id, &psoc6_info->protection);

Call Tree

Functions calling get_silicon_id()
Functions called by get_silicon_id()
get_silicon_id()
Data read by get_silicon_id()
Data written by get_silicon_id()
get_silicon_id()::hr
get_silicon_id()::family_rev
get_silicon_id()::siid_prot
all items filtered out
get_silicon_id()
get_silicon_id()::hr
all items filtered out
Type of get_silicon_id()
get_silicon_id()
uint32_t
all items filtered out