Home
last modified time | relevance | path

Searched refs:p_macro (Results 1 – 2 of 2) sorted by relevance

/btstack/port/renesas-tb-s1ja-cc256x/template/btstack_example/synergy/ssp/src/driver/r_flash_lp/hw/target/flash_lp_core/
H A Dhw_codeflash.c635 …_get_macro_info (uint32_t const address, uint32_t num_bytes, flash_lp_macro_info_t * const p_macro) in HW_FLASH_LP_code_get_macro_info() argument
639 p_macro->allowed_bytes = num_bytes; in HW_FLASH_LP_code_get_macro_info()
640 p_macro->macro_st_addr = address; in HW_FLASH_LP_code_get_macro_info()
647p_macro->macro_size = gp_flash_settings->cf_macro_size; // The size of the implemented Code Flas… in HW_FLASH_LP_code_get_macro_info()
648 p_macro->total_macros = gp_flash_settings->flash_cf_macros; in HW_FLASH_LP_code_get_macro_info()
649 p_macro->macro_st_addr = gp_flash_settings->cf_memory_st_addr; in HW_FLASH_LP_code_get_macro_info()
650 p_macro->macro_end_addr = (p_macro->macro_st_addr + p_macro->macro_size) - 1U; in HW_FLASH_LP_code_get_macro_info()
652 for (uint32_t i=0U; i<p_macro->total_macros; i++) in HW_FLASH_LP_code_get_macro_info()
655 if ((address >= p_macro->macro_st_addr) && (address <= p_macro->macro_end_addr)) in HW_FLASH_LP_code_get_macro_info()
658 if (((p_macro->macro_end_addr - address) + 1U) < num_bytes) in HW_FLASH_LP_code_get_macro_info()
[all …]
H A Dhw_codeflash.h104 …int32_t const address, uint32_t num_bytes, flash_lp_macro_info_t * const p_macro) PLACE_IN_RAM_SEC…