/nrf52832-nimble/rt-thread/components/drivers/sensors/ |
H A D | bmi055_sensor.h | 26 /**<Address of ACC Chip ID Register */ 28 /**< Address of X axis ACC LSB Register */ 30 /**< Address of X axis ACC MSB Register */ 32 /**< Address of Y axis ACC LSB Register */ 34 /**< Address of Y axis ACC MSB Register */ 36 /**< Address of Z axis ACC LSB Register */ 38 /**< Address of Z axis ACC MSB Register */ 40 /**< Address of Temperature Data Register */ 44 /**< Address of Interrupt status Register 0 */ 46 /**< Address of Interrupt status Register 1 */ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/ |
H A D | ble_hs_id.h | 38 * Generates a new random address. This function does not configure the device 39 * with the new address; the caller can use the address in subsequent 42 * @param nrpa The type of random address to generate: 45 * @param out_addr On success, the generated address gets written 53 * Sets the device's random address. The address type (static vs. 55 * address. The address is specified in host byte order (little-endian!). 57 * @param rnd_addr The random address to set. 60 * BLE_HS_EINVAL if the specified address is not a 62 * private address. 72 * @param id_addr_type The type of identity address to retrieve. [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/ |
H A D | ip6_zone.h | 4 * IPv6 address scopes, zones, and scoping policy. 6 * This header provides the means to implement support for IPv6 address scopes, 7 * as per RFC 4007. An address scope can be either global or more constrained. 8 * In lwIP, we say that an address "has a scope" or "is scoped" when its scope 9 * is constrained, in which case the address is meaningful only in a specific 14 * interfaces. For example, a link-local address is valid on only one link (its 20 * In lwIP, each IPv6 address has an associated zone index. This zone index may 22 * address "has a zone" or "is zoned" when its zone index is *not* set to "no 23 * zone." In lwIP, in principle, each address should be "properly zoned," which 24 * means that if the address has a zone if and only if has a scope. As such, it [all …]
|
H A D | ip6_addr.h | 66 /** IPv6 address */ 69 /** Set an IPv6 partial address given by byte-parts */ 73 /** Set a full IPv6 address by passing the 4 u32_t indices in network byte order 82 /** Access address in 16-bit block */ 84 /** Access address in 16-bit block */ 86 /** Access address in 16-bit block */ 88 /** Access address in 16-bit block */ 90 /** Access address in 16-bit block */ 92 /** Access address in 16-bit block */ 94 /** Access address in 16-bit block */ [all …]
|
H A D | ip4_addr.h | 3 * IPv4 address API 71 /* Definitions of the bits in an Internet address integer. 103 /** Set an IP address given by the four byte-parts */ 106 /** Copy IP address - faster than ip4_addr_set: no NULL check */ 108 /** Safely copy one IP address to another (src may be NULL) */ 112 /** Set complete address to zero */ 114 /** Set address to IPADDR_ANY (no need for lwip_htonl()) */ 116 /** Set address to loopback address */ 118 /** Check if an address is in the loopback region */ 120 /** Safely copy one IP address to another and change byte order [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/docs/ble_setup/ |
H A D | ble_addr.rst | 1 Configure device address 4 A BLE device needs an address to do just about anything. For information 8 There are several methods for assigning an address to a NimBLE device. 11 Method 1: Configure nRF hardware with a public address 15 will attempt to read a public address out of the board's FICR or UICR 17 an address from hardware: 19 1. If the *DEVICEADDRTYPE* FICR register is written, read the address 22 read the address programmed in the *CUSTOMER[0]* and *CUSTOMER[1]* 24 3. Else, no address available. 26 Method 2: Hardcode a public address in the Mynewt target [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/spi/ |
H A D | qspi_core.c | 115 /* get address */ in rt_qspi_send_then_recv() 120 /* medium size greater than 16Mb, address size is 4 Byte */ in rt_qspi_send_then_recv() 121 message.address.content = (ptr[1] << 24) | (ptr[2] << 16) | (ptr[3] << 8) | (ptr[4]); in rt_qspi_send_then_recv() 122 message.address.size = 32; in rt_qspi_send_then_recv() 127 /* address size is 3 Byte */ in rt_qspi_send_then_recv() 128 message.address.content = (ptr[1] << 16) | (ptr[2] << 8) | (ptr[3]); in rt_qspi_send_then_recv() 129 message.address.size = 24; in rt_qspi_send_then_recv() 136 message.address.qspi_lines = 1; in rt_qspi_send_then_recv() 140 /* no address stage */ in rt_qspi_send_then_recv() 141 message.address.content = 0 ; in rt_qspi_send_then_recv() [all …]
|
/nrf52832-nimble/nordic/nrfx/hal/ |
H A D | nrf_nvmc.h | 57 * address in the page. 59 * @param address Start address of the page. 61 void nrf_nvmc_page_erase(uint32_t address); 70 * @param address Address to write to. 73 void nrf_nvmc_write_byte(uint32_t address , uint8_t value); 78 * @param address Address to write to. 81 void nrf_nvmc_write_word(uint32_t address, uint32_t value); 87 * @param address Address to write to. 91 void nrf_nvmc_write_bytes(uint32_t address, const uint8_t * src, uint32_t num_bytes); 97 * @param address Address to write to. [all …]
|
H A D | nrf_nvmc.c | 44 void nrf_nvmc_page_erase(uint32_t address) in nrf_nvmc_page_erase() argument 52 NRF_NVMC->ERASEPAGE = address; in nrf_nvmc_page_erase() 61 void nrf_nvmc_write_byte(uint32_t address, uint8_t value) in nrf_nvmc_write_byte() argument 63 uint32_t byte_shift = address & (uint32_t)0x03; in nrf_nvmc_write_byte() 64 uint32_t address32 = address & ~byte_shift; // Address to the word this byte is in. in nrf_nvmc_write_byte() 81 void nrf_nvmc_write_word(uint32_t address, uint32_t value) in nrf_nvmc_write_word() argument 88 *(uint32_t*)address = value; in nrf_nvmc_write_word() 96 void nrf_nvmc_write_bytes(uint32_t address, const uint8_t * src, uint32_t num_bytes) in nrf_nvmc_write_bytes() argument 101 nrf_nvmc_write_byte(address + i,src[i]); in nrf_nvmc_write_bytes() 105 void nrf_nvmc_write_words(uint32_t address, const uint32_t * src, uint32_t num_words) in nrf_nvmc_write_words() argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/ |
H A D | etharp.c | 3 * Address Resolution Protocol module for IP over Ethernet 5 * Functionally, ARP is divided into two parts. The first maps an IP address 6 * to a physical address when sending a packet, and the second part answers 7 * requests from other machines for our physical address. 11 * if an interface calls etharp_gratuitous(our_netif) upon address change. 112 /** Try hard to create a new entry - we want the IP address to appear in 239 * If an IP address is given, return a pending or stable ARP entry that matches 240 * the address. If no match is found, create a new entry with this address set, 250 * @param ipaddr IP address to find in ARP cache, or to add if not found. 252 * @param netif netif related to this address (used for NETIF_HWADDRHINT) [all …]
|
H A D | ip4_addr.c | 3 * This is the IPv4 address tools implementation. 51 * Determine if an address is a broadcast address on a network interface 53 * @param addr address to be checked 54 * @param netif the network interface against which the address is checked 55 * @return returns non-zero if the address is a broadcast address 69 /* the given address cannot be a broadcast address in ip4_addr_isbroadcast_u32() 72 /* address matches network interface address exactly? => no broadcast */ in ip4_addr_isbroadcast_u32() 80 /* => network broadcast address */ in ip4_addr_isbroadcast_u32() 126 * Ascii internet address interpretation routine. 129 * @param cp IP address in ascii representation (e.g. "127.0.0.1") [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv4/ |
H A D | etharp.c | 3 * Address Resolution Protocol module for IP over Ethernet 5 * Functionally, ARP is divided into two parts. The first maps an IP address 6 * to a physical address when sending a packet, and the second part answers 7 * requests from other machines for our physical address. 11 * if an interface calls etharp_gratuitous(our_netif) upon address change. 111 /** Try hard to create a new entry - we want the IP address to appear in 237 * If an IP address is given, return a pending or stable ARP entry that matches 238 * the address. If no match is found, create a new entry with this address set, 248 * @param ipaddr IP address to find in ARP cache, or to add if not found. 250 * @param netif netif related to this address (used for NETIF_HWADDRHINT) [all …]
|
H A D | ip4_addr.c | 3 * This is the IPv4 address tools implementation. 51 * Determine if an address is a broadcast address on a network interface 53 * @param addr address to be checked 54 * @param netif the network interface against which the address is checked 55 * @return returns non-zero if the address is a broadcast address 69 /* the given address cannot be a broadcast address in ip4_addr_isbroadcast_u32() 72 /* address matches network interface address exactly? => no broadcast */ in ip4_addr_isbroadcast_u32() 80 /* => network broadcast address */ in ip4_addr_isbroadcast_u32() 116 * Ascii internet address interpretation routine. 119 * @param cp IP address in ascii representation (e.g. "127.0.0.1") [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/x1000/ |
H A D | x1000.h | 49 static inline void writeb(u8 value, u32 address) in writeb() argument 51 *((volatile u8 *) address) = value; in writeb() 53 static inline void writew( u16 value, u32 address) in writew() argument 55 *((volatile u16 *) address) = value; in writew() 57 static inline void writel(u32 value, u32 address) in writel() argument 59 *((volatile u32 *) address) = value; in writel() 62 static inline u8 readb(u32 address) in readb() argument 64 return *((volatile u8 *)address); in readb() 67 static inline u16 readw(u32 address) in readw() argument 69 return *((volatile u16 *)address); in readw() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/ |
H A D | ip_addr.c | 3 * This is the IPv4 address tools implementation. 48 * Determine if an address is a broadcast address on a network interface 50 * @param addr address to be checked 51 * @param netif the network interface against which the address is checked 52 * @return returns non-zero if the address is a broadcast address 66 /* the given address cannot be a broadcast address in ip4_addr_isbroadcast() 69 /* address matches network interface address exactly? => no broadcast */ in ip4_addr_isbroadcast() 77 /* => network broadcast address */ in ip4_addr_isbroadcast() 123 * Ascii internet address interpretation routine. 126 * @param cp IP address in ascii represenation (e.g. "127.0.0.1") [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/common/ |
H A D | mips_addrspace.h | 49 * 32-bit MIPS address spaces 60 * Returns the kernel segment base of a given address 65 * Returns the physical address of a CKSEGx / XKPHYS address 100 * Map an address to a certain kernel segment 126 * Cache modes for XKPHYS address conversion macros 138 * 64-bit address conversions 147 * Returns the uncached address of a sdram address 151 /* We use a 36 bit physical address map here and 162 * R8000 implements most with its 48-bit physical address space. 187 static inline phys_addr_t virt_to_phys(volatile void * address) in virt_to_phys() argument [all …]
|
/nrf52832-nimble/rt-thread/libcpu/mips/xburst/ |
H A D | x1000.h | 63 static inline void writeb(u8 value, u32 address) in writeb() argument 65 *((volatile u8 *) address) = value; in writeb() 67 static inline void writew( u16 value, u32 address) in writew() argument 69 *((volatile u16 *) address) = value; in writew() 71 static inline void writel(u32 value, u32 address) in writel() argument 73 *((volatile u32 *) address) = value; in writel() 76 static inline u8 readb(u32 address) in readb() argument 78 return *((volatile u8 *)address); in readb() 81 static inline u16 readw(u32 address) in readw() argument 83 return *((volatile u16 *)address); in readw() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/netif/ |
H A D | etharp.c | 3 * Address Resolution Protocol module for IP over Ethernet 5 * Functionally, ARP is divided into two parts. The first maps an IP address 6 * to a physical address when sending a packet, and the second part answers 7 * requests from other machines for our physical address. 11 * if an interface calls etharp_gratuitous(our_netif) upon address change. 126 /** Try hard to create a new entry - we want the IP address to appear in 247 * If an IP address is given, return a pending or stable ARP entry that matches 248 * the address. If no match is found, create a new entry with this address set, 258 * @param ipaddr IP address to find in ARP cache, or to add if not found. 260 * @param netif netif related to this address (used for NETIF_HWADDRHINT) [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ipv6/ |
H A D | nd6.c | 4 * Neighbor discovery and stateless address autoconfiguration for IPv6. 6 * (Address autoconfiguration). 90 /* Multicast address holder. */ 140 * A local address has been determined to be a duplicate. Take the appropriate 141 * action(s) on the address and the interface as a whole. 143 * @param netif the netif that owns the address 144 * @param addr_idx the index of the address detected to be a duplicate 150 /* Mark the address as duplicate, but leave its lifetimes alone. If this was in nd6_duplicate_addr_detected() 151 * a manually assigned address, it will remain in existence as duplicate, and in nd6_duplicate_addr_detected() 153 * If this was an autogenerated address, the address will follow normal in nd6_duplicate_addr_detected() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/util/src/ |
H A D | addr.c | 30 /* XXX: It is unfortunate that the function to retrieve the random address in ble_hs_util_load_rand_addr() 32 * automically restore a random address. in ble_hs_util_load_rand_addr() 52 /* If we already have a random address, then we are done. */ in ble_hs_util_ensure_rand_addr() 58 /* Otherwise, try to load a random address. */ in ble_hs_util_ensure_rand_addr() 64 /* Configure nimble to use the random address. */ in ble_hs_util_ensure_rand_addr() 79 /* Try to load a random address. */ in ble_hs_util_ensure_addr() 82 /* No random address; try to load a public address. */ in ble_hs_util_ensure_addr() 86 /* Try to load a public address. */ in ble_hs_util_ensure_addr() 89 /* No public address; try to load a random address. */ in ble_hs_util_ensure_addr()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ |
H A D | lowpan6_ble.c | 52 …* - use the BLE to EUI64 conversation util to create an IPv6 link-local address from the BLE MAC… 97 * convert BT address to EUI64 addr 99 * This method converts a Bluetooth MAC address to an EUI64 address, 103 * @param src BLE MAC address source 130 * convert EUI64 address to Bluetooth MAC addr 132 * This method converts an EUI64 address to a Bluetooth MAC address, 134 * @param dst BLE MAC address destination 146 /** Set an address used for stateful compression. 147 * This expects an address of 6 or 8 bytes. 172 /** Set the local address used for stateful compression. [all …]
|
/nrf52832-nimble/rt-thread/components/net/uip/uip/ |
H A D | uip_arp.c | 7 * \defgroup uiparp uIP Address Resolution Protocol 10 * The Address Resolution Protocol ARP is used for mapping between IP 13 * address of a known IP address and the host which is configured with 14 * the IP address for which the query was meant, will respond with its 15 * link level address. 22 * Implementation of the ARP Address Resolution Protocol. 162 update. If none is found, the IP -> MAC address mapping is in uip_arp_update() 171 /* Check if the source IP address of the incoming packet matches in uip_arp_update() 172 the IP address in this ARP table entry. */ in uip_arp_update() 224 * packet has been received. The function will check if the address is [all …]
|
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/ |
H A D | usb_device.h | 77 rt_err_t (*set_address)(rt_uint8_t address); 78 rt_err_t (*set_config)(rt_uint8_t address); 79 rt_err_t (*ep_set_stall)(rt_uint8_t address); 80 rt_err_t (*ep_clear_stall)(rt_uint8_t address); 83 rt_size_t (*ep_read_prepare)(rt_uint8_t address, void *buffer, rt_size_t size); 84 rt_size_t (*ep_read)(rt_uint8_t address, void *buffer); 85 rt_size_t (*ep_write)(rt_uint8_t address, void *buffer, rt_size_t size); 305 rt_err_t rt_usbd_ep_in_handler(udcd_t dcd, rt_uint8_t address, rt_size_t size); 306 rt_err_t rt_usbd_ep_out_handler(udcd_t dcd, rt_uint8_t address, rt_size_t size); 312 rt_inline rt_err_t dcd_set_address(udcd_t dcd, rt_uint8_t address) in dcd_set_address() argument [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/ipv4/lwip/ |
H A D | ip_addr.h | 89 /** IP_ADDR_ can be used as a fixed IP address 90 * for the wildcard and the broadcast address 104 /* Definitions of the bits in an Internet address integer. 138 /** Set an IP address given by the four byte-parts */ 145 /** Set an IP address given by the four byte-parts. 161 /** Copy IP address - faster than ip_addr_set: no NULL check */ 163 /** Safely copy one IP address to another (src may be NULL) */ 167 /** Set complete address to zero */ 169 /** Set address to IPADDR_ANY (no need for htonl()) */ 171 /** Set address to loopback address */ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/include/controller/ |
H A D | ble_ll_adv.h | 66 * The advertising address (AdvA) is a public address (TxAdd=0) or random 67 * address (TxAdd = 1) 77 * AdvA is the advertisers public address (TxAdd=0) or random address 80 * InitA is the initiators public or random address. This is the address 91 * The advertising address (AdvA) is a public address (TxAdd=0) or random 92 * address (TxAdd = 1) 103 * The advertising address (AdvA) is a public address (TxAdd=0) or random 104 * address (TxAdd = 1) 141 /* Returns local resolvable private address */ 144 /* Returns peer resolvable private address */
|