Bit Set
将存储的整数的指定位设置为一
库:
Simulink /
Logic and Bit Operations
HDL Coder /
Logic and Bit Operations
描述
Bit Set 模块将存储的整数的指定位设置为 1。忽略缩放。
您可以使用位索引参数指定要设置为 1 的位,其中位零是最低有效位。
示例
端口
输入
输出
参数
扩展功能
版本历史记录
在 R2006a 之前推出
另请参阅
Bit Clear | Bitwise Operator | Bit Rotate (HDL Coder) | Bit Shift (HDL Coder)