4
8
45
新手上路
使用道具 举报 送花
718
1万
管理员
39
2006
6843
论坛元老
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, 下载次数: 74
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-5-2 17:57 , Processed in 0.162535 second(s), 99 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.