32 (void)memcpy(&t, &((uint8_t*)p)[pos],
sizeof(t));
33 return __builtin_bswap32(t);
45 (void)memcpy(&t, &((uint8_t*)p)[pos],
sizeof(t));
46 return __builtin_bswap16(t);
58 (void)memcpy(&t, &((uint8_t*)p)[pos],
sizeof(t));
70 t=__builtin_bswap32(t);
71 (void)memcpy(&((uint8_t*)p)[pos], &t,
sizeof(t));
82 t=__builtin_bswap16(t);
83 (void)memcpy(&((uint8_t*)p)[pos], &t,
sizeof(t));
94 (void)memcpy(&((uint8_t*)p)[pos], &t,
sizeof(t));
Header file to define all user-configurable constants and types for the IASW Application.
uint32_t getPcktInt(void *p, uint32_t pos)
Generic Getter for Int Values from a Packet.
void setPcktShort(void *p, uint32_t pos, uint16_t t)
Generic Setter for Short Values from a Packet.
void setPcktInt(void *p, uint32_t pos, uint32_t t)
Generic Setter for Int Values from a Packet.
void setPcktChar(void *p, uint32_t pos, uint8_t t)
Generic Setter for Character Values from a Packet.
uint16_t getPcktShort(void *p, uint32_t pos)
Generic Getter for Short Values from a Packet.
uint8_t getPcktChar(void *p, uint32_t pos)
Generic Getter for Character Values from a Packet.