欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第298页浏览型号MC9S12P64CFT的Datasheet PDF文件第299页浏览型号MC9S12P64CFT的Datasheet PDF文件第300页浏览型号MC9S12P64CFT的Datasheet PDF文件第301页浏览型号MC9S12P64CFT的Datasheet PDF文件第303页浏览型号MC9S12P64CFT的Datasheet PDF文件第304页浏览型号MC9S12P64CFT的Datasheet PDF文件第305页浏览型号MC9S12P64CFT的Datasheet PDF文件第306页  
Freescale’s Scalable Controller Area Network (S12MSCANV3)  
8.4.7.3  
Receive Interrupt  
A message is successfully received and shifted into the foreground buffer (RxFG) of the receiver FIFO.  
This interrupt is generated immediately after receiving the EOF symbol. The RXF flag is set. If there are  
multiple messages in the receiver FIFO, the RXF flag is set as soon as the next message is shifted to the  
foreground buffer.  
8.4.7.4  
Wake-Up Interrupt  
A wake-up interrupt is generated if activity on the CAN bus occurs during MSCAN sleep or power-down  
mode.  
NOTE  
This interrupt can only occur if the MSCAN was in sleep mode (SLPRQ =  
1 and SLPAK = 1) before entering power down mode, the wake-up option  
is enabled (WUPE = 1), and the wake-up interrupt is enabled (WUPIE = 1).  
8.4.7.5  
Error Interrupt  
An error interrupt is generated if an overrun of the receiver FIFO, error, warning, or bus-off condition  
occurrs. MSCAN Receiver Flag Register (CANRFLG) indicates one of the following conditions:  
Overrun — An overrun condition of the receiver FIFO as described in Section 8.4.2.3, “Receive  
Structures,” occurred.  
CAN Status Change — The actual value of the transmit and receive error counters control the  
CAN bus state of the MSCAN. As soon as the error counters skip into a critical range (Tx/Rx-  
warning, Tx/Rx-error, bus-off) the MSCAN flags an error condition. The status change, which  
caused the error condition, is indicated by the TSTAT and RSTAT ags (see Section 8.3.2.5,  
“MSCAN Receiver Flag Register (CANRFLG)” and Section 8.3.2.6, “MSCAN Receiver Interrupt  
Enable Register (CANRIER)”).  
8.4.7.6  
Interrupt Acknowledge  
Interrupts are directly associated with one or more status flags in either the MSCAN Receiver Flag Register  
(CANRFLG) or the MSCAN Transmitter Flag Register (CANTFLG). Interrupts are pending as long as  
one of the corresponding flags is set. The flags in CANRFLG and CANTFLG must be reset within the  
interrupt handler to handshake the interrupt. The flags are reset by writing a 1 to the corresponding bit  
position. A flag cannot be cleared if the respective condition prevails.  
NOTE  
It must be guaranteed that the CPU clears only the bit causing the current  
interrupt. For this reason, bit manipulation instructions (BSET) must not be  
used to clear interrupt flags. These instructions may cause accidental  
clearing of interrupt flags which are set after entering the current interrupt  
service routine.  
S12P-Family Reference Manual, Rev. 1.13  
302  
Freescale Semiconductor  
 复制成功!