引用Doxygen表

引用Doxygen表,doxygen,cross-reference,Doxygen,Cross Reference,假设我将此表作为注释写入Doxygen处理的文件中: <table> <caption id="cpsm_commands">CPSM (Module 0) - Command palette</caption> <tr><th>Command <th>Abbreviation <th>Description <tr><td>0x01 <t

假设我将此表作为注释写入Doxygen处理的文件中:

<table>
<caption id="cpsm_commands">CPSM (Module 0) - Command palette</caption>
<tr><th>Command      <th>Abbreviation          <th>Description
<tr><td>0x01         <td>SEND_CMD_MMC_NORESP   <td>Send a command to the eMMC that doesn't expect any response.
<tr><td>0x02         <td>SEND_CMD_MMC_RESP     <td>Send a command to the eMMC that expects a standard response (6 bytes).
<tr><td>0x03         <td>SEND_CMD_MMC_RESP_EXT <td>Send a command to the eMMC that expects an extended response (17 bytes).
<tr><td>0x04         <td>FETCH_RESP            <td>Retrieve a response that has been previously buffered and transmit it through SPI.
<tr><td>0x05         <td>FETCH_RESP_EXT        <td>Retrieve an extended response that has been previously buffered and transmit it through SPI.
<tr><td>0x1E         <td>GET_STATUS            <td>Get current status of the CPSM (see \ref status_register).
<tr><td>0x1F         <td>CANCEL_WAITING        <td>If the CPSM is waiting for a response, this command allows the state machine to go back to IDLE.
</table>

CPSM(模块0)-命令调色板
命令缩写说明
0x01 SEND_CMD_MMC_NORESP向eMMC发送不需要任何响应的命令。
0x02 SEND_CMD_MMC_RESP向eMMC发送一个需要标准响应(6字节)的命令。
0x03 SEND_CMD_MMC_RESP_EXT向eMMC发送一个需要扩展响应(17字节)的命令。
0x04 FETCH_RESP检索先前已缓冲的响应,并通过SPI进行传输。
0x05 FETCH_RESP_EXT检索先前已缓冲的扩展响应,并通过SPI传输。
0x1E获取CPSM的当前状态(请参阅\ref STATUS\u寄存器)。
0x1F取消\u等待如果CPSM正在等待响应,此命令允许状态机返回空闲状态。
我如何更广泛地引用它
\ref cpsm_命令
将只打印标题的id,我想替换该文本并保留到表的链接

我尝试了
\ref cpsm\u命令[一些文本]
,但它只是在HTML中打印
一些文本,我失去了超链接


有什么想法吗

您看过:\anchor了吗?此命令将一个不可见的、命名为anchor的文件放置到文档中,您可以使用\ref命令参考该文档。