主要内容

本页采用了机器翻译。点击此处可查看英文原文。

控制外设

配置和使用控制外设,例如 PWM、eCAP、eQEP、SDFM 等。

使用 TI 的 C2000™ 微控制器上可用的控制外设(如 PWM、eCAP、eQEP、SDFM 等)创建 Simulink® 模型。通过模型配置参数将 Simulink 模型配置为与支持的目标硬件进行对接。您可以使用硬件映射工具将模型中的任务和外设映射到硬件板配置。这些模块是特定于处理器的,并非在所有 TI 的 C2000 微控制器上都可用。

模块

全部展开

ePWM Type 0Pulse width modulators (PWMs)
ePWM Type 1-4Generate enhanced Pulse Width Modulated (ePWM) waveforms
C28x eCAPReceive and log transitions on capture input pin or configure auxiliary pulse width modulator
C28x eQEPQuadrature encoder pulse block used to derive position, direction, and speed
C281x QEPQuadrature encoder pulse circuit
HRCAPCapture pulse width in normal or high resolution modes for F2803x and F2806x processors (自 R2023b 起)
F2807x/F2837xD/F2837xS/F28004x/F28003x/F2838x SDFMConfigure filter channel for SDFM Module

工具

硬件映射将模型中的任务和外围设备映射到硬件板配置 (自 R2022b 起)

主题

疑难解答

External Interrupt Workflow for Texas Instruments C2000 Processors

This topic helps you with the workflow for external interrupts.

精选示例