This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-J721S2: PROCESSOR-SDK-J721S2 SDL模块疑问。

Part Number: PROCESSOR-SDK-J721S2

Hello!!!

如最后下面代码所示,ti-processor-sdk-rtos-j721s2-evm-08_06_01_03的SDL模块中有几个疑问点:

1.下面的groupNumber和bitNumber具体代表什么意思?注释不是很理解,麻烦解释下。

typedef struct SDL_ESM_Errorconfig_s
{
uint32_t groupNumber;
/**< Group number of error event */
uint32_t bitNumber;
/**< Bit number within the group */
} SDL_ESM_ErrorConfig_t;

2.下面的enableBitmap和具体的error event如何对应?

static SDL_ESM_config CCM_Test_esmInitConfig_MCU =
{
.esmErrorConfig = {0u, 3u}, /* Self test error config */

.enableBitmap = {
0xffffffffu, 0xff0fffffu, 0x7fffffffu, 0x00000007u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
},
/**< All events enable: except timer and self test events, and Main ESM output */
/* Temporarily disabling vim compare error as well*/
.priorityBitmap = {
0xffffffffu, 0xff0fffffu, 0x7fffffffu, 0x00000007u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
},
/**< All events high priority: except timer, selftest error events, and Main ESM output */
.errorpinBitmap = {
0xffffffffu, 0xff0fffffu, 0x7fffffffu, 0x00000007u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
},
/**< All events high priority: except timer, selftest error events, and Main ESM output */
};