Add SSR safety enable to oven driver

This commit is contained in:
2021-01-09 21:59:59 +01:00
parent 3a07347f48
commit bbfcd429fe
2 changed files with 32 additions and 0 deletions

View File

@@ -58,4 +58,13 @@
*/
#define OVEN_CONTROLLER_PIN_ALTFUNC (2)
/**
* @brief GPIO Port for the safety enable line used by PCB versions > v1.3
*/
#define SSR_SAFETY_EN_PORT GPIOA
#define SSR_SAFETY_EN_PIN (3)
#define SSR_SAFETY_EN_PORT_RCC_MASK RCC_AHB1ENR_GPIOAEN
#endif /* __OVEN_DRIVER_HWCFG_H__ */