libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Collaboration diagram for LPTIM_CFGR CKPOL Clock Polarity:

Macros

#define LPTIM_CFGR_CKPOL_RISING   (0 << LPTIM_CFGR_CKPOL_SHIFT)
 
#define LPTIM_CFGR_CKPOL_FALLING   (1 << LPTIM_CFGR_CKPOL_SHIFT)
 
#define LPTIM_CFGR_CKPOL_BOTH   (2 << LPTIM_CFGR_CKPOL_SHIFT)
 
#define LPTIM_CFGR_CKPOL_ENC_1   (0 << LPTIM_CFGR_CKPOL_SHIFT)
 
#define LPTIM_CFGR_CKPOL_ENC_2   (1 << LPTIM_CFGR_CKPOL_SHIFT)
 
#define LPTIM_CFGR_CKPOL_ENC_3   (2 << LPTIM_CFGR_CKPOL_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ LPTIM_CFGR_CKPOL_BOTH

#define LPTIM_CFGR_CKPOL_BOTH   (2 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 157 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_ENC_1

#define LPTIM_CFGR_CKPOL_ENC_1   (0 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 158 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_ENC_2

#define LPTIM_CFGR_CKPOL_ENC_2   (1 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 159 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_ENC_3

#define LPTIM_CFGR_CKPOL_ENC_3   (2 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 160 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_FALLING

#define LPTIM_CFGR_CKPOL_FALLING   (1 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 156 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_RISING

#define LPTIM_CFGR_CKPOL_RISING   (0 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 155 of file lptimer_common_all.h.