/* Gets the value of the Read Status Register (RDSR/0x05)  */
uint8_t at25GetRSR()
/* Gets the value of the Read Status Register (RDSR/0x05)  */
uint8_t at25GetRSR()
{
  AT25_SELECT();
  src_addr[0] = AT25_RDSR;
  sspSend(0, (uint8_t *)src_addr, 1);
  sspReceive(0, (uint8_t *)dest_addr, 1);
  AT25_DESELECT();
  return dest_addr[0] & (AT25_RDSR_WEN | AT25_RDSR_RDY);
}