]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Ticket #964 now possible to use bit position > 64
authornier <devnull@localhost>
Wed, 19 Oct 2011 10:36:19 +0000 (12:36 +0200)
committernier <devnull@localhost>
Wed, 19 Oct 2011 10:36:19 +0000 (12:36 +0200)
include/Com_Types.h

index 71fff03d2a368a0d48c6c2b802a70f925d1bb1e5..e9cb6e53d98054f86632fbee3416d6a520ba46d3 100644 (file)
@@ -33,7 +33,7 @@
 typedef uint8 Com_PduGroupIdType;\r
 typedef uint16 Com_SignalIdType;\r
 typedef uint8 Com_SignalGroupIdType;\r
-\r
+typedef uint16 Com_BitPositionType;\r
 typedef enum {\r
        IMMEDIATE,\r
        DEFERRED\r
@@ -149,7 +149,7 @@ typedef struct {
        /** Starting position (bit) of the signal within the IPDU.\r
         * Range 0 to 63.\r
         */\r
-       const uint8 ComBitPosition;\r
+       const Com_BitPositionType ComBitPosition;\r
 \r
        /** The size of the signal in bits.\r
         * Range 0 to 64.\r
@@ -203,9 +203,9 @@ typedef struct {
 typedef struct {\r
 \r
        /** Starting position (bit) of the signal within the IPDU.\r
-        * Range 0 to 63.\r
+        * Range 0 to 2031.\r
         */\r
-       const uint8 ComBitPosition;\r
+       const Com_BitPositionType ComBitPosition;\r
 \r
        /** The size of the signal in bits.\r
         * Range 0 to 63.\r
@@ -252,10 +252,10 @@ typedef struct {
        const ComTransferProperty_type ComTransferProperty;\r
 \r
        /** The bit position in the PDU for this signal's update bit.\r
-        * Range 0 to 63.\r
+        * Range 0 to 2031.\r
         * Only applicable if an update bit is used. NULL otherwise.\r
         */\r
-       const uint8 ComUpdateBitPosition;\r
+       const Com_BitPositionType ComUpdateBitPosition;\r
 \r
        /** Marks if this signal uses an update bit.\r
         * Should be set to one if an update bit is used.\r