Inside the gatehouse, these narrow slits would have been used by archers. The slits are both vertical and horizontal so that the archers could aim and shoot without exposing themselves.
www.broughtoncastle.com