I use the S110 V7.3.0 I use the uart function ,I can use the uart function is OK. But ,I need save power. How can I turn off the uart function,while I was start the uart function?
I use the S110 V7.3.0 I use the uart function ,I can use the uart function is OK. But ,I need save power. How can I turn off the uart function,while I was start the uart function?
You can use app_uart_close(...), but then you have to call app_uart_init(...) to enable it again. I would suggest using this modified driver that uses the hardware flow control pins to turn the uart on only when it is needed. Changing out app_uart_fifo(...) in your project with app_uart_fifo_mod(...) from this example should be sufficient.
You can use app_uart_close(...), but then you have to call app_uart_init(...) to enable it again. I would suggest using this modified driver that uses the hardware flow control pins to turn the uart on only when it is needed. Changing out app_uart_fifo(...) in your project with app_uart_fifo_mod(...) from this example should be sufficient.