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.

TMS570LC4357: 如何设置滤波,需要配置哪些寄存器

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

while ((canREG1->IF2STAT & 0x80U) ==0x80U)
{
} /* Wait */
for(i = 33U; i <= 64U;i++){
canREG1->IF2MSK = 0xC0000000U | (uint32)((uint32)((uint32)0x1FFFFFFFU & (uint32)0x1FFFFFFFU) << (uint32)0U);
canREG1->IF2ARB = (uint32)0x80000000U | (uint32)0x40000000U | (uint32)0x00000000U | (uint32)((uint32)((uint32)i & (uint32)0x1FFFFFFFU) << (uint32)0U);
canREG1->IF2MCTL = 0x00001000U | (uint32)0x00000400U | (uint32)0x00000000U | (uint32)0x00000000U | (uint32)8U;
canREG1->IF2CMD = (uint8) 0xF8U;
canREG1->IF2NO = i;
}

请问是在这里配置吗,具体配置哪些寄存器和哪些位