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
  • 2149 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
  • 1450 Views
  • 4 replies
  • 0 kudos

Resolved! USB_ISTR Register User Manual Ambiguity

I have a USB development project that entails the creation of a composite USB device. To integrate it with third party USB stacks I'm developing an interface for the low level USB functionality. In the RM0360 user manual, Page 697 the DIR bit is desc...

STM32F4, FreeRTOS stack overflow hook function

I use freertos stack overflow hook function.So, I port the function "vApplicationStackOverflowHook"​ and define macro "configCHECK_FOR_STACK_OVERFLOW" set to 2.i think hook function executed once when some task use the stack, over it's boundary.but i...

Hall 12c write to register

I'm trying to write this code, in Arduino go well!I could have the translation with the Hal library?​​Wire.beginTransmission(_chipAddress);    Wire.write(address);    Wire.write(value);    Wire.endTransmission();​​

SDall by Associate II
  • 444 Views
  • 1 replies
  • 0 kudos