mirror of
https://github.com/EFeru/hoverboard-sideboard-hack-GD.git
synced 2025-07-27 17:49:32 +00:00
/*! \file readme.txt \brief description of the USART wakeup from deepsleep */ /* Copyright (C) 2017 GigaDevice 2014-12-26, V1.0.0, platform GD32F1x0(x=3,5) 2016-01-15, V2.0.0, platform GD32F1x0(x=3,5,7,9) 2016-04-30, V3.0.0, firmware update for GD32F1x0(x=3,5,7,9) 2017-06-19, V3.1.0, firmware update for GD32F1x0(x=3,5,7,9) */ This demo is based on the GD32150R-EVAL/GD32190R-EVAL board, it shows how to use USART to wake up the MCU from deepsleep mode. In this demo, the wake up method is configured as start bit detection. When the MCU enters into deepsleep mode, LED2 stops in a certain status(on or off). In this case, you can send some characters to wake up USART and LED2 goes on blink.