HAL tick counter (`uwTick`) is 32 bit, not 16

Fix references of tick counter to be 32 bit

This would make overflows unlikely but still, overflow protection could be added with this as well