最近在看一个datasheet,在GPIO控制寄存器中有一位NOCR这么定义:This bit specify output driver type for the pins of port n specified as output。
0:CMOS(P channel driver is enabled )
1:N channel OD(P channel driver is disabled )
这一位应该是对输出pin起作用,0是CMOS输出,1是N channel 开漏输出
同是输出,请问这两种情况有什么不同,应用上有什么区别呢?
请高手两种输出分别适用于哪种实际应用,多谢。 |