/* Reads the value of the an area end address.  */
int32_t ST25DV_ReadEndZonex(ST25DV_Object_t *pObj, const ST25DV_END_ZONE EndZone, uint8_t *pEndZ)
/* Reads the value of the an area end address.  */
int32_t ST25DV_ReadEndZonex(ST25DV_Object_t *pObj, const ST25DV_END_ZONE EndZone, uint8_t *pEndZ)
{
  int32_t status; 
  switch( EndZone )
  {
    case ST25DV_ZONE_END1:
      status = st25dv_get_enda1(&(pObj->Ctx),pEndZ);
      break;
    case ST25DV_ZONE_END2:
      status = st25dv_get_enda2(&(pObj->Ctx),pEndZ);
      break;
    case ST25DV_ZONE_END3:
      status = st25dv_get_enda3(&(pObj->Ctx),pEndZ);
      break;
    default:
      status = ST25DV_ERROR;
  }
  return status;
}