ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
3 июля
541870 Топик полностью
Nikolay801_ (25.08.2014 14:10, просмотров: 123) ответил Argon на неа, нету там флагов, что и удивляет. может, очистка FIFO в конце является этим самым?
да так и есть. прерывание генерится если счетчик принятых сообщений не нулевой.
the FIFO 0 interrupt can be generated by the following events: – Reception of a new message, FMP0 bits in the CAN_RF0R register are not ‘00’
а сбрасывается так.
Bits 1:0 FMP0[1:0]: FIFO 0 message pending These bits indicate how many messages are pending in the receive FIFO. FMP is increased each time the hardware stores a new message in to the FIFO. FMP is decreased each time the software releases the output mailbox by setting the RFOM0 bit.
Будь ты проклят, Перри-Утконос!