4
8
45
新手上路
使用道具 举报 送花
733
1万
管理员
40
2060
7079
论坛元老
delay_ms(100); printf("MCU Sleep!\r\n"); P1_MODE_IO_PU(GPIO_Pin_2); Timer2_Stop(); Timer2_Interrupt(ENABLE); PCON = 0x02; //进入休眠; _nop_(); _nop_(); _nop_(); _nop_(); _nop_(); _nop_(); _nop_(); P1_MODE_IN_HIZ(GPIO_Pin_2); Timer2_Run(ENABLE); Timer2_Interrupt(DISABLE); printf("MCU Wakeup!\r\n");复制代码
串口1的定时器波特率发生器中断唤醒MCU.zip
2023-11-1 11:47 上传
点击文件名下载附件
35.6 KB, 下载次数: 83
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-6-17 15:54 , Processed in 0.147637 second(s), 95 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.