![]() |
BLE5.2 1.0
开发文档说明
|
The header of xc_drv_clock.c 更多...
类 | |
| struct | CLOCK_InitCfg_t |
枚举 | |
| enum | CLOCK_LFCLK_Src_Typedef { CLOCK_LFCLK_SRC_RC = 0 , CLOCK_LFCLK_SRC_XTAL = 1 } |
| enum | CLOCK_LFCLK_In_Typedef { CLOCK_LFCLK_IN_32K = 32000 , CLOCK_LFCLK_IN_32768 = 32768 } |
| enum | CLOCK_HFCLK_Src_Typedef { CLOCK_HFCLK_SRC_RC = 0 , CLOCK_HFCLK_SRC_XTAL = 1 } |
| enum | CLOCK_HFCLK_In_Typedef { CLOCK_HFCLK_IN_16M = 16000000 , CLOCK_HFCLK_IN_32M = 32000000 , CLOCK_HFCLK_IN_48M = 48000000 , CLOCK_HFCLK_IN_64M = 64000000 , CLOCK_HFCLK_IN_96M = 96000000 , CLOCK_HFCLK_IN_128M = 128000000 } |
| enum | Systick_Unit_Typedef { SYSTICK_UNIT_IN_16M = 16 , SYSTICK_UNIT_IN_32M = 32 , SYSTICK_UNIT_IN_48M = 48 , SYSTICK_UNIT_IN_64M = 64 , SYSTICK_UNIT_IN_96M = 96 } |
函数 | |
| void | xc_clock_bbpll_common_cfg (void) |
| xc_clock_bbpll_common_cfg | |
| void | xc_clock_init_cfg (CLOCK_InitCfg_t *clock_cfg) |
| xc_clock_init_cfg | |
| CLOCK_HFCLK_In_Typedef | xc_clock_hfclk_in_get (void) |
| xc_clock_hfclk_in_get | |
| CLOCK_LFCLK_In_Typedef | xc_clock_lfclk_in_get (void) |
| xc_clock_lfclk_in_get | |
| CLOCK_HFCLK_Src_Typedef | xc_clock_hfclk_src_get (void) |
| xc_clock_hfclk_src_get | |
| CLOCK_LFCLK_Src_Typedef | xc_clock_lfclk_src_get (void) |
| xc_clock_lfclk_src_get | |
| Systick_Unit_Typedef | xc_systick_unit_get (void) |
| xc_systick_unit_get | |
变量 | |
| CLOCK_InitCfg_t | clock_cb |
The header of xc_drv_clock.c
在文件 xc_drv_clock.h 中定义.
| 枚举值 | |
|---|---|
| CLOCK_HFCLK_IN_16M | |
| CLOCK_HFCLK_IN_32M | |
| CLOCK_HFCLK_IN_48M | |
| CLOCK_HFCLK_IN_64M | |
| CLOCK_HFCLK_IN_96M | |
| CLOCK_HFCLK_IN_128M | |
在文件 xc_drv_clock.h 第 65 行定义.
| 枚举值 | |
|---|---|
| CLOCK_HFCLK_SRC_RC | |
| CLOCK_HFCLK_SRC_XTAL | |
在文件 xc_drv_clock.h 第 59 行定义.
| 枚举值 | |
|---|---|
| CLOCK_LFCLK_IN_32K | |
| CLOCK_LFCLK_IN_32768 | |
在文件 xc_drv_clock.h 第 53 行定义.
| 枚举值 | |
|---|---|
| CLOCK_LFCLK_SRC_RC | |
| CLOCK_LFCLK_SRC_XTAL | |
在文件 xc_drv_clock.h 第 47 行定义.
| enum Systick_Unit_Typedef |
| 枚举值 | |
|---|---|
| SYSTICK_UNIT_IN_16M | |
| SYSTICK_UNIT_IN_32M | |
| SYSTICK_UNIT_IN_48M | |
| SYSTICK_UNIT_IN_64M | |
| SYSTICK_UNIT_IN_96M | |
在文件 xc_drv_clock.h 第 76 行定义.
| void xc_clock_bbpll_common_cfg | ( | void | ) |
xc_clock_bbpll_common_cfg
Common Settings for frequency doubling
| [in] | void | |
| [in] | void | |
| [out] | void |
| void |
在文件 xc_drv_clock.c 第 56 行定义.
| CLOCK_HFCLK_In_Typedef xc_clock_hfclk_in_get | ( | void | ) |
xc_clock_hfclk_in_get
Gets the current high speed clock ( system clock )
| [in] | <br> | |
| [out] | void |
| clock_cb.hfclk_in |
在文件 xc_drv_clock.c 第 474 行定义.
| CLOCK_HFCLK_Src_Typedef xc_clock_hfclk_src_get | ( | void | ) |
xc_clock_hfclk_src_get
Obtain the current high-speed source clock
| [in] | <br> | |
| [out] | void |
| clock_cb.hfclk_src |
在文件 xc_drv_clock.c 第 496 行定义.
| void xc_clock_init_cfg | ( | CLOCK_InitCfg_t * | clock_cfg | ) |
xc_clock_init_cfg
Configure the clock initially
| [in] | CLOCK_InitCfg_t | *clock_cfg |
| [out] | void |
| void |
在文件 xc_drv_clock.c 第 458 行定义.
| CLOCK_LFCLK_In_Typedef xc_clock_lfclk_in_get | ( | void | ) |
xc_clock_lfclk_in_get
Gets the current low speed clock ( Low power clock )
| [in] | <br> | |
| [out] | void |
| clock_cb.lfclk_in |
在文件 xc_drv_clock.c 第 485 行定义.
| CLOCK_LFCLK_Src_Typedef xc_clock_lfclk_src_get | ( | void | ) |
xc_clock_lfclk_src_get
Obtain the current low-speed source clock
| [in] | <br> | |
| [out] | void |
| clock_cb.lfclk_src |
在文件 xc_drv_clock.c 第 507 行定义.
| Systick_Unit_Typedef xc_systick_unit_get | ( | void | ) |
xc_systick_unit_get
Obtain the current systick unit
| [in] | <br> | |
| [out] | void |
| clock_cb.lfclk_src |
在文件 xc_drv_clock.c 第 518 行定义.
|
extern |
在文件 xc_drv_clock.c 第 37 行定义.