Home
last modified time | relevance | path

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

/nrf_hw_models-3.6.0/src/HW_models/
DNHW_IPC.c126 uint ch_mask = 1 << ch; in nhw_IPC_notify_ipc_ch() local
128 if (NRF_IPC_regs[inst].RECEIVE_CNF[i] & ch_mask) { in nhw_IPC_notify_ipc_ch()
DNRF_PPI.c728 uint32_t ch_mask = ppi_evt_to_ch[event].channels_mask; in nrf_ppi_event() local
729 ch_mask &= NRF_PPI_regs.CHEN; in nrf_ppi_event()
731 if ( ch_mask ){ in nrf_ppi_event()
732 for ( int ch_nbr = __builtin_ffs(ch_mask) - 1; in nrf_ppi_event()
733 ( ch_mask != 0 ) && ( ch_nbr < NUMBER_PPI_CHANNELS ) ; in nrf_ppi_event()
735 if ( ch_mask & ( (uint32_t) 1 << ch_nbr ) ){ in nrf_ppi_event()
736 ch_mask &= ~( (uint64_t) 1 << ch_nbr ); in nrf_ppi_event()