add comment for uart transceiver power
This commit is contained in:
1 parent
798c390f66
commit
5688870eef
1 file changed
+2
@@ -163,6 +163,8 @@ void Uart::end()
|
||||
nrfUart->TASKS_STOPTX = 0x1UL;
|
||||
|
||||
// Wait for TXSTOPPED event and for RXTO event
|
||||
// This is required before disabling UART to fully power down transceiver PHY.
|
||||
// Otherwise transceiver will continue to consume ~900uA
|
||||
while ( !(nrfUart->EVENTS_TXSTOPPED && nrfUart->EVENTS_RXTO) ) yield();
|
||||
|
||||
nrfUart->ENABLE = UARTE_ENABLE_ENABLE_Disabled;
|
||||
|
||||
Reference in new issue
Block a user