We are developing with STM8L152C6 microcontroller and debugging using the discovery board.
Our application uses a battery when there is no power. In this case, we need only two I/O interrupts and the LCD to be working.
We decided to run the microcontroller in the halt mode when we do not need to use the LCD and in active halt mode when it is required to use the LCD.
We are using stm8l libraries version 1.6.1 (released on 28-June-2013). To run the microcontroller in the halt mode we called the HALT instruction by calling the library function halt().
The question is: how to configure the microcontroller to run in the active halt mode?
Thanks in advance