STM8L15x Standard Peripherals Drivers: COMP_Edge

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_COMP_EDGE(EDGE)

Enumerations

enum  COMP_Edge_TypeDef { COMP_Edge_Falling = ((uint8_t)0x01), COMP_Edge_Rising = ((uint8_t)0x02), COMP_Edge_Rising_Falling = ((uint8_t)0x03) }

Define Documentation

#define IS_COMP_EDGE (   EDGE)
Value:
(((EDGE) == COMP_Edge_Falling) || \
                            ((EDGE) == COMP_Edge_Rising)  || \
                            ((EDGE) == COMP_Edge_Rising_Falling))

Definition at line 70 of file stm8l15x_comp.h.

Referenced by COMP_EdgeConfig().


Enumeration Type Documentation

Enumerator:
COMP_Edge_Falling 

Falling edge selection.

COMP_Edge_Rising 

Rising edge selection.

COMP_Edge_Rising_Falling 

Rising and Falling edge selection.

Definition at line 63 of file stm8l15x_comp.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com