Home
last modified time | relevance | path

Searched refs:BYTE_1 (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c253 pd->sc.pd_client_uid[1] = BYTE_1(pd->id.vendor_code); in osdp_sc_setup()
255 pd->sc.pd_client_uid[3] = BYTE_1(pd->id.version); in osdp_sc_setup()
257 pd->sc.pd_client_uid[5] = BYTE_1(pd->id.serial_number); in osdp_sc_setup()
Dosdp_phy.c190 pkt->len_msb = BYTE_1(len + 2); in osdp_phy_packet_finalize()
228 pkt->len_msb = BYTE_1(len + 2 + 4); in osdp_phy_packet_finalize()
244 buf[len + 1] = BYTE_1(crc16); in osdp_phy_packet_finalize()
Dosdp_pd.c601 buf[len++] = BYTE_1(pd->id.vendor_code); in pd_build_reply()
608 buf[len++] = BYTE_1(pd->id.serial_number); in pd_build_reply()
614 buf[len++] = BYTE_1(pd->id.firmware_version); in pd_build_reply()
678 buf[len++] = BYTE_1(event->cardread.length); in pd_build_reply()
715 buf[len++] = BYTE_1(cmd->comset.baud_rate); in pd_build_reply()
Dosdp_common.h28 #define BYTE_1(x) (uint8_t)(((x) >> 8) & 0xFF) macro
Dosdp_cp.c202 buf[len++] = BYTE_1(cmd->output.timer_count); in cp_build_command()
219 buf[len++] = BYTE_1(cmd->led.temporary.timer_count); in cp_build_command()
262 buf[len++] = BYTE_1(cmd->comset.baud_rate); in cp_build_command()