STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Why some HAL declarations uses "__" before the name?

I am not sure how to ask but some functions in HAL libraries, just starts with HAL prefix, for exampleHAL_GPIO_WritePin() ;But also some macros start with double underscores for example__HAL_GPIO_EXTI_CLEAR_IT() I know that ones are macros and others...

YAkse by Associate III
  • 2558 Views
  • 3 replies
  • 0 kudos

Resolved! I am struggling with how and where to implement the LED controls (Caps Lock etc) of a keyboard. As far as I understand it this is accomplished through a USBH_HID_SetReport(phost, 0x02, 0x00, rep, 0x01). Please help.

I am trying to implement a USB Host for keyboard and mouse. I have successfully implemented the demo that is shown here:https://www.youtube.com/watch?v=MlhUG4GsOT0Key presses are all being received successfully by the host. I am struggling with how a...

HBard by Associate II
  • 1663 Views
  • 4 replies
  • 0 kudos