libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
LPTIM_CFGR TRIGEN Trigger enable and polarity
Collaboration diagram for LPTIM_CFGR TRIGEN Trigger enable and polarity:

Macros

#define LPTIM_CFGR_TRIGEN_SW   (0 << LPTIM_CFGR_TRIGEN_SHIFT)
 
#define LPTIM_CFGR_TRIGEN_RISING   (1 << LPTIM_CFGR_TRIGEN_SHIFT)
 
#define LPTIM_CFGR_TRIGEN_FALLING   (2 << LPTIM_CFGR_TRIGEN_SHIFT)
 
#define LPTIM_CFGR_TRIGEN_BOTH   (3 << LPTIM_CFGR_TRIGEN_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ LPTIM_CFGR_TRIGEN_BOTH

#define LPTIM_CFGR_TRIGEN_BOTH   (3 << LPTIM_CFGR_TRIGEN_SHIFT)

Definition at line 221 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGEN_FALLING

#define LPTIM_CFGR_TRIGEN_FALLING   (2 << LPTIM_CFGR_TRIGEN_SHIFT)

Definition at line 220 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGEN_RISING

#define LPTIM_CFGR_TRIGEN_RISING   (1 << LPTIM_CFGR_TRIGEN_SHIFT)

Definition at line 219 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGEN_SW

#define LPTIM_CFGR_TRIGEN_SW   (0 << LPTIM_CFGR_TRIGEN_SHIFT)

Definition at line 218 of file lptimer_common_all.h.