1. 回顾ARM裸板GPIO输出开关灯操作代码: //四选一:选择为GPIO功能 GPIOCALTFN0 &= ~(3 << 24); GPIOCALTFN0 |= (1 << 24); //二选一:选择为输出功能 GPIOCOUTENB |= (1 << 12); //输出1或者0 GPIOCOU Read More
posted @ 2025-05-30 15:57 靖意风 Views(64) Comments(0) Diggs(0)