Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 23 of 23) sorted by relevance

/hal_nordic-3.6.0/nrfx/drivers/src/
Dnrfx_nvmc.c148 static bool is_page_aligned_check(uint32_t addr) in is_page_aligned_check() argument
151 return !(addr % flash_page_size_get()); in is_page_aligned_check()
154 __STATIC_INLINE bool is_halfword_aligned(uint32_t addr) in is_halfword_aligned() argument
156 return ((addr & 0x1u) == 0u); in is_halfword_aligned()
159 __STATIC_INLINE bool is_valid_address(uint32_t addr, bool uicr_allowed) in is_valid_address() argument
161 if ((addr - NVMC_FLASH_BASE_ADDRESS) < flash_total_size_get()) in is_valid_address()
167 (addr - (uint32_t)NRF_UICR) < sizeof(NRF_UICR_Type)) in is_valid_address()
178 static uint32_t partial_word_create(uint32_t addr, uint8_t const * bytes, uint32_t bytes_count) in partial_word_create() argument
183 byte_shift = addr % NVMC_BYTES_IN_WORD; in partial_word_create()
239 static void nvmc_word_write(uint32_t addr, uint32_t value) in nvmc_word_write() argument
[all …]
Dnrfx_rramc.c69 NRFX_STATIC_INLINE bool is_valid_address(uint32_t addr, bool uicr_allowed) in is_valid_address() argument
71 if ((addr - NRFY_RRAMC_RRAM_BASE_ADDRESS) < total_memory_size_get()) in is_valid_address()
76 if (uicr_allowed && (addr - (uint32_t)NRF_UICR) < sizeof(NRF_UICR_Type)) in is_valid_address()
87 NRFX_STATIC_INLINE bool fit_in_memory(uint32_t addr, bool uicr_allowed, uint32_t bytes) in fit_in_memory() argument
89 if ((addr - NRFY_RRAMC_RRAM_BASE_ADDRESS + bytes) < total_memory_size_get()) in fit_in_memory()
94 if (uicr_allowed && (addr - (uint32_t)NRF_UICR + bytes) < sizeof(NRF_UICR_Type)) in fit_in_memory()
Dnrfx_twis.c446 if (0 == (p_config->addr[0] | p_config->addr[1])) in twis_configure()
452 if (0 != p_config->addr[0]) in twis_configure()
456 if (0 != p_config->addr[1]) in twis_configure()
467 nrf_twis_address_set(p_instance->p_reg, 0, (nrf_twis_address_t)p_config->addr[0]); in twis_configure()
468 nrf_twis_address_set(p_instance->p_reg, 1, (nrf_twis_address_t)p_config->addr[1]); in twis_configure()
Dnrfx_usbd.c482 p_transfer->p_data.addr += data_size; in nrfx_usbd_consumer()
515 p_transfer->p_data.addr += tx_size; in nrfx_usbd_feeder_ram()
548 p_transfer->p_data.addr += tx_size; in nrfx_usbd_feeder_ram_zlp()
583 p_transfer->p_data.addr += tx_size; in nrfx_usbd_feeder_flash()
625 p_transfer->p_data.addr += tx_size; in nrfx_usbd_feeder_flash_zlp()
1439 nrf_usbd_ep_easydma_set(NRF_USBD, ep, transfer.p_data.addr, (uint32_t)transfer.size); in usbd_dmareq_process()
Dnrfx_qspi.c897 p_xfer->addr = m_cb.addr_primary; in qspi_event_xfer_handle()
914 p_erase->addr = nrf_qspi_erase_ptr_get(NRF_QSPI); in qspi_event_erase_handle()
/hal_nordic-3.6.0/nrfx/hal/
Dnrf_common.h198 NRF_STATIC_INLINE uint8_t nrf_address_domain_get(uint32_t addr) in nrf_address_domain_get() argument
200 return (uint8_t)((addr & ADDRESS_DOMAIN_Msk) >> ADDRESS_DOMAIN_Pos); in nrf_address_domain_get()
205 NRF_STATIC_INLINE nrf_region_t nrf_address_region_get(uint32_t addr) in nrf_address_region_get() argument
207 return (nrf_region_t)((addr & ADDRESS_REGION_Msk) >> ADDRESS_REGION_Pos); in nrf_address_region_get()
212 NRF_STATIC_INLINE bool nrf_address_security_get(uint32_t addr) in nrf_address_security_get() argument
214 return ((addr & ADDRESS_SECURITY_Msk) >> ADDRESS_SECURITY_Pos); in nrf_address_security_get()
219 NRF_STATIC_INLINE uint8_t nrf_address_bus_get(uint32_t addr, size_t size) in nrf_address_bus_get() argument
221 return (uint8_t)((addr & ADDRESS_BUS_Msk & ~(size - 1)) >> ADDRESS_BUS_Pos); in nrf_address_bus_get()
226 NRF_STATIC_INLINE uint8_t nrf_address_slave_get(uint32_t addr) in nrf_address_slave_get() argument
228 return (uint8_t)((addr & ADDRESS_SLAVE_Msk) >> ADDRESS_SLAVE_Pos); in nrf_address_slave_get()
[all …]
Dnrf_ramc.h118 NRF_STATIC_INLINE void nrf_ramc_secbase_set(NRF_RAMC_Type * p_reg, uint32_t addr);
177 NRF_STATIC_INLINE void nrf_ramc_secbase_set(NRF_RAMC_Type * p_reg, uint32_t addr) in nrf_ramc_secbase_set() argument
179 p_reg->SECBASE = addr; in nrf_ramc_secbase_set()
Dnrf_twis.h502 nrf_twis_address_t addr);
854 nrf_twis_address_t addr) in nrf_twis_address_set() argument
856 NRFX_ASSERT((uint32_t)addr <= TWIS_ADDRESS_ADDRESS_Msk); in nrf_twis_address_set()
857 p_reg->ADDRESS[n] = (uint32_t)addr; in nrf_twis_address_set()
Dnrf_cache.h515 NRF_STATIC_INLINE void nrf_cache_lineaddr_set(NRF_CACHE_Type * p_reg, uint32_t addr);
856 NRF_STATIC_INLINE void nrf_cache_lineaddr_set(NRF_CACHE_Type * p_reg, uint32_t addr) in nrf_cache_lineaddr_set() argument
858 p_reg->LINEADDR = addr; in nrf_cache_lineaddr_set()
/hal_nordic-3.6.0/nrfx/drivers/include/
Dnrfx_twim.h163 #define NRFX_TWIM_XFER_DESC(transfer, addr, p_buf1, buf_len1, p_buf2, buf_len2) \ argument
166 .address = (addr), \
174 #define NRFX_TWIM_XFER_DESC_TX(addr, p_data, length) \ argument
175 NRFX_TWIM_XFER_DESC(NRFX_TWIM_XFER_TX, addr, p_data, length, NULL, 0)
178 #define NRFX_TWIM_XFER_DESC_RX(addr, p_data, length) \ argument
179 NRFX_TWIM_XFER_DESC(NRFX_TWIM_XFER_RX, addr, p_data, length, NULL, 0)
182 #define NRFX_TWIM_XFER_DESC_TXRX(addr, p_tx, tx_len, p_rx, rx_len) \ argument
183 NRFX_TWIM_XFER_DESC(NRFX_TWIM_XFER_TXRX, addr, p_tx, tx_len, p_rx, rx_len)
186 #define NRFX_TWIM_XFER_DESC_TXTX(addr, p_tx, tx_len, p_tx2, tx_len2) \ argument
187 NRFX_TWIM_XFER_DESC(NRFX_TWIM_XFER_TXTX, addr, p_tx, tx_len, p_tx2, tx_len2)
Dnrfx_twi.h158 #define NRFX_TWI_XFER_DESC_TX(addr, p_data, length) \ argument
161 .address = (addr), \
169 #define NRFX_TWI_XFER_DESC_RX(addr, p_data, length) \ argument
172 .address = (addr), \
180 #define NRFX_TWI_XFER_DESC_TXRX(addr, p_tx, tx_len, p_rx, rx_len) \ argument
183 .address = (addr), \
191 #define NRFX_TWI_XFER_DESC_TXTX(addr, p_tx, tx_len, p_tx2, tx_len2) \ argument
194 .address = (addr), \
Dnrfx_twis.h132 …uint32_t addr[2]; ///< Set addresses that this slave should respond. Set 0 t… member
168 .addr = { _addr, 0x00 }, \
Dnrfx_qspi.h161 uint32_t addr; /**< Erase start address. */ member
170 uint32_t addr; /**< Transfer start address. */ member
Dnrfx_usbd.h219 uint32_t addr; //!< Numeric value used internally by the driver. member
/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/mac_features/
Dnrf_802154_ifs.c144 const uint8_t * addr; in is_ifs_needed_by_address() local
154 addr = nrf_802154_frame_parser_dst_addr_get(&frame_data); in is_ifs_needed_by_address()
159 addr = NULL; in is_ifs_needed_by_address()
163 if (!addr) in is_ifs_needed_by_address()
173 if (0 == memcmp(addr, last_addr, addr_len)) in is_ifs_needed_by_address()
302 const uint8_t * addr; in nrf_802154_ifs_transmitted_hook() local
311 addr = nrf_802154_frame_parser_dst_addr_get(&frame_data); in nrf_802154_ifs_transmitted_hook()
316 addr = NULL; in nrf_802154_ifs_transmitted_hook()
320 if (!addr) in nrf_802154_ifs_transmitted_hook()
329 memcpy(m_last_address.ext, addr, EXTENDED_ADDRESS_SIZE); in nrf_802154_ifs_transmitted_hook()
[all …]
/hal_nordic-3.6.0/nrfx/samples/src/nrfx_uarte/rx_double_buffered/
DREADME.md49 - "RX buffer1 - addr: (.*) | content:"
50 - "RX buffer2 - addr: (.*) | content:"
51 - "RX buffer3 - addr: (.*) | content:"
56 - "RX buffer1 - addr: (.*) | content: Nordic"
57 - "RX buffer2 - addr: (.*) | content: nRF"
58 - "RX buffer3 - addr: (.*) | content: Secmiconductor"
/hal_nordic-3.6.0/nrfx/soc/interconnect/apb/
Dnrfx_interconnect_apb.c92 nrfx_interconnect_apb_t const * nrfx_interconnect_apb_get(uint32_t addr) in nrfx_interconnect_apb_get() argument
94 nrf_domain_t domain = (nrf_domain_t)nrf_address_domain_get(addr); in nrfx_interconnect_apb_get()
111 uint8_t bus_address_area = nrf_address_bus_get(addr, p_apb->size); in nrfx_interconnect_apb_get()
Dnrfx_interconnect_apb.h89 nrfx_interconnect_apb_t const * nrfx_interconnect_apb_get(uint32_t addr);
/hal_nordic-3.6.0/nrfx/haly/
Dnrfy_rramc.h58 uint32_t addr,
62 uint32_t addr,
639 uint32_t addr, in __nrfy_internal_rramc_byte_write() argument
647 *(volatile uint8_t *)addr = value; in __nrfy_internal_rramc_byte_write()
652 uint32_t addr, in __nrfy_internal_rramc_word_write() argument
660 *(volatile uint32_t *)addr = value; in __nrfy_internal_rramc_word_write()
/hal_nordic-3.6.0/nrfx/helpers/
Dnrf_vdma.h136 #define NRFX_VDMA_PERIPH_JOB(addr, size) \ argument
137 NRF_VDMA_JOB_ELEMENT(addr, size, NRF_VDMA_EXT_ATTRIBUTE_PERIPHERAL_MODE)
/hal_nordic-3.6.0/nrfx/soc/interconnect/dppic_ppib/
Dnrfx_interconnect_dppic_ppib.c141 nrf_apb_index_t nrfx_interconnect_apb_index_get(uint32_t addr) in nrfx_interconnect_apb_index_get() argument
146 uint8_t bus_address_area = nrf_address_bus_get(addr, p_dppic->apb_size); in nrfx_interconnect_apb_index_get()
Dnrfx_interconnect_dppic_ppib.h136 nrf_apb_index_t nrfx_interconnect_apb_index_get(uint32_t addr);
/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/mac_features/ack_generator/
Dnrf_802154_ack_data.c76 uint8_t addr[SHORT_ADDRESS_SIZE]; /// Short address of peer node. member
83 uint8_t addr[EXTENDED_ADDRESS_SIZE]; /// Extended address of peer node. member