Home
last modified time | relevance | path

Searched refs:MODE (Results 1 – 10 of 10) sorted by relevance

/nrf_hw_models-latest/src/HW_models/
DNHW_RADIO_timings.c109 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_2Mbit) { in nhwra_timings_get_Rx_chain_delay()
111 } else if ((NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR500Kbit) in nhwra_timings_get_Rx_chain_delay()
112 || (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit)) { in nhwra_timings_get_Rx_chain_delay()
115 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in nhwra_timings_get_Rx_chain_delay()
123 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_2Mbit) { in get_modidx()
125 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR500Kbit) { in get_modidx()
127 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit) { in get_modidx()
129 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in get_modidx()
DNHW_RADIO_utils.c192 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_1Mbit) { in nhwra_check_packet_conf()
194 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_2Mbit) { in nhwra_check_packet_conf()
196 } else if ((NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit) in nhwra_check_packet_conf()
197 || (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR500Kbit)){ in nhwra_check_packet_conf()
199 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in nhwra_check_packet_conf()
204 NRF_RADIO_regs.MODE); in nhwra_check_packet_conf()
254 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in nhwra_get_address()
278 static p2G4_modulation_t nhra_modulation_from_mode(uint32_t MODE) { in nhra_modulation_from_mode() argument
280 if (MODE == RADIO_MODE_MODE_Ble_1Mbit) { in nhra_modulation_from_mode()
282 } else if (MODE == RADIO_MODE_MODE_Ble_2Mbit) { in nhra_modulation_from_mode()
[all …]
DNHW_RADIO.c403 …memset((void *)&NRF_RADIO_regs.MODE, 0, offsetof(NRF_RADIO_Type, PACKETPTR) - offsetof(NRF_RADIO_T… in nhw_RADIO_TASK_SOFTRESET()
897 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_1Mbit) { in start_Tx()
902 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_2Mbit) { in start_Tx()
907 } else if ((NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit) in start_Tx()
908 || (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR500Kbit)) { in start_Tx()
912 if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ble_LR125Kbit) { in start_Tx()
921 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in start_Tx()
934 if (nhwra_is_ble_mode(NRF_RADIO_regs.MODE)) { in start_Tx()
936 } else if (NRF_RADIO_regs.MODE == RADIO_MODE_MODE_Ieee802154_250Kbit) { in start_Tx()
1085 if (nhwra_is_ble_mode(NRF_RADIO_regs.MODE)) { in Rx_handle_address_end_response()
[all …]
DNHW_TIMER.c199 if ((t_st->is_running == true) && (NRF_TIMER_regs[t].MODE == 0)) { in update_master_timer()
217 if ((this->is_running == true) && (NRF_TIMER_regs[t].MODE == 0)) { in update_cc_timer()
269 if (NRF_TIMER_regs[t].MODE == 0) { //Timer mode in nhw_timer_TASK_START()
283 if (NRF_TIMER_regs[t].MODE == 0) { //Timer mode in nhw_timer_TASK_STOP()
325 if ((NRF_TIMER_regs[t].MODE != 0 /* Count mode */) || (this->is_running == false)) { in nhw_timer_TASK_CAPTURE()
341 if (NRF_TIMER_regs[t].MODE == 0) { in nhw_timer_TASK_CLEAR()
405 if ((NRF_TIMER_regs[t].MODE != 0 /* Count mode */) && (this->is_running == true)) { in nhw_timer_TASK_COUNT()
544 if ( (this->is_running == true) && ( NRF_TIMER_regs[t].MODE == 0 ) ) { in nhw_timer_regw_sideeffects_CC()
563 if ( !((t_st->is_running == true) && (NRF_TIMER_regs[t].MODE == 0)) ) { in nhw_hw_model_timer_timer_triggered()
DNHW_RADIO_utils.h33 bool nhwra_is_ble_mode(uint32_t MODE);
DNHW_AES_CCM.c61 NRF_CCM_regs.MODE = 0x01; in nhw_aes_ccm_init()
236 if ((NRF_CCM_regs.MODE & CCM_MODE_MODE_Msk) >> CCM_MODE_MODE_Pos in nhw_CCM_TASK_CRYPT()
DNHW_54_AAR_CCM_ECB.c152 NRF_CCM_regs[i]->MODE = CCM_MODE_ResetValue; in nhw_AARCCMECB_init()
454 switch ((NRF_CCM_regs[inst]->MODE & CCM_MODE_MACLEN_Msk) >> CCM_MODE_MACLEN_Pos) { in nhw_CCM_MAC_size()
479 …uint encrypt_not_decrypt = (NRF_CCM_regs[inst]->MODE & CCM_MODE_MODE_Msk) == CCM_MODE_MODE_Encrypt… in nhw_CCM_logic()
480 uint protocol = (NRF_CCM_regs[inst]->MODE & CCM_MODE_PROTOCOL_Msk) >> CCM_MODE_PROTOCOL_Pos; in nhw_CCM_logic()
DNHW_GRTC.c443 if (!(NRF_GRTC_regs.MODE & GRTC_MODE_SYSCOUNTEREN_Msk)) { in nhw_GRTC_check_syscounter_en()
DNRF5340_peri_types.h602 …__IOM uint32_t MODE; /*!< (@ 0x00000504) Operation mode … member
2736 …__IOM uint32_t MODE; /*!< (@ 0x00000510) Data rate and modulation … member
5718 …__IOM uint32_t MODE; /*!< (@ 0x00000504) Timer mode selection … member
/nrf_hw_models-latest/tests/zephyr_apps/54_aar_ccm_ecb/src/
Dtest_ccm.c47 CCM->MODE = mac_config_val | (mode_protocol << CCM_MODE_PROTOCOL_Pos); in run_ccm()
49 CCM->MODE |= (CCM_MODE_MODE_Decryption << CCM_MODE_MODE_Pos); in run_ccm()
51 CCM->MODE |= (CCM_MODE_MODE_Encryption << CCM_MODE_MODE_Pos); in run_ccm()