Mistake on this page?
Report an issue in GitHub or email us
Functions

Tests definitions of the HAL Critical module. More...

Functions

template<int N>
void test_critical_section ()
 Template for HAL critical section tests. More...
 

Detailed Description

Tests definitions of the HAL Critical module.

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

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.