![]()  | 
  
    RTEMS
    5.1
    
   | 
 
#include <tms570_selftest_parity.h>
Data Fields | |
| unsigned char | esm_prim_grp | 
| unsigned char | esm_prim_chan | 
| unsigned char | esm_sec_grp | 
| unsigned char | esm_sec_chan | 
| int | fail_code | 
| volatile uint32_t * | ram_loc | 
| volatile uint32_t * | par_loc | 
| uint32_t | par_xor | 
| volatile uint32_t * | par_cr_reg | 
| uint32_t | par_cr_test | 
| volatile uint32_t * | par_st_reg | 
| uint32_t | par_st_clear | 
| tms570_selftest_par_fnc_t * | partest_fnc | 
| volatile void * | fnc_data | 
Decriptor specifying registers addresses and values used to test that parity protection is working for given hardware module/peripheral. It is used during initial chip self-tests.
| unsigned char tms570_selftest_par_desc::esm_prim_chan | 
ESM primary signalling channel number.
| unsigned char tms570_selftest_par_desc::esm_prim_grp | 
ESM primary signalling group number.
| unsigned char tms570_selftest_par_desc::esm_sec_chan | 
ESM optional/alternative signalling channel.
| unsigned char tms570_selftest_par_desc::esm_sec_grp | 
ESM optional/alternative signalling group.
| int tms570_selftest_par_desc::fail_code | 
Error code reported to bsp_selftest_fail_notification() in the case of the test failure.
| volatile void* tms570_selftest_par_desc::fnc_data | 
Pointer to the base of tested peripheral registers. It is required by some test functions (CAN and MibSPI)
| volatile uint32_t* tms570_selftest_par_desc::par_cr_reg | 
Address of module parity test control register.
| uint32_t tms570_selftest_par_desc::par_cr_test | 
Mask of bit which cause switch to a test mode.
| volatile uint32_t* tms570_selftest_par_desc::par_loc | 
Address of mapping of parity bits into CPU address space.
| uint32_t tms570_selftest_par_desc::par_st_clear | 
Optional value which is written to status register to clear error.
| volatile uint32_t* tms570_selftest_par_desc::par_st_reg | 
Optional module parity status register which.
| uint32_t tms570_selftest_par_desc::par_xor | 
Bitmask used to alter parity to cause intentional parity failure.
| tms570_selftest_par_fnc_t* tms570_selftest_par_desc::partest_fnc | 
Function which specialized for given kind of peripheral/module mechanism testing.
| volatile uint32_t* tms570_selftest_par_desc::ram_loc | 
Address of memory protected by parity.
 1.8.15