初级会员

- 积分
- 172
- 金钱
- 172
- 注册时间
- 2016-2-27
- 在线时间
- 20 小时
|
发表于 2018-5-5 07:48:45
|
显示全部楼层
STM32F4 Reference Manual RM0368 第153页是这么说的:
Output configuration
When the I/O port is programmed as output:
• The output buffer is enabled:
– Open drain mode: A “0” in the Output register activates the N-MOS whereas a “1”
in the Output register leaves the port in Hi-Z (the P-MOS is never activated)
– Push-pull mode: A “0” in the Output register activates the N-MOS whereas a “1” in
the Output register activates the P-MOS
当你输出0,N-MOS被激活,其实就是导通的意思,这是输出端通过导通的NMOS连在GND上;
人家没说当你输出0,这个0是直接打在NMOS的G端上
|
|