/* Function: MX25_RDCR Arguments: ConfigReg, 8 bit buffer to store Configuration register value Description: The RDCR instruction is for reading Configuration Register Bits. Return Message: FlashOperationSuccess  */
ReturnMsg MX25_RDCR(uint8_t *ConfigReg)
/* Function: MX25_RDCR Arguments: ConfigReg, 8 bit buffer to store Configuration register value Description: The RDCR instruction is for reading Configuration Register Bits. Return Message: FlashOperationSuccess  */
ReturnMsg MX25_RDCR(uint8_t *ConfigReg)
{
    uint8_t  gDataBuffer;
    CS_Low();
    SendByte( FLASH_CMD_RDCR, SIO );
    gDataBuffer = GetByte( SIO );
    CS_High();
    *ConfigReg = gDataBuffer;
    return FlashOperationSuccess;
}