nrf5_info is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

nrf5_info struct

Syntax

struct nrf5_info {     unsigned int refcount;     bool chip_probed;     struct nrf5_bank {         struct nrf5_info *chip;         bool probed;     } bank[2];     struct target *target;     bool ficr_info_valid;     struct nrf52_ficr_info ficr_info;     const struct nrf5_device_spec *spec;     uint16_t hwid;     enum nrf5_features features;     uint32_t flash_page_size;     uint32_t flash_num_sectors;     unsigned int ram_size_kb;     const struct nrf5_map *map;     const struct nrf5_ficr_map *ficr_offsets; };

Fields

refcount

No summary provided. Read more...

chip_probed

No summary provided. Read more...

bank

No summary provided. Read more...

target

No summary provided. Read more...

ficr_info_valid

No summary provided. Read more...

ficr_info

No summary provided. Read more...

spec

No summary provided. Read more...

hwid

No summary provided. Read more...

features

No summary provided. Read more...

flash_page_size

No summary provided. Read more...

flash_num_sectors

No summary provided. Read more...

ram_size_kb

No summary provided. Read more...

map

No summary provided. Read more...

ficr_offsets

No summary provided. Read more...

References

LocationReferrerScopeText
nrf5.c:118
struct nrf5_info {
nrf5.c:123nrf5_bank::chipnrf5_bank
struct nrf5_info *chip;
nrf5.c:354nrf5_chip_is_probed()
struct nrf5_info *chip = nbank->chip;
nrf5.c:360nrf5_bank_is_uicr()
struct nrf5_info *chip = nbank->chip;
nrf5.c:364nrf5_nvmc_read_u32()
static int nrf5_nvmc_read_u32(struct nrf5_info *chip, uint32_t reg_offset, uint32_t *value)
nrf5.c:369nrf5_nvmc_write_u32()
static int nrf5_nvmc_write_u32(struct nrf5_info *chip, uint32_t reg_offset, uint32_t value)
nrf5.c:374nrf5_wait_for_nvmc()
static int nrf5_wait_for_nvmc(struct nrf5_info *chip)
nrf5.c:405nrf5_nvmc_erase_enable()
static int nrf5_nvmc_erase_enable(struct nrf5_info *chip)
nrf5.c:428nrf5_nvmc_write_enable()
static int nrf5_nvmc_write_enable(struct nrf5_info *chip)
nrf5.c:451nrf5_nvmc_read_only()
static int nrf5_nvmc_read_only(struct nrf5_info *chip)
nrf5.c:480nrf51_protect_check_clenr0()
struct nrf5_info *chip = nbank->chip;
nrf5.c:509nrf52_protect_check_bprot()
struct nrf5_info *chip = nbank->chip;
nrf5.c:534nrf5_protect_check()
struct nrf5_info *chip = nbank->chip;
nrf5.c:558nrf51_protect_clenr0()
struct nrf5_info *chip = nbank->chip;
nrf5.c:616nrf5_protect()
struct nrf5_info *chip = nbank->chip;
nrf5.c:665nrf5_get_chip_type_str()::chipnrf5_get_chip_type_str()
static int nrf5_get_chip_type_str(const struct nrf5_info *chip, char *buf, unsigned int buf_size)
nrf5.c:701nrf5_info()
struct nrf5_info *chip = nbank->chip;
nrf5.c:713nrf5_read_ficr_info_part()
static int nrf5_read_ficr_info_part(struct nrf5_info *chip, const struct nrf5_map *map,
nrf5.c:726nrf51_52_partno_check()
static int nrf51_52_partno_check(struct nrf5_info *chip)
nrf5.c:761nrf53_91_partno_check()
static int nrf53_91_partno_check(struct nrf5_info *chip)
nrf5.c:780nrf5_read_ficr_more_info()
static int nrf5_read_ficr_more_info(struct nrf5_info *chip)
nrf5.c:842nrf5_probe_chip()
struct nrf5_info *chip = nbank->chip;
nrf5.c:1000nrf5_setup_bank()
struct nrf5_info *chip = nbank->chip;
nrf5.c:1065nrf5_erase_page()
struct nrf5_info *chip,
nrf5.c:1129nrf5_ll_flash_write()
static int nrf5_ll_flash_write(struct nrf5_info *chip, uint32_t address, const uint8_t *buffer, uint32_t bytes)
nrf5.c:1234nrf5_write()
struct nrf5_info *chip = nbank->chip;
nrf5.c:1294nrf5_erase()
struct nrf5_info *chip = nbank->chip;
nrf5.c:1338nrf5_free_driver_priv()
struct nrf5_info *chip = nbank->chip;
nrf5.c:1344nrf5_free_driver_priv()
free(chip);
nrf5.c:1349nrf5_get_chip()
static struct nrf5_info *nrf5_get_chip(struct target *target)
nrf5.c:1373nrf5_flash_bank_command()
struct nrf5_info *chip;
nrf5.c:1394nrf5_flash_bank_command()
chip = calloc(1, sizeof(*chip));
nrf5.c:1439nrf5_handle_mass_erase_command()
struct nrf5_info *chip = nbank->chip;

Type Use

Allocators of nrf5_info
Deletors of nrf5_info
all items filtered out
nrf5_info
all items filtered out