Commit Graph

4 Commits (bac5ffec85857a02133efefa110bf9e355b2a30a)

Author SHA1 Message Date
Martin Kojtal 9f35e71ca5
Merge pull request #11446 from maciejbocianski/UserAllocatedEvent_update
add missing asserts to UserAllocatedEvent class
2019-09-10 19:22:34 +02:00
Maciej Bocianski f5f174474b add missing asserts to UserAllocatedEvent class
Improves code quality by adding MBED_ASSERT to UserAllocatedEvent::delay
and UserAllocatedEvent::period function. This prevent changing already posted event.
2019-09-10 09:50:24 +02:00
Hugues Kamba 5933dec3b7 Harmonise Doxygen comments in drivers, events, platform and rtos dirs
When a Doxygen group has been defined (created), all its needed to add
documentation to that group is `\addtogroup`. Since all the information
about the group is preserved, it is not necessary to mention the group
hierarchy again with `\ingroup`. This PR removes unnecessary Doxygen lines
across the `drivers`, `events`, `platform` and `rtos` directories.

It also ensures that new groups are created with `\defgroup` once and
referenced with `\addtogroup` whenever documentation needs to be added to
an existing group.
2019-09-09 10:59:51 +01:00
Maciej Bocianski 19e33ba44b UserAllocatedEvent implementation
UserAllocatedEvent provides mechanism for event posting and dispatching without
utilization of queue internal memory. UserAllocatedEvent embeds all underlying
event data and doesn't require any memory allocation while posting and dispatching.
All of these makes it cannot fail due to memory exhaustion while posting.
2019-08-30 14:04:27 +02:00