tower: add onPeriod utility function for legacy support
tower: add onPeriod utility function for legacy support

GaloisInc/tower,GaloisInc/ivory-tower-stm32,GaloisInc/ivory-tower-stm32,GaloisInc/ivory-tower-stm32