Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
K20 HIC waits until USB is configured to enable target power.
- Interface main function calls gpio_set_board_power() when USB is connected (really configured) and disconnected. - The main task will wait ~2 seconds for USB to be configured. If this does not happen, it enables board power anyway. This is to support USB wall warts or similar power sources. - Added gpio_set_board_power() to gpio.h. - The K20 HIC implements this function to enable the target power switch only after high power has been negotiated with the USB host. - gpio_set_board_power() is stubbed out for all other HICs.
- Loading branch information
Showing
7 changed files
with
64 additions
and
20 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
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