I use the following code to create critical section. Is it correct?I use the __get_PRIMASK() and __set_PRIMASK(primask_bit) from exemple codes. Why are they needed? Why disable is not sufficient?Must I enable the IRQ after or is it done in the __set_...
I tried the Cube BLE exemple to tried to set the device name for the advertising message but I can only see the advertising address. How could I do to set the name? /* Update device name */
ret = aci_gatt_update_char_value(service_handle, dev_name...
Hello,In a previous post I request how to reserved a memory area to store user parameters (like INFO memory inside MSP340 devices):https://community.st.com/s/question/0D50X00009XkaTtSAJ/msp430-information-memory-equivalent-inside-the-stm32ST members ...
is it always true if this part of code is only used outside the interrupts to manage volatile variables written outside and inside interrupts.What's more int he CubeMx code I can read: for __disable_irq(void):/** \brief Disable IRQ Interrupts \detai...