Most interesting.
Yes, Trondheim was an important bishopric in the Medieval Church. This tower would have been built quite early in its history.