发明名称 End-of-message handling and interrupt generation in a CAN module providing hardware assembly of multi-frame CAN messages
摘要 A CAN microcontroller that supports a plurality of uniquely-numbered message objects, that includes a processor core that runs CAN applications, a plurality of message buffers associated with respective ones of the message objects, and a CAN/CAL module. The CAN microcontroller further includes a plurality of individual message object registers associated with each message object, including at least one control register that contains an interrupt-enable control bit, a receive enable bit, and a transmit enable bit. The CAN microcontroller also includes a plurality of global message object control registers, including at least one message complete status register that contains a plurality of status flag bits for respective ones of the message objects, at least one interrupt flag register that contains a receive complete interrupt flag bit and a transmit complete interrupt flag bit, and a message complete info register that contains a plurality of message object identification bits and a status bit. The CAN/CAL module includes a message handling function that automatically transfers successive frames of an incoming multi-frame message to the message buffer associated with a corresponding message object; an end-of-message detection function that detects an end-of-message condition which occurs when the last frame of the accepted incoming multi-frame message has been stored in the message buffer associated with the corresponding message object; and, an end-of-message detection handling and interrupt generation function that, in response to the detection of the end-of-message condition: sets the status flag bit contained in the at least one message complete status register associated with the corresponding message object; sets the receive complete interrupt flag bit contained in the at least one interrupt flag register, if the interrupt-enable control bit contained in the at least one control register associated with the corresponding message object is set; and, sets the status bit contained in the message complete info register, if the interrupt-enable control bit contained in the at least one control register associated with the corresponding message object is set.
申请公布号 US6647440(B1) 申请公布日期 2003.11.11
申请号 US20000630288 申请日期 2000.08.01
申请人 KONINKLIJKE PHILIPS ELECTRONICS N.V. 发明人 BIRNS NEIL EDWARD;SLIVKOFF WILLIAM J.;HAO HONG BIN;FABBRI RICHARD;ZHENG JIE
分类号 G06F15/78;H04L1/00;H04L1/16;H04L12/40;H04L12/413;H04L12/56;H04L29/06;(IPC1-7):G06F13/14 主分类号 G06F15/78
代理机构 代理人
主权项
地址