Document API IEC60730 Library
Functions

Header file list of test cases for the verification operate function sl_iec60730_bist(). More...

Functions

void test_sl_iec60730_bist_pass_all_check_condition (void)
 
void test_sl_iec60730_bist_failed_check_condition (void)
 
void test_iec60730_safety_check_error_occur (void)
 

Detailed Description

Header file list of test cases for the verification operate function sl_iec60730_bist().

IEC60730 Bist Unit Tests

These test cases run unit tests to check the operation of the function sl_iec60730_bist()

Hardware setup:

Function Documentation

◆ test_iec60730_safety_check_error_occur()

void test_iec60730_safety_check_error_occur ( void  )

Public Check sl_iec60730_bist() operate

Returns
None.

If bool local is_function_called variable true, and iec60730_safety_check is not equal SL_IEC60730_NO_FAILURE. It means test result routine of sl_iec60730_bist() is a failure, function sl_iec60730_safe_state() is called.

◆ test_sl_iec60730_bist_failed_check_condition()

void test_sl_iec60730_bist_failed_check_condition ( void  )

Public Check sl_iec60730_bist() operate

Returns
None.

If bool local is_function_called variable true. It means test result routine of sl_iec60730_bist() is a failure, function sl_iec60730_safe_state() is called.

◆ test_sl_iec60730_bist_pass_all_check_condition()

void test_sl_iec60730_bist_pass_all_check_condition ( void  )

Public Check sl_iec60730_bist() operate

Returns
None.

If bool local is_function_called variable equal false. It means test result routine of sl_iec60730_bist() is a pass, function sl_iec60730_safe_state() is not called.