WB32L003 Standard Peripherals Firmware Library

Macros
LPTIM_Clock_Source_Selection
WB32L003_StdPeriph_Driver » LPTIM » LPTIM_Exported_Constants

## Macros
#define | LPTIM_CLOCK_SOURCE_PCLK 0x00000000U
#define | LPTIM_CLOCK_SOURCE_LSE (LPTIM_CR_TCK_SEL_1)
#define | LPTIM_CLOCK_SOURCE_LSI (LPTIM_CR_TCK_SEL_1 | LPTIM_CR_TCK_SEL_0)
#define | IS_LPTIM_CLOCK_SOURCE(CLOCK_SOURCE)

## Detailed Description

## Macro Definition Documentation

## ◆ IS_LPTIM_CLOCK_SOURCE

#define IS_LPTIM_CLOCK_SOURCE | ( |  | CLOCK_SOURCE | ) |

Value:
(((CLOCK_SOURCE) == LPTIM_CLOCK_SOURCE_PCLK) || \
((CLOCK_SOURCE) == LPTIM_CLOCK_SOURCE_LSE) || \
((CLOCK_SOURCE) == LPTIM_CLOCK_SOURCE_LSI))
LPTIM_CLOCK_SOURCE_LSI
#define LPTIM_CLOCK_SOURCE_LSI
Definition: wb32l003_lptim.h:93
LPTIM_CLOCK_SOURCE_PCLK
#define LPTIM_CLOCK_SOURCE_PCLK
Definition: wb32l003_lptim.h:91
LPTIM_CLOCK_SOURCE_LSE
#define LPTIM_CLOCK_SOURCE_LSE
Definition: wb32l003_lptim.h:92

## ◆ LPTIM_CLOCK_SOURCE_LSE

#define LPTIM_CLOCK_SOURCE_LSE (LPTIM_CR_TCK_SEL_1)

Specify LSE as lptim clock source

## ◆ LPTIM_CLOCK_SOURCE_LSI

#define LPTIM_CLOCK_SOURCE_LSI (LPTIM_CR_TCK_SEL_1 | LPTIM_CR_TCK_SEL_0)

Specify LSI as lptim clock source

## ◆ LPTIM_CLOCK_SOURCE_PCLK

#define LPTIM_CLOCK_SOURCE_PCLK 0x00000000U

Specify PCLK as lptim clock source