libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
g0/lptimer.h File Reference
Include dependency graph for g0/lptimer.h:

Go to the source code of this file.

Macros

#define LPTIM1   LPTIM1_BASE
 
#define LPTIM2   LPTIM2_BASE
 
#define LPTIM_CFGR2(tim_base)   MMIO32((tim_base) + 0x24)
 LPTIM_CFGR2 LPTIM configuration register 2. More...
 
#define LPTIM_CR_COUNTRST   (1 << 3)
 COUNTRST Counter reset. More...
 
#define LPTIM_CR_RSTARE   (1 << 4)
 RSTARE Reset after read enable. More...
 
#define LPTIM_CFGR2_IN2SEL_SHIFT   4
 
#define LPTIM_CFGR2_IN2SEL_MASK   0x03
 
#define LPTIM_CFGR2_IN1SEL_SHIFT   0
 
#define LPTIM_CFGR2_IN1SEL_MASK   0x03