Home
last modified time | relevance | path

Searched refs:bcd (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/subsys/usb/device_next/
Dusbd_device.c56 const enum usbd_speed speed, const uint16_t bcd) in usbd_device_set_bcd_usb() argument
69 desc->bcdUSB = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_usb()
125 const uint16_t bcd) in usbd_device_set_bcd_device() argument
138 fs_desc->bcdDevice = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_device()
141 hs_desc->bcdDevice = sys_cpu_to_le16(bcd); in usbd_device_set_bcd_device()
Dusbd_shell.c291 uint16_t bcd; in cmd_device_bcd_usb() local
294 bcd = strtol(argv[2], NULL, 16); in cmd_device_bcd_usb()
295 ret = usbd_device_set_bcd_usb(my_uds_ctx, current_cmd_speed, bcd); in cmd_device_bcd_usb()
297 shell_error(sh, "dev: failed to set device bcdUSB to %x", bcd); in cmd_device_bcd_usb()
299 shell_error(sh, "dev: set device bcdUSB to %x", bcd); in cmd_device_bcd_usb()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Dutil.h575 static inline uint8_t bcd2bin(uint8_t bcd) in bcd2bin() argument
577 return ((10 * (bcd >> 4)) + (bcd & 0x0F)); in bcd2bin()
/Zephyr-Core-3.7.0/include/zephyr/usb/
Dusbd.h982 const enum usbd_speed speed, const uint16_t bcd);
1015 const uint16_t bcd);