Stop Mode for STM32 MCU -- 2

Job ID: 33859411

Budget: $30 – $250 USD

I have STM32 MCU, I am looking for someone to code the stop mode for it. The MCU needs to wake up when one of the following happened:
1. One of two button is pressed
2. If a time elapsed such as for every 10 minutes.
3. Input from a sensor such as smoke/gas
I need the code to be integrated smoothly with my current code. I built my code using cpp, platformIO, and STM32CubeProgrammer. I can give the freelancer accessibility on my machine to develop and test the code. I am expecting the code to be well organized in function/subroutines structure. The internet has many examples to do the Stop Mode, I don’t have capacity to test and try them. I need a code that run directly on my environment.
Related categories: Microcontroller C++ Programming Arduino STM32