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.

TM4C123GXL LAUNCH PAD 可不可以操作寄存器,如果可以,寄存器地址从哪里找,有一部分寄存器找不到地址。

Other Parts Discussed in Thread: TM4C123GH6PM

tm4c123gh6pm datasheet 715页

Each time a rising edge event is detected, the current count value is loaded into the GPTMTnR and
GPTMTnPS registers, and is held there until another rising edge is detected (at which point the new
count value is loaded into the GPTMTnR and GPTMTnPS registers).

 GPTMTnR and GPTMTnPS寄存器怎么读取,有没有读取寄存器的函数或者寄存器的地址??

  • TivaWare的外设驱动库都已经把寄存器地址写进去了。

    到TivaWare_C_Series-2.1.0.12573\driverlib和TivaWare_C_Series-2.1.0.12573\inc中能找到相关外设的定义。

  • 楼主,

      现在市面上针对Cortex-M3/M4的芯片编程,基本都是通过API函数操作的。如果你不是太习惯吗,或是说想直接操作寄存器的话,可以找到我们TIVAware里面具体的文件夹里面的源代码了。

    谢谢

x 出现错误。请重试或与管理员联系。