Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Hal_critical_tests
Functions | |
template<int N> | |
void | test_critical_section () |
Template for HAL critical section tests. |
Function Documentation
void test_critical_section | ( | ) |
Template for HAL critical section tests.
Test critical section Given a critical section HAL mechanism When before critical section Then interrupts are enabled When inside critical section Then interrupts are disabled When after critical section Then interrupts are enabled again
Test critical section - nested lock Given a critical section HAL mechanism When before critical section Then interrupts are enabled When inside nested critical section Then interrupts are disabled When after nested critical section Then interrupts are enabled again
Definition at line 50 of file mbed-os/TESTS/mbed_hal/critical_section/main.cpp.
Generated on Tue Jul 12 2022 18:19:02 by
