max32xxx_flash_bank::sector_size is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDmax32xxx_flash_bank::sector_size

max32xxx_flash_bank::sector_size field

Syntax

unsigned int sector_size;

References

LocationReferrerText
max32xxx.c:67
unsigned int sector_size;
max32xxx.c:93max32xxx_flash_bank_command()
COMMAND_PARSE_NUMBER(uint, CMD_ARGV[7], info->sector_size);
max32xxx.c:264max32xxx_erase()
target_write_u32(target, info->flc_base + FLSH_ADDR, banknr * info->sector_size);
max32xxx.c:283max32xxx_erase()
banknr * info->sector_size);
max32xxx.c:643max32xxx_probe()
bank->num_sectors = info->flash_size / info->sector_size;
max32xxx.c:647max32xxx_probe()
bank->sectors[i].offset = i * info->sector_size;
max32xxx.c:648max32xxx_probe()
bank->sectors[i].size = info->sector_size;
max32xxx.c:810max32xxx_handle_protection_set_command()
addr = addr - (addr % info->sector_size);
max32xxx.c:811max32xxx_handle_protection_set_command()
if (len % info->sector_size)
max32xxx.c:812max32xxx_handle_protection_set_command()
len = len + info->sector_size - (len % info->sector_size);
max32xxx.c:815max32xxx_handle_protection_set_command()
addr = (addr / info->sector_size);
max32xxx.c:816max32xxx_handle_protection_set_command()
len = addr + (len / info->sector_size) - 1;
max32xxx.c:866max32xxx_handle_protection_clr_command()
addr = addr - (addr % info->sector_size);
max32xxx.c:867max32xxx_handle_protection_clr_command()
if (len % info->sector_size)
max32xxx.c:868max32xxx_handle_protection_clr_command()
len = len + info->sector_size - (len % info->sector_size);
max32xxx.c:871max32xxx_handle_protection_clr_command()
addr = (addr / info->sector_size);
max32xxx.c:872max32xxx_handle_protection_clr_command()
len = addr + (len / info->sector_size) - 1;
max32xxx.c:908max32xxx_handle_protection_check_command()
(i+0), (i+0)*info->sector_size, bank->sectors[(i+0)].is_protected,
max32xxx.c:909max32xxx_handle_protection_check_command()
(i+1), (i+1)*info->sector_size, bank->sectors[(i+1)].is_protected,
max32xxx.c:910max32xxx_handle_protection_check_command()
(i+2), (i+2)*info->sector_size, bank->sectors[(i+2)].is_protected,
max32xxx.c:911max32xxx_handle_protection_check_command()
(i+3), (i+3)*info->sector_size, bank->sectors[(i+3)].is_protected);