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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第259页浏览型号MC9S12P64CFT的Datasheet PDF文件第260页浏览型号MC9S12P64CFT的Datasheet PDF文件第261页浏览型号MC9S12P64CFT的Datasheet PDF文件第262页浏览型号MC9S12P64CFT的Datasheet PDF文件第264页浏览型号MC9S12P64CFT的Datasheet PDF文件第265页浏览型号MC9S12P64CFT的Datasheet PDF文件第266页浏览型号MC9S12P64CFT的Datasheet PDF文件第267页  
Freescale’s Scalable Controller Area Network (S12MSCANV3)  
Module Base + 0x0004  
Access: User read/write(1)  
7
6
5
4
3
2
1
0
R
RSTAT1  
RSTAT0  
TSTAT1  
TSTAT0  
WUPIF  
W
CSCIF  
OVRIF  
RXF  
Reset:  
0
0
0
0
0
0
0
0
= Unimplemented  
Figure 8-8. MSCAN Receiver Flag Register (CANRFLG)  
1. Read: Anytime  
Write: Anytime when not in initialization mode, except RSTAT[1:0] and TSTAT[1:0] flags which are read-only; write of 1 clears  
flag; write of 0 is ignored  
NOTE  
1
The CANRFLG register is held in the reset state when the initialization  
mode is active (INITRQ = 1 and INITAK = 1). This register is writable again  
as soon as the initialization mode is exited (INITRQ = 0 and INITAK = 0).  
Table 8-11. CANRFLG Register Field Descriptions  
Field  
Description  
7
Wake-Up Interrupt Flag — If the MSCAN detects CAN bus activity while in sleep mode (see Section 8.4.5.5,  
“MSCAN Sleep Mode,) and WUPE = 1 in CANTCTL0 (see Section 8.3.2.1, “MSCAN Control Register 0  
(CANCTL0)”), the module will set WUPIF. If not masked, a wake-up interrupt is pending while this flag is set.  
WUPIF  
0
1
No wake-up activity observed while in sleep mode  
MSCAN detected activity on the CAN bus and requested wake-up  
6
CAN Status Change Interrupt Flag — This flag is set when the MSCAN changes its current CAN bus status  
due to the actual value of the transmit error counter (TEC) and the receive error counter (REC). An additional 4-  
bit (RSTAT[1:0], TSTAT[1:0]) status register, which is split into separate sections for TEC/REC, informs the  
system on the actual CAN bus status (see Section 8.3.2.6, “MSCAN Receiver Interrupt Enable Register  
(CANRIER)”). If not masked, an error interrupt is pending while this flag is set. CSCIF provides a blocking  
interrupt. That guarantees that the receiver/transmitter status bits (RSTAT/TSTAT) are only updated when no  
CAN status change interrupt is pending. If the TECs/RECs change their current value after the CSCIF is  
asserted, which would cause an additional state change in the RSTAT/TSTAT bits, these bits keep their status  
until the current CSCIF interrupt is cleared again.  
CSCIF  
0
1
No change in CAN bus status occurred since last interrupt  
MSCAN changed current CAN bus status  
5-4  
Receiver Status Bits — The values of the error counters control the actual CAN bus status of the MSCAN. As  
RSTAT[1:0] soon as the status change interrupt flag (CSCIF) is set, these bits indicate the appropriate receiver related CAN  
bus status of the MSCAN. The coding for the bits RSTAT1, RSTAT0 is:  
00  
01  
10  
11  
RxOK: 0 receive error counter 96  
RxWRN: 96 < receive error counter 127  
RxERR: 127 < receive error counter  
Bus-off(1): transmit error counter > 255  
1. The RSTAT[1:0], TSTAT[1:0] bits are not affected by initialization mode.  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
263  
 复制成功!