Document API IEC60730 Library
Functions

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

Functions

void test_sl_iec60730_program_counter_complete_all_bit_check (void)
 
void test_sl_iec60730_program_counter_fail_some_bit_check (void)
 

Detailed Description

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

IEC60730 Program Counter Unit Tests

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

Hardware setup:

Function Documentation

◆ test_sl_iec60730_program_counter_complete_all_bit_check()

void test_sl_iec60730_program_counter_complete_all_bit_check ( void  )

Public Check sl_iec60730_program_counter_test() operate

Returns
None.

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

◆ test_sl_iec60730_program_counter_fail_some_bit_check()

void test_sl_iec60730_program_counter_fail_some_bit_check ( void  )

Public Check sl_iec60730_program_counter_test() operate

Returns
None.

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