k64 datasheet学习笔记3---Chip Configuration之Times

时间:2021-12-09 15:13:29

1.前言

对定时器相关的芯片配置做一概述

2.PDB配置

k64 datasheet学习笔记3---Chip Configuration之Times

2.1 PDB介绍

PDB输出触发:

k64 datasheet学习笔记3---Chip Configuration之Times

PDB输入触发连接:

k64 datasheet学习笔记3---Chip Configuration之Times

k64 datasheet学习笔记3---Chip Configuration之Times

2.2 PDB模块交互

k64 datasheet学习笔记3---Chip Configuration之Times

2.3 back-to-back确认连接

k64 datasheet学习笔记3---Chip Configuration之Times

In this MCU, PDB back-to-back operation acknowledgment connections are implemented as follows:
• PDB channel 0 pre-trigger 0 acknowledgement input: ADC1SC1B_COCO
• PDB channel 0 pre-trigger 1 acknowledgement input: ADC0SC1A_COCO
• PDB channel 1 pre-trigger 0 acknowledgement input: ADC0SC1B_COCO
• PDB channel 1 pre-trigger 1 acknowledgement input: ADC1SC1A_COCO

2.4 PDB间隔触发连接到DAC

k64 datasheet学习笔记3---Chip Configuration之Times

2.5 DAC外部触发输入连接

TODO

2.6 脉冲输出连接

PDB脉冲输出信号被链接到CMP模块用作采样窗口?

2.7 脉冲输出使能寄存器实现

k64 datasheet学习笔记3---Chip Configuration之Times

3. FlexTimer配置

TODO

4. PIT配置

k64 datasheet学习笔记3---Chip Configuration之Times

4.1 PIT/DMA周期触发指定

k64 datasheet学习笔记3---Chip Configuration之Times

注:只有DMA通道0~DMA通道3可以通过PIT触发

4.2 PIT/ADC触发

可以通过配置SIM_SOPT7[ADCxTRGSEL]  来决定由哪个PIT触发源触发ADC转换

5. Low-power timer 配置

TODO

6. CMT 配置

TODO

5. RTC 配置

TODO