STM32G474xx HAL用户手册
定义
通用写读寄存器宏
CRC导出宏

定义

#define LL_CRC_WriteReg(__INSTANCE__, __REG__, __VALUE__)   WRITE_REG(__INSTANCE__->__REG__, __VALUE__)
 在CRC寄存器中写入值。
#define LL_CRC_ReadReg(__INSTANCE__, __REG__)   READ_REG(__INSTANCE__->__REG__)
 读取CRC寄存器中的值。

Define Documentation

#define LL_CRC_ReadReg (   __INSTANCE__,
  __REG__ 
)    READ_REG(__INSTANCE__->__REG__)

读取CRC寄存器中的值。

参数:
__INSTANCE__CRC实例
__REG__要读取的寄存器
返回值:
寄存器值

Definition at line 128 of file stm32g4xx_ll_crc.h.

#define LL_CRC_WriteReg (   __INSTANCE__,
  __REG__,
  __VALUE__ 
)    WRITE_REG(__INSTANCE__->__REG__, __VALUE__)

在CRC寄存器中写入值。

参数:
__INSTANCE__CRC实例
__REG__要写入的寄存器
__VALUE__要写入寄存器的值
返回值:

Definition at line 120 of file stm32g4xx_ll_crc.h.