/* Gets the 8-bit manufacturer ID and device ID for the flash.  */
void spiflashGetManufacturerInfo(uint8_t *manufID, uint8_t *deviceID)
/* Gets the 8-bit manufacturer ID and device ID for the flash.  */
void spiflashGetManufacturerInfo(uint8_t *manufID, uint8_t *deviceID)
{
  if (!_w25q16bvInitialised) spiflashInit();
  W25Q16BV_SELECT();
  w25q16bv_TransferByte(W25Q16BV_CMD_MANUFDEVID); 
  w25q16bv_TransferByte(0x00);
  w25q16bv_TransferByte(0x00);
  w25q16bv_TransferByte(0x00);
  *manufID = w25q16bv_TransferByte(0xFF);
  *deviceID = w25q16bv_TransferByte(0xFF);
  W25Q16BV_DESELECT();
}