RTEMS 6.1-rc1
Macros

Macros

#define COMP_TRIGGERMODE_NONE   ((uint32_t)0x00000000)
 
#define COMP_TRIGGERMODE_IT_RISING   (COMP_EXTI_IT | COMP_EXTI_RISING)
 
#define COMP_TRIGGERMODE_IT_FALLING   (COMP_EXTI_IT | COMP_EXTI_FALLING)
 
#define COMP_TRIGGERMODE_IT_RISING_FALLING   (COMP_EXTI_IT | COMP_EXTI_RISING | COMP_EXTI_FALLING)
 
#define COMP_TRIGGERMODE_EVENT_RISING   (COMP_EXTI_EVENT | COMP_EXTI_RISING)
 
#define COMP_TRIGGERMODE_EVENT_FALLING   (COMP_EXTI_EVENT | COMP_EXTI_FALLING)
 
#define COMP_TRIGGERMODE_EVENT_RISING_FALLING   (COMP_EXTI_EVENT | COMP_EXTI_RISING | COMP_EXTI_FALLING)
 

Detailed Description

Macro Definition Documentation

◆ COMP_TRIGGERMODE_EVENT_FALLING

#define COMP_TRIGGERMODE_EVENT_FALLING   (COMP_EXTI_EVENT | COMP_EXTI_FALLING)

Comparator output triggering External Interrupt Line event only (without interruption), on falling edge

◆ COMP_TRIGGERMODE_EVENT_RISING

#define COMP_TRIGGERMODE_EVENT_RISING   (COMP_EXTI_EVENT | COMP_EXTI_RISING)

Comparator output triggering External Interrupt Line event only (without interruption), on rising edge

◆ COMP_TRIGGERMODE_EVENT_RISING_FALLING

#define COMP_TRIGGERMODE_EVENT_RISING_FALLING   (COMP_EXTI_EVENT | COMP_EXTI_RISING | COMP_EXTI_FALLING)

Comparator output triggering External Interrupt Line event only (without interruption), on both rising and falling edges

◆ COMP_TRIGGERMODE_IT_FALLING

#define COMP_TRIGGERMODE_IT_FALLING   (COMP_EXTI_IT | COMP_EXTI_FALLING)

Comparator output triggering External Interrupt Line event with interruption, on falling edge

◆ COMP_TRIGGERMODE_IT_RISING

#define COMP_TRIGGERMODE_IT_RISING   (COMP_EXTI_IT | COMP_EXTI_RISING)

Comparator output triggering External Interrupt Line event with interruption, on rising edge

◆ COMP_TRIGGERMODE_IT_RISING_FALLING

#define COMP_TRIGGERMODE_IT_RISING_FALLING   (COMP_EXTI_IT | COMP_EXTI_RISING | COMP_EXTI_FALLING)

Comparator output triggering External Interrupt Line event with interruption, on both rising and falling edges

◆ COMP_TRIGGERMODE_NONE

#define COMP_TRIGGERMODE_NONE   ((uint32_t)0x00000000)

Comparator output triggering no External Interrupt Line