Closed shumon84 closed 10 months ago
So why is REG_DISPSTAT treated specially? In particular, HBlank IRQ is often enable/disable temporarily
Timers, as opposed to HBlank/VBlank, have more state. In HBL/VBL there's just an enable/disable bit.
I don't understand the difference. The other states of timers are not affected by irqEnable()/irqDisabel(), and this problem is not related with REG_TMxCNT_H have many state.
I don't think this is always desirable when programming timers. Users might want to (for example) temporarily disable the timer IRQ without actually disabling/resetting the timer control registers.