GD.c
// read 2 bytes starting from addr
read 2 bytes starting from addr
read 2 bytes starting from addr
unsigned int vis_gd_rd16(unsigned int addr)
{
  unsigned int r;
  vis_gd_start(addr);
  r = vis_spi_transfer(0);
  r |= (vis_spi_transfer(0) << 8);
  vis_gd_end();
  return r;
}
unsigned int vis_gd_rd16 ( unsigned int addr ) { unsigned int r ; vis_gd_start ( addr ) ; r = vis_spi_transfer ( 0 ) ; r |= ( vis_spi_transfer ( 0 ) << 8 ) ; vis_gd_end ( ) ; return r ; }
read 2 bytes starting from addr
read 2 bytes starting from addr