21#ifndef LIBBSP_ARM_TMS570_SELFTEST_PARITY_H
22#define LIBBSP_ARM_TMS570_SELFTEST_PARITY_H
30#define TMS570_SELFTEST_PAR_CR_KEY 0xA
65 tms570_selftest_par_het1_desc;
67 tms570_selftest_par_htu1_desc;
69 tms570_selftest_par_het2_desc;
71 tms570_selftest_par_htu2_desc;
73 tms570_selftest_par_adc1_desc;
75 tms570_selftest_par_adc2_desc;
77 tms570_selftest_par_can1_desc;
79 tms570_selftest_par_can2_desc;
81 tms570_selftest_par_can3_desc;
83 tms570_selftest_par_vim_desc;
85 tms570_selftest_par_dma_desc;
87 tms570_selftest_par_spi1_desc;
89 tms570_selftest_par_spi3_desc;
91 tms570_selftest_par_spi5_desc;
94tms570_selftest_par_list[];
96extern const int tms570_selftest_par_list_size;
Definition: tms570_selftest_parity.h:41
unsigned char esm_prim_grp
Definition: tms570_selftest_parity.h:42
unsigned char esm_sec_chan
Definition: tms570_selftest_parity.h:45
int fail_code
Definition: tms570_selftest_parity.h:46
volatile uint32_t * ram_loc
Definition: tms570_selftest_parity.h:48
volatile uint32_t * par_cr_reg
Definition: tms570_selftest_parity.h:53
uint32_t par_xor
Definition: tms570_selftest_parity.h:51
uint32_t par_cr_test
Definition: tms570_selftest_parity.h:54
uint32_t par_st_clear
Definition: tms570_selftest_parity.h:56
volatile void * fnc_data
Definition: tms570_selftest_parity.h:60
unsigned char esm_sec_grp
Definition: tms570_selftest_parity.h:44
volatile uint32_t * par_st_reg
Definition: tms570_selftest_parity.h:55
unsigned char esm_prim_chan
Definition: tms570_selftest_parity.h:43
volatile uint32_t * par_loc
Definition: tms570_selftest_parity.h:49
tms570_selftest_par_fnc_t * partest_fnc
Definition: tms570_selftest_parity.h:58
void tms570_selftest_par_check_std(const tms570_selftest_par_desc_t *desc)
run test to check that parity protection works for modules with common setup structure.
Definition: tms570_selftest_par_std.c:42
void tms570_selftest_par_run(const tms570_selftest_par_desc_t *const *desc_arr, int desc_cnt)
run parity protection mechanism check for set of modules described by list.
Definition: tms570_selftest_parity.c:303
void tms570_selftest_par_check_can(const tms570_selftest_par_desc_t *desc)
run test to check that parity protection works for CAN modules RAM
Definition: tms570_selftest_par_can.c:40
void tms570_selftest_par_check_mibspi(const tms570_selftest_par_desc_t *desc)
run test to check that parity protection works for MibSPI modules RAM
Definition: tms570_selftest_par_mibspi.c:40