我使用“Exhuberant ctags”来索引我的 c 项目中的所有标签。c-project 是 Cortex-M7 微控制器的嵌入式软件。结果是一个标签文件。我正在尝试阅读该文件并理解所写的内容。
根据我找到的 ctags 和 Exhuberant ctags 的文档,我可以掌握大多数行的含义。例如:
ADC3 .\Drivers\CMSIS\Device\ST\STM32F7xx\Include\stm32f767xx.h 1525;" d
Run Code Online (Sandbox Code Playgroud)
这行的意思是:
ADC3。.\Drivers\CMSIS\Device\ST\STM32F7xx\Include\stm32f767xx.h。1525该文件中的行。d- 这是一个“宏定义”。到目前为止,一切都很好。但是标签文件中有很多行我无法理解。例如:
A0 .\Drivers\CMSIS\Include\arm_math.h /^ q15_t A0; \/**< The derived gain, A0 = Kp + Ki + Kd . *\/$/;" m struct:__anon68
Run Code Online (Sandbox Code Playgroud)
和这个:
ABFSR .\Drivers\CMSIS\Include\core_cm7.h /^ __IOM uint32_t ABFSR; \/*!< Offset: 0x2A8 (R\/W) Auxiliary Bus Fault Status Register *\/$/;" m struct:__anon187
Run Code Online (Sandbox Code Playgroud)
和这个:
ABR .\Drivers\CMSIS\Device\ST\STM32F7xx\Include\stm32f767xx.h /^ __IO uint32_t ABR; …Run Code Online (Sandbox Code Playgroud)