This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E401Y:通过通用定时器(GPT)生成 PWM

Guru**** 2540460 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1023054/msp432e401y-pwm-generation-through-general-purpose-timer-gpt

器件型号:MSP432E401Y

我正在使用 MSP432E401、并希望从通用计时器生成 PWM。 我没有在 SDK 中为此获取任何驱动程序? 可用的示例代码使用 driverlib ROM API。 我不想使用 ROM API。  

在接收器 Timer.h 文件中、它提到如下红色突出显示的注释

/*
*@文件 Timer.h
*@简单计时器驱动程序
*
*@锚固 ti_drivers_Timer_Overview
*#概述
*计时器驱动程序允许您使用简单的和来测量经过的时间
*可移植 API。此驱动程序没有 PWM 或捕获功能。
*这些功能在捕获和 PWM 驱动程序中都有解决方案。
*

有任何驱动程序可用于通过 GPT 生成 PWM?