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.
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里面具体的文件夹里面的源代码了。
谢谢