em357_flash_bank::option_bytes is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDem357_flash_bank::option_bytes

em357_flash_bank::option_bytes field

Syntax

struct em357_options option_bytes;

References

LocationReferrerText
em357.c:77
struct em357_options option_bytes;
em357.c:161em357_read_options()
em357_info->option_bytes.user_options = (uint16_t)0xFFFC | ((optiondata >> 2) & 0x03);
em357.c:162em357_read_options()
em357_info->option_bytes.RDP = (optiondata & (1 << OPT_READOUT)) ? 0xFFFF : 0x5AA5;
em357.c:172em357_read_options()
em357_info->option_bytes.protection[0] = (uint16_t)optiondata;
em357.c:173em357_read_options()
em357_info->option_bytes.protection[1] = (uint16_t)(optiondata >> 8);
em357.c:174em357_read_options()
em357_info->option_bytes.protection[2] = (uint16_t)(optiondata >> 16);
em357.c:220em357_erase_options()
em357_info->option_bytes.RDP = 0x5AA5;
em357.c:258em357_write_options()
retval = target_write_u16(target, EM357_OB_WRP0, em357_info->option_bytes.protection[0]);
em357.c:267em357_write_options()
retval = target_write_u16(target, EM357_OB_WRP1, em357_info->option_bytes.protection[1]);
em357.c:276em357_write_options()
retval = target_write_u16(target, EM357_OB_WRP2, em357_info->option_bytes.protection[2]);
em357.c:285em357_write_options()
retval = target_write_u16(target, EM357_OB_RDP, em357_info->option_bytes.RDP);
em357.c:437em357_protect()
em357_info->option_bytes.protection[0] = prot_reg[0];
em357.c:438em357_protect()
em357_info->option_bytes.protection[1] = prot_reg[1];
em357.c:439em357_protect()
em357_info->option_bytes.protection[2] = prot_reg[2];
em357.c:769em357_handle_lock_command()
em357_info->option_bytes.RDP = 0;

Data Use

Functions reading em357_flash_bank::option_bytes
em357_flash_bank::option_bytes
Type of em357_flash_bank::option_bytes
em357_flash_bank::option_bytes
all items filtered out