请教:
#define CSL_FINST(reg, PER_REG_FIELD, TOKEN) \
CSL_FINS((reg), PER_REG_FIELD, CSL_##PER_REG_FIELD##_##TOKEN)
以上宏用于给寄存器的特定域赋值,如果需要一次性对寄存器的所有域赋值,比如赋成默认值CSL_BFIFO_REVID_REV_RESETVAL,有对应的宏吗?
谢谢
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.
请教:
#define CSL_FINST(reg, PER_REG_FIELD, TOKEN) \
CSL_FINS((reg), PER_REG_FIELD, CSL_##PER_REG_FIELD##_##TOKEN)
以上宏用于给寄存器的特定域赋值,如果需要一次性对寄存器的所有域赋值,比如赋成默认值CSL_BFIFO_REVID_REV_RESETVAL,有对应的宏吗?
谢谢