-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chips: apollo3: Disable UART when not in use
The UART uses a relativly large amount of power just being enabled. So instead of enabling it at startup let's instead only enable UART when required and then disable it afterwards. As part of this we want to ensure that interupts are only handled for the TX/RX FIFO events. Signed-off-by: Alistair Francis <alistair@alistair23.me>
- Loading branch information
1 parent
9ae7d61
commit 9d9caba
Showing
1 changed file
with
21 additions
and
6 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