A unified understanding of planar spiral domain walls in ferromagnet/antiferromaget/ferromagnet trilayers