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.

[FAQ] [参考译文] 【常见问题解答】TDA4VE-Q1:在应用中读取 C7x 的控制寄存器的方法

Guru**** 2454880 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1550612/faq-tda4ve-q1-ways-to-read-control-registers-of-c7x-on-application

器件型号:TDA4VE-Q1


工具/软件:

我们如何从应用中读取 c7x 的控制寄存器。 包括 IEAR 和 IERR 等寄存器来监控错误。

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

    您好、

    建议使用 C 寄存器从应用程序读取控制寄存器。

    步骤:

    1.如下所示将控制寄存器声明为全局寄存器

    extern __cregister volatile 无符号长整型__IEAR;

    2._IEAR 寄存器可以像任何其他变量一样被读取/修改

    此致、

    Manojna