File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
targets/TARGET_STM/TARGET_STM32F3/device Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 442
442
* @{
443
443
*/
444
444
#define COMP_WINDOWMODE_DISABLE (0x00000000U) /*!< Window mode disabled */
445
- #define COMP_WINDOWMODE_ENABLE COMP_CSR_COMPxWNDWEN /*!< Window mode enabled: non inverting input of comparator X (x=2U,4,6U)
446
- is connected to the non inverting input of comparator X-1U */
447
- /**
448
- * @}
449
- */
450
- #elif defined(STM32F302xE ) || defined(STM32F303xE ) || defined(STM32F398xx )
451
- /** @defgroup COMPEx_WindowMode COMP Extended WindowMode (STM32F302xE/STM32F303xE/STM32F398xx Product devices)
452
- * @{
453
- */
454
- #define COMP_WINDOWMODE_DISABLE (0x00000000U) /*!< Window mode disabled */
455
445
#define COMP_WINDOWMODE_ENABLE COMP_CSR_COMPxWNDWEN /*!< Window mode enabled: non inverting input of comparator X (x=2U,4,6U)
456
446
is connected to the non inverting input of comparator X-1U */
457
447
/**
2395
2385
|| \
2396
2386
(((INPUT) == COMP_NONINVERTINGINPUT_IO1)))
2397
2387
2398
- #define IS_COMP_WINDOWMODE (WINDOWMODE ) (((WINDOWMODE) == COMP_WINDOWMODE_DISABLE) || \
2399
- ((WINDOWMODE) == COMP_WINDOWMODE_ENABLE))
2388
+ #define IS_COMP_WINDOWMODE (WINDOWMODE ) ((WINDOWMODE) == (WINDOWMODE)) /*!< Not available: check always true */
2400
2389
2401
2390
#define IS_COMP_MODE (MODE ) ((MODE) == (MODE)) /*!< Not available: check always true */
2402
2391
You can’t perform that action at this time.
0 commit comments