forked from Lotlab/nrf52-keyboard
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. 利用RESET_KEEP寄存器判断主机状态 USB枚举完成代表接入了正确的主机,此时将RESET_KEEP寄存器写入1,在重新断电上电RESET_KEEP清零之前,可认为CH552一直正确接入主机上 2. 未枚举完成不发送按键信息,以修正休眠唤醒过程中,卡按键的问题 3. 将休眠状态发送给主机(兼容老版本的PIN_CHARGING检测),主机可通过此信息关闭指示灯
- Loading branch information
Showing
4 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters