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

C8051F336 参数 Datasheet PDF下载

C8051F336图片预览
型号: C8051F336
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F336的Datasheet PDF文件第123页浏览型号C8051F336的Datasheet PDF文件第124页浏览型号C8051F336的Datasheet PDF文件第125页浏览型号C8051F336的Datasheet PDF文件第126页浏览型号C8051F336的Datasheet PDF文件第128页浏览型号C8051F336的Datasheet PDF文件第129页浏览型号C8051F336的Datasheet PDF文件第130页浏览型号C8051F336的Datasheet PDF文件第131页  
C8051F336/7/8/9  
Port Match  
P0MASK, P0MAT  
P1MASK, P1MAT  
XBR0, XBR1,  
PnSKIP Registers  
External Interrupts  
EX0 and EX1  
Priority  
Decoder  
PnMDOUT,  
PnMDIN Registers  
2
UART  
SPI  
Highest  
Priority  
4
2
P0.0  
SMBus  
P0  
I/O  
Cells  
Digital  
Crossbar  
8
8
2
CP0  
Outputs  
P0.7  
P1.0  
SYSCLK  
PCA  
P1  
I/O  
Cells  
4
2
P1.7  
Lowest  
Priority  
T0, T1  
8
P2.0  
P2  
I/O  
Cell  
4
P0  
P1  
P2  
(P0.0-P0.7)  
P2.3*  
8
(P1.0-P1.7)  
4
To Analog Peripherals  
(ADC0, CP0, VREF, XTAL)  
*P2.1-P2.3 only available  
on QFN24 Packages  
(P2.0-P2.3*)  
Figure 20.1. Port I/O Functional Block Diagram  
20.1. Port I/O Modes of Operation  
Port pins P0.0 - P2.3 use the Port I/O cell shown in Figure 20.2. Each Port I/O cell can be configured by  
software for analog I/O or digital I/O using the PnMDIN registers. On reset, all Port I/O cells default to a  
high impedance state with weak pull-ups enabled until the Crossbar is enabled (XBARE = ‘1’).  
20.1.1. Port Pins Configured for Analog I/O  
Any pins to be used as Comparator or ADC input, external oscillator input/output, VREF, or IDAC output  
should be configured for analog I/O (PnMDIN.n = ‘1’). When a pin is configured for analog I/O, its weak pul-  
lup, digital driver, and digital receiver are disabled. Port pins configured for analog I/O will always read  
back a value of ‘0’.  
Configuring pins as analog I/O saves power and isolates the Port pin from digital interference. Port pins  
configured as digital inputs may still be used by analog peripherals; however, this practice is not recom-  
mended and may result in measurement errors.  
Rev. 0.2  
127  
 复制成功!