芯片:CC2530
协议栈:HA1.2.2a
按键硬件配置:P0.5 高电平使能,P0.6 低电平使能。
通过调试发现 关于IO上下拉配置只有 P2INP |= 0x20 整组进行下拉。
问题:①IO端口 P0,P1,P2只能整组进行上拉或者下拉?
②假设硬件方面已经无法更改了,请问是否有方法,实现P0.5,P0.6端口不同电平触发中断?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
芯片:CC2530
协议栈:HA1.2.2a
按键硬件配置:P0.5 高电平使能,P0.6 低电平使能。
通过调试发现 关于IO上下拉配置只有 P2INP |= 0x20 整组进行下拉。
问题:①IO端口 P0,P1,P2只能整组进行上拉或者下拉?
②假设硬件方面已经无法更改了,请问是否有方法,实现P0.5,P0.6端口不同电平触发中断?