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

Macros

#define LPTIM_CFGR_PRESC_1   (0 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_2   (1 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_4   (2 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_8   (3 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_16   (4 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_32   (5 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_64   (6 << LPTIM_CFGR_PRESC_SHIFT)
 
#define LPTIM_CFGR_PRESC_128   (7 << LPTIM_CFGR_PRESC_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ LPTIM_CFGR_PRESC_1

#define LPTIM_CFGR_PRESC_1   (0 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 188 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_128

#define LPTIM_CFGR_PRESC_128   (7 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 195 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_16

#define LPTIM_CFGR_PRESC_16   (4 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 192 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_2

#define LPTIM_CFGR_PRESC_2   (1 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 189 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_32

#define LPTIM_CFGR_PRESC_32   (5 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 193 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_4

#define LPTIM_CFGR_PRESC_4   (2 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 190 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_64

#define LPTIM_CFGR_PRESC_64   (6 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 194 of file lptimer_common_all.h.

◆ LPTIM_CFGR_PRESC_8

#define LPTIM_CFGR_PRESC_8   (3 << LPTIM_CFGR_PRESC_SHIFT)

Definition at line 191 of file lptimer_common_all.h.