Home
last modified time | relevance | path

Searched +full:- +full:m (Results 1 – 7 of 7) sorted by relevance

/nrf_hw_models-3.6.0/docs/
DRADIO_states.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Do not edit this file with editors other than diagrams.net -->
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4-0.5 -0.5 831 1549" content="&lt;mxfile host=&quot;Electron&quot; modified=&quot;2023-03-08T14:52:…
DREADME_impl_status.md8 |---|---|
17 |---|---|---|---|---|
30 | **I2S** | Inter-IC sound interface | &#x10102; | &#x10102; | |
33 | **LPCOMP** | Low-power comparator | &#x10102; | &#x10102; | |
37 | **NVMC** | Non-volatile memory controller | &#x2714; | &#x2714; | See [NHW_NVMC.c](../src/HW_mode…
48 | **RTC** | Real-time counter | &#x2714; | &#x2714; | See [NHW_RTC.c](../src/HW_models/NHW_RTC.c) |
49 | **SAADC** | Successive approximation analog-to-digital converter | &#x10102; | &#x10102; | |
50 | **[Q]SPI[M/S]** | [Quad] Serial peripheral interface [master/slave] | &#x10102; | &#x10102; | |
55 | **TWI[M/S]** | I2C compatible two-wire interface | &#x10102; | &#x10102; | |
/nrf_hw_models-3.6.0/.github/workflows/
Dbuild.yml14 build-hw-models:
16 runs-on: ubuntu-latest
19 - name: Install dependencies
21 sudo apt-get install gcc-multilib binutils
23 - name: Get PR
28 - name: Fetch dependencies
30 git clone -b v2.8.0 --depth=1 https://github.com/NordicSemiconductor/nrfx ${NRFX_BASE}
33 wget https://storage.googleapis.com/git-repo-downloads/repo
35 …python3 ./repo init -u https://github.com/BabbleSim/manifest.git -m nrf_hw_models_ci.xml -b master…
36 python3 ./repo sync -c
[all …]
/nrf_hw_models-3.6.0/src/HW_models/
DNHW_RADIO_timings.c5 * SPDX-License-Identifier: Apache-2.0
50 radio_timings.TX_RU_time[2][0][1] = 130; //130000 - Is this correct? or should it be 169us? in nrfra_timings_init()
61 radio_timings.RX_RU_time[2][0][1] = 130; //140000 - Is this correct? or should it be 169us? in nrfra_timings_init()
70 // while for 1/2M BLE it is ~1us, and for coded w S8 it is ~6us. in nrfra_timings_init()
DBLECrypt_if.c5 * SPDX-License-Identifier: Apache-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
55 const uint8_t *key_be, // Key (KEY_LEN bytes, big-endian)
56 const uint8_t *plaintext_data_be, // Plaintext data (KEY_LEN bytes, big-endian)
58 uint8_t *encrypted_data_be); // Plaintext data (KEY_LEN bytes, big-endian)
144 const uint8_t* sk, // Session key (16 bytes, BIG-ENDIAN) in BLECrypt_if_encrypt_packet()
145 const uint8_t* nonce // CCM Nonce (NONCE_LEN bytes, little-endian) in BLECrypt_if_encrypt_packet()
149 uint8_t packet_payload_len = length - generate_mic*4; in BLECrypt_if_encrypt_packet()
173 encrypted_payload[length - 4 ] = 0; in BLECrypt_if_encrypt_packet()
174 encrypted_payload[length - 3 ] = 'M'; in BLECrypt_if_encrypt_packet()
[all …]
DNHW_CLOCK.c5 * SPDX-License-Identifier: Apache-2.0
9 * CLOCK - Clock control
12 * POWER - POWER control
15 * RESET - RESET control
49 * * The extra app core clocks are not implemented yet (Audio or 192M)
123 bs_time_t t1 = BS_MIN(c_el->Timer_CLOCK_HF, c_el->Timer_CLOCK_LF); in nhw_clock_update_master_timer()
124 bs_time_t t2 = BS_MIN(c_el->Timer_LF_cal, c_el->Timer_caltimer); in nhw_clock_update_master_timer()
146 c_el->inst = i; in nhw_clock_init()
149 c_el->CLOCK_regs = (NRF_CLOCK_Type *)&NRF_CLKPWR_regs[i]; in nhw_clock_init()
151 c_el->POWER_regs = (NRF_POWER_Type *)&NRF_CLKPWR_regs[i]; in nhw_clock_init()
[all …]
DNHW_RTC.c5 * SPDX-License-Identifier: Apache-2.0
9 * RTC - Real-time counter
32 * they can be raised relatively at +-1/2 LFCLK or +-1/2 PCLK16M of each other)
33 * (In real HW this is due to the 32K-16M clock domain crossing synchronization)
109 #define SUB_US_BITS 9 // Bits representing sub-microsecond units
121 uint64_t overflow_timer_sub_us; // When the timer will overflow (in sub-microsecond units)
166 rtc_st->NRF_RTC_regs = &NRF_RTC_regs[i]; in nhw_rtc_init()
167 rtc_st->n_CCs = RTC_n_CCs[i]; in nhw_rtc_init()
169 rtc_st->counter_startT_sub_us = TIME_NEVER; in nhw_rtc_init()
171 rtc_st->cc_timers = (bs_time_t *)bs_malloc(sizeof(bs_time_t)*RTC_n_CCs[i]); in nhw_rtc_init()
[all …]