Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 24 of 24) sorted by relevance

/external/platform/lpc15xx/lpcopen/periph_crc/example/src/
A Dcrc.c39 static const uint8_t bytes[] = {0x38, 0x38, 0x38, 0x38}; variable
90 result[0] = Chip_CRC_CRC8(&bytes[0], 1); in main()
91 result[1] = Chip_CRC_CRC8(bytes, (sizeof(bytes) / sizeof(bytes[0]))); in main()
/external/platform/lpc15xx/lpcopen/periph_dma_uart/example/src/
A Ddma_uart.c136 static bool dmaTXSend(uint8_t *data, int bytes) in dmaTXSend() argument
142 if ((countTXDescUsed >= UARTTXDESC) || (bytes > 1024)) { in dmaTXSend()
155 dmaTXDesc[countTXDescUsed].source = DMA_ADDR(data + bytes - 1); /* Last address here */ in dmaTXSend()
167 DMA_XFERCFG_DSTINC_0 | DMA_XFERCFG_XFERCOUNT(bytes); in dmaTXSend()
327 int bytes, idx; in main() local
398 bytes = checkRxData(buff); in main()
399 if (bytes > 0) { in main()
401 dmaTXSend(buff, bytes); in main()
/external/platform/lpc15xx/lpcopen/periph_dma_rom_uart/example/src/
A Ddma_rom_uart.c187 static bool dmaTXSend(uint8_t *data, int bytes) in dmaTXSend() argument
193 if ((countTXDescUsed >= UARTTXDESC) || (bytes > 1024)) { in dmaTXSend()
206 dmaTXDesc[countTXDescUsed].source = (uint32_t) (data + bytes - 1); /* Last address here */ in dmaTXSend()
215 dmaTXDesc[countTXDescUsed].xfercfg = bytes - 1; in dmaTXSend()
329 int bytes = 0, idx; in main() local
403 bytes = checkRxData(buff); in main()
404 if (bytes > 0) { in main()
406 dmaTXSend(buff, bytes); in main()
/external/platform/pico/rp2_common/pico_cyw43_driver/
A Dcyw43_bus_pio_spi.pio10 ; always transmit multiple of 32 bytes
23 ; always transmit multiple of 32 bytes
37 ; always transmit multiple of 32 bytes
52 ; always transmit multiple of 32 bytes
/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/
A Dcrc_15xx.c82 uint32_t Chip_CRC_CRC8(const uint8_t *data, uint32_t bytes) in Chip_CRC_CRC8() argument
85 while (bytes > 0) { in Chip_CRC_CRC8()
88 bytes--; in Chip_CRC_CRC8()
A Duart_15xx.c219 int Chip_UART_ReadRB(LPC_USART_T *pUART, RINGBUFF_T *pRB, void *data, int bytes) in Chip_UART_ReadRB() argument
223 return RingBuffer_PopMult(pRB, (uint8_t *) data, bytes); in Chip_UART_ReadRB()
/external/platform/lpc15xx/lpcopen/periph_uart_rb/example/src/
A Duart_rb.c119 int bytes; in main() local
167 bytes = Chip_UART_ReadRB(LPC_USART, &rxring, &key, 1); in main()
168 if (bytes > 0) { in main()
/external/lib/heap/dlmalloc/include/lib/
A Ddlmalloc.h276 size_t dlmalloc_set_footprint_limit(size_t bytes);
597 void* mspace_malloc(mspace msp, size_t bytes);
602 void* mspace_memalign(mspace msp, size_t alignment, size_t bytes);
614 size_t mspace_set_footprint_limit(mspace msp, size_t bytes);
/external/lib/heap/dlmalloc/
A Ddlmalloc.c4631 nb = (bytes < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(bytes); in dlmalloc()
5241 mem = dlmalloc(bytes); in dlrealloc()
5247 else if (bytes == 0) { in dlrealloc()
5274 memcpy(mem, oldmem, (oc < bytes)? oc : bytes); in dlrealloc()
5324 mem = dlmalloc(bytes); in dlposix_memalign()
5412 if (bytes == 0) in dlmalloc_set_footprint_limit()
5414 if (bytes == MAX_SIZE_T) in dlmalloc_set_footprint_limit()
5565 nb = (bytes < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(bytes); in mspace_malloc()
5797 else if (bytes == 0) { in mspace_realloc()
5824 memcpy(mem, oldmem, (oc < bytes)? oc : bytes); in mspace_realloc()
[all …]
/external/platform/pico/rp2_common/boot_stage2/
A Dboot_stage2.ld2 /* We are loaded to the top 256 bytes of SRAM, which is above the bootrom
3 stack. Note 4 bytes occupied by checksum. */
A Dpad_checksum37 idata_padded = idata + bytes(args.pad - 4 - len(idata))
42 …(binascii.crc32(bytes(bitrev(b, 8) for b in idata_padded), args.seed ^ 0xffffffff) ^ 0xffffffff) &…
/external/platform/nrfx/drivers/src/
A Dnrfx_uart.c495 size_t bytes, in rx_done_event() argument
501 event.data.rxtx.bytes = bytes; in rx_done_event()
508 size_t bytes) in tx_done_event() argument
513 event.data.rxtx.bytes = bytes; in tx_done_event()
561 event.data.error.rxtx.bytes = p_cb->rx_buffer_length; in uart_irq_handler()
A Dnrfx_uarte.c554 size_t bytes, in rx_done_event() argument
560 event.data.rxtx.bytes = bytes; in rx_done_event()
567 size_t bytes) in tx_done_event() argument
572 event.data.rxtx.bytes = bytes; in tx_done_event()
620 event.data.error.rxtx.bytes = nrf_uarte_rx_amount_get(p_uarte); in uarte_irq_handler()
A Dnrfx_nvmc.c175 static uint32_t partial_word_create(uint32_t addr, uint8_t const * bytes, uint32_t bytes_count) in partial_word_create() argument
187 ((uint8_t *)&value32)[byte_shift] = bytes[i]; in partial_word_create()
/external/platform/pico/common/pico_binary_info/include/pico/binary_info/
A Dstructure.h71 uint8_t bytes[1]; member
77 uint8_t bytes[1]; member
/external/platform/pico/rp2_common/pico_standard_link/
A Dmemmap_copy_to_ram.ld36 /* Second stage bootloader is prepended to the image. It must be 256 bytes big
52 "ERROR: Pico second stage bootloader must be 256 bytes in size")
250 …header_end - __logical_binary_start <= 256, "Binary info must be in first 256 bytes of the binary")
A Dmemmap_blocked_ram.ld36 /* Second stage bootloader is prepended to the image. It must be 256 bytes big
52 "ERROR: Pico second stage bootloader must be 256 bytes in size")
248 …header_end - __logical_binary_start <= 256, "Binary info must be in first 256 bytes of the binary")
A Dmemmap_default.ld36 /* Second stage bootloader is prepended to the image. It must be 256 bytes big
52 "ERROR: Pico second stage bootloader must be 256 bytes in size")
248 …header_end - __logical_binary_start <= 256, "Binary info must be in first 256 bytes of the binary")
A Dmemmap_no_flash.ld214 …header_end - __logical_binary_start <= 256, "Binary info must be in first 256 bytes of the binary")
/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dcrc_15xx.h236 uint32_t Chip_CRC_CRC8(const uint8_t *data, uint32_t bytes);
A Duart_15xx.h414 int Chip_UART_ReadRB(LPC_USART_T *pUART, RINGBUFF_T *pRB, void *data, int bytes);
/external/platform/nrfx/drivers/include/
A Dnrfx_uart.h142 uint32_t bytes; ///< Number of bytes transfered. member
A Dnrfx_uarte.h151 size_t bytes; ///< Number of bytes transfered. member
/external/platform/nrfx/
A DCHANGELOG.md168 - Fixed handling of short unaligned write requests (1 or 2 bytes in length) in the nrfx_nvmc_bytes_…
242 …d the type of the nrfx_uarte_xfer_evt_t structure field that holds the amount of transferred bytes.

Completed in 53 milliseconds