Go to the source code of this file.
◆ ETIMER_IP_MAX_MODULE
| #define ETIMER_IP_MAX_MODULE (8U) /*etimer的模块的最大数量*/ |
◆ MULTI_CPT_BURST_LEN
| #define MULTI_CPT_BURST_LEN (1) /*缓冲区数据buff的大小*/ |
◆ MULTI_CPT_DMA_BURST_LEN
| #define MULTI_CPT_DMA_BURST_LEN (1) /*DMA每次搬运一个数据*/ |
◆ MULTI_CPT_MAX_IO_NUM
| #define MULTI_CPT_MAX_IO_NUM (32U) /*支持multi capture模块,最大输入捕获的通道数量*/ |
◆ MULTI_CPT_MODULE_NUM
| #define MULTI_CPT_MODULE_NUM (2U) /*支持multi capture模块的数量。当前只有etimer1 和 etimer2支持multi capture的功能*/ |
◆ sdrv_multicpt_clock_ref_type
| Enumerator |
|---|
| MULTI_CPT_SEL_HF_CLK | |
| MULTI_CPT_SEL_AHF_CLK | |
| MULTI_CPT_SEL_EXT_CLK | |
| MULTI_CPT_SEL_LP_CLK | |
◆ sdrv_multicpt_edge_change_type
| Enumerator |
|---|
| MULTI_CPT_RISING_EDGE | |
| MULTI_CPT_FALLING_EDGE | |
◆ sdrv_multicpt_hw_module
| Enumerator |
|---|
| MULTI_CPT_ETIMER1 | |
| MULTI_CPT_ETIMER2 | |
| MULTI_CPT_ETIMER3 | |
| MULTI_CPT_ETIMER4 | |
◆ sdrv_multicpt_input_state_type
| Enumerator |
|---|
| MULTI_CPT_ACTIVE | |
| MULTI_CPT_IDLE | |
◆ sdrv_etimer_multicpt_channel_start_capture()
| void sdrv_etimer_multicpt_channel_start_capture |
( |
uint8_t |
timer_module, |
|
|
uint8_t |
channel |
|
) |
| |
sdrv_etimer_multicpt_channel_start_capture
multi cpt channel start capture.
- Parameters
-
| [in] | timer_module | selected etimer module. |
| [in] | channel | selected etimer channel. |
- Returns
- none
◆ sdrv_etimer_multicpt_channel_stop_capture()
| void sdrv_etimer_multicpt_channel_stop_capture |
( |
uint8_t |
timer_module, |
|
|
uint8_t |
channel |
|
) |
| |
sdrv_etimer_multicpt_channel_stop_capture
multi cpt channel stop capture.
- Parameters
-
| [in] | timer_module | selected etimer module. |
| [in] | channel | selected etimer channel. |
- Returns
- none
◆ sdrv_etimer_multicpt_init()
| void sdrv_etimer_multicpt_init |
( |
void |
| ) |
|
sdrv_etimer_multicpt_init
multi cpt init.
- Returns
- none
◆ sdrv_etimer_multicpt_module_deinit()
| void sdrv_etimer_multicpt_module_deinit |
( |
uint8_t |
timer_module | ) |
|
sdrv_etimer_multicpt_module_deinit
multi cpt channel deinit.
- Parameters
-
| [in] | timer_module | selected etimer module. |
- Returns
- none
◆ sdrv_etimer_multicpt_module_init()
sdrv_etimer_multicpt_module_init
multi cpt channel init.
- Parameters
-
| [in] | pmulticpt_config | multi cpt channel config . |
- Returns
- none
◆ sdrv_get_chip_version()
| uint8_t sdrv_get_chip_version |
( |
void |
| ) |
|