Home
last modified time | relevance | path

Searched refs:kLastMask (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/libprotocan/
DSignal.cpp42 kLastMask(calculateLastByteMask(start, length)), in Signal()
43 kFirstMask(calculateFirstByteMask(kFirstByte, kFirstBit, kLastByte, kLastMask)), in Signal()
53 if (kLastByte != kFirstByte) v = kLastMask & msg.payload[kLastByte]; in get()
78 msg.payload[kLastByte] = (msg.payload[kLastByte] & ~kLastMask) | (val & kLastMask); in set()
/hardware/interfaces/automotive/can/1.0/tools/libprotocan/include/libprotocan/
DSignal.h44 const uint8_t kLastMask; ///< Bits of the last byte that belong to the signal variable