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

Modules

 LPTIM_CFGR CKPOL Clock Polarity
 
 LPTIM_CFGR CKFLT Configurable digital filter for external clock
 
 LPTIM_CFGR TRGFLT Configurable digital filter for trigger
 
 LPTIM_CFGR PRESC Clock prescaler
 
 LPTIM_CFGR TRIGSEL Trigger selector
 
 LPTIM_CFGR TRIGEN Trigger enable and polarity
 

Macros

#define LPTIM_CFGR_CKSEL   (1 << 0)
 CKSEL: Select internal (0) or external clock source (1) More...
 
#define LPTIM_CFGR_CKPOL_SHIFT   1
 
#define LPTIM_CFGR_CKPOL_MASK   0x03
 
#define LPTIM_CFGR_CKPOL   (3 << LPTIM_CFGR_CKPOL_SHIFT)
 
#define LPTIM_CFGR_CKFLT_SHIFT   3
 
#define LPTIM_CFGR_CKFLT_MASK   0x03
 
#define LPTIM_CFGR_CKFLT   (3 << LPTIM_CFGR_CKFLT_SHIFT)
 
#define LPTIM_CFGR_TRGFLT_SHIFT   6
 
#define LPTIM_CFGR_TRGFLT_MASK   0x03
 
#define LPTIM_CFGR_TRGFLT   (3 << LPTIM_CFGR_TRGFLT_SHIFT)
 
#define LPTIM_CFGR_PRESC_SHIFT   9
 
#define LPTIM_CFGR_PRESC_MASK   0x07
 
#define LPTIM_CFGR_PRESC   (7 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_TRIGSEL_SHIFT   13
 
#define LPTIM_CFGR_TRIGSEL_MASK   0x07
 
#define LPTIM_CFGR_TRIGSEL   (7 << LPTIM_CFGR_TRIGSEL_SHIFT)
 
#define LPTIM_CFGR_TRIGEN_SHIFT   17
 
#define LPTIM_CFGR_TRIGEN_MASK   0x07
 
#define LPTIM_CFGR_TRIGEN   (3 << LPTIM_CFGR_TRIGEN_SHIFT)
 
#define LPTIM_CFGR_TIMOUT   (1 << 19)
 TIMOUT: Timeout enable. More...
 
#define LPTIM_CFGR_WAVE   (1 << 20)
 WAVE: Waveform shape. More...
 
#define LPTIM_CFGR_WAVPOL   (1 << 21)
 WAVPOL: Waveform shape polarity. More...
 
#define LPTIM_CFGR_PRELOAD   (1 << 22)
 PRELOAD: Register update mode. More...
 
#define LPTIM_CFGR_COUNTMODE   (1 << 23)
 COUNTMODE: Counter mode enable. More...
 
#define LPTIM_CFGR_ENC   (1 << 24)
 ENC: Encoder mode enable. More...
 

Detailed Description

Macro Definition Documentation

◆ LPTIM_CFGR_CKFLT

#define LPTIM_CFGR_CKFLT   (3 << LPTIM_CFGR_CKFLT_SHIFT)

Definition at line 165 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKFLT_MASK

#define LPTIM_CFGR_CKFLT_MASK   0x03

Definition at line 164 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKFLT_SHIFT

#define LPTIM_CFGR_CKFLT_SHIFT   3

Definition at line 163 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL

#define LPTIM_CFGR_CKPOL   (3 << LPTIM_CFGR_CKPOL_SHIFT)

Definition at line 152 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_MASK

#define LPTIM_CFGR_CKPOL_MASK   0x03

Definition at line 151 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKPOL_SHIFT

#define LPTIM_CFGR_CKPOL_SHIFT   1

Definition at line 150 of file lptimer_common_all.h.

◆ LPTIM_CFGR_CKSEL

#define LPTIM_CFGR_CKSEL   (1 << 0)

CKSEL: Select internal (0) or external clock source (1)

Definition at line 148 of file lptimer_common_all.h.

◆ LPTIM_CFGR_COUNTMODE

#define LPTIM_CFGR_COUNTMODE   (1 << 23)

COUNTMODE: Counter mode enable.

Definition at line 237 of file lptimer_common_all.h.

◆ LPTIM_CFGR_ENC

#define LPTIM_CFGR_ENC   (1 << 24)

ENC: Encoder mode enable.

Definition at line 240 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRELOAD

#define LPTIM_CFGR_PRELOAD   (1 << 22)

PRELOAD: Register update mode.

Definition at line 234 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC

#define LPTIM_CFGR_PRESC   (7 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 185 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_MASK

#define LPTIM_CFGR_PRESC_MASK   0x07

Definition at line 184 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_SHIFT

#define LPTIM_CFGR_PRESC_SHIFT   9

Definition at line 183 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TIMOUT

#define LPTIM_CFGR_TIMOUT   (1 << 19)

TIMOUT: Timeout enable.

Definition at line 225 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRGFLT

#define LPTIM_CFGR_TRGFLT   (3 << LPTIM_CFGR_TRGFLT_SHIFT)

Definition at line 175 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRGFLT_MASK

#define LPTIM_CFGR_TRGFLT_MASK   0x03

Definition at line 174 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRGFLT_SHIFT

#define LPTIM_CFGR_TRGFLT_SHIFT   6

Definition at line 173 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGEN

#define LPTIM_CFGR_TRIGEN   (3 << LPTIM_CFGR_TRIGEN_SHIFT)

Definition at line 215 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGEN_MASK

#define LPTIM_CFGR_TRIGEN_MASK   0x07

Definition at line 214 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGEN_SHIFT

#define LPTIM_CFGR_TRIGEN_SHIFT   17

Definition at line 213 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGSEL

#define LPTIM_CFGR_TRIGSEL   (7 << LPTIM_CFGR_TRIGSEL_SHIFT)

Definition at line 200 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGSEL_MASK

#define LPTIM_CFGR_TRIGSEL_MASK   0x07

Definition at line 199 of file lptimer_common_all.h.

◆ LPTIM_CFGR_TRIGSEL_SHIFT

#define LPTIM_CFGR_TRIGSEL_SHIFT   13

Definition at line 198 of file lptimer_common_all.h.

◆ LPTIM_CFGR_WAVE

#define LPTIM_CFGR_WAVE   (1 << 20)

WAVE: Waveform shape.

Definition at line 228 of file lptimer_common_all.h.

◆ LPTIM_CFGR_WAVPOL

#define LPTIM_CFGR_WAVPOL   (1 << 21)

WAVPOL: Waveform shape polarity.

Definition at line 231 of file lptimer_common_all.h.