3249| 8
|
对于处理器的库函数中这种带x字母的宏定义 我该怎么去使用呢? |
10金钱
最佳答案把它当做带参数的函数调用下即可啊,你要设置x=4就LPUART_FIFO_RXFIFOSIZE(4);你要设置x=8就LPUART_FIFO_RXFIFOSIZE(8);
不要改宏定义啊,就当带参数的函数void LPUART_FIFO_RXFIFOSIZE(u8 x);然后需要时调用下即可
| |||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-6-9 06:43
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网