/* Writes N bytes to the specified mailbox register.  */
int32_t ST25DV_WriteMailboxRegister(ST25DV_Object_t *pObj, const uint8_t *const pData, const uint16_t TarAddr, const uint16_t NbByte)
/* Writes N bytes to the specified mailbox register.  */
int32_t ST25DV_WriteMailboxRegister(ST25DV_Object_t *pObj, const uint8_t *const pData, const uint16_t TarAddr, const uint16_t NbByte)
{ 
  int32_t status = ST25DV_ERROR;
  if( (TarAddr >= ST25DV_GPO_DYN_REG) && (TarAddr <= ST25DV_MBLEN_DYN_REG) )
  {
    status =   pObj->IO.Write( ST25DV_ADDR_DATA_I2C, TarAddr,pData,  NbByte);
  }
  return status;
}