Logo Search packages:      
Sourcecode: vaiostat version File versions  Download package

static u16 ecr_get16 ( u8  addr  )  [static]

get 16 bit register value

Parameters:
addr register address
Returns:
16 bit value

Definition at line 114 of file vaiostat.c.

References ecr_get8().

Referenced by write_status_info().

{
      return ecr_get8(addr) | (ecr_get8(addr+1)<<8);
}


Generated by  Doxygen 1.6.0   Back to index