Exemplo n.º 1
0
static __inline unsigned int read_data_cmd()
{
	unsigned int id = 0;
	id = lcm_util.read_data();
	//id = (id << 8) | (lcm_util.read_data() & 0xff);
    return id;
}
static __inline unsigned int read_data_cmd(void)
{
    return lcm_util.read_data();
}
static __inline unsigned short read_data_cmd(void)
{
    return (unsigned short)(lcm_util.read_data());
}
static __inline unsigned short read_data_cmd(void)
{
  LCM_PRINT_FUNC();    

    return (unsigned short)(lcm_util.read_data());
}
Exemplo n.º 5
0
static __inline unsigned int read_data_cmd()
{
    return 0xFF&lcm_util.read_data();
}
Exemplo n.º 6
0
static inline unsigned char read_data_cmd(void)
{
	return 0xFF & lcm_util.read_data();
}