/nrf52832-nimble/nordic/nrfx/drivers/include/ |
H A D | nrfx_spim.h | 2 * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA 107 uint8_t orc; ///< Over-run character. 163 #define NRFX_SPIM_FLAG_HOLD_XFER (1UL << 3) /**< Set up the transfer but do not start it.… 178 * @brief Macro for setting up single transfer descriptor. 267 * - @ref NRFX_SPIM_FLAG_TX_POSTINC and @ref NRFX_SPIM_FLAG_RX_POSTINC<span></span>: 268 * Post-incrementation of buffer addresses. Supported only by SPIM. 269 * - @ref NRFX_SPIM_FLAG_HOLD_XFER<span></span>: Driver is not starting the transfer. Use this 272 * - @ref NRFX_SPIM_FLAG_NO_XFER_EVT_HANDLER<span></span>: No user event handler after transfer 275 * busy state, so you must ensure that the next transfers are set up when SPIM is not active. 279 * - @ref NRFX_SPIM_FLAG_REPEATED_XFER<span></span>: Prepare for repeated transfers. You can set [all …]
|
H A D | nrfx_twim.h | 2 * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA 92 bool hold_bus_uninit; ///< Hold pull up state on gpio pins after uninit. 110 #define NRFX_TWIM_FLAG_HOLD_XFER (1UL << 3) /**< Set up the transfer but do not start it.… 252 * to be placed in the Data RAM region. If this condition is not met, 269 …* @retval NRFX_ERROR_INVALID_ADDR If the provided buffer is not placed in the Data RAM regio… 308 …* - @ref NRFX_TWIM_XFER_TXRX<span></span>: Write operation followed by a read operation (without S… 309 …* - @ref NRFX_TWIM_XFER_TXTX<span></span>: Write operation followed by a write operation (without … 310 * - @ref NRFX_TWIM_XFER_TX<span></span>: Write operation (with or without STOP condition). 311 * - @ref NRFX_TWIM_XFER_RX<span></span>: Read operation (with STOP condition). 313 * @note TXRX and TXTX transfers are supported only in non-blocking mode. [all …]
|
H A D | nrfx_spis.h | 2 * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA 87 /** @brief Default pull-up configuration of the SPI CS. */ 137 nrf_gpio_pin_pull_t csn_pullup; //!< CSN pin pull-up configuration. 140 …uint8_t orc; //!< Character clocked out after an over-read of the transmit … 209 * to be placed in the Data RAM region. If this condition is not met, 221 * RAM region.
|
H A D | nrfx_pwm.h | 2 * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA 107 uint16_t top_value; ///< Value up to which the pulse generator counter counts. 108 nrf_pwm_dec_load_t load_mode; ///< Mode of loading sequence data from RAM. 139 loaded from RAM, and the peripheral stops 153 playback is read from RAM and applied to 243 * must be in RAM and cannot be allocated on stack. 262 * @brief Function for starting a two-sequence playback. 270 * must be in RAM and cannot be allocated on stack. 423 nrf_pwm_task_trigger(p_instance->p_registers, NRF_PWM_TASK_NEXTSTEP); in nrfx_pwm_step() 430 nrf_pwm_sequence_set(p_instance->p_registers, seq_id, p_sequence); in nrfx_pwm_sequence_update() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/doc/ |
H A D | snmp_agent.txt | 6 Note the agent uses the raw-API UDP interface so you may also want to 25 When builing lwIP without TCP, the mib-2.tcp group is omitted. 28 Most mib-2 objects are not writable except: 41 All routes are considered to be up (U). 44 MIBs can only be added in compile-time, not in run-time. 49 to use pbuf-chains. Larger payloads than the minimum 75 to non-volatile memory for sysContact, sysLocation, 133 Note the object identifiers for thes MIB-2 and your private MIB 141 MIB-2 tree and the optional private MIB. 154 .mgmt.mib-2.ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress [all …]
|
/nrf52832-nimble/nordic/nrfx/drivers/ |
H A D | nrfx_common.h | 2 * Copyright (c) 2017 - 2018, Nordic Semiconductor ASA 55 * a non-zero value. 120 /**@brief Macro for performing integer division, making sure the result is rounded up. 128 * @return Integer result of dividing @c a by @c b, rounded up. 130 #define NRFX_CEIL_DIV(a, b) ((((a) - 1) / (b)) + 1) 173 } while (--remaining_attempts); \ 210 * @brief Function for checking if an object is placed in the Data RAM region. 213 * to be placed in the Data RAM region. This function can be used to check if 218 * @retval true If the pointed object is located in the Data RAM region. 225 * @brief Function for checking if an object is aligned to a 32-bit word [all …]
|
/nrf52832-nimble/nordic/nrfx/hal/ |
H A D | nrf_pwm.h | 2 * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA 66 /*lint -save -e30*/ 71 /*lint -restore*/ 79 /*lint -save -e30*/ 83 …ND[0]), ///< Emitted at the end of every sequence 0 when its last value has been read from RAM. 84 …ND[1]), ///< Emitted at the end of every sequence 1 when its last value has been read from RAM. 87 /*lint -restore*/ 121 …NRF_PWM_MODE_UP = PWM_MODE_UPDOWN_Up, ///< Up counter (edge-aligned PWM duty cycle… 122 …NRF_PWM_MODE_UP_AND_DOWN = PWM_MODE_UPDOWN_UpAndDown, ///< Up and down counter (center-aligned PWM… 143 * The selected mode determines how the sequence data is read from RAM and [all …]
|
H A D | nrf_spu.h | 51 …PU_Type, EVENTS_RAMACCERR), ///< A security violation has been detected for the RAM memory space. 64 /** @brief SPU Non-Secure Callable (NSC) region size. */ 67 NRF_SPU_NSC_SIZE_DISABLED = 0, ///< Not defined as a non-secure callable region. 68 NRF_SPU_NSC_SIZE_32B = 1, ///< Non-Secure Callable region with a 32-byte size 69 NRF_SPU_NSC_SIZE_64B = 2, ///< Non-Secure Callable region with a 64-byte size 70 NRF_SPU_NSC_SIZE_128B = 3, ///< Non-Secure Callable region with a 128-byte size 71 NRF_SPU_NSC_SIZE_256B = 4, ///< Non-Secure Callable region with a 256-byte size 72 NRF_SPU_NSC_SIZE_512B = 5, ///< Non-Secure Callable region with a 512-byte size 73 NRF_SPU_NSC_SIZE_1024B = 6, ///< Non-Secure Callable region with a 1024-byte size 74 NRF_SPU_NSC_SIZE_2048B = 7, ///< Non-Secure Callable region with a 2048-byte size [all …]
|
H A D | nrf_power.h | 2 * Copyright (c) 2017 - 2018, Nordic Semiconductor ASA 84 typedef enum /*lint -save -e30 -esym(628,__INTADDR__) */ 88 } nrf_power_task_t; /*lint -restore */ 91 typedef enum /*lint -save -e30 -esym(628,__INTADDR__) */ 105 } nrf_power_event_t; /*lint -restore */ 159 * @brief RAM blocks numbers 163 * Ram blocks has to been used in nrf51. 164 * In new CPU ram is divided into segments and this functionality is depreciated. 165 * For the newer MCU see the PS for mapping between internal RAM and RAM blocks, 178 * @brief RAM blocks masks [all …]
|
H A D | nrf_pdm.h | 2 * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA 57 typedef enum /*lint -save -e30 -esym(628,__INTADDR__) */ 67 typedef enum /*lint -save -e30 -esym(628,__INTADDR__) */ 71 …le specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM. 101 …DE_OPERATION_Stereo, ///< Sample and store one pair (Left + Right) of 16-bit samples per RAM word. 102 …DE_OPERATION_Mono ///< Sample and store two successive Left samples (16 bit each) per RAM word. 268 * @brief Function for setting up the PDM pins. 299 * @param[in] p_buffer Pointer to the RAM address where samples should be written with EasyDMA. 302 * The amount of allocated RAM depends on the operation mode. 303 * - For stereo mode: N 32-bit words. [all …]
|
H A D | nrf_nfct.h | 55 typedef enum /*lint -save -e30 */ 64 } nrf_nfct_task_t; /*lint -restore */ 69 typedef enum /*lint -save -e30 */ 75 …FCT_Type, EVENTS_TXFRAMEEND), /**< The end of the last transmitted on-air symbol of a frame… 77 …D), /**< Received data was checked (CRC, parity) and transferred to RAM, and EasyDMA ended … 80 …EVENTS_ENDRX), /**< RX buffer (as defined by PACKETPTR and MAXLEN) in Data RAM full. */ 81 …tof(NRF_NFCT_Type, EVENTS_ENDTX), /**< Transmission of data in RAM ended, and EasyDMA … 86 } nrf_nfct_event_t; /*lint -restore */ 153 NRF_NFCT_TAG_STATE_RAMP_UP = NFCT_NFCTAGSTATE_NFCTAGSTATE_RampUp, /**< Ramping up. */ 255 /**< SENS_RES 'Platform Config' field (b4-b1) value for Type 1 Tag platform. */ [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | mem.c | 24 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 115 element->poolnr = poolnr; in mem_malloc() 138 …hmem = (struct memp_malloc_helper*)(void*)((u8_t*)rmem - LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_ma… in mem_free() 142 LWIP_ASSERT("hmem->poolnr < MEMP_MAX", (hmem->poolnr < MEMP_MAX)); in mem_free() 145 memp_free(hmem->poolnr, hmem); in mem_free() 152 * The heap is made up as a list of structs of this type. 157 /** index (-> ram[next]) of the next struct */ 159 /** index (-> ram[prev]) of the previous struct */ 167 * larger values could prevent too small blocks to fragment the RAM too much. */ 177 * LWIP_RAM_HEAP_POINTER as a void-pointer to that location. [all …]
|
/nrf52832-nimble/rt-thread/documentation/doxygen/ |
H A D | mainpage.h | 7 * @author RT-Thread Development Team 10 * RT-Thread RTOS is an open source embedded real-time operating system and is 11 * designed specifically for small memory footprint platforms. The real-time and 12 * embedded characters are the most significant advantages of RT-Thread. 14 * - Real-Time Character 16 * RT-Thread has a real-time operating system kernel, with fully preempted 17 * multi-thread scheduler, inter-thread communication with timing sensitivity 20 * - Embedded Character 22 * RT-Thread is suitable for embedded systems for small footprint characters. 24 * costs less than 1 Kbytes RAM on the ARM Cortex-M platform. [all …]
|
H A D | kernel.h | 6 * @defgroup Kernel RT-Thread Kernel API 8 * The Kernel APIs are the core APIs of RT-Thread, which supports the following 10 * - Multi-thread management 11 * - Synchronization mechanisms 12 * - Inter-thread communication 13 * - Memory management 14 * - Asynchronous timer 26 * RT-Thread operating system supports multitask systems, which are based on thread 28 * - The scheduling is a full preemptive priority-based scheduling algorithm. 29 * - 8/32/256 priority levels are supported, in which 0 is the highest and 7/31/255 the lowest. [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/rt-thread/ |
H A D | uip_pbuf.c | 5 …MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + RT_ALIGN_SIZE - 1) & ~(mem_ptr_t)(RT_ALIGN_SIZE-1))) 6 #define LWIP_MEM_ALIGN_SIZE(size) (((size) + RT_ALIGN_SIZE - 1) & ~(RT_ALIGN_SIZE-1)) 17 //rt_free(&p->len); in pbuf_free() 29 /* If pbuf is to be allocated in RAM, allocate memory for it. */ in pbuf_alloc() 32 /* Set up internal structure of the pbuf. */ in pbuf_alloc() 33 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)); in pbuf_alloc() 34 p->len = length; in pbuf_alloc() 44 ptr = p->payload; in pbuf_header() 45 ptr -= header_size_increment; in pbuf_header() 46 p->payload = ptr; in pbuf_header() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | mem.c | 24 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 148 rmem = (u8_t*)rmem - MEM_LIBC_STATSHELPER_SIZE; in mem_free() 176 if (required_size <= memp_pools[poolnr]->size) { in mem_malloc() 199 element->poolnr = poolnr; in mem_malloc() 205 element->size = (u16_t)size; in mem_malloc() 206 MEM_STATS_INC_USED(used, element->size); in mem_malloc() 210 memset((u8_t*)ret + size, 0xcd, memp_pools[poolnr]->size - size); in mem_malloc() 232 …hmem = (struct memp_malloc_helper*)(void*)((u8_t*)rmem - LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_ma… in mem_free() 236 LWIP_ASSERT("hmem->poolnr < MEMP_MAX", (hmem->poolnr < MEMP_MAX)); in mem_free() 238 MEM_STATS_DEC_USED(used, hmem->size); in mem_free() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/store/ram/src/ |
H A D | ble_store_ram.c | 10 * http://www.apache.org/licenses/LICENSE-2.0 21 * This file implements a simple in-RAM key database for BLE host security 22 * material and CCCDs. As this database is only ble_store_ramd in RAM, its 32 #include "store/ram/ble_store_ram.h" 53 if (sec->ltk_present) { in ble_store_ram_print_value_sec() 55 sec->ediv, sec->rand_num, sec->authenticated); in ble_store_ram_print_value_sec() 56 ble_hs_log_flat_buf(sec->ltk, 16); in ble_store_ram_print_value_sec() 59 if (sec->irk_present) { in ble_store_ram_print_value_sec() 61 ble_hs_log_flat_buf(sec->irk, 16); in ble_store_ram_print_value_sec() 64 if (sec->csrk_present) { in ble_store_ram_print_value_sec() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/drivers/nrf52/ |
H A D | syscfg.yml | 9 # http://www.apache.org/licenses/LICENSE-2.0 40 This can be used to measure radio ram-up time. 41 value: -1 49 value: -1 57 value: -1 64 - nRF52840 Engineering A 72 - nRF52840 Engineering B 73 - nRF52840 Engineering C 74 - nRF52840 Rev 1 (final silicon)
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/ |
H A D | pbuf.h | 7 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 50 * pbuf_alloced_custom()) and when pbuf_free gives up their last reference, they 51 * are freed by calling pbuf_custom->custom_free_function(). 59 (TCP vs. UDP, IPv4 vs. IPv6: UDP/IPv4 packets may waste up to 28 bytes) */ 88 * Use this if you intend to pass the pbuf to functions like netif->linkoutput(). 92 /** Use this for input packets in a netif driver when calling netif->input() 93 * in the most common case - ethernet-layer netif driver. */ 102 /** pbuf data is stored in RAM, used for TX mostly, struct pbuf and its payload 117 /** pbuf payload refers to RAM. This one comes from a pool and should be used 118 for RX. Payload can be chained (scatter-gather RX) but like PBUF_RAM, struct [all …]
|
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/ |
H A D | dcr_gcc.S | 21 * MA 02111-1307 USA 27 * XXX - DANGER 29 * UNTIL THEY ARE RELOCATED TO RAM. Additionally, I do not 46 * Build up a 'mfdcr' instruction formatted as follows: 49 * ---------------|--------------|--------------|----| 55 * OPCD = opcode - 31 56 * RT = destination register - %r3 return register 58 * XO = extended opcode - 323 59 * CR = CR[CR0] NOT undefined - 0 77 .Lfe1: .size _create_MFDCR,.Lfe1-_create_MFDCR [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/doc/ |
H A D | uip-doc.txt | 8 using the TCP/IP protocol suite even on small 8-bit 9 micro-controllers. Despite being small and simple, uIP do not require 10 their peers to have complex, full-size stacks, but can communicate 11 with peers running a similarly light-weight stack. The code size is on 12 the order of a few kilobytes and RAM usage can be configured to be as 18 \sa \ref uipopt "Compile-time configuration options" 19 \sa \ref uipconffunc "Run-time configuration functions" 31 used for web page transfers, e-mail transmissions, file transfers, and 32 peer-to-peer networking over the Internet. For embedded systems, being 35 with full TCP/IP support will be first-class network citizens, thus [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | mem.c | 24 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 115 m = (u8_t *)p - MEM_SANITY_REGION_BEFORE_ALIGNED; in mem_overflow_check_raw() 140 m = (u8_t *)p - MEM_SANITY_REGION_BEFORE_ALIGNED; in mem_overflow_init_raw() 233 rmem = (u8_t *)rmem - MEM_LIBC_STATSHELPER_SIZE; in mem_free() 261 if (required_size <= memp_pools[poolnr]->size) { in mem_malloc() 284 element->poolnr = poolnr; in mem_malloc() 290 element->size = (u16_t)size; in mem_malloc() 291 MEM_STATS_INC_USED_LOCKED(used, element->size); in mem_malloc() 295 memset((u8_t *)ret + size, 0xcd, memp_pools[poolnr]->size - size); in mem_malloc() 317 …hmem = (struct memp_malloc_helper *)(void *)((u8_t *)rmem - LWIP_MEM_ALIGN_SIZE(sizeof(struct memp… in mem_free() [all …]
|
/nrf52832-nimble/nordic/nrfx/mdk/ |
H A D | nrf52840_bitfields.h | 3 Copyright (c) 2010 - 2018, Nordic Semiconductor ASA All rights reserved. 157 /* Bits 31..0 : Pointer to the resolvable address (6-bytes) */ 173 /* Description: Description cluster[n]: Configure the word-aligned start address of region n to pro… 175 /* Bits 31..0 : Valid word-aligned start address of region n to protect. Address must point to a fl… 206 /* Description: Start generation of key-stream. This operation will stop by itself when completed. … 234 /* Description: Key-stream generation complete */ 248 /* Description: Deprecated register - CCM error event */ 335 …f LENGTH field in encrypted/decrypted packet is 5 bits. A key-stream for packet payloads up to 27 … 336 …f LENGTH field in encrypted/decrypted packet is 8 bits. A key-stream for packet payloads up to MAX… 376 /* Bits 31..0 : Pointer to a scratch data area used for temporary storage during key-stream generat… [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | pbuf.h | 7 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 50 * pbuf_alloced_custom()) and when pbuf_free gives up their last reference, they 51 * are freed by calling pbuf_custom->custom_free_function(). 63 * PBUF_ROM type pbufs. For setups with zero-copy support, it may be redefined 72 #define PBUF_NEEDS_COPY(p) ((p)->type_internal & PBUF_TYPE_FLAG_DATA_VOLATILE) 76 (TCP vs. UDP, IPv4 vs. IPv6: UDP/IPv4 packets may waste up to 28 bytes) */ 105 * Use this if you intend to pass the pbuf to functions like netif->linkoutput(). 109 /** Use this for input packets in a netif driver when calling netif->input() 110 * in the most common case - ethernet-layer netif driver. */ 124 * Internally, we use: 0=heap, 1=MEMP_PBUF, 2=MEMP_PBUF_POOL -> 13 types free*/ [all …]
|
/nrf52832-nimble/rt-thread/libcpu/arm/AT91SAM7X/ |
H A D | start_rvds.S | 7 ;/* Copyright (c) 2005-2006 Keil Software. All rights reserved. */ 17 ; * symbols are entered under Options - ASM - Define. 20 ; * on-chip RAM to address 0. 23 ; * from on-chip Flash to on-chip RAM. 29 ; 2009-12-28 MingBai Bug fix (USR mode stack removed). 30 ; 2009-12-29 MingBai Merge svc and irq stack, add abort handler. 50 ;// <o0> Undefined Mode <0x0-0xFFFFFFFF:8> 51 ;// <o1> Supervisor Mode <0x0-0xFFFFFFFF:8> 52 ;// <o2> Abort Mode <0x0-0xFFFFFFFF:8> 53 ;// <o3> Fast Interrupt Mode <0x0-0xFFFFFFFF:8> [all …]
|