Skip to main content
Visitor II
May 25, 2020
Question

I am not able to get keyboard data on my USB Host(stm32f407- Discovery). void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len) How this function is working?

  • May 25, 2020
  • 0 replies
  • 432 views

I am not able to get keyboard data on my USB Host(stm32f407- Discovery).

> How this function is working in HAL Library?

void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len);

When Ever I hit any key on my keyboard. My control goes here. But output of this function is not making sense to me.

Can anyone help me?

    This topic has been closed for replies.