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.

[参考译文] CCS:关于instaSPIN-FOC中的usDelay()函数

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/580284/ccs-about-usdelay-function-in-instaspin-foc

工具/软件:Code Composer Studio

usDelay.h中的usDelay()函数与adc.c有何区别?

在usDelay.h中:

//! \brief    提供规定的微秒延迟
//! \param[in] delay_usec 延迟,usec
extern void usDelay (const uint_least32_t delay_usec);

在ADC.c中:

//装配体文件
extern void usDelay(UINT32_t Count);

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    这两个都是为usDelay.asm中的相同函数预定义的。