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.
CAN的初始化
CAN_initRAM(uint32_t base)
{
//
// Check the arguments.
//
ASSERT(CAN_isBaseValid(base)); 这句不执行是说明原因呢?由于这句是决定执行CANA还是CANB的么,我要用的是CANB。所以这句一定要执行才可以
HWREGH(base + CAN_O_RAM_INIT) = CAN_RAM_INIT_CAN_RAM_INIT |
CAN_RAM_INIT_KEY;