Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/subsys/mgmt/osdp/src/
Dosdp_sc.c252 pd->sc.pd_client_uid[0] = BYTE_0(pd->id.vendor_code); in osdp_sc_setup()
254 pd->sc.pd_client_uid[2] = BYTE_0(pd->id.model); in osdp_sc_setup()
256 pd->sc.pd_client_uid[4] = BYTE_0(pd->id.serial_number); in osdp_sc_setup()
Dosdp_phy.c189 pkt->len_lsb = BYTE_0(len + 2); in osdp_phy_packet_finalize()
227 pkt->len_lsb = BYTE_0(len + 2 + 4); in osdp_phy_packet_finalize()
243 buf[len + 0] = BYTE_0(crc16); in osdp_phy_packet_finalize()
Dosdp_pd.c600 buf[len++] = BYTE_0(pd->id.vendor_code); in pd_build_reply()
607 buf[len++] = BYTE_0(pd->id.serial_number); in pd_build_reply()
677 buf[len++] = BYTE_0(event->cardread.length); in pd_build_reply()
714 buf[len++] = BYTE_0(cmd->comset.baud_rate); in pd_build_reply()
Dosdp_common.h27 #define BYTE_0(x) (uint8_t)(((x) >> 0) & 0xFF) macro
Dosdp_cp.c201 buf[len++] = BYTE_0(cmd->output.timer_count); in cp_build_command()
218 buf[len++] = BYTE_0(cmd->led.temporary.timer_count); in cp_build_command()
261 buf[len++] = BYTE_0(cmd->comset.baud_rate); in cp_build_command()