PDF:When the MCU is in Halt/Active-halt mode, PA1 is automatically configured in input weak pull-up and cannot be used for waking up the device. In this mode, the output state of PA1 is not driven. It is recommended to use PA1 only in input mode if Halt/Active-halt is used in the application.
我的项目PCB设计时没有注意,刚好把这个 PIN脚直接接地了,软件把PA1配置成输出低电平,调试时断开接地,输出正常,没有进入input weak pull-up 状态。是不是只有输入时才会自动进入input weak pull-up 状态?有人能告诉我么?不胜感激! |