|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
I2C_RXCOUNT 寄存器联合体定义, 通过d32成员读取寄存器值, 通过b成员设置比特位。 接收FIFO数据个数寄存器。 更多...
#include <hal_i2c_v150_regs_def.h>
成员变量 | ||
| uint32_t | d32 | |
| struct { | ||
| uint32_t rxcount: 6 | ||
| uint32_t reserved6_31: 26 | ||
| } | b | |
I2C_RXCOUNT 寄存器联合体定义, 通过d32成员读取寄存器值, 通过b成员设置比特位。 接收FIFO数据个数寄存器。
| struct { ... } i2c_rxcount_data::b |
寄存器比特位
| uint32_t i2c_rxcount_data::d32 |
寄存器实际数据
| uint32_t i2c_rxcount_data::reserved6_31 |
bit[6:31] 保留位
| uint32_t i2c_rxcount_data::rxcount |
bit[0:5] 读该寄存器返回接收FIFO中的字符数。 写该寄存器(任意值)将清空接收FIFO。