MG32L003 Standard Peripherals Firmware Library

宏定义
LPTIM_Clock_Source_Selection
MG32L003_StdPeriph_Driver » LPTIM » LPTIM_Exported_Constants

## 宏定义
#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)

## 详细描述

## 宏定义说明

## ◆ IS_LPTIM_CLOCK_SOURCE

#define IS_LPTIM_CLOCK_SOURCE | ( |  | CLOCK_SOURCE | ) |

值:
(((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: mg32l003_lptim.h:93
LPTIM_CLOCK_SOURCE_PCLK
#define LPTIM_CLOCK_SOURCE_PCLK
Definition: mg32l003_lptim.h:91
LPTIM_CLOCK_SOURCE_LSE
#define LPTIM_CLOCK_SOURCE_LSE
Definition: mg32l003_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