BITSET Positionne un bit
This blocks set the specified bit of the integer input to 1. The user can specify the bit in the field:"index of bit". Bit 0 is the least significant bit.
- Datatype(3=int32 4=int16 5=int8 ...)
It indicates the type of the input/output data. It support all the integer datatype, number must be between 3 and 8.
Propriétés : Type 'vec' de taille 1.
- index of bit (0 is leat significant)
It indicate the index of the bit to clear. When the type is int32 or uint32 the number must be positif and less than 32. When the type is int16 or uint16 the number must be positif and less than 16. When the type is int8 or uint8 the number must be positif and less than 8.
Propriétés : Type 'vec' de taille 1.
- toujours actif: non
- direct-feedthrough: oui
- détection de passage à zéro: non
- mode: non
- entrée régulières:
- port 1 : taille [1,1] / type 3
- sorties régulières:
- port 1 : taille [1,1] / type 3
- nombre des entrées évènementielles: 0
- nombre des sorties évènementielles: 0
- possède un état continu: non
- possède un état discret: non
- possède un état objet: non
- nom de la fonction de calcul: bit_set_32
- SCI/macros/scicos_blocks/IntegerOp/BITSET.sci [voir code]
Fady NASSIF INRIA