Make temperture profile executer reset the DIGIO settings after profile execution/abort

This commit is contained in:
2021-12-26 20:36:49 +01:00
parent 45f91a7c5a
commit a8a622df25
4 changed files with 27 additions and 13 deletions

View File

@@ -65,11 +65,19 @@
#define BEEPER_RCC_MASK RCC_AHB1ENR_GPIOBEN
/**
* @brief Enable all clocks and setup pins in default setting
* @brief Enable all clocks and setup pins in default setting.
* @warning This function uses @ref rcc_manager_enable_clock to enable the clocks. Therefore, it must not be called
* multiple times.
* @note Calls @ref digio_set_default_values() internally.
*/
void digio_setup_default_all(void);
void digio_init(void);
/**
* @brief Setup or restore the default DIGIO settings.
*
* This function can be called multiple times.
*/
void digio_set_default_values(void);
/**
* @brief Set up a DIGIO pin.