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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第265页浏览型号MC9S12P64CFT的Datasheet PDF文件第266页浏览型号MC9S12P64CFT的Datasheet PDF文件第267页浏览型号MC9S12P64CFT的Datasheet PDF文件第268页浏览型号MC9S12P64CFT的Datasheet PDF文件第270页浏览型号MC9S12P64CFT的Datasheet PDF文件第271页浏览型号MC9S12P64CFT的Datasheet PDF文件第272页浏览型号MC9S12P64CFT的Datasheet PDF文件第273页  
Freescale’s Scalable Controller Area Network (S12MSCANV3)  
NOTE  
The CANTBSEL register is held in the reset state when the initialization  
mode is active (INITRQ = 1 and INITAK=1). This register is writable when  
not in initialization mode (INITRQ = 0 and INITAK = 0).  
Table 8-17. CANTBSEL Register Field Descriptions  
Description  
Field  
2-0  
TX[2:0]  
Transmit Buffer Select — The lowest numbered bit places the respective transmit buffer in the CANTXFG  
register space (e.g., TX1 = 1 and TX0 = 1 selects transmit buffer TX0; TX1 = 1 and TX0 = 0 selects transmit  
buffer TX1). Read and write accesses to the selected transmit buffer will be blocked, if the corresponding TXEx  
bit is cleared and the buffer is scheduled for transmission (see Section 8.3.2.7, “MSCAN Transmitter Flag  
Register (CANTFLG)”).  
0 The associated message buffer is deselected  
1 The associated message buffer is selected, if lowest numbered bit  
The following gives a short programming example of the usage of the CANTBSEL register:  
To get the next available transmit buffer, application software must read the CANTFLG register and write  
this value back into the CANTBSEL register. In this example Tx buffers TX1 and TX2 are available. The  
value read from CANTFLG is therefore 0b0000_0110. When writing this value back to CANTBSEL, the  
Tx buffer TX1 is selected in the CANTXFG because the lowest numbered bit set to 1 is at bit position 1.  
Reading back this value out of CANTBSEL results in 0b0000_0010, because only the lowest numbered  
bit position set to 1 is presented. This mechanism eases the application software the selection of the next  
available Tx buffer.  
LDAA CANTFLG; value read is 0b0000_0110  
STAA CANTBSEL; value written is 0b0000_0110  
LDAA CANTBSEL; value read is 0b0000_0010  
If all transmit message buffers are deselected, no accesses are allowed to the CANTXFG registers.  
8.3.2.12 MSCAN Identifier Acceptance Control Register (CANIDAC)  
The CANIDAC register is used for identifier acceptance control as described below.  
Module Base + 0x000B  
Access: User read/write(1)  
7
6
5
4
3
2
1
0
R
W
0
0
0
IDHIT2  
IDHIT1  
IDHIT0  
IDAM1  
IDAM0  
Reset:  
0
0
0
0
0
0
0
0
= Unimplemented  
Figure 8-15. MSCAN Identifier Acceptance Control Register (CANIDAC)  
1. Read: Anytime  
Write: Anytime in initialization mode (INITRQ = 1 and INITAK = 1), except bits IDHITx, which are read-only  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
269  
 复制成功!