CMSIS-RTOS Validation  Version 1.0
RTOS Validation
 All Data Structures Files Functions Variables Macros Groups Pages
Timer Functions

Timer Functions Test Cases. More...

Functions

void TC_TimerOneShot (void)
 Test case: TC_TimerOneShot.
 
void TC_TimerPeriodic (void)
 Test case: TC_TimerPeriodic.
 
void TC_TimerParam (void)
 Test case: TC_TimerParam.
 
void TC_TimerInterrupts (void)
 Test case: TC_TimerInterrupts.
 

Description

The test cases check the osTimer* functions.

Function Documentation

void TC_TimerInterrupts ( void  )
  • Call all timer management functions from the ISR
void TC_TimerOneShot ( void  )
  • Create a one shoot timer
  • Ensure timer is not running
  • Start timer and check that callback was called only once
  • Ensure correct status reporting
  • Delete the timer
void TC_TimerParam ( void  )
  • Test timer management functions with invalid parameters
void TC_TimerPeriodic ( void  )
  • Create a periodic timer
  • Ensure timer is not running
  • Start timer and check if callback function is called more than once
  • Stop the timer
  • Ensure correct status reporting
  • Delete the timer