Searched refs:crc16 (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/include/zephyr/sys/ |
D | crc.h | 93 uint16_t crc16(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len); 409 return crc16(poly, seed, src, len); in crc_by_type()
|
/Zephyr-latest/samples/arch/smp/pktqueue/src/ |
D | main.c | 76 crc = crc16(POLYNOMIAL, 0x0000, in init_datagram_queue() 108 crc = crc16(POLYNOMIAL, 0x0000, qin_ptr->ptr, SIZE_OF_HEADER); in test_thread()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_phy.c | 161 uint16_t crc16; in osdp_phy_packet_finalize() local 242 crc16 = osdp_compute_crc16(buf, len); in osdp_phy_packet_finalize() 243 buf[len + 0] = BYTE_0(crc16); in osdp_phy_packet_finalize() 244 buf[len + 1] = BYTE_1(crc16); in osdp_phy_packet_finalize()
|
/Zephyr-latest/lib/crc/ |
D | crc16_sw.c | 9 uint16_t crc16(uint16_t poly, uint16_t seed, const uint8_t *src, size_t len) in crc16() function
|
/Zephyr-latest/doc/services/device_mgmt/ |
D | smp_transport.rst | 137 | crc16 | 2 bytes | CRC16 of entire packet | 184 | crc16 | 2 bytes | CRC16 of entire packet |
|
/Zephyr-latest/samples/arch/smp/pktqueue/ |
D | README.rst | 18 defined in SIZE_OF_HEADER and calculated crc16 header checksum
|
/Zephyr-latest/tests/unit/crc/ |
D | main.c | 85 zassert_equal(crc16(0x0589, 0x0, test, sizeof(test)), 0x007f); in ZTEST()
|
/Zephyr-latest/drivers/can/ |
D | can_mcp251xfd.c | 115 crc_in = crc16(MCP251XFD_CRC_POLY, MCP251XFD_CRC_SEED, in mcp251xfd_read_crc() 125 crc = crc16(MCP251XFD_CRC_POLY, crc_in, &spi_data->buf[0], in mcp251xfd_read_crc()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.0.rst | 56 * The existing :c:func:`crc16` and :c:func:`crc16_ansi` functions have been
|